Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Today we released VS 2013 and .NET 4.5.1. These releases include a ton of great improvements, and include some fantastic enhancements to ASP.NET and the Entity Framework.  You can download and start using them now.

Below are details on a few of the great ASP.NET, Web Development, and Entity Framework improvements you can take advantage of with this release.  Please visit http://www.asp.net/vnext for additional release notes, documentation, and tutorials.

One ASP.NET

With the release of Visual Studio 2013, we have taken a step towards unifying the experience of using the different ASP.NET sub-frameworks (Web Forms, MVC, Web API, SignalR, etc), and you can now easily mix and match the different ASP.NET technologies you want to use within a single application.

When you do a File-New Project with VS 2013 you’ll now see a single ASP.NET Project option:

image

Selecting this project will bring up an additional dialog that allows you to start with a base project template, and then optionally add/remove the technologies you want to use in it. 

For example, you could start with a Web Forms template and add Web API or Web Forms support for it, or create a MVC project and also enable Web Forms pages within it:

image

This makes it easy for you to use any ASP.NET technology you want within your apps, and take advantage of any feature across the entire ASP.NET technology span.

Richer Authentication Support

The new “One ASP.NET” project dialog also includes a new Change Authentication button that, when pushed, enables you to easily change the authentication approach used by your applications – and makes it much easier to build secure applications that enable SSO from a variety of identity providers. 

For example, when you start with the ASP.NET Web Forms or MVC templates you can easily add any of the following authentication options to the application:

  • No Authentication
  • Individual User Accounts (Single Sign-On support with FaceBook, Twitter, Google, and Microsoft ID – or Forms Auth with ASP.NET Membership)
  • Organizational Accounts (Single Sign-On support with Windows Azure Active Directory )
  • Windows Authentication (Active Directory in an intranet application)

The Windows Azure Active Directory support is particularly cool.  Last month we updated Windows Azure Active Directory so that developers can now easily create any number of Directories using it (for free and deployed within seconds).  It now takes only a few moments to enable single-sign-on support within your ASP.NET applications against these Windows Azure Active Directories.  Simply choose the “Organizational Accounts” radio button within the Change Authentication dialog and enter the name of your Windows Azure Active Directory to do this:

image

This will automatically configure your ASP.NET application to use Windows Azure Active Directory and register the application with it.  Now when you run the app your users can easily and securely sign-in using their Active Directory credentials within it – regardless of where the application is hosted on the Internet.

For more information about the new process for creating web projects, see Creating ASP.NET Web Projects in Visual Studio 2013.

Responsive Project Templates with Bootstrap

The new default project templates for ASP.NET Web Forms, MVC, Web API and SPA are built using Bootstrap. Bootstrap is an open source CSS framework that helps you build responsive websites which look great on different form factors such as mobile phones, tables and desktops. For example in a browser window the home page created by the MVC template looks like the following:

image

When you resize the browser to a narrow window to see how it would like on a phone, you can notice how the contents gracefully wrap around and the horizontal top menu turns into an icon:

image

When you click the menu-icon above it expands into a vertical menu – which enables a good navigation experience for small screen real-estate devices:

image

We think Bootstrap will enable developers to build web applications that work even better on phones, tablets and other mobile devices – and enable you to easily build applications that can leverage the rich ecosystem of Bootstrap CSS templates already out there.  You can learn more about Bootstrap here.

Visual Studio Web Tooling Improvements

Visual Studio 2013 includes a new, much richer, HTML editor for Razor files and HTML files in web applications. The new HTML editor provides a single unified schema based on HTML5. It has automatic brace completion, jQuery UI and AngularJS attribute IntelliSense, attribute IntelliSense Grouping, and other great improvements.

For example, typing “ng-“ on an HTML element will show the intellisense for AngularJS:

image

This support for AngularJS, Knockout.js, Handlebars and other SPA technologies in this release of ASP.NET and VS 2013 makes it even easier to build rich client web applications:

image

The screen shot below demonstrates how the HTML editor can also now inspect your page at design-time to determine all of the CSS classes that are available. In this case, the auto-completion list contains classes from Bootstrap’s CSS file. No more guessing at which Bootstrap element names you need to use:

