[英]What is contained in a published ASP.net project?
I developed a site in asp.net using C# as the language. 我使用C#作为语言在asp.net中开发了一个站点。 I have debugged it and no more errors can be found and can also view the page from a browser.
我已经调试了它,没有更多错误可以找到,并且还可以从浏览器查看页面。 I would like to host this site and direct a client to it for demo purposes but am having a problem each time I publish my site.
我想托管此站点并引导客户进行演示,但是每次发布站点时都会遇到问题。 The publishing only does away with all my .aspx.cs files but I don't see any .exe file that I can install or send to my hosting provider.
该发布只删除了我所有的.aspx.cs文件,但没有看到可以安装或发送给托管服务提供商的任何.exe文件。
I would like to know if this what I am experiencing is normal or there are settings I need to do in my visual studio 2013 ultimate edition for these tasks to be performed? 我想知道这是正常现象还是在Visual Studio 2013 Ultimate Edition中需要执行的设置才能执行这些任务?
Kindly advise me on the way forward 请给我建议
ASP.NET applications (not "ASP.NET websites") are compiled into a .dll
file in your bin
folder, which is then deployed on to the server. ASP.NET应用程序(不是“ ASP.NET网站”)被编译为
bin
文件夹中的.dll
文件,然后将其部署到服务器上。
Your .aspx
/ .cshtml1
files reference compiled classes and types contained within this DLL, thus eliminating the need for source files. 您的
.aspx
/ .cshtml1
文件引用此DLL中包含的已编译类和类型,从而消除了对源文件的需求。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.