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 provide a detailed description of the new tools that are presented on MIX for ASP.NET developers.

    The main announcement was the release of an update to ASP.NET MVC 3 tools: You can
    image
    download updated tools automatically through the Web Platform Installer or use the installer at this link .

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

    New Intranet Application Project Type

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

    image

    Support for HTML5 semantic tags.

    Together with creating a project based on a template, you can specify the use of HTML5 semantic tags as a basis for creating markup. As a result, developers will receive HTML5 markup in the view:

    image

    New controller creation dialog

    Updated and the controller creation dialog has become more functional. Now this dialog supports creating scaffolds 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 compiled (compiled) so that data on available models appears in the form of creating the controller. Pay attention to the ability to set the 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 parameters:

    image

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

    image

    By default, the new features of Entity Framework 4.1 Code First are used to scaffold data.

    The scaffolding mechanism for creating controllers is expandable to enable scaffolding for third-party ORMs and data sources, for example, NHibernate.

    JavaScript libraries are installed as NuGet packages.

    Now when you create a new MVC3 project, you will get a project in which all javascript libraries are installed NuGet packages. Accordingly, even in the project you just created, you will have a package manager settings file with a list of packages:

    image

    This gives you the opportunity to update the supplied libraries with a simple update process that the package manager offers.

    New Modernizr javascript library

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

    image

    New Entity Framework 4.1

    The delivery of updated MVC3 tools now includes, by default, a new version of 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 Entity Framework 4.1 can be found in the developers blog at this address .

    NuGet 1.2

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

    Russian-speaking developers had a great chance to learn about the technologies presented at MIX'11 first-hand. A big DevCon conference will be held for you very soon , where it will be described in detail about all the new products.

    image

    Hurry to register for the conference, the places are quickly running out.

    Also popular now: