Skip to main content

One ASP.NET in Visual studio 2013

This post is part of Visual Studio 2013 features series.
Since first release of ASP.NETMVC 2009, There are lots of type of projects are available for ASP.NET and It’s always been confusion to find all the projects under one hood. So now developer has not to worry about whether I should use Web Forms or ASP.NET MVC and If I need some functionalities of ASP.NET MVC in web forms or anything then how it will work? How we should combine all those different project types?

Now that fuss for developer is over. With Visual Studio 2013 Microsoft has vision called One ASP.NET so when you create a web project there will be a single project in Web Category only.

one visual studio 2013

Once you click OK there will be different choices provided.

Here You can there are various template available like Empty, Web Forms, MVC, Web API, Single Page application,Azure Subscription and  Facebook. So you can choose project type as per your requirement but Tricky part is checkbox given below this template where You can tick multiple type like Web Forms, MVC and Web API so all will work under single hood. So here we can have different combination like we can add reference for ASP.NET Web Forms in ASP.NET MVC application and same way we can have ASP.NET Web Forms applications with ASP.NET MVC References. So If we want to develop some part of application in other technology we don’t have to worry about compatibility of it. It will work smoothly.

With Visual Studio 2013 Update 2 now you can create Microsoft Azure web site or Virtual machine directly from here only. You can directly host on either Azure Web site or Azure Virtual Machines. You can see there are various options available on above image.

The Manage subscriptions line will ask for you subscriptions and a launch a popup where you can manage your subscriptions.

So even if you want to host in cloud then also it will be like one click.

Isn’t that great? Hope you like it. Stay tuned for more!!


  1. Hi

    you should update the screenshot2 after you update your VS2013 to Update 2. There is a nice little feature write in the template dialog box which can create a Azure website or VM for your project with just one click :)

    1. Sure I will update it once I update my visual studio with update 2. Thanks for pinpointing!!


Post a Comment

Your feedback is very important to me. Please provide your feedback via putting comments.

Popular posts from this blog

How to create Rest API(Web API) with ASP.NET Core 1.0

Recently Microsoft has released ASP.NET Core 1.0 RC2, I am getting lots of request from readers that about creating Web API. So I thought it will be a good idea to write a blog post about how to create Rest API(Web API) with ASP.NET Core 1.0.

So let’s get started via creating an ASP.NET Core 1.0 Web Application like following.

Once you click on ASP.NET Web Application, It will ask whether you need to create Web Application or Web API application. We are going to Web API so I am going to select Web API Application like following. Please note that in ASP.NET Core 1.0 there is no separate libraries or DLLs required for creating web APIs. This is just a project template.

Now once you click on OK It will create a Web API application with default values controller and program.cs.  As you know Program.cs is now starting point for the ASP.NET Core 1.0 application so It contains all the required configuration and startup items. Following is a code for that.
using System.IO; using Microsoft.Asp…

How to use migration with Entity Framework Core

Entity framework core is  the lightweight, extensible and cross-platform version of Entity Framework. Before some time, Microsoft has Released a new version of Entity Framework RC2. I have written a couple of blog post about Entity framework code first migration earlier for Entity framework 6.0. So there was a couple of request coming for writing a blog post about Entity Framework Core RC2 migration. So I thought it will be a good idea to give an overview how database migration works in Entity Framework Core RC2. This post will cover a basic scenario where we are going to create the database with existing ASP.NET Identity migration and then we are going to create a new model and have that migration applied in the database.

How to use Entity Framework Migrations: Let’s get started, To demonstrate entity framework core migrations, I am going to create a sample core web application like following.

Once we select core application it will appear the following dialog.

Now w…

Solution: gulp is not recognized as internal or external command- Visual Studio

Recently, After Upgrading to the newer version of Gulp, I was getting this error.  After doing lots of  finding online and in my system I was able to figure out that Modules like Gulp does not installed to the path. So when you try to run it from the command line it was showing below error.
gulp is not recognized as internal or external command How to solve : gulp is not recognized as internal or external command To solve this error we just need to create a new environment variable and set the NPM modules path there.

To create an environment variable,  Right click My Computer/ This Pc and click on properties.  It will open following windows.

Go to Advance System Settings and it will open system properties windows like below.

Click on Environment Variables it will open an environment and system variables windows like below.

Click on new System variable and put NODE_PATH in system variable name and %AppData%\npm\node_modules into the variable value like below.

Click on Ok. That’s it. N…