Test Your Knowledge: First Web Program (Web Project) in C# Explained
Summary
How do you develop an ASP.NET program using the Web Project model?
|
Table of Contents
What is a web program in C#? Creating a Web “Project” Figure 1. First Web Application Project The Generated Files Figure 2. Solution Explorer for a newly generated web project FirstWeb.sln FirstWeb.csproj App_Data Default.aspx.* Web.config Code Discussion Default.aspx Listing 1. The code in Default.aspx Default.aspx.cs Listing 2. The code (or code-behind) file Default.aspx.cs Default.aspx.designer.cs Listing 3. The auto-generated designer file (Default.aspx.designer.cs) Running the Program Add a Label Figure 3. Adding a Label control to the Design surface of Default.aspx Run the Program Figure 4. Running the program Other Articles
|
Review Answers for Questions in this Test
|
|
|
Bookmark and Share This
|
|
More Articles With Similar Tags
|
This article explains and dissects the pieces involved in creating the first web program in C# using the Web Project method (as opposed to the Web Site method).
|
This article explains and dissects the pieces involved in creating the first web program in C# using the Web Site method (as opposed to the Web Program method).
|
What is involved in developing a web-based program using the C# programming language with Web Site - Solution as the model.
|
This test has questions on developing first console (shell) based programs using the C# programming language.
|
Visual Studio 2005 and Visual Studio 2008 offer two options for creating an ASP.NET web program – a Web Project or Web Site. This article discusses the main reasons why you would choose one over the other.
|
|
|