Chapter 40Core ASP.NET

WHAT’S IN THIS CHAPTER?

  • Introduction to ASP.NET technologies
  • Creating handlers and modules
  • Configuring applications
  • State management
  • Membership and roles

WROX.COM CODE DOWNLOADS FOR THIS CHAPTER

The wrox.com code downloads for this chapter are found at www.wrox.com/go/procsharp on the Download Code tab. The code for this chapter is divided into the following major examples:

  • Handlers and Modules
  • State Management
  • Authorization Sample

.NET FRAMEWORKS FOR WEB APPLICATIONS

Part of the .NET Framework, ASP.NET is a technology that enables the dynamic creation of documents on a web server when they are requested via HTTP. Unlike WPF, which requires the .NET Framework on the client, an ASP.NET client only needs a browser. Here, .NET code is running on the server, and thus the Framework is required on the server. The client just needs support for HTML and JavaScript.

With the .NET Framework and Visual Studio 2013 you have different frameworks for creating Web applications that are together under the umbrella of One ASP.NET. ASP.NET Web Forms is the older of these technologies, ASP.NET MVC is the newer one. Every one of these technologies has its use and advantages and disadvantages.

This chapter takes a detailed look at the foundation of ASP.NET, including how it works, what you can do with it, and what ASP.NET Web Forms and ASP.NET MVC share in common.

ASP.NET offers different frameworks to create web applications: ASP.NET Web Forms, ASP.NET Web Pages, and ...

Get Professional C# 5.0 and .NET 4.5.1 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.