⬆️ ⬇️

MIX'11: news for ASP.NET developers

The MIX'11 conference was held, during which many new things were presented. A description of all announcements can be found in separate entries ( first day and second day ). Here we will present a detailed description of the new tools that are presented on MIX for ASP.NET developers.



The main announcement was the release of ASP.NET MVC 3 tool updates:

image

You can download updated tools automatically through the Web Platform Installer or use the installer from this link .



Phill Haack in his blog gives a detailed description of the innovations in this update. We list them.

')

New project type Intranet Application



The ASP.NET MVC package includes a project template for internal corporate networks, in which the default authentication is performed not by forms, but by means of Windows authentication. You can select a project after creating MVC3 Web Application in Visual Studio:



image



HTML5 semantic tag support



Together with the creation of a project based on a template, it became possible to specify the use of semantic tags of the HTML5 standard as a basis for creating markup. As a result, developers will get the HTML5 markup in the presentation:



image



New dialog of creating controllers



The controller creation dialog has been updated and made more functional. Now this dialog supports creating scaffolding for the entire model on the basis of which the controller is built:



image



Before creating a controller, make sure that the project has been assembled (compiled) so that the data on the available models appear in the form of the controller creation. Pay attention to the ability to set a data context class, the dialog allows you to create a new one if the class does not exist.



Using the Advanced Options button, you can configure additional options:



image



After creating a controller with scaffolding support, we get a whole set of ready-made views that can be immediately used to organize data entry.



image



By default, the new Entity Framework 4.1 Code First is used for data scaffolding.



The scaffolding mechanism when creating controllers is expanding to enable scaffolding for third-party ORM and data sources, for example, NHibernate.



JavaScript libraries are installed as NuGet packages.



Now, when creating a new MVC3 project, you will receive a project in which all the javascript libraries are installed NuGet packages. Accordingly, even in the newly created project you will have a package manager settings file listing the packages:



image



This gives you the ability to update the supplied libraries with a simple update process offered by the package manager.



New Modernizr javascript library included



The MVC3 includes a new opensource javascript-library Modernizr version 1.7 . This library allows you to determine which of the modern web standards are supported by the browser.



image



New version of Entity Framework 4.1



The delivery of updated tools MVC3 is now included by default a new version of the ORM Entity Framework 4.1 with support for the ability to create databases and develop applications based on the model (CodeFirst).



A detailed description of the innovations in the Entity Framework 4.1 can be found in the developers blog at this address .



NuGet 1.2



The updated MVC3 tools included a new version of the NuGet 1.2 package manager, about which you can read here .



Russian-speaking developers had an excellent chance to learn first-hand about the technologies presented at MIX'11. For you, a big DevCon conference will take place very soon, where all the updates will be described in detail.



image



Hurry to register for the conference, the seats quickly end.

Source: https://habr.com/ru/post/117534/



All Articles