Chapter 4
Leveraging the .NET Framework
IN THIS CHAPTER
Performing standard ASP.NET website tasks
Using ASP.NET security
Managing files and cookies
Tracing and debugging
ASP.NET and the .NET Framework are different. ASP.NET has a dependency on the .NET Framework, but it is really defined as the collection of controls that are in Chapter 3 of this minibook, plus others. The .NET Framework brings a different set of tools.
The controls that are in ASP.NET are user-experience focused. They focus on the way the user views the application. The tools that are in the .NET Framework are transport focused — that is, focused on passing information back and forth between client and server. If you look at the System.Web
namespace (which is where most of these bits are stored), you’ll quickly see that most of the classes within start with “Http.” There is a reason for that: HTTP is the transport protocol.
This is important because manipulating the information that goes back and forth between the client and the server is the first and best way to do anything off-trail in a web application. Whenever ...
Get C# 7.0 All-in-One For Dummies now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.