How to Publish a Website in .NET

Once you've programmed and configured your website application, publishing needs to be done accurately to ensure all pages and files are uploaded to the hosting server. Luckily, Microsoft .NET has tools that help you publish a website with just a few short steps.

Things You'll Need

  • Visual Studio .NET (2005 or 2008), Computer, Web Host
Show More

Instructions

  1. How to Publish a Website Using Visual Studio .NET

    • 1

      At the top of your Visual Studio window, click on the "Build" menu and choose the "Publish Web Site" option.

    • 2

      Choose where you wish to upload the files by clicking on the ellipsis button (...). This tool in Visual Studio allows you to publish your website to any FTP site, local host, network share or local file directory.

    • 3

      Decide if you want to allow the published layout to be updated. Visual Studio uploads precompiled code that is unable to be edited, but this selection allows an authorized programmer to update the layout (.aspx) page.

    • 4

      To specify your own encryption file or key for naming assemblies, choose the "Enable strong naming" selection and click "OK."

    • 5

      Visual Studio compiles and uploads the files. If any build errors are found, the program stops the process and displays a list of errors. Make any necessary configuration and coding changes and upload the files again.

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured