WebFest 2011 WebMatrix Overview by Gavin Warrener

  • 1,470 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,470
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
14
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    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.

Transcript

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