Presentation is loading. Please wait.

Presentation is loading. Please wait.

//liveVirtualacademy2011/ What’s New for ASP.NET 4.5 and Web Development in Visual Studio 11 Developer Preview Γιώργος Καπνιάς MVP, MCT, MCDP, MCDBA, MCTS,

Similar presentations


Presentation on theme: "//liveVirtualacademy2011/ What’s New for ASP.NET 4.5 and Web Development in Visual Studio 11 Developer Preview Γιώργος Καπνιάς MVP, MCT, MCDP, MCDBA, MCTS,"— Presentation transcript:

1 //liveVirtualacademy2011/ What’s New for ASP.NET 4.5 and Web Development in Visual Studio 11 Developer Preview Γιώργος Καπνιάς MVP, MCT, MCDP, MCDBA, MCTS, MCP+SB george@capnias.org

2 //liveVirtualacademy2011/ new What’s new core ASP.NET Core Services ASP.NET Web Forms Related Technologies Available Separately Editor Enhancements Data-Related Enhancements Web Application Deployment Enhancements Multi-Version Support IIS Express

3 //liveVirtualacademy2011/ core ASP.NET Core Services forms Asynchronously reading and writing HTTP requests and responses ASP.NET 4.5 Developer Preview can read, write, and flush a stream asynchronously. This lets you send data to a client incrementally without tying up operating system threads. Support for reading unvalidated request data when request validation is enabled ASP.NET 4.5 Developer Preview provides ways to read unvalidated request data so that you can allow users to pass markup for selected fields or pages. Support for WebSockets protocol Methods in the new WebSockets namespace provide support for WebSockets protocol, which lets you read and write both string and binary data. Bundling and minification of client scripts ASP.NET 4.5 Developer Preview uses bundling (which combines separate JavaScript files for faster loading) and minification (which reduces the size of JavaScript and CSS files by removing unneeded characters). Support for asynchronous modules and handlers The new await and async keywords make it easier to write asynchronous HTTP modules and asynchronous HTTP handlers. Integrated Anti-XSS encoding routines Anti-XSS (cross-site scripting) core encoding routines have been integrated into ASP.NET 4.5 Developer Preview. These were previously available only as an external library.

4 //liveVirtualacademy2011/ forms ASP.NET Web Forms related Model binders Web Forms now supports model binding, which lets you bind data controls directly to data-access methods. Strongly typed binding expressions You can now write strongly typed, two-way data-binding expressions in Web Forms data controls, instead of using Bind or Eval expressions. Unobtrusive JavaScript for validation obtrusive validation moves the code for client-side validation into a single external JavaScript file, which makes pages smaller and faster to load HTML encoded data-binding expressions New syntax lets you encode HTML output in page markup. Improved paging in the GridView control The new AllowCustomPaging and VirtualItemCount properties of the GridView control let you customize paging functionality Support for HTML5 form types You can use HTML5 elements like email, tel, url, and search in Web Forms pages.

5 //liveVirtualacademy2011/ related Related Technologies Available Separately editor Page Inspector Page Inspector lets you determine which server-side code has produced the HTML markup that is rendered to the browser. ASP.NET MVC 4.0 Developer Preview Separate versions of the ASP.NET MVC 4.0 Developer Preview are available for Visual Studio 2010 and Visual Studio 2011 Developer Preview ASP.NET Web Pages 2.0 Developer Preview The ASP.NET Web Pages 2 Developer Preview can be downloaded as part of the WebMatrix 2 Beta

6 //liveVirtualacademy2011/ editor Editor Enhancements data Page Inspector Page Inspector lets you determine which server-side code has produced the HTML markup that is rendered to the browser. HTML Editor The HTML editor in Visual Studio 11 Developer Preview provides support for HTML5 CSS Editor The most significant change in the Visual Studio 11 Developer Preview CSS editor is support for CSS3 JavaScript Editor Support for ECMAScript5, Numerous IntelliSense improvements, Braces matching.

7 //liveVirtualacademy2011/ data Data-Related Enhancements versions LocalDB LocalDB replaces SQL Server Express as the default database engine for development. SQL Server development A new SQL Server node in Server Explorer provides tools for working with SQL Server database JS Client-side validation You can now configure DynamicField controls to generate unobtrusive JavaScript for client-side validation. New DataAnnotations attributes New attributes automate validation for common data types such as email addresses, telephone numbers, and credit card numbers. New options for database projects An Entity Data Model (.edmx) file can now be associated with a database project

8 //liveVirtualacademy2011/ versions Multi-Version Support iis Enhancements to ASP.NET Multi-Targeting.NET Framework Multi-Targeting for ASP.NET Web Projects ASP.NET Side-by-Side Execution Overview Host Web Applications That Use Different Versions on the Same Server Deploy Web Projects Targeted for Earlier Versions Working with ASP.NET Applications in Either VS 2010 or VS 2011 Open and work with Visual Studio 2010 projects in Visual Studio 11 Developer Preview and vice-versa, without converting the project to a different format

9 //liveVirtualacademy2011/ iis IIS Express Does not run as a service It does not run as a service or require administrator user rights in order to perform most tasks. ASP.NET and PHP support IIS Express works well with ASP.NET and PHP applications. Instance per user in same computer Multiple users of IIS Express can work independently on the same computer.

10 //liveVirtualacademy2011/ What’s New for ASP.NET 4.5 and Web Development in Visual Studio 11 Developer Preview demos

11 //liveVirtualacademy2011/ What’s New for ASP.NET 4.5 and Web Development in Visual Studio 11 Developer Preview thank you!

12 //liveVirtualacademy2011/


Download ppt "//liveVirtualacademy2011/ What’s New for ASP.NET 4.5 and Web Development in Visual Studio 11 Developer Preview Γιώργος Καπνιάς MVP, MCT, MCDP, MCDBA, MCTS,"

Similar presentations


Ads by Google