ASP.NET Web Application Projects
The Web Application Projects add-in provides a Visual Studio 2005 Web project model that will serve as the standard for .NET applications development. The new model will replace the existing Web Site model.
Adding Web application projects to Visual Studio 2005 requires you to install both an update and an add-on to Visual Studio 2005. The two installations perform the following tasks:
- The update makes changes to Visual Studio 2005 that are required so the Web project conversion wizard and designer will work well with Web application projects. Download the update: Microsoft Visual Studio 2005 - Update to Support Web Application Projects
- The add-in makes the new Web application projects available in Visual Studio 2005. Download the update: Visual Studio 2005 Web Application Projects add-in.
Project templates
Two project templates have been created and are available for developers to download and use with Visual Studio 2005. The templates provide the basic Web application project configuration for the presentation and business tiers, and eliminates the majority of the start-up coding necessary to begin developing an application.
While the project templates contain much of the code outlined in the Application Configuration section, it is recommended that you read the section in its entirity to understand the logic and reasoning behind the choices made.
To add the project templates to Visual Studio 2005, complete the following steps:
- On the Visual Studio 2005 toolbar, click on Tools
- Select Options...
- Click on Projects and Solutions
- In the box below Visual studio user project templates location: enter \\dotnettest01\ProjectTemplates
- Click on OK
- Select File > New > Project...
- Under the Project types listing on the left, select Visual C#
- Click on UCS - ASP.NET Web Application under the My Templates heading
- Name the presentation tier using the Pascal capitalization standard
For example: AdminConsole
- Click on OK
- After creating the presentation tier, add the business tier by right clicking on the solution name and select Add > New Project...
- Click on UCS - Class library under the My Templates heading
- Name the business tier using the Pascal capitalization and Uppercase standards
For example: BSU.UCS.AdminConsole
- Click on OK
- Note: The presentation tier contains an invalid reference to the BSU.UCS.ASPDotNetTemplate project. You will need to remove this reference and add a new project reference to the class library you created in the step above.
'Web Platform' 카테고리의 다른 글
ASP.NET Performance Tips - IIS 최적화. (0) | 2009.06.17 |
---|---|
ToolTip 두줄로 처리하기 (0) | 2009.06.16 |
바탕화면 바로가기 아이콘 만들기 (0) | 2009.05.22 |
New ASP.NET Charting Control: <asp:chart runat="server"/> (0) | 2009.04.14 |
Best Practices for Creating Websites (0) | 2009.04.14 |