Last post Nov 25, 2013 06:40 AM by Sulax
Nov 25, 2013 06:22 AM|Manikandan Jayagopi|LINK
I wish to be aware of the benefits of publishing a .net application.
Can't we deploy the application in iis, without publishing the same?
Please help me understand these concepts.
Nov 25, 2013 06:36 AM|AidyF|LINK
Publishing makes sure that only the files needed are deployed. If you just copied the application then you'd deploy all the code-behind files etc.
Nov 25, 2013 06:40 AM|Sulax|LINK
Using publish method you will have only the compiled code needed to deploy your web project, it is a bad idea to just copy and deploy your source code. When you publish an ASP.NET Web application project, Visual Studio or Visual Web Developer Express compiles
the Web application files into a single assembly and then copies the compiled assembly to a specified location.You can publish the Web application to a local or shared folder, to an FTP site, or to a Web site that you access by using a URL.
When you use visual studio you can select the Publishing Method,
Have a look at the great article found here,