简体   繁体   中英

What is contained in a published ASP.net project?

I developed a site in asp.net using C# as the language. 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.

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?

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.

Your .aspx / .cshtml1 files reference compiled classes and types contained within this DLL, thus eliminating the need for source files.

There won't be any .exe files, you need to deploy your project to a web server, like IIS. Check out this link .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM