WEBMATRIX Overview and Opportunities for Creating, Customizing and Publishing Websites
1. WebMatrix Overview and Opportunities Mingfei Yan Developer Evangelist yanmf@Microsoft.com
2. Developing with ASP.NET ASP.NET Web Forms Powerful Extensible Agile ASP.NET Web Pages ASP.NET MVC Simple Light Fast Familiar Reusable Productive
3. Developer Tools Visual Studio Simple ASP.NET PHP Powerful Flexibility Integrated WebMatrix
4. The Microsoft Platform FTP Publishing Service 7.5 App Req Router The “Sparks” Programs Database Manager For Startups BizSpark™ For Education DreamSpark™ For WebPros WebsiteSpark
6. 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
10. WEBMATRIX Customize Light-weight editor HTML, CSS ASP.NET, PHP Database editor Monitor HTTP Requests Tune and optimize for Search Engines
11. 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
12. 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?
14. 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); }
15. WEBMATRIX Publish FTP or sFTP Web Deploy Includes Database Local Synchronize Web Hosting Gallery Great deals on hosting ASP.NET & PHP Specific
16. Find the right host for you Quickly compare the best deals www.microsoft.com/web/hosting Windows Web Hosting Gallery
17. Easy to configure, preview and publish your website and database in one click Publishing in WebMatrix
18. 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.
20. Learn More - Additional Resources Information on Microsoft Hosting Solutions Information on Windows Platform http://www.microsoft.com/web/platform/ Information on fromWebMatrix http://www.microsoft.com/web/webmatrix/ http://www.microsoft.com/hosting
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.