Microsoft ASP.NET Programming with Microsoft Visual Basic .NET Version 2003 Step by Step [Electronic resources]

G. Andrew Duthie

نسخه متنی -صفحه : 126/ 86
نمايش فراداده

Chapter 13 Quick Reference

To

Do this

Verify that a directory in IIS is an application root

Navigate to the directory in Internet Services Manager and look at the icon for the directory. If the directory is not an application root, you can make it one by right-clicking the directory, selecting Properties, and then clicking Create in the Directory tab.

Store application-specific configuration settings

Add an appSettings section to your Web.config or Machine.config file, with an <add> tag for each item to be added to the appSettings.

Deploy content and private assemblies

Set up the target directory in IIS on the machine to be deployed to. Then use XCOPY, WebDAV, Windows Explorer, or another means to copy the files and folders of the application to the targetdirectory.

Create an installation package with fine-grained control of installation items nd uninstall ability

Add a Web Setup project to the solution for the Web application to be packaged, and set its properties and outputs as desired.