Discuss About ASP.NET MVC 6 and ASP.NET MVC 5

13

Transcript of Discuss About ASP.NET MVC 6 and ASP.NET MVC 5

Page 1: Discuss About ASP.NET MVC 6 and ASP.NET MVC 5
Page 2: Discuss About ASP.NET MVC 6 and ASP.NET MVC 5

ASP.NET MVC 6 and ASP.NET MVC 5

In this presentation discuss about several significant changes or difference between ASP.NET 5 and ASP.NET MVC 6.

6 5

Page 3: Discuss About ASP.NET MVC 6 and ASP.NET MVC 5

ASP.NET MVC APIs

•  ASP.NET MVC 5 will provide WEB API while developing web apps.

• ASP.NET MVC 6 will provide single aligned stack and web API.

Below figure you can easily understand

Page 4: Discuss About ASP.NET MVC 6 and ASP.NET MVC 5

ASP.NET MVC APIsASP.NET MVC WEB API

Create ASP.NET MVC 5 Project

Create ASP.NET MVC 6 Project

Page 5: Discuss About ASP.NET MVC 6 and ASP.NET MVC 5

Tag Helpers

• Both versions are a better option to using traditional MVC 5 tag helpers.

• This features the innovative impact for create your views in an ASP.NET MVC apps.

@Demo1 Mytutorial.Models.Product

@using (Html.BeginForm()){ <div> @Html.LabelFor(m => p.Name, "Name:") @Html.TextBoxFor(m => p.Name) </div> <input type="submit" value="Create" />}

Example

Page 6: Discuss About ASP.NET MVC 6 and ASP.NET MVC 5

Different Folder Structure

 If you use ASP.NET MVC 6 on right side panel web.config option to watch. After first demo to create on folder structure with settings and how to execute your code in your first demo.

In ASP.NET MVC 5 are many changes in look folder structure.

Page 7: Discuss About ASP.NET MVC 6 and ASP.NET MVC 5

ASP.NET Core MVC

• ASP.NET core is easily implement of cross platform of .NET that is essentially being driven by ASP.NET 5.

• Now favor to will build ASP.NET MVC 6 against ASP.NET core and run both OS either window or UNIX.

ASP.NET Core 1.0

OS

Page 8: Discuss About ASP.NET MVC 6 and ASP.NET MVC 5

ASP.NET Web Forms

In ASP.NET MVC 5 web forms is no longer necessary to continue developing web forms in visual studio 2015.

Page 9: Discuss About ASP.NET MVC 6 and ASP.NET MVC 5

View Components in MVC 6

• ASP.NET MVC 6 is one of the new feature introduced to call view components. View components implement the same separation of review and testability comfort found between a controller and view.

• In ASP.NET MVC 5 never really supported a synchronicity

Page 10: Discuss About ASP.NET MVC 6 and ASP.NET MVC 5

Support AngularJS

• AngularJS support in ASP.NET MVC 5 for GruntJS makes asp.net a superb server-side framework for developing client side AngularJS apps.

• You can collaborate with an MVC 6 controller from an AngularJS $resource using REST. 

ASP.NET MVC

Page 11: Discuss About ASP.NET MVC 6 and ASP.NET MVC 5

Dependency Injection Framework

Today in ASP.NET MVC 5 and 6 apps, dependency injection framework is integral. Just build some service and get ready to use DI inbuilt.

Obj. A Obj. B

Obj. container

Created CreatedDependency Injection(DI)

StartUp.cs File

Page 12: Discuss About ASP.NET MVC 6 and ASP.NET MVC 5

Contact Us"Royal Square"1st Floor, Off No. 110,Nr. Shilp Tower, Tagore Road,Rajkot - 360 001Gujarat - India

“Titanium Square” 3rd Floor,Office No. B-302, S.G. Highway,Beside Parsoli Motors. Nr. Thaltej Crossing, Ahmedabad – 380 054 Gujarat – India 

Corporate Office Development Centre

Global Operation• USA• Canada• Europe• UK• Singapore• Hong

Kong

• Japan• UAE• Australia• New

Zeeland• Saudi

Arabia

Page 13: Discuss About ASP.NET MVC 6 and ASP.NET MVC 5

Thank You

Q ATechnoligent