@Kumarkrishna184 Sir, please follow the below steps
a) Right Click on the project and choose the Publish Web option.
- In the Profile section
, create a new Profile
- In the Connections section
,Choose Publish Method as FileSystem and provide a Target location e.g.
- In the settings section
, choose Configuration as "Release-Any CPU"
b) Then click on the Publish Button and the assemblies will be published in the release mode at the specified location. So inside the D:\MyTestProject\PublishFolder we will have
Areas,Bin,Content,ExternalDBOperations,fonts, Scripts, Service References, Views folders and
c) Now visit C:\inetpub\wwwroot
and create a folder by the name say PublishMyTestProject
d) Copy-paste the Published files/folder from D:\MyTestProject\PublishFolder to C:\inetpub\wwwroot\PublishMyTestProject
e) Open IIS and under Default Web Site
folder will appear. Right click on that and Choose "Convert To Application"
f) Finally, right click on the PublishMyTestProject -> Manage Application ->Browse.
Hope this helps.Kumarkrishna184, if this helps please login to Mark As Answer. | Alert Moderator