130 likes | 265 Views
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. A ‘stack’: server, framework, database and tool New developers
E N D
INDIA │ 18-20 august2010 virtual techdays Microsoft Web Matrix – Web development made easy nahasmohammed│ technology advisor, microsoft
INDIA │ 18-20 august2010 virtual techdays • 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 What is WebMatrix?
INDIA │ 18-20 august2010 virtual techdays WebMatrix is a “stack” Lightweight File > New app from scratch File > New OSS app Tool Tool Small, Simple, Seamless Database Simple x-copy deployable database Framework Simplified ‘scripting’ Simple APIs & Helpers On-ramp to MVC Latest IIS Installs in “\program files” Interactive process, non admin Same as production Server
INDIA │ 18-20 august2010 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 august2010 virtual techdays WebMatrix Components Web Server - IIS ExpressInternet Information Services provides a secure, easy-to-manage, modular and extensible platform for reliably hosting Web, sites, services and applications. Tools – VS ExpressInstall the latest version of Visual Web Developer Express, our free, full-featured web development tool. Web App GalleryInstall free popular ASP.NET and PHP web apps such as Umbraco and WordPress. Framework- ASP.NetASP.NET is a free, fully supported Web application framework that helps you create standards-based Web solutions. FREE!! 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
INDIA │ 18-20 august2010 virtual techdays • Installs through Web PI 3 Beta • Option to install additional components • Auto-detects all dependencies • Available at http://www.microsoft.com/web/webmatrix/download Getting Started
INDIA │ 18-20 august2010 virtual techdays DEMO: Web Platform Installer
INDIA │ 18-20 august2010 virtual techdays • 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 IIS Developer Express
INDIA │ 18-20 august2010 virtual techdays • 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 ASP.NET Web Pages & “Razor”
INDIA │ 18-20 august2010 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 august2010 virtual techdays • 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 SQL Compact 4
INDIA │ 18-20 august2010 virtual techdays • 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 Summary
THANKS│18-20 august2010 virtual techdays