Following with the launch of VS2013 ASP.NET a slew of frameworks were also updated and made available for general download.
Some of the changes include:
– MVC 5:
- Identity – updated to use ASP.Net identity for authentication and identity management.
- Bootstrap – provides a customizable sleek and responsive look and feel.
- Authentication filters – a new kind of authentication filter which allows per-action/controller or globally
- Filter Overrides – override which filters apply to a given action/method/controller
– MVC Web API 2:
- Attribute Routing – ability to have both HTTP verb and action based routing
- OAuth 2.0 – new authorization framework now supported.
- OData Improvements – support for $select, $expand, $batch, and $value
- Request Batching – combines multiple operations into a single HTTP POST request
- Portable ASP.NET Web API Client – create PCL’s that work across Windows and Windows 8 apps.
- Improved Testability – no more bootstrapping, etc…
- IHttpActionResult – encapsulates the result of Web API action methods.
- HttpRequestContext – tracks any state that is tied to the request but is not immediately available.
- CORS – full support for Cross Origin Request Sharing
- OWIN Integration – can be run on any OWIN capable host
– Web Forms:
- One ASP.NET – integrate seamlessly with the new One ASP.NET experience
– Authentication / OWIN and Katana: decouples the web application from the server, making web applications host-agnostic
- New server and host components
- Microsoft.Owin.Host.HttpListener –uses HttpListener to listen for HTTP requests and direct them into the OWIN pipeline.
- Microsoft.Owin.Hosting – self-host an OWIN pipeline in a custom process, such as a console application or Windows service.
- OwinHost – self-host an OWIN pipeline without having to write a custom host application
- New helper libraries and middleware – the new
Microsoft.Owin package provides a more user-friendly set of abstractions (e.g.,
- New authentication middleware
- Microsoft.Owin.Security.ActiveDirectory – authentication using on-premise or cloud-based directory services.
- Microsoft.Owin.Security.Cookies – authentication using cookies. This package was previously named Microsoft.Owin.Security.Forms.
- Microsoft.Owin.Security.Facebook – authentication using Facebook’s OAuth-based service.
- Microsoft.Owin.Security.Google – authentication using Google’s OpenID-based service.
- Microsoft.Owin.Security.Jwt – authentication using JWT tokens.
- Microsoft.Owin.Security.MicrosoftAccount – authentication using Microsoft accounts.
- Microsoft.Owin.Security.OAuth – Provides an OAuth authorization server as well as middleware for authenticating bearer tokens.
- Microsoft.Owin.Security.Twitter – authentication using Twitter’s OAuth-based service.
– Scaffolding: Scaffolding is a code generation framework for ASP.NET Web applications. It makes it easy to add boileplate code to your project that interacts with a data model.