Announcing new Web Features in Visual Studio 2013 Update 3 RTM

Announcing new Web Features in Visual Studio 2013 Update 3 RTM

Rate This
  • Comments 26

Today, the Visual Studio team announced the release of RTM version of Visual Studio 2013 Update 3.  Our team added a few useful features and did some bug fixing in this update to improve the web development experience. 

Our team also released Azure SDK 2.4 SDK today, you can read the detail here.

Microsoft ASP.NET and Web Tools 2013.3

Added Scaffolding Support for ASP.NET 5.2 technologies (MVC, Web API)

With this update, scaffolding will correctly detect what are the versions of NuGet packages that the project is using. For example, if the project is still using ASP.NET MVC 5.1.2, then scaffolding will use 5.1.2, instead of 5.2.

JSON editor improvements

Added Auto-formatting

Auto formatting is now part of the JSON editor and is turned on by default. You can turn off auto-formatting from Tools->Options->Text Editor->JSON->Advanced:

clip_image002

Added Brace Matching

Brace and brackets match highlighting are just like in C# and JavaScript editors now.

clip_image003

CSS editor improvements

Improved Selectors level 4 IntelliSense

We’ve improved IntelliSense support for Selectors Level 4, which will now support more selector patterns making it easier for developers to implement them in their markup.

clip_image005

Added drag-and-drop of fonts, images and.css files from solution explorer into .css files.

When editing a .css file with only body{} inside, drag and drop the following files from the solution explorer:

1. a font file to anywhere in the editor

2. Drag and drop an image file to somewhere inside the body tag

3. drag a css file (e.g. bootstrap.min.css) file to anywhere in the editor

You will get auto-generated css code like the following:

clip_image007

Added support for two-factor authentication in One ASP.NET templates for MVC and Web Forms

The new MVC template includes basic implementation of “two-factor authentication”. You can follow this instruction to plugin Email service and SMS service, and enable the project for two-factor authentication.

Moved ASP.NET Facebook Template to Visual Studio Gallery

The One ASP.NET new project dialog will no longer list Facebook as an option for a project template. Over the past several months Facebook made changes to their application development APIs that were incompatible with the ASP.NET MVC Facebook support. We've fixed the Facebook package and renamed it to Microsoft.AspNet.Facebook. This package is now available on NuGet gallery. As part of this change and to allow us to change the template more rapidly, we will ship the ASP.NET Facebook template as a Visual Studio Extension on the Visual Studio gallery.  For now, you can download the VSIX here.

Enabled creation of ASP.Net projects using AAD when signing in with Microsoft account

To see the change, let’s run the following steps. Step 1 to 3 are the same as in previous version.

1. Login to Azure management portal, go to “ACTIVE DIRECTORY”, click the Microsoft row which is auto enabled with your Microsoft account.

clip_image009

2. Click on DOMAINS to get your domain

clip_image011

3. You can use this domain to create a web application with Organizational Account. Click OK in the following dialog.

clip_image013

4. Click OK, you will see a Sign in page to verify organizational account. You can now use your Microsoft account to sign on, in addition to the user@yourmicrosoftADdomain.onmicrosoft.com. Both account certainly need to have Administrator privilege.

clip_image014[1]

Note: You can use Microsoft account only to provision your application on the AD. When signing into your application at runtime, you still need to use an organizational account user@yourmicorsoftADdomain.onmicrosoft.com .

Added support for publishing Microsoft Azure WebJobs in Update 3.

Now, developers can create standard Console Application projects in their Visual Studio solutions that can be published to Azure Websites as either continuous, triggered, or scheduled WebJobs. Console Application projects can also be published from the Visual Studio Solution Explorer as WebJobs to Azure Websites. It’s never been easier for developers to add background processing to their existing ASP.NET web applications.

On any console application, right click the project name and select “Publish as Azure WebJob…”. You will see the following dialog:

clip_image016[1]

Click OK and go through the normal Azure publish dialog, you’ll publish the WebJob project to the chosen Azure website.

clip_image017[1]

After 1st publish, you will see “webjob-publish-settings.json” file being created, storing the values you’ve set from the “Add Azure WebJob” dialog. From now on, running “Publish as Azure WebJob…” will directly go to the normal Azure publish dialog. Only if you remove this JSON file, you will see the “Add Azure WebJob” dialog again. For more information about the new WebJobs deployment feature, see How to Deploy Azure WebJobs to Azure Websites.

 

ASP.NET MVC 5.2

ASP.NET Web API 2.2

ASP.NET Web Pages 3.2

ASP.NET Identity

Microsoft released ASP.NET Identity 2.1.0 in this update. We added support for SignInManager. SignInManager, making it easier to add Two-Factor authentication, account lockout, and other security features when you log on. For more information about this feature, go to this blog post.

Entity Framework 6.1.1

Microsoft released EF 6.1.1 in this update. For more information, go to this blog post

WebDeploy 3.5 refresh

We released a Web Deploy 3.5 refresh in Visual Studio Update 3 to enable integration with SQL Server 2014. You can also download it from here

IIS Express 8.0 June 2014 Hotfix

We released an IIS Express 8.0 June 2014 Hotfix in Visual Studio Update 3. This hotfix addresses an issue with IIS Express 8.0 where creating a site and using certain character combinations in the site's folder, Internet Information Services (IIS) 8.0 Express does not start. You can also download it from here.

Known Problems

1. If you upgrade to Visual Studio Update 3 RTM from Visual Studio Update 3 CTP1 or Visual Studio Update 3 CTP2 directly, JSON editor or LESS editor does not work.

To work around this issue, run Visual Studio 2013 Update3 repair that will bring the computer to a good state.

 

2. When creating a default C# ASP.NET Web Application from MVC, WebAPI or SPA template with individual authentication, generated Views\Account\ _SetPasswordPartial.cshtml and _ChangePasswordPartial.cshtml files contain invalid model.

In file _SetPasswordPartial.cshtml,

@model <MyProjectName>.Models.ManageUserViewModel
Should be changed to:
@model <MyProjectName>.Models.SetPasswordViewModel

In file _ChangePasswordPartial.cshtml,

@model Microsoft.AspNet.Identity.ManageUserViewModel
Should be changed to:
@model <MyProjectName>.Models.ChangePasswordViewModel

Similar problems exist for generated VB projects as well.

In file _SetPasswordPartial.vbhtml,

@ModelType ManageUserViewModel
Should be changed to:
@ModelType SetPasswordViewModel

In file _ChangePasswordPartial.vbhtml,

@ModelType ManageUserViewModel
Should be changed to:
@ModelType ChangePasswordViewModel

Summary

We hope you can evaluate these new features and let us know about any bugs and suggestions.  For VS features, please use Connect to submit bugs, ASP.NET UserVoice to submit and vote for suggestions, and the ASP.NET Forums for Q&A.  You can also visit the following open source sites to leave suggestions and open issues directly:

Leave a Comment
  • Please add 6 and 3 and type the answer here:
  • Post
  • It seems that there are lots of 404s on the images!

                      --- Thanks! MSDN blog team has fixed it. (xinyang qiu, 8/6/2014)

  • Please fix the broken images.

                      --- Thanks! MSDN blog team has fixed it. (xinyang qiu, 8/6/2014)

  • Can you please provide another link for the updates to Asp.Net Identity and the information on SignInManager?

    The link you posted appears to be incorrect: blogs.msdn.com/.../asp-net-identity-2-1-0-alpha1.aspx

    Thanks!

  • @PingCMB, we accidently updated blogs.msdn.com/.../asp-net-identity-2-1-0-alpha1.aspx to contain RTM content.  So you can use that content for now.  We'll publish another RTM blog for identity 2.1.0 RTM soon. (update, we've published new identity blog at http://blogs.msdn.com/b/webdev/archive/2014/08/05/announcing-rtm-of-asp-net-identity-2-1-0.aspx)

  • Not able to create ASP.NET projects as all of the options to select either MVC or WEbAPI are blank and missing from the UI ...

  • Could you please download and run Visual Studio 2013 Update3 again?  It will prompt you to "repair" or "uninstall", choose repair and see if it works for you.  Thanks.

  • Nothing works and I don't have the energy to rip this thing out for a fresh install!

  • Sorry to hear about it.  Could you please contact me directly so that we can figure out what the problem is for you?  You can contact me at xinqiu at microsoft dot com.  Thanks.

    -- update, we're still investigating the problem, we cannot repro it in our lab machine yet.  The issue above is fixed by the reporter after uninstalling VS2013, removed the left over folder in %program files(x86)%, reinstalled VS2013, and re-applied VS2013 update 3.  Please contact me for the same problem you are experiencing.  We will ask for some diagnostic files from your computer.  Thanks.

    - update 8/13/2014: 

    In all of the problem reports we get, we find that there are several extra assemblies 
    that did not get removed from installation process. Even we still don't know which
    installation process sequence caused the issue yet, we've be able to solve the problem
    by the following steps. Please try the workaround and let us know if it doesn't fix your
    problem. Thank you very much for all the support.

    1. Close VS.
    Goto C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\PrivateAssemblies,
    delete the following assemblies if they exist:
    • Microsoft.VisualStudio.Web.WindowsAzure.Contracts.dll
    • Microsoft.VisualStudio.Web.WindowsAzure.Explorer.dll
    • Microsoft.VisualStudio.Web.Internal.Contracts.dll
    • Microsoft.VisualStudio.Web.WindowsAzure.Impl.dll (should not see this, but just in case)
    • Microsoft.VisualStudio.Web.WindowsAzure.pkgdef (should not see this, but just in case)
    2.	Start VS2013 with update 3, try to create a ASP.NET Web application, see if the template 
    exists and project can be created successfully.

  • I have the same issue as the above users. Not able to create ASP.NET projects as all of the options to select either MVC or WebAPI are blank and missing from the UI.

    I experience this issue on two PCs, both with VS 2013 Ultimate. After the Update 3, the MVC, WebApi Template are all gone!

  • @Blad Leaf, could you please contact me in email as shown in the comment above?  Thanks!

  • I need to completely uninstall the old visual studio and went through all related folders + registry to make it works.

  • Thanks for sharing excellent and informative post. Really I learnt new today.

  • vs 2013 after update 3 missing all templates in C# - MVC5, WEB API  - I can not work !!! What to do?

    -- Update by Xinyang Qiu 8/13/2014, Sergey contacted us offline and provided lots of assistence for us to find the workaround showing in the updated comments before (removing a few extra assemblies in privateAssembly folder).

  • how the I get RID of asp.net. I dont want that *** on my comp, and my damned comp DID work fine with win8 before that got sneak installed by a update. it pops in before I even type in my password, so I dont trust that nonsense.

  • ok.. AGAIN.. my comp never had that nonsense asp.net in it, win  8 worked JUST fine... and now that stupid crap popped in before I even can enter my password? I want that stuff GONE, how I remove asp.net?

Page 1 of 2 (26 items) 12