What's New ASP.Net 4.5.1 Visual Studio 2013

What's new in ASP.NET 4.5.1

new in ASP.net

One ASP.NET

New Project

  • Unified Dialog
  • Scaffolding for everyone
  • MVC, Web Forms and Web API together
  • New extensible Identity System
  • Open Web Interface for .NET (OWIN)

ASP.NET Authentication

ASP.NET Authentication

MVC 5


Attribute Routing

Attribute routing gives you more control over the URIs in your web application.

The earlier style of routing, called convention-based routing, is still fully supported.

Attribute Routing gives the

[Route("test/helloworld")]

public string HelloWorld()

{

    return "ASP>NET 4.5.1";

}


Filter enhancements

Authentication filters

Authentication filters are a new kind of filter in ASP.NET MVC that run prior to authorization filters in the ASP.NET MVC pipeline.

Filter overrides

You can now override which filters apply to a given action method or controller by specifying an override filter.

Web API

ASP.NET Web API is a framework for building web APIs on top of the .NET Framework.

OAuth 2.0 support, using security middleware running on Open Web Interface for .NET (OWIN).

$expand, $select, and $value options in OData.

$expand causes related entities to be included inline in the response.

GET http://localhost/odata/Categories
GET http://localhost/odata/Categories?$expand=Products
GET http://localhost/odata/Categories(1)?$expand=Products/Ship

$select selects a subset of properties to include in the response.

GET http://localhost/odata/Products?$select=Price,Name

$value gets the raw value of a property.

Summary

Visual Studio 2013 brings many exciting features for web developers. I hope the preceding article might be useful. I gave this session as part of the Hyderabad user chapter group, thought of sharing this article will help who has not attended the session.
 

Up Next
    Ebook Download
    View all
    Learn
    View all