In this section, we'll see the major changes for ASP.NET 5. The very first change is on the lines of the Project system. Projects are now based on the File System. So, all you need to do to add something to a project, say a new source code file, is to just place the file in the right directory. So, you can edit the source code file, save the file and build and that happens dynamically. Thanks to the new Roslyn compiler that compiles the source code in memory that allows for a faster build and faster refresh.
The project structure itself changed from previous versions. Also, one point to note when building applications is we now have two options for the runtime. The first is the full-blown runtime as 4.5.1 or greater than that and the second option is for a cloud-optimized runtime, also called the core CLR. Here, all the pieces, like the JIT Compiler and Garbage Collector are packaged and designed for high throughput and low memory consumption. And now the application can have this cloud-optimized environment embedded with the application that makes it easier to have a true side-by0side version and be embedded, in other words you can deploy the .NET Framework by copying the Nuget package. So, the idea behind this cloud version of the .NET runtime is, it should be platform-independent and that means it can also run on a Mac or LINUX machine.
Another great fact about the new changes in ASP.NET 5 is the unification. So, now:
MVC 6 = ASP.NET MVC + WEB API
In MVC 6, the Web API is merged with MVC. This means that we now have one set of controller classes, one set of attributes, model binders and so on. Also, it no longer relies on the namespace system.web which means it is easy to self-host and run the core CLR. Now, with these changes in place it doesn't mean that your existing projects won't work in Visual Studio 2015. They will work as smoothly as in earlier versions. Now, let's go ahead and start the demo. I already have the RC version of Visual Studio 2015 installed on my secondary machine. Let's go ahead and create a new project.

Now, the following window is very much similiar to the previous version. Here, I am interested in the new templates introduced. Hence, I will create a new project as an ASP.NET 5 Website. This project will provide me all the required components to run an app as shown below in the screenshot.











Manav PandyaPosted Sep 18, 2016, 3:24 AM
Nice one sir ....
Neeraj KumarPosted Jun 1, 2015, 8:59 AM
Good...
Pankaj Kumar ChoudharyPosted May 31, 2015, 11:26 AM
Nice article ...............
NitinPosted May 31, 2015, 4:00 AM
nice
Atul GuptaPosted May 31, 2015, 3:26 AM
Informative !
Sourabh SomaniPosted May 13, 2015, 11:50 AM
nice :)
Abhishek JaiswalPosted May 8, 2015, 12:35 PM
Nice series. Good for beginners! :)
Sibeesh VenuPosted May 8, 2015, 7:03 AM
Good one .
Jeetendra GundPosted May 8, 2015, 1:53 AM
Welcome, Nice article
Abhishek YadavPosted May 8, 2015, 1:30 AM
Good Start Rahul, Welcome to our community.... :)
Khargesh RajputPosted May 8, 2015, 12:51 AM
nice, thanks for sharing
Santhakumar MunuswamyPosted May 7, 2015, 11:49 PM
Welcome
Santhakumar MunuswamyPosted May 7, 2015, 11:49 PM
Good Start