Scott Hanselman

Visual Studio 2012 and .NET Framework 4.5 is RELEASED - Here's 5 minute videos to get you up to speed quick

August 15, 2012 Comment on this post [92] Posted in ASP.NET | ASP.NET Ajax | ASP.NET Dynamic Data | ASP.NET MVC | Open Source | SignalR | VS2012
Sponsored By

Jason Zander announced today that Visual Studio 2012 and .NET Framework 4.5 is RELEASED to web. The .NET Web Tools Team (the team I'm on) has coverage on their blog as well. I thought I'd showcase some Tiny Happy Features that the team worked on just because it made life better. Some are large some are small, but all are tiny happy features.

I'll continue for a few more Tiny Happy Features over the next few weeks but this last week I took some time and recorded 13 (ya, thirteen, oy) short videos to show you guys these features in action. These are SHORT videos that are at most 4 to 6 minutes. It's hard to watch 60 to 90 minute screencast so I did these little one-take quick shots so you could watch them at lunch.

If you watch all these videos it will take you less than an hour and you'll have a good practical idea of what's new in Web Development and Tools with Visual Studio 2012. This is by no means exhaustive, but it's a lot.

The other concept that's worth pointing out is One ASP.NET. We've pulled the Web Tooling and Templates out into extensions in Visual Studio 2012. This means we can update Web Tools without updating all of Visual Studio. I talked about this in the One ASP.NET keynote at aspConf. We'll be updating the tools - not in major scary ways - but in useful and important ways that make front end web development easier. We'll look at small updates either quarterly or maybe semi-annually so when a new technique comes out you don't have to wait for the next version of Visual Studio.

Download Visual Studio 2012

MSDN Subscribers can download now at the MSDN Subscriber Download Page. For volume licensing customers, Visual Studio 2012 products will be on the Volume Licensing Service Center tomorrow. If you want to download Visual Studio 2012 free trial versions, or to download the free Express versions, head over to the the Visual Studio product website.

Azure SDK for both Visual Studio 2012 and Visual Studio 2010

It's also worth noting that the Windows Azure .NET SDK has been updated today as well and you can download versions for either Visual Studio 2010 SP1 or Visual Studio 2012.

The Videos

Here's the 13 short videos showing each of my favorite features in just a few minutes. There are new Entity Framework 5 videos as well, so be sure to scroll all the way down!

CODEC NOTE: These are using HTML5 video and MP4. If you are using a browser that doesn't support that codec, click the Header links to go to the ASP.NET site directly and the videos will stream with Silverlight.

Model Binding

HTML Editor

CSS Editor

JavaScript Editor

Page Inspector

ASP.NET 4.5 Web Forms Strongly Typed Data Controls

Web Publishing Improvements



Bundling and Optimization

SignalR and Web Sockets

Async and Await

OAuth in the Default ASP.NET 4.5 Templates

Entity Framework 5

There are also 5 new Entity Framework videos done by Rowan Miller that show new features of the new Entity Framework 5 as well as walk you through Code First vs. Model First vs. Database First. They are excellent screencasts and I recommend them.

I want to write code:

I want to use a visual designer:

EF5 is the newest version of Entity Framework. These short videos and step-by-step walkthroughs will get you started with the new EF5 features

  • Enum Support in Code First - The domain classes that make up your Code First model can now contain enum properties that will be mapped to the database.
  • Enum Support in EF Designer - Using the EF Designer you can now add enum properties to your entities.
  • Spatial Data Types in Code First - Spatial data types can now be exposed in your Code First model using the new DbGeography and DbGeometry types.
  • Spatial Data Types in EF Designer - Spatial data types can now be used in the EF Designer using the new DbGeography and DbGeometry types.
  • Table-Valued Functions - Table-valued functions (TVFs) in your database can now be used with Database First models created using the EF Designer.
  • Multiple Diagrams per Model - The EF Designer now allows you to have several diagrams that visualize subsections of your overall model. This allows larger models to be broken up into multiple smaller diagrams. You can also add color to the entities to help identify sections of your model.

Related Links

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Hosting By
Hosted in an Azure App Service
August 15, 2012 22:12
I'm really looking forward to getting this. Unfortunately, MSDN is completely hosed right now. :(

I had hoped with the Power of Azure, this wouldn't happen. Oh well!
August 15, 2012 22:14
Dude, you rock. No, seriously.
August 15, 2012 22:14
Ha! Spoke too soon, as soon as I posted that, I got through and it's downloading now.

Go Azure!
August 15, 2012 22:25
a small problem in download page that web-installer link and download link should be changed !
August 15, 2012 22:37
Just finished downloading VS2012 Ultimate RTM from MSDN. Can I simply install this right over VS2012 RC, or are there special precautions I should take before installing VS2012 RTM?
August 15, 2012 22:50
Any news on when Azure will include .Net 4.5 support?
August 15, 2012 23:07
>HenningK: Dude, you rock. No, seriously.
I second that!
August 15, 2012 23:34
Great videos, Scott! Totally digging VS2012!

On a side note, why is WCF not listed under 'Services' of your 'One ASP.Net' slide?
August 15, 2012 23:45
Firefox can't play these mp4s apparently. Time to finally ditch FF for Chrome I guess.
August 15, 2012 23:59
Use "poster" attr, not the "placeholder"
August 16, 2012 0:04
Wow this is one hell of a release. Congrats to you and all the team!

Loving the JS editor improvements. I write a ton of JS and that's really going to help so thanks...

I noticed in the JS editor video that when you typed /// the editor did not insert the C# style XML comment snippet (with summary and each parameter templated out), was that a conscious decision? Can we add it?
August 16, 2012 0:35
Thanks for your help guys! I updated the video tags and also added a note on codecs. Also fixed the WebAPI/MVC mix up.
August 16, 2012 0:37
Grey - I installed over RC and it seems OK.

Ben - Good idea. Tell @mkristensen and maybe we can add.

Anthony - Very soon I hear.
August 16, 2012 1:42
great stuff. Hey Scott, what's the status of WCF's Web Api offering today? Is Web Api available on ASP.NET MVC only, on WCF only or both? Thanks.
August 16, 2012 2:06
Hi Scott,
Is there any reason why VS2010 could not target .NET Framework 4.5? Is this purely MS marketing to force users to upgrade to VS2012?
August 16, 2012 2:12
Timo - Web API is a part of ASP.NET but you can use it ANYWHERE.

Mark - As I understand it it's more complex than that as there's new compilers, new multi-targeting, etc. You could maybe hack something together with an external call to MSBuild but, no, it's not marketing.
August 16, 2012 3:45
Long time reader, first time poster :)

I don't know if anyone else is having this problem, but if I view this blog post via google reader then it Blue Screens my PC. It looks like it's an issue with the ATI drivers as the file causing the problem is atikmpag.sys.

I'm presuming it's to do with the HTML5 video, but can't be sure. I got my colleague to go this blog via google reader and it blue screened his PC as well.

Anyone else having similar problems?


August 16, 2012 5:50
Scott, thanks a lot for giving us the early heads-up on these videos at thatConference, and for all the awesome conversation and your presentations throughout this week. You truly are one of the evangelists for your company and I appreciate your passion for what you do. PS hats off to you and the Dev team for the VS 2012 release goodies.
August 16, 2012 6:01
The "Download" and "Install" links are swapped here.
This should be fixed.
August 16, 2012 6:46
Visual Studio 2012 RTM can´t be installed at Windows 8 RC?
August 16, 2012 8:20
Felipe - no, because Windows 8 is Released now.
August 16, 2012 9:21
Hi Scott,

This video was extremely easy to understand and the content was presented well. Adding the attributes to the parameters of CRUD methods makes things really simple. As I always believe, we need to focus on doing something to solve the domain problems rather than solving technical problems, this is one step towards that. No code is best code! :-). Thanks for this wonderful series of videos.

August 16, 2012 10:09
For everyone responsible for this release, hooray!
August 16, 2012 10:15
Hi Scott,

Installed Windows 8 Pro 64 bit and then used Web Installer for Visual Studio 2012 to install. Seems that the .NET Framework 4 Multitargeting pack failed to install. So now I can't upgrade any of my 2010 projects to 2012 because then I will have to target the 4.5 Framework. How can I fix this? Or who can I get in touch with for help?

August 16, 2012 10:43
Hi Scott, great video :) For team this was great release!
August 16, 2012 10:56
Thanks Scott!!!
August 16, 2012 11:02
A long awaited release, thx for sharing!
August 16, 2012 11:16
Amazing article, thanks for putting this collectively! "This is obviously one huge post. Thanks for the priceless information and insights you have so provided here. Keep it up!"
August 16, 2012 11:24
Omg, next time use an open video format like webm or theora!
August 16, 2012 11:44
When will the GUI get fixed?
August 16, 2012 11:53
Hi Scott,

There is something that is still unclear to me. Mads Kristensen adds a lot of functionalities (CSS, less, coffescript,..) with its Web Essentials 2012. Is it the aim that those functionalities will be integrated later via the tools update without having to use Web Essentials. I hope so because the Web Essentials extension can't be installed in the Express edition and my students only use the VWD for learning ASP.NET.

For the rest I know you don't care about it (or at least you can't communicate about it), but the UI still sucks. Imagine the London Metro maps in only two colors light grey for the background and dark grey for all the metro lines. That what you designers gave us! So please at least tell your colleagues to stop thanking us for the feedbacks as a huge numbers of those seemed to be just ignored by all microsoft guys in all microsoft blogs.
August 16, 2012 12:09
Hi Scott,

First of all, great work! You like the new look or you don't but you can't deny the tools are much better and faster.

Just one question though, any reason behind the fact that VS2012 is still not available in 64 bits? Just curious.

August 16, 2012 12:38
Fantastic news!!!,thanks Scott for this Events...
August 16, 2012 13:37
Thanks for the videos! Any word on when Windows Azure Websites will support ASP.NET 4.5? I'm currently getting a "Your hosting provider does not yet support ASP.NET 4.5" error when trying to publish.
August 16, 2012 16:24
Note: Installing VS 2012 premium does not overwrite MVC 4 RC. On my system I had to manually choose to update MVC 4 to release version after the VS 2012 install was completed.
August 16, 2012 16:54
Scott, some great videos. Thank you for taking the time to share these with the community. I'm seeing stuff for the first time. Like migrations. Can you recommend any books that might cover a lot of these topics you're covering in these videos? I like that videos are short; perfect chapter size bites for a book. A chapter on migrations; one on publishing, etc. I've used mostly 2.0 and 3.5 of .NET and feel I'm missing out a lot on 4.0 and 4.5.

Thanks a lot!
August 16, 2012 17:59
Love the videos. Do you know if there is a blog or videos for the winforms/WPF side of Visual Studio 2012? I do some ASP.Net dev, but a lot more WinForms. Would like to see what was added over there too.
August 16, 2012 18:51

Having trouble streaming theses videos, it's timing out. Wondering if these videos are also available else where?

August 16, 2012 19:01
Scott, Thanks for an excellent (as always article) with lots of "meat on the bones," with those videos.

What I find very puzzling in this piece is omission of the fact that Win 8 RTM is now out for MSDN suscribers, and also has a 90 day trial version out for anyone.

The "catch-22" here is that you can't install the latest VS 2012 for Win 8 RTM, full version, unless you have an MSDN sub. "Mere mortals" get VS 2012 for Win 8 express version.

As some who paid for a "real" licensed VS 2010 Pro, and Win 7 Pro, in a S.E. Asian country where piracy is ubiquitous (no: I do not think I deserve a "medal" for that), I find it disturbing that there seems to be no announced reasonable upgrade path announced to VS 2012 Pro release, let alone VS 2012 Pro release for Win 8's release version.

I'm not about to use an express version of VS 2012, after having purchased VS 5,8, and 10 !

From my point of view, this policy ... or, lack of policy ? ... discourages developers who want to be early experimenters with full tools for Win 8.

thanks, Bill
August 16, 2012 20:56
Nice Work! It is truly a great time to be a .Net Web Developer. I do not like the new look of the VS UI but considering the enhanced tools I can learn to like it. MS continues to make my switch from another platform worth while...

August 16, 2012 22:31
Is it intended that the EF 5.x DbContext Generator for C# extension is only available for VS2012?

It's referenced in the "Additional Steps in Visual Studio 2010" section of

Yet you can't install that extension for VS2010.

Also, are there plans for Project Templates without OAuth, like the ones that existed before?
August 17, 2012 0:48
Scott, how could we set up an OAuth provider with IIS? We want OAuth single sign-on for intranet web apps not on IIS and use Active Directory LDAP authentication.
August 17, 2012 0:54
Thank you for sharing the awesomeness.
August 17, 2012 1:27
I watched the video regarding the improved language support for JavaScript, etc. and it got me wondering about BI support in VS 2012.

I am not seeing any support for building SSIS packages or other projects associated with what was formerly known as BIDS.

Any thoughts on this is appreciated.


August 17, 2012 2:44
Ben wrote:

I noticed in the JS editor video that when you typed /// the editor did not insert the C# style XML comment snippet (with summary and each parameter templated out), was that a conscious decision? Can we add it?

It's coming. We are currently working on a prototype.
August 17, 2012 5:14
Bill - I don't understand your question. You can get VS Pro for $499. Can you rephrase?
August 17, 2012 5:21
Using the "Windows Azure SDK" installer you mention for VS 2012, leads to a strange message when what you have installed is Windows 2012 RC:

Visual Studio Express 2012 for Web is not compatable with pre-released versions of Visual Studio 2012. Please uninstall any pre-released versions of Visual Studio 2012 before proceeding."

I find this odd since I am installing an Azure package, not VS Express.

best, Bill
August 17, 2012 5:22
Why didn't the team kindly tell us that this only works on Windows 8 RTM? Why waste days of our time with failed uninstallations (I uninstalled VS2012 RC first), multiple gigabytes of failed downloads and installations, only to have it fail in the end... ??? (Multiple because it kept not working with error message 'need .NET 4.5.5...', which is also ambiguous). Not very nice, or simply not well thought out.
August 17, 2012 5:28
Fhallot - Yes, we'll be merging Mads stuff into the official stuff and getting it into Express.
August 17, 2012 5:28
Bill - Do you have RC installed and not RTM? The Azure SDK is an add-on to the Web part of Visual Studio.
August 17, 2012 5:31
Nick - Are you trying to install the Visual Studio download for making Windows 8 apps? Other than that ONE SKU (which makes sense) VS2012 works on all this OSs:

VS2012 works fine on Windows 7 and all these OS's:
Supported Operating Systems
Windows 7 (x86 and x64)
Windows 8 (x86 and x64)
Windows Server 2008 R2 SP1 (x64)
Windows Server 2012 (x64)
August 17, 2012 8:18
Thanks Scott for the reply.

Maybe the situation I am referring to is not being understood. The issue is this, as this MS Connect report has it (

After installing the new VS2012 RTM bits on a Windows 8 Release Preview OS, after the install took all the time to completely download and install, upon completion, it says:

"Error: The .Net Framework installed on this machine does not meet the minimum required version: 4.5.50709."

Well, okay, so that is not cool, but we all then go and try and download the most recent (as of this week) 4.5 version, but it immediately says it can't install, you already have it.

So I heard that the problem was (according to this MSDN forum,, YOU are the source of this claim!, though perhaps erroneously) that you can't install it on Window 8 Release Preview.

Which I think, IF that was the case (is it?), that it is a really lame decision, bec if it works on Win7, why not on intermediate Windows 8 builds? Any of us junkies who would install beta versions of Win8 -- these are not people to worry about that they would not update to the final version WHEN it is ready for us! (esp. at the block buster upgrade price!).

So is this the case, was this done on purpose (no VS2012RTM on Win8RP), OR, is this just a bug?
August 17, 2012 12:31
What if you installed VS2012 RTM on a machine that already has VS2010 (without SP1) then find out that after that you can no longer run unit tests in VS2010?

However, what will then happen when you install VS2010 SP1 afterwards? Will it then change some of the .NET stuff back to 4.0? Will unit tests work?

This in-place upgrade really is a mess. Also this resulted in a butt load of warnings in VS2010 when building that did not occur before.
August 17, 2012 13:50
Can't play the videos in Firefox, could the xhtml doctype cause the html5 video tags to not be recognised?
August 17, 2012 17:32
Out of curiosity, why did you not adopt JSDoc as the format for JavaScript documentation? It's a lot than XML based docs and there are plenty of tools available to generate documentation off the back of it.

If you're going to fully adopt JavaScript as a first class language I feel you should follow the accepted paradigms
August 17, 2012 18:05
I'm trying to install the RTM but cannot the change the install path from D: to C:. Both the textbox and the button are disabled.

I had the RC version installed in D:\Program Files but uninstalled it before installing the RTM.

I've searched the registry and removed all the keys that I could find.

Any help?
August 17, 2012 19:22
Can we deploy .NET 4.5 site on windows azure?
August 17, 2012 19:47
Nick, JSDoc support is coming soon. We are currently working on it, but we decided to start with the XMLDoc format that we've used for the past couple of VS versions.
August 17, 2012 21:02
Any news on when Azure will include .Net 4.5 support?
August 18, 2012 1:44
If my webhost had a beta period with net 4.5 and now has upgraded to 4.5 release - will my Rc 2010 web application work?
August 19, 2012 7:09
Just curious. I know that the Azure SDK was updated however it remains at 1.7.0. Do you know when 1.7.1 will be released? I would like to utilize "SharedAccessTablePolicy".
August 21, 2012 16:28
Any information on how to work with SSRS RDL files in VS2012?
August 21, 2012 17:02
just a little question :

does vs 2012 and .net 4.5 work only on windows 8 ?
August 21, 2012 18:15
Can you please find out if there will be an upgrade for VS 2012 from 2010? This information is apparently not out there at all, and people want the answer.
August 22, 2012 15:15
Loving the new Visual Studio!

Anyone else getting something weird where any change to an .aspx or .aspx.cs at all result in an entire app domain restart?
August 22, 2012 17:08
Great article Scott alwyas.

Keep it up! :)

August 23, 2012 1:02
Hey Scott, great great videos, thank you very much.

I do have a question on the Async one, though:

How are you able to return View() when the method signature forces you to return Task<ActionResult>? What allows you to do that?
August 23, 2012 10:36
Scott it great information really useful....
August 23, 2012 17:59
Great job as always Scott. Do you know when they will fix the UI however? I am avoiding using 2012 until they get the UI fixed. It's hideous to look at, IMO, as well as MANY others.
August 26, 2012 16:13
Hey Scott, great serie of vids here. We are currently working on a big project that uses WIF to deal with authorisation and we have to accept credentials from a STS (we support two corporations which exposes the STS through AD FS). Our app supports claims based auth as you probably guessed.

I'm reading more and more about oauth and kinda have a problem grasping the nuances between that and the ability to do the same with wif. Since I see that Microsoft embraced Oauth to the point as to integrating it in their templates and that it's almost hard to find WIF info from Microsoft that dont dates less then 2 years... Is the claims based going down the drain ? What would be the best way to outsource the authorization mecanism to a third party... Using WIF/claims based stuff or with Oauth.

If Oauth is the "good" way to go... Where can I find a place on how one can develop and create a Oauth credential store ? Does it supports WS-Federation ?

So many questions my oh my... Sorry about that.

A post or hanselminutes podcast on WIF would be great by the way.
August 26, 2012 20:03
I can't do it. I just can't move our enterprise team to VS2012 (or Win8 for that matter). As CTO I get to make the call, but, fortunately, my team is in full agreement. If I/we gave in and adopted it, I'd be letting MS know they don't have to listen to our (nearly unanimous) feedback and they can do whatever the hell they want to our tools and we'll just take it like sad beaten orphans cowering instead of standing strong on principal.
August 27, 2012 18:56
If you need Azure to support .Net 4.5 for your project, please go vote for it on the Azure User Voice site:
September 02, 2012 19:20
Don't install if you still need 2010. Our source provider doesn't support 2012 yet and when I installed it I lost my templates for MVC3 on 2010. Not so bad, but I can't even open projects I need to access now. Tried re-installing MVC3 multiple times but it seems to only add to 2012. I'm uninstalling 2012 now but it is SOOO slow. I hope to god I don't have to spend a whole day or two reinstalling VS 2010 and all my customizations.
September 03, 2012 16:07
Excellent vids here thnks mate, VS2012 looks fantatsic!
September 04, 2012 13:11
When, when do we have .Net 4.5 on azure.. A date pleeease.. Anyone..
September 04, 2012 14:46
Wow, that's really wonderful, Does this one also support compact Framework?
September 05, 2012 12:13
Hi Scott

Great article. Great videos. I watched them all.

A question re the MVC 4 video:

How do I create the hybrid web/mobile app like the one you demo toward the end of the video?

The Internet project template doesn't have mobile views or the view switcher and the Mobile project template doesn't have them either (nor the oAuth code.)


September 06, 2012 15:18
Here is a workaround for Visual Studio 2012 on Windows 8 RC/Consumer preview:

1.Download the .net 4.5 installer and run it with /x to extract it.
2.Go to the extracted folder and open ParameterInfo.xml.
3.Remove anything between <blockers> and </blockers>
4.Start setup.exe and install.
September 07, 2012 0:03
Hi Scoot

Really enjoyed your demo videos! (and your blog podcast for that matter :)

But just to tease you
I really love how you Magically shaved off another 130 miliseconds of the "Async and Await" video.
(going from displayed value og 1.133 sec to 1.003 sec)

Keep up the good work!

September 11, 2012 21:46
DBContext.CommandTimeout does not compile in .net 4.5 Entity framework 5
September 13, 2012 14:17
Any new thing for Web delopyment project (is it support customised path...)
September 24, 2012 8:18
The following instructions

1.Download the .net 4.5 installer and run it with /x to extract it.
2.Go to the extracted folder and open ParameterInfo.xml.
3.Remove anything between <blockers> and </blockers>
4.Start setup.exe and install.

resulted in the error

Setup encountered an unexpected error in the package contents
September 25, 2012 17:59
The videos on this page stop streaming within the first 2 minutes?

I'd love to watch these videos. Please look into why the videos are not playing in their entirety.

I have an amazing connection to the internet so this is not a buffering issue on my end.
October 16, 2012 16:06
Heyy Hanslmen,

after my team upgraded to VS 2012, ALL our projects faced the same issue as in the below URL

October 19, 2012 4:23
Alaa - there's an answer now on the SO thread about that EF issue.
October 27, 2012 7:24
I am from india.I have problem when i connect sql server 2012 to visual studio 2010 that time the error is occured means its not compatible with visual studio 2010.
so please give me the solution about that problem and one more thing can visual studio 2012 is compatible with sql server 2012.Please send me mail if possible.
Thank you.
October 31, 2012 11:18
Hi Scott,

I am not able to play videos. Page is showing message "No video with supported format and MIME type"

November 12, 2012 10:42
I am from india
I am not able to play videos
November 26, 2012 20:01

FYI, the Javascript Editor video link plays for one second and then dies. Other links seem to be fine.

Win8 Pro (which is completely awesome) and IE from the start screen (also awesome) and neither the HTML5 nor the Silverlight version works.
November 27, 2012 0:59
Bill - I tried here and it works. Clear your cache or download the file with a right click save as?

Amer and Bishnu - Try saving them locally by right clicking on the download links?
December 04, 2012 7:46
Is the STS that comes with Visual Studio 2012 a production level STS? Does it lack any of the core tenets of what a production level STS should be in your opinion? What I am looking for is a STS that can provide token against a custom store. The only solutions I know of that appear viable are the ACS Azure and Dominick Baier's open source solution or ADFS2 which is domain only but can delegate to a custom provider? What is your recommended solution and why?


January 04, 2013 17:14
Hi Scott

Is there any location to download the samples presented in the video?


Comments are closed.

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.