
Beginning ASP.NET 2.0 With CSharp (2006) [eng]
.pdf



A
Exercise Answers
Chapter 1
Exercise 1
Explain the differences among the .NET 2.0 Framework, ASP.NET 2.0, VWD, and IIS.
Solution
The .NET 2.0 Framework is a very broad set of code (contained in classes) that is used by many Microsoft products, including servers, database managers, and web servers.
ASP.NET 2.0 is a subset of the .NET 2.0 Framework that holds the classes used to create dynamic web pages.
VWD is a tool used to create ASP.NET 2.0 web pages.
IIS is a web server that can execute the ASP.NET 2.0 code to create dynamic web pages.
Exercise 2
List some differences between ASP.NET Development Server and IIS.
Solution
IIS is a powerful web server designed to support publicly deployed sites. IIS scales to heavy loads, multiple servers, and multi-processor machines. It has a robust security model. The user of IIS is a special account named ASPNET. IIS does not expect pages to be in development while it is serving them, so it does not lock pages.
ASP.NET Development Server is a lightweight web server designed to give developers a quick and easy way to serve a page on their development machine. ASP.NET Development Server cannot handle more than a small number of visitors simultaneously. The user of ASP.NET Development Server is whoever is logged in to Windows at the time, and thus the security model is weak. ASP.NET Development Server locks a page in VWD while it is being served.





