Sams Teach Yourself .Net in 21 Days
- Table of Contents
- Copyright
- About the Author
- About the Technical Editor
- Acknowledgments
- We Want to Hear from You
- Introduction
- Week 1: At a Glance
- Day 1. Introduction to the Microsoft .NET Framework
- Day 2. Introduction to Visual Studio .NET
- Day 3. Writing Windows Forms Applications
- Day 4. Deploying Windows Forms Applications
- Day 5. Writing ASP.NET Applications
- Day 6. Deploying ASP.NET Applications
- Day 7. Exceptions, Debugging, and Tracing
- Week 1. In Review
- Week 2: At a Glance
- Day 8. Core Language Concepts in Visual Basic .NET and C#
- Day 9. Using Namespaces in .NET
- Day 10. Accessing Data with ADO.NET
- Day 11. Understanding Visual Database Tools
- Day 12. Accessing XML in .NET
- Day 13. XML Web Services in .NET
- Day 14. Components and .NET
- Week 2. In Review
- Week 3: At a Glance
- Day 15. Writing International Applications
- Day 16. Using Macros in Visual Studio .NET
- Day 17. Automating Visual Studio .NET
- Day 18. Using Crystal Reports
- Day 19. Understanding Microsoft Application Center Test
- Day 20. Using Visual SourceSafe
- Day 21. Object Role Modeling with Visio
- Week 3. In Review
Creating an ASP.NET Application for Deployment
To test the different methods of deploying ASP.NET applications, you must create a new ASP.NET application that you'll use in each of the three methods of deployment today.
Start Visual Studio .NET and click the New Project button on the Start Page. After the New Project dialog pops up, select Visual Basic Projects from the Project Types pane, and then select ASP.NET Web Application from the Templates pane. Change the name of the project to http://localhost/WebDeploy.
Figure 6.1 demonstrates what your New Project dialog should look like. Click the OK button to create the application.
Figure 6.1 New Project dialog for the WebDeploy project.
When the application is created, you should see the default WebForm1.aspx page in the Web Forms Designer.
Drag a Label Web Forms control from the Toolbox to the form, and change its Text property to Project Deployed!.
Your completed WebForm1.aspx should look like Figure 6.2.
Figure 6.2 Completed WebDeploy solution.
Now you can save and build the project by selecting Build Solution from the Build menu.
Deploying ASP.NET Applications Using Copy Project | Next Section

Account Sign In
View your cart