WebFest 2011 WebMatrix Overview by Gavin Warrener


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • 1 minuteWebMatrix is a free tool that makes it really easy to create, configure and publish your web sites and web applications. It’s built on Microsoft’s in depth knowledge of web platforms, tools and frameworks and surfaced in a more approachable and straightforward way. As we go through the training you should keep these three main focus areas in your mind; create, customize and publish – we’ll be touching on them as we cover the different areas of WebMatrix.
  • 3 minutesWhen we look at all the different profiles of people creating websites we see certain patterns emerge.First, there’s a group of people that like to use the large number of rich web applications out there as a starting point, and then add some specific functionality. They need a quick and easy way to customize and publish their solutions. Many of these web applications are tailored for specific tasks like Content Management Systems or eCommerce websites. These developers will often repeat this process many times for each customer, their goal is to make the process of acquiring the application, customization and publishing it as quick as possible.A second group need to create web apps from scratch. These developers are hobbyists, beginners and people who need a tool that is easy to learn and that allows them to focus on the application functionality instead of developers’ details.Finally, the group of professional developers. They need a powerful tool, full of features and able to work in team, perhaps distributed ones. They will use a source and version control and will need a testing framework to write their own unit tests. This tool needs to support the addition of 3rd party powerful extensions.WebMatrix is built for those developers that like to start from scratch or by building from a 3rd party web applications.
  • 1 minuteWebMatrix comes with everything you need to get started building websites and web applications:A complete and integrated development environment, with a small download and a simple install. You get a database engine (SQL Server Compact Edition) to handle your data. All the structures you create in this database engine will be compatible with professional versions of SQL Server.WebMatrix supports a Web Server (IIS Express) to serve all your web pages. This web server is compatible with the professional versions of IIS as well.WebMatrix also comes with a new, simple programming framework that allows for rapid development of web sites and web applications. It supports Razor, the latest and simplifiedway to code web sites. It also provides a gallery of free open source applications to complement your development.It comes with an integrated installer that manages the heavy lifting of downloading and installing each component.
  • 2 minutesWe’ve designed Razor to be concise and easy to use. When we think about the way developers use a language we take into account the context switching they have to do and also the number of keystrokes. The way that Razor allows you to transition seamlessly between markup and code makes for a much more natural and fluent style and also helps to reduce the number of keystrokes and context switching that a developer has to do, thinking about markup and code separately. With Razor, markup and code are really the same thing.We think it’s the easiest way to code websites and when you compare it to the other languages out there, it’s easy to see why.
  • 2 minutesWebMatrix Helpers help you add common functionality to your Web site. They can be used to solve a specific web site tasks. You can think of them as bricks that are used/reused and interconnected to build a site. Nothing stops you from creating a helper and reusing it on different pages of your site, or even in different sites. And you can use helpers created by others. Here is a sample of existing
  • 2 minutesThe database that comes with WebMatrix is SQL Compact Edition, or SQL CE for short.It’s free, lightweight and doesn’t require a separate server to run – which makes it much easier to get setup and running than traditional versions of SQL Server like SQL Server Express.SQL Compact Edition includes tools to manage your tables and data and because it’s file-based, you simply need to copy the database files to transport your database to another machine. This is really useful if you are sharing a database with another developer.This sample code shows how to connect to an ArtGallery Database and then perform a query with SQL to retrieve the ArtGallery products.
  • 1 miunteIn Windows Web HostingGallery (http://www.microsoft.com/web/hosting/home) you can findmanyhostingoptions. You can narrowyourresultsbyprice, country and additionalfeatures.
  • WebFest 2011 WebMatrix Overview by Gavin Warrener

    1. 1. Microsoft WebFest 2011<br />The Next Web, a New Strategy<br />Gavin WarrenerSenior Program Manager, Microsoft Corporation<br />Discover WebMatrix, a brand new web development tool from Microsoft that includes everything you need for website development with Gavin.<br />Starting from open source applications, built-in web templates or just coding yourself. Its all inclusive, simple and best of all free.<br />
    2. 2. WebMatrix<br />Overview and Opportunities<br />Gavin Warrener<br />Gavin.warrener@Microsoft.com<br />
    3. 3. Introducing WebMatrix<br />Customize<br />Publish<br />Create<br />
    4. 4. Who is WebMatrix for?<br />I’m a professional software developer and I build complex, large scale web sites with a team of developers<br />I want to build web sites myself with an easy to learn tool and framework<br />I <3 Web Apps. I just need a tool that makes them easier to configure, customize and publish them<br />WebMatrix<br />WebMatrix<br />Visual Studio 2010<br />
    5. 5. WebMatrix includes..<br />Web Server<br />Database<br />Tool Box<br />
    6. 6. WEBMATRIX<br />Create a new site<br />Web Application Gallery<br />Create from Template<br />Create from Folder<br />
    7. 7. Demo<br />Install Umbraco, apply a template<br />
    8. 8. WEBMATRIX<br />Customize<br />Light-weight editor<br />HTML, CSS<br />ASP.NET, PHP<br />Database editor <br />Monitor HTTP Requests<br />Tune and optimize for Search Engines<br />
    9. 9. Razor is a cut above the rest<br /><ul><br /><% for (int i = 0; i < 10; i++) { %><br /> <li><% =i %></li><br /><% } %><br /></ul><br />Web Forms <br /><ul><br /><?php<br />for ($i = 0; $i < 10; $i++) {<br />echo("<li>$i</li>");<br /> } <br /> ?><br /></ul><br />PHP<br /><ul><br />@for (int i = 0; i < 10; i++) {<br /> <li>@i</li><br /> }<br /></ul><br />Razor <br />
    10. 10. Helpers make it easy to quickly add commonly used functionality into your websites<br />Helpers are designed to make your life easier<br />Some examples:<br />And many more…<br />What are Helpers?<br />
    11. 11. Demo<br />Twitter Helper: @Twitter.Search<br />Facebook Helper: @Facebook.ActivityFeed<br />
    12. 12. SQL Compact Edition<br />File-based, so it’s portable. Runs without a server.<br />Easy to design, easy to code against<br />Database<br />Designing<br />Coding<br />@{<br />vardb = Database.Open("ArtGallery");<br />var product = db.Query("SELECT * FROM PRODUCTS); <br />}<br />
    13. 13. WEBMATRIX<br />Publish<br />FTP or sFTP<br />Web Deploy<br />Includes Database<br />Local Synchronize<br />Web Hosting Gallery<br />Great deals on hosting<br />ASP.NET & PHP Specific<br />
    14. 14. Find the right host for you<br />Quickly compare the best deals<br />www.microsoft.com/web/hosting<br />Windows Web Hosting Gallery<br />
    15. 15. Easy to configure, preview and publish your website and database in one click<br />Publishing in WebMatrix<br />
    16. 16. Where are the Opportunities?<br />Web Creators: Use WebMatrix to manage your customer’s web sites and hosting and use Razor to build functionality quickly.<br />Developers: Build razor helpers, so that others can use the cool things you have built<br />Hosters: Work with us so that WebMatrix customers can have a seamless hosting experience.<br />
    17. 17. Your call to action<br />Download and try WebMatrix<br />Use the apps in WebMatrix<br />Use Helpers<br />Let us know which helpers you need<br />
    18. 18. Thank you<br />Questions?<br />Gavin.warrener@microsoft.com<br />