image

Visual Studio 2013 also comes with built-in support for both CoffeeScript and LESS editing support. The LESS editor comes with all the cool features from the CSS editor and has specific Intellisense for variables and mixins across all the LESS documents in the @import chain.

Browser Link – SignalR channel between browser and Visual Studio

The new Browser Link feature in VS 2013 lets you run your app within multiple browsers on your dev machine, connect them to Visual Studio, and simultaneously refresh all of them just by clicking a button in the toolbar. You can connect multiple browsers (including IE, FireFox, Chrome) to your development site, including mobile emulators, and click refresh to refresh all the browsers all at the same time.  This makes it much easier to easily develop/test against multiple browsers in parallel.

image

Browser Link also exposes an API to enable developers to write Browser Link extensions.  By enabling developers to take advantage of the Browser Link API, it becomes possible to create very advanced scenarios that crosses boundaries between Visual Studio and any browser that’s connected to it. Web Essentials takes advantage of the API to create an integrated experience between Visual Studio and the browser’s developer tools, remote controlling mobile emulators and a lot more.

You will see us take advantage of this support even more to enable really cool scenarios going forward.

ASP.NET Scaffolding

ASP.NET Scaffolding is a new code generation framework for ASP.NET Web applications. It makes it easy to add boilerplate code to your project that interacts with a data model. In previous versions of Visual Studio, scaffolding was limited to ASP.NET MVC projects. With Visual Studio 2013, you can now use scaffolding for any ASP.NET project, including Web Forms.

When using scaffolding, we ensure that all required dependencies are automatically installed for you in the project. For example, if you start with an ASP.NET Web Forms project and then use scaffolding to add a Web API Controller, the required NuGet packages and references to enable Web API are added to your project automatically.  To do this, just choose the Add->New Scaffold Item context menu:

image

Support for scaffolding async controllers uses the new async features from Entity Framework 6.

ASP.NET Identity

ASP.NET Identity is a new membership system for ASP.NET applications that we are introducing with this release.

ASP.NET Identity makes it easy to integrate user-specific profile data with application data. ASP.NET Identity also allows you to choose the persistence model for user profiles in your application. You can store the data in a SQL Server database or another data store, including NoSQL data stores such as Windows Azure Storage Tables. ASP.NET Identity also supports Claims-based authentication, where the user’s identity is represented as a set of claims from a trusted issuer.

Users can login by creating an account on the website using username and password, or they can login using social identity providers (such as Microsoft Account, Twitter, Facebook, Google) or using organizational accounts through Windows Azure Active Directory or Active Directory Federation Services (ADFS).

To learn more about how to use ASP.NET Identity visit http://www.asp.net/aspnet/overview/authentication-and-identity

ASP.NET Web API 2

ASP.NET Web API 2 has a bunch of great improvements including:

Attribute routing

ASP.NET Web API now supports attribute routing, thanks to a contribution by Tim McCall, the author of http://attributerouting.net. With attribute routing you can specify your Web API routes by annotating your actions and controllers like this:

image

OAuth 2.0 support

The Web API and Single Page Application project templates now support authorization using OAuth 2.0. OAuth 2.0 is a framework for authorizing client access to protected resources. It works for a variety of clients including browsers and mobile devices.

OData Improvements

ASP.NET Web API also now provides support for OData endpoints and enables support for both ATOM and JSON-light formats. With OData you get support for rich query semantics, paging, $metadata, CRUD operations, and custom actions over any data source. Below are some of the specific enhancements in ASP.NET Web API 2 OData.

  • Support for $select, $expand, $batch, and $value
  • Improved extensibility
  • Type-less support
  • Reuse an existing model

OWIN Integration

ASP.NET Web API now fully supports OWIN and can be run on any OWIN capable host. With OWIN integration, you can self-host Web API in your own process alongside other OWIN middleware, such as SignalR.

For more information, see Use OWIN to Self-Host ASP.NET Web API.

More Web API Improvements

