Introduction
I am here writing upgraded version of How to Publish Website in ASP.Net 4.0, In asp.net 4.5 have new features to earlier version asp.net 4.0. I have listed below key steps those guides us how to publish website in asp.net 4.5Step 1: We have to build solution successfully, all layers should build successfully, failed should be 0 (zero)
Step 2: In output windows you may check that your solution is build successfully with 0 errors.
Step 3: Now we have to right click on presentation layer then a property window will appear, then click option “Publish” option.
Step 4: We’re now on “Publish web application” windows, it has outstanding option of Profile, Connection, settings and Preview. Now click on “Profile” menu & it will popup to type “Profile Name”.
Step 5: Now click on “Connection” option, it have multiple option to select, now we have to select “File System” from Public method option.
Step 6: Now enter “Target Location” name, it decides our publish location explicitly.
Step 7: Now our application is published successfully, its already showing in snapshot Publish: 1 succeeded, 0 failed, 0 skipped, please make assure its status should be as mentioned previously.
Step 8: Now our published website showing in our file system.
Summary
Above #8 steps shows how to Publish website in ASP.net 4.5Suggested Reading
- MVC ASP.Net Interview Questions And Answers
- How to Disable Automatic Caching in ASP.Net MVC
- Cascading Dropdown list in MVC
- Jquery Timer Countdown in MVC Application
Post A Comment:
0 comments: