Friday, May 6, 2022

How to publish a website in ASP.NET C#

 > Open your project in Visual Studio

> Right Click on Project and click on Publish Website.(below is screenshot)



> A folder will created after clicking on publish website.

> Also click on settings while publishing in file publish options (Check all the options - Delete all existing , precompile during publication, exclude file from app_data folder)

> Now bin folder DLL files and aspx files will be created. Use that files for deployment.

No comments:

Post a Comment