In addition to the features above there have been a host of other features in ASP.NET Web API, including

  • CORS support
  • Authentication Filters
  • Filter Overrides
  • Improved Unit Testability
  • Portable ASP.NET Web API Client

To learn more go to http://www.asp.net/web-api/

ASP.NET SignalR 2

ASP.NET SignalR is library for ASP.NET developers that dramatically simplifies the process of adding real-time web functionality to your applications.

Real-time web functionality is the ability to have server-side code push content to connected clients instantly as it becomes available. SignalR 2.0 introduces a ton of great improvements. We’ve added support for Cross-Origin Resource Sharing (CORS) to SignalR 2.0. iOS and Android support for SignalR have also been added using the MonoTouch and MonoDroid components from the Xamarin library (for more information on how to use these additions, see the article Using Xamarin Components from the SignalR wiki).

We’ve also added support for the Portable .NET Client in SignalR 2.0 and created a new self-hosting package. This change makes the setup process for SignalR much more consistent between web-hosted and self-hosted SignalR applications.

To learn more go to http://www.asp.net/signalr.

ASP.NET MVC 5

The ASP.NET MVC project templates integrate seamlessly with the new One ASP.NET experience and enable you to integrate all of the above ASP.NET Web API, SignalR and Identity improvements. You can also customize your MVC project and configure authentication using the One ASP.NET project creation wizard. The MVC templates have also been updated to use ASP.NET Identity and Bootstrap as well. An introductory tutorial to ASP.NET MVC 5 can be found at Getting Started with ASP.NET MVC 5.

This release of ASP.NET MVC also supports several nice new MVC-specific features including:

  • Authentication filters: These filters allow you to specify authentication logic per-action, per-controller or globally for all controllers.
  • Attribute Routing: Attribute Routing allows you to define your routes on actions or controllers.

To learn more go to http://www.asp.net/mvc

Entity Framework 6 Improvements

Visual Studio 2013 ships with Entity Framework 6, which bring a lot of great new features to the data access space:

Async and Task<T> Support

EF6’s new Async Query and Save support enables you to perform asynchronous data access and take advantage of the Task<T> support introduced in .NET 4.5 within data access scenarios.  This allows you to free up threads that might otherwise by blocked on data access requests, and enable them to be used to process other requests whilst you wait for the database engine to process operations. When the database server responds the thread will be re-queued within your ASP.NET application and execution will continue.  This enables you to easily write significantly more scalable server code.

Here is an example ASP.NET WebAPI action that makes use of the new EF6 async query methods:

image

Interception and Logging

Interception and SQL logging allows you to view – or even change – every command that is sent to the database by Entity Framework. This includes a simple, human readable log – which is great for debugging – as well as some lower level building blocks that give you access to the command and results. Here is an example of wiring up the simple log to Debug in the constructor of an MVC controller:

image

Custom Code-First Conventions

The new Custom Code-First Conventions enable bulk configuration of a Code First model – reducing the amount of code you need to write and maintain. Conventions are great when your domain classes don’t match the Code First conventions. For example, the following convention configures all properties that are called ‘Key’ to be the primary key of the entity they belong to. This is different than the default Code First convention that expects Id or <type name>Id.

image

Connection Resiliency

The new Connection Resiliency feature in EF6 enables you to register an execution strategy to handle – and potentially retry – failed database operations. This is especially useful when deploying to cloud environments where dropped connections become more common as you traverse load balancers and distributed networks.

EF6 includes a built-in execution strategy for SQL Azure that knows about retryable exception types and has some sensible – but overridable – defaults for the number of retries and time between retries when errors occur. Registering it is simple using the new Code-Based Configuration support:

clip_image002[4]

These are just some of the new features in EF6. You can visit the release notes section of the Entity Framework site for a complete list of new features.

Microsoft OWIN Components

Open Web Interface for .NET (OWIN) defines an open abstraction between .NET web servers and web applications, and the ASP.NET “Katana” project brings this abstraction to ASP.NET.

OWIN decouples the web application from the server, making web applications host-agnostic. For example, you can host an OWIN-based web application in IIS or self-host it in a custom process. For more information about OWIN and Katana, see What's new in OWIN and Katana.

Summary

Today’s Visual Studio 2013, ASP.NET and Entity Framework release delivers some fantastic new features that streamline your web development lifecycle. These feature span from server framework to data access to tooling to client-side HTML development.  They also integrate some great open-source technology and contributions from our developer community.

Download and start using them today!

Scott

P.S. In addition to blogging, I am also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu

Published Thursday, October 17, 2013 4:15 AM by ScottGu
Filed under: , ,

Comments

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Thursday, October 17, 2013 9:03 AM by Arash16

Congratulations and thanks for the hard work.

Such a great time to be a .NET developer.

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Thursday, October 17, 2013 9:43 AM by Quango2005

Wooo! Many thanks to the teams working on VS2013.

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Thursday, October 17, 2013 10:42 AM by Maxim

http://www.asp.net/identity -- 404 page

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Thursday, October 17, 2013 10:58 AM by Adeel

I like to draw your attention towards variety of Ruby and Rails template languages such as Slim (slim-lang.com) and Haml (haml.info) which let us write nifty code (as opposed to the traditional markup), in addition to their default ERB (which is somewhat similar to Razor). The idea is to tackle the nesting with indentation and omit the end tags of markup, loop structure and other code blocks etc. to have a tidier view.

Does the web team at Microsoft have any plans to invent such light-weight template language anytime sooner, as an alternate to ASP (.aspx) and Razor (.cshtml or .vbhtml), say .light, .tidy or .nifty? :)

The docs of Slim (rdoc.info/gems/slim/frames) show how cleanly the alternate code to markup can be written. Moreover, there are variety of ways to generate inline or indented tags. Imagine the ASP master page (or the scary master page of SharePoint publishing site) presented in such a clean way, it would certainly enhance the readability and maintainability!

Also, with Web Essentials and zencoding, the development experience would be doubled in Visual Studio. For the static web sites without any server-side scripting, the light version can be compiled to the corresponding HTML on-save (similar to the feature we have for .less and typescript/coffeescript) and grouping technique can be leveraged like:

- index.html.light

- index.html

Please consider it in your ongoing effort.

Thanks.

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Thursday, October 17, 2013 11:47 AM by karthick.thoppe

Good to see the new tools supporting and making a developer life easy!

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Thursday, October 17, 2013 12:07 PM by Will Sullivan

/Identity isn't available or the URL is incorrect.  But I have a question--Does Identity gracefully handle a single user authenticating through multiple auth providers?  And does it handle (or provide a means through which devs can handle) web applications requesting the ability to perform actions for users on these identify providers?  Such as posting a tweet for the user?

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Thursday, October 17, 2013 12:19 PM by Will Sullivan

To answer my own question, yes and yes, the last being something between you, your dev account, and the provider in question.

This is some really, REALLY, I do mean REALLY great stuff.

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Thursday, October 17, 2013 12:28 PM by Kenneth Truyers

Thank you for yet another superb version of my beloved IDE!

Visual Studio really is miles ahead of the competition!

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Thursday, October 17, 2013 12:50 PM by Jack Bond

Obvious question... when will 4.5.1 be available on Azure?

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Thursday, October 17, 2013 1:41 PM by Amarotux

This is great news, I will enjoy this release.

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Thursday, October 17, 2013 2:34 PM by Gordon

With this new version can you finally realign the Canadian prices for Visual Studio on the Microsoft Store? Everything else in the store is at parity except for Visual Studio which costs 33% more in Canada. The Canadian dollar hasn't been that low in 10 years!

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Thursday, October 17, 2013 3:23 PM by Dylan

Great news, EF 6 looks good but the Identity link you posted has very little information. I'm particularly interested in hooking it up to Azure Table Storage. Any pointers to some better coverage or scenarios?

Thanks

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Thursday, October 17, 2013 3:31 PM by Aaron

When / Where can we find documentation on ASP.NET Identity?

Problem is, I have an existing site with tens of thousands of users. All of those passwords are "old school", and all of the data in the site is keyed to aspnet_Users (which EVERYTHING in my site is keyed off aspnet_users.userId) is now an INT by default in the new?

Would love some documentation, and for you guys not to forget you gave us great tools many years ago. Tools by todays standards which may be obsolete, but there are still many, many, MANY sites out there using the old tools. Tools such as VS2012. No upgrade path from early incarnations, and no documentation doesn't make us embrace the new... as much as we many want to. And trust me, I want to. Like, now :)

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Thursday, October 17, 2013 3:47 PM by Ryan Vice

Is there any information about the Web API support for CQRS anywhere?

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Thursday, October 17, 2013 4:27 PM by pranav

@Will, yes you can post Tweets on behalf of the user logged in. When a user logs in via Twitter, Facebook etc, you can request more permissions from the user such as post tweet or get the list of friends from Facebook. If the user grants your app permissions then you can perform these operations. For eg. I wrote the following blog post which shows how you can get the list of your friends and their pictures blogs.msdn.com/.../get-more-information-from-social-providers-used-in-the-vs-2013-project-templates.aspx

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Thursday, October 17, 2013 5:28 PM by ScottGu

@Ryan,

>>>>> Is there any information about the Web API support for CQRS anywhere?

Here is a pointer to a page that talks more about the CORS support: www.asp.net/.../enabling-cross-origin-requests-in-web-api

Hope this helps,

Scott

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Thursday, October 17, 2013 5:47 PM by ScottGu

@Aaron,

>>>> When / Where can we find documentation on ASP.NET Identity?

Here are some links:

www.asp.net/.../creating-web-projects-in-visual-studio – Individual Accounts

www.asp.net/.../creating-web-projects-in-visual-studio – Organizational Accounts

blogs.msdn.com/.../customizing-profile-information-in-asp-net-identity-in-vs-2013-templates.aspx - Customizing Profiles

blogs.msdn.com/.../get-more-information-from-social-providers-used-in-the-vs-2013-project-templates.aspx - Getting Info from Social Providers

Hope this helps,

Scott

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Thursday, October 17, 2013 7:47 PM by pranav

@Aaron,

We are working on updating the documentation on asp.net. THis will include guidance on how to migrate from existing memembership system to ASP.NET Identity. In the meanwhile if you want to learn more you can visit the links that Scott put out and go to blogs.msdn.com/.../introducing-asp-net-identity-membership-system-for-asp-net-applications.aspx

You can also look at this sample which shows you how to add basic roles and users support and a sample to do roles and user management

github.com/.../AspnetIdentitySample

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Thursday, October 17, 2013 8:07 PM by Russell

What? No TypeScript?

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Thursday, October 17, 2013 10:34 PM by AKASchneider

Can .Net 4.5.1 applications already be deployed on azure?

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Thursday, October 17, 2013 10:42 PM by Rajneesh verma

Hi Scott,

Such a great news, Congrats to your whole team.

I have one question.

Does oData supports Joins?

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Friday, October 18, 2013 1:45 AM by Lalit Kumar

Great work

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Friday, October 18, 2013 3:46 AM by CurlackHacker

The best IDE ever. Great work guys and keep up the good work.

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Friday, October 18, 2013 4:09 AM by Narendran

Congrats for the whole team

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Friday, October 18, 2013 4:40 AM by Bola Ilumoka

Good job and well done

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Friday, October 18, 2013 5:26 AM by Andrei Rinea

Good job! May I ask about batch update/delete plans for EF in the future?

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Friday, October 18, 2013 5:31 AM by Ivy

I couldn't find Visual Studio 2012 version any more. Microsoft does not support 2012 version any more?

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Friday, October 18, 2013 8:02 AM by Hans Olav

OMG! So much goodness to choose from... *Nerdgasm*

This stuff is truly awesome! I can't say how impressed I am with the direction of .NET and VS.

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Friday, October 18, 2013 8:07 AM by Binoj Antony

Any updates to Razor view engine, Jon Galloway mentions Razor 3 in his blog, I am assuming its an error since I am unable to find anything on Razor 3..

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Friday, October 18, 2013 9:27 AM by CuriousAboutSharePoint

When can we expect any of these shiny new bobbles to be incorporated into SharePoint?  2015? 2016? 2017? Never?

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Friday, October 18, 2013 11:00 AM by aaron

@Scott & @Pranav

Thanks! Two of the things that I'm struggling with are ways to convert the old password to new, the switch from aspnet_Users.UserId (uniqueidentifier) to AspnetUsers.Id (nvarchar), and retention of my data that was all keyed against .UserId Guids. I don't know if there's baked in support to use uniqueidentifier guids, if I keep both systems and transfer people to the new one upon login, or if I can slip this in with custom data types, table and field names...

Ready to deep dive into this site rewrite with all of the new toys: EF6, WebApi2, MVC5, Identity. All of this from 3.5, sqlprofileprovider, and... get this... SubSonic 2.0.3! It has been a solid, faithful servant, but it's time to bury it *cries*

Boy do I wish I could tag Rob Conery in this :)

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Friday, October 18, 2013 11:53 AM by Scottt Hunter (MSFT)

Visual Studio 2012 is still available: www.microsoft.com/.../details.aspx

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Friday, October 18, 2013 11:56 AM by Scott Hunter (MSFT)

@Binoj This release does contain Razor v3 but the changes are mainly bug fixes. M

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Friday, October 18, 2013 12:00 PM by Byron Jones

Is AD LDS supported for authentication? Perhaps the Windows Intranet Authentication can be configured to use it?

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Friday, October 18, 2013 12:02 PM by Finn

When will the Azure SDK for VS2013RTM (v2.2) be released? SDK 2.1 still mentions "VS2013Preview/RC"

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Friday, October 18, 2013 12:12 PM by Scott Hunter (MSFT)

@CuriousAboutSharePoint Sharepoint now supports running any web application inside of Sharepoint. Using this feature you can utilize the latest ASP.NET in Sharepoint today. See: blogs.msdn.com/.../introducing-mvc-support-for-apps-for-sharepoint.aspx

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Tuesday, October 22, 2013 7:46 AM by Mojo

How come VS2013 can't upgrade from MVC4 to MVC5 automatically? It's very trivial that users have to manual go trough and update all web projects. This should be automatically.

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Tuesday, October 22, 2013 9:52 AM by vincent_sels

When will Bootstrap 3 get adopted, and how is HtmlHelper.EditorFor going to deal with the explicitly required 'form-control' class on each input control ? The Bootstrap team already mentioned they're not planning on dropping this again:

github.com/.../10957

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Wednesday, October 23, 2013 2:24 AM by Satyabrata

wow....it is getting stronger and stronger......!!!!!

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Wednesday, October 23, 2013 10:59 AM by Kash

Thnak you for the detail explanation about the new features in vs2013.

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Wednesday, October 23, 2013 12:10 PM by Michael

Will there be a way to upgrade pre-existing web forms and mvc projects into the new One ASP.Net project type and have them run together?

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Thursday, October 24, 2013 5:39 AM by Robert

In the Attribute routing you likely wanted to write "{id}/approve" instead of "{id/approve}"

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Monday, October 28, 2013 7:16 AM by Suraj Deshpande

Visual studio 2013 is the best release so far. Great features.

Thanks for this post Scott.

Cheers!!

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Monday, October 28, 2013 5:14 PM by Kris

Any support for WCF equivalents for Web API REST methods?  Some of our business partners insist on WCF equivalents to our REST services.

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Thursday, October 31, 2013 10:00 AM by Jos Krause

This is both great and sad news, we finally managed to get our team upgraded to VS 2012 and got the go ahead to start making sites using MVC4 and now this announcement comes out with changes that seem like you would want to have them in your latest projects but there is simply no way management will approve another upgrade so soon after VS2012 came into play...not sure how to gauche this announcement, happy that it's made, sad I won't be able to use it.

But none the less very impressive the new version was RTM so quickly, so kudoz to all of who was involved in making that happen ;-)

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Saturday, November 2, 2013 7:11 PM by SamTheMan

Scott:

I have been "playing" with it since the RC.

1) The Web-API seems to be really well-backed (ready for prime time)

2) The ASPNet Identity - the parts at least for authentication with MicrosoftAccount; Facebook and Google do not seem to be ready for prime time -- it is so unnecessarily difficult to use for retrieving scope info (eg email, first name etc) -- even if facebook etc sends it to the app.  

They do not match the capabilities of the "equivalent" javacript versions of WinLive; FB and gauth.  The lack of readiness may explain why there is such scanty documentation on it

You can see the links below for some of the gyrations we are going through just to get things to work smoothly:

katanaproject.codeplex.com/.../145

katanaproject.codeplex.com/.../82

Scott: Is it possible your staff can at least document clearly hot we get the "scope" info for at least MicrosoftAccounts; Google and Facebook.  many of the examples (even from MS staff) focus only on Facebook.

As you know what we all do rests upon Authentication/Authorization

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Thursday, November 7, 2013 12:25 AM by Bina Khan

Can we use ASPX view engine with MVC 5?

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Friday, November 8, 2013 11:42 AM by Calle

Has anyone had the problem of Firefox being very slow when running VS 2013? Had to switch back to VS 2012 in my project.

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Friday, November 8, 2013 2:19 PM by aaron

@SamTheMan, yes. Yes, yes yes.

@ScottGu/Anyone. Again, looking for official documentation and implementation details, including ideas on upgrading from previous providers. Handling GUIDs in Identity, handling existing passwords.

File>New is great. All documentation I've seen shows that. Which is 100% useless for all of us who already have websites. Which is probably a lot of us.

Help!!!!! :)

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Sunday, November 10, 2013 6:16 PM by ScottGu

@SamTheMan,

>>>>> Here is the answer I got below back from the team:

“The project templates in VS 2013 shows how you can access the basic scopes(email, name) from Social Providers(Microsoft Account, Google, Facebook and Twitter.). When you login using anyone of the providers, you can access these values at the registration step.

www.asp.net/.../create-an-aspnet-mvc-5-app-with-facebook-and-google-oauth2-and-openid-sign-on

While the project templates show the most simplistic case, you would want to extend these social providers and request more scopes. The following post explains how you can request more scopes and access the data in the application. This approach can be used for any Social provider.

blogs.msdn.com/.../get-more-information-from-social-providers-used-in-the-vs-2013-project-templates.aspx

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Wednesday, November 13, 2013 2:10 PM by SamTheMan

Hi Scott:

Thanks for your response.

It seems like a "lot" to do to get basic info.

1) This used to work when MS implemented SimpleMembership and in an RTM version a few months ago.  In this version, functionality has been taken away.

2) MS's own implementation of the javascript version for WinLive makes it doubly easy to get this info.  --  you specify scope and "all" the info is delivered to you.

3) This version of VS is touted as using "Claims-based" authentication.  But it delivers no user claims.

4) It still puzzles me that practically all the examples from MS staff is about getting Facebook info; none about getting info from Microsoft's WinLive.  I would think this would be the first.

5) Google supports OAUTH2 -- the current implementation in VS 2013 uses OpenID for Google; any particular reason?

6) Please take a look at Brock Allen's implementation (BrockAllen.OAuth2 -it's on nuget).  It make this process so seamless. Personally, I was hoping the RTM would be as seamless.

7) Since security is such a complicated component for the uninitiated, I would think this would be one thing MS would take off our hands  -  at least as much as possible.

8) By the way, I was already familiar with all the articles in the link(s) you sent before my earlier comment

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Thursday, December 12, 2013 1:12 AM by ricka6

Hi Aaron -We’ve got a bunch of Identity tutorials at www.asp.net/.../authentication-and-identity

# re: Announcing the Release of Visual Studio 2013 and Great Improvements to ASP.NET and Entity Framework

Thursday, December 12, 2013 1:19 AM by ricka6

See brock allens excellent article CORS Support in ASP.NET Web API 2

msdn.microsoft.com/.../dn532203.aspx