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 5 and 3 and type the answer here:
  • Post
  • and no, before anyone comes like "its cool and useful", I have no interest to develop anything on web so.. I dont NEED that nonsense. WHERE is the DEINSTALLATION  option for it.

  • @Disgruntled User, sounds like it's not the update3 problem.  Could you please create a thread in http://forums.asp.net/ so that the community can help you with the issue better?  Please share the forum link here once you create the thread.  I don't think asp.net runtime pops up anything when you entering your password anywhere on web or for logging into windows.   This sounds like a Malware to me.  Maybe you should post a screen shot image and share the link in the forum.

    Also, these 2 forum posts might be related:

    http://forums.asp.net/t/1701403.aspx?asp+net+is+set+up+as+admin+and+I+didnt+do+it

    http://forums.asp.net/t/1908686.aspx?ASP+NET+virus+

    Thanks.

  • thanks for the tip.. maybe I can use that first links info to get rid of that crap. good riddance.. and sorry being so pissed off in the first place, it literally ambushed me out of thin air;

  • IT WORKED. thanks for the tip. was only angry cuz I thought  all my work on the comp was a goner. =)

  • @no longer Disgruntled User, glad we can help. :)

  • Hi, I can't see the JSON editor in VS2013 Express ?

    Please advise

    Thanks

  • Bonzabud, VS2013 web express + update3 should have JSON editor and project item available.  If you still can't see it, please contact me at xinqiu at microsoft dot com and we'll try to investigate.  Thanks.

  • Did a fresh download and install of Express 2013 today, Windows 8.1 pro x64. No ASP templates available. The referenced .dlls to be removed exist neither in Program Files (x86)... nor in Program Files...

    I've been using Dreamweaver to develop but started to read an interesting book: Unraveling HTML5, CSS3, and JavaScript with Visual Studio 2013. Thought I'd give it a try since I haven't looked at VS since about 2007. Maybe even convert to it if warranted from my point of view.

    But it seems the Microsoft product managers are still Alpha testing in the marketplace, just like they have since the big release of Windows 1.0 Alpha for mass consumption.

    Well, I'll try to keep an open mind about VS for web developing. Let me know if you figure out how to make your program work. Good luck to you.

  • Hi,

    I've installed update3 for VS2013, and now i have a problem in Asp.Net for CSS3.

    When i type direction in css , at first it hasn't IntelliSense for direction and warns that

    "Validation Css direction is not a known CSS property name"

    tanx in advance

  • Dirk email us with his problem.  Upon his newest email, he installed the VS 2013 Express desktop edition, instead of the web edition.  Once he installed the web edition, problem solved.

  • @Mahvash, Thanks for reporting.  This scenario seems working fine for me however. If you can repro this, could you please file an issue in Connect with detailed step so that our dev can follow up with you?  Thanks!

Page 2 of 2 (26 items) 12