Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.



Published on

The slides of my latest presentation for Visug about WebMatrix, Razor syntax, SQL CE and IIS Express.

  • Be the first to comment


  1. 1. Webmatrix<br />Kris van der Mast @KvdM<br />
  2. 2. Who am I?<br />Kris van der Mast<br />Antwerp, Belgium<br /><br />Focus on web technologies<br />ASP.NET, ASP.NET MVC, WCF, Silverlight, ...<br />MVP for ASP.NET<br />ASP Insider<br />Find me on & stackoverflow<br /><br /><br />
  3. 3. Agenda<br />What is WebMatrix?<br />Putting things into perspective<br />Razor<br />WebPages<br />Helpers<br />Resources<br />Q&A<br />
  4. 4. Webmatrix<br />What is the WebMatrix?<br />WebMatrix<br />SQL CE<br />Webpages<br />IIS Express<br />Web<br />
  5. 5. The ASP.NET family<br />ASP.NET<br />Dynamic Data <br />& AJAX<br />Presentation<br />ASP.NET<br />WebForms<br />ASP.NET<br />WebPages<br />ASP.NET<br />MVC<br />ASP.NET<br />Core<br />Core <br />Runtime<br />
  6. 6. SQL CE + IIS Express<br />SQL CE:<br />File based (*.sdf)<br />Runs in medium trust -> hosting!<br />Put in App_Data folder<br />IIS Express:<br />No admin needed<br />IIS capabilities + Cassini ease of use combined<br />
  7. 7. Putting things into perspective<br />Task focussed tool to make it really easy to get started with web development<br />
  8. 8. DEMO: Blog!<br />WebMatrix IDE<br />
  9. 9. Before Razor<br />Razor<br /><%@ %><br /><%# %><br /><%$ %><br /><%= %><br /><%: %><br />@<br />
  10. 10. @<br />@{ // magic happens here... }<br />@()<br />Inline text in code: @:<br />Multiline text in code: <text></text><br />@@<br />@// of @/* */<br />Razor syntax<br />
  11. 11. DEMO<br />Razor<br />
  12. 12. WebPages<br />Convention<br /> Backend logic on top<br /> Frontend logic below (html5 + code)<br />Simpler to use, but still ASP.NET power<br />
  13. 13. DEMO: Photo gallery<br />Want to see it being used?<br />
  14. 14. Helpers<br />Convenient<br />Already some out of the box<br />Easy to create on your own (App_Code folder – for now)<br />Future: @helper SomeMethod() {}<br />
  15. 15. DEMO<br />Helpers<br />
  16. 16. Resources<br /><br /><br /><br /><br />
  17. 17. Questions?<br />More information?<br /><br />Contact me!<br /><br /><br /><br />Thank you!<br />
  18. 18. High quality technical screencasts created by experts on the latest and most important technologies. Buy access to a single series or subscribe for as little as $19 a month.<br />ASP.NET MVC<br />Rob Conery<br />LINQ<br />Ayende Rahien<br />jQuery<br />ASP.NET Ajax<br />Dave Ward<br />Ruby on Rails<br />nHibernate<br /><br />