Chapter 4. Web Projects
Microsoft wanted its first truly integrated development environment to be usable for all layers of your application; they did a pretty good job at making that happen. Class libraries, Windows applications, database code, web applications, and web services can all be developed and debugged in VS.NET, even though these various components may be distributed across multiple machines. Web applications and web services get a certain amount of special handling—VS.NET can communicate with local or remote web servers on your behalf in order to create and debug the web-based parts of your distributed systems. Also, certain aspects of the development process are different for web projects than for other project types, so this chapter will outline the basic operation of VS.NET when dealing with web projects.
Web Project Templates
When you create a new project, the project template you choose determines whether your project is web-based. A web-based project is one that is accessed or managed via a web protocol, such as HTTP, HTTPS, or FTP. The list of web project templates is listed in Table 4-1.
|
Project template |
Managed |
Description |
Output |
|
ASP.NET Web Application (C#/VB/J#) |
Yes |
ASP.NET Web Forms Application |
Managed DLL and content files |
|
ASP.NET Web Service (C#/VB/J#/MC++) |
Yes |
ASP.NET Web Service |
Managed DLL and content files |
|
ASP.NET Mobile Web Application |
Yes |
ASP.NET Web Forms Applications for mobile devices |
Managed DLL and ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access