开发者

Which assembly/DLL do I need in inetpub/wwwroot for launching aspx pages?

开发者 https://www.devze.com 2023-01-19 05:48 出处:网络
What do I have to add to c:\\inetpub\\wwwroot folder to serve aspx pages to browsers? My webproject is in this folder but I think I\'m missing something for running ASP.NET and A开发者_如何转开发SP.N

What do I have to add to c:\inetpub\wwwroot folder to serve aspx pages to browsers?

My webproject is in this folder but I think I'm missing something for running ASP.NET and A开发者_如何转开发SP.NET MVC webpages.


Create Virtual Directories in IIS

  1. Click Start, point to Programs, click to select Administrative Tools, and then click Internet Services Manager.

  2. Expand the server name.

  3. In the left pane, right-click Default Web Site, point to New, and then click Virtual Directory.

  4. In the first screen of the Virtual Directory Creation Wizard, type an alias, or name, for the virtual directory (such as MyWebData), and then click Next.

  5. In the second screen, click Browse. Locate the content folder that you created to hold the content. Click Next.

  6. In the third screen, select Read and Run scripts (such as ASP). Make sure that the other check boxes are cleared. Click Finish to complete the wizard.

  7. For ASP content, you may want to confirm that an application was created. To do this, right-click the new virtual directory, and then click Properties.

  8. On the Virtual Directory tab, make sure that the virtual directory name is listed in the Application Name box under Application Settings. If it is not, click Create. Note that the application name does not have to match the virtual directory alias.

  9. Close the Properties dialog box.

0

精彩评论

暂无评论...
验证码 换一张
取 消