INDIA │ 18-20 august 2010 virtual techdays Microsoft Web Matrix – Web development made easy nahas mohammed│ technology advisor, microsoft INDIA │ 18-20 august 2010 virtual techdays What is WebMatrix? A ‘stack’: server, framework, database and tool New developers Easy to build websites with ASP.NET “Inline script” developers Prefer lightweight, low-concepts Developers who build small/medium sites for others Acquire an OSS app, customize, optimize and deploy Visual Studio and MVC developers New capabilities brought to the toolset INDIA │ 18-20 august 2010 virtual techdays WebMatrix is a “stack” Small, Simple, Seamless Lightweight File > New app from scratch File > New OSS app Simple x-copy deployable database Simplified ‘scripting’ Simple APIs & Helpers On-ramp to MVC Latest IIS Installs in “\program files” Interactive process, non admin Same as production INDIA │ 18-20 august 2010 virtual techdays Say Hello to WebMatrix Less then 50MB Download Installs in just a few minutes Easy to start from scratch or with a community app Tools guide you through acquiring, customizing, optimizing and publishing Great Community On-ramp to professional servers, frameworks and tools Seamless transition to the cloud INDIA │ 18-20 august 2010 virtual techdays WebMatrix Components Web Server - IIS Express Internet Information Services provides a secure, easy-to-manage, modular and extensible platform for reliably hosting Web, sites, services and applications. Framework- ASP.Net ASP.NET is a free, fully supported Web application framework that helps you create standards-based Web solutions. Database - SQL Server Express A free database software that works great with any web application framework such as PHP, and your favorite applications such as Wordpress, and Drupal Tools – VS Express Install the latest version of Visual Web Developer Express, our free, full-featured web development tool. Web App Gallery Install free popular ASP.NET and PHP web apps such as Umbraco and WordPress. FREE!! INDIA │ 18-20 august 2010 virtual techdays Getting Started Installs through Web PI 3 Beta Option to install additional components Auto-detects all dependencies Available at http://www.microsoft.com/web/webmatrix/download INDIA │ 18-20 august 2010 virtual techdays DEMO: Web Platform Installer INDIA │ 18-20 august 2010 virtual techdays IIS Developer Express Latest version of IIS server - based on full IIS Runs per user, not as a service Support for requested features missing from Visual Studio Development Server (Cassini): SSL Default documents Host headers Complex site structures for resource sharing Admin privileges not required for site creation, opening & debugging Installs in \program files, side-by-side IIS server Simplified configuration/mgmt – no appPools Fully supports all IIS7+ modules, ASP.NET, PHP INDIA │ 18-20 august 2010 virtual techdays ASP.NET Web Pages & “Razor” Clean, code-focused scripting syntax for building web pages Set of useful helpers to ease development of common web features New view engine for ASP.NET MVC 3 C# & VB support No server installation required (‘bin’ deployable) VS brings full IntelliSense & debugging support to Razor pages Minimize concepts – 1 page “cheat sheet” for 80% case No need to understand OOP and classes Does not require configuration SEO friendly by default Easy to use helpers for all common web tasks No special tools required – works with notepad or any editor Smooth on-ramp to ASP.NET MVC and Visual Studio INDIA │ 18-20 august 2010 virtual techdays “Razor” Sample <div class="products group"> @foreach (var p in db.Query("SELECT * FROM PRODUCTS")) { <h3>@p.Name</h3> <img src="@Href("~/Images/"+ p.ImageName)" alt="@p.Name"/> <p>@p.Description</p> <ul class="group"> <li class="price">@string.Format("{0:C}", p.Price)</li> <li class="order"> <form action="Order" method="post"> <input type="hidden" name="ProductId" value="@p.Id"/> <input type="submit" value="Order Now"/> </form> </li> </ul> } </div> INDIA │ 18-20 august 2010 virtual techdays SQL Compact 4 Free, File-based (.sdf) 2MB package, included in Web Stack No server installation required (‘bin’ deployable) Runs “in process” with your app Optimized for web scenarios T-SQL syntax compatibility with SQL Server File-based database, Xcopy deployment with app Easy migration to SQL Server Entity Framework support, inc. LINQ to EF and new “Code First” API Supports .NET 3.5+ Full support for Dynamic Data, ASP.NET MVC INDIA │ 18-20 august 2010 virtual techdays Summary WebMatrix is Small, Simple and Seamless ASP.NET Web pages and Razor Syntax Easy to learn Eco-system of simple, task-based helpers Call to action: Download and get stated from http://www.microsoft.com/web/webmatrix THANKS│18-20 august 2010 virtual techdays