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.

soft-shake.ch - WebMatrix: Your Web Made Easy

1,937 views

Published on

Michael EPPRECHT

Published in: Technology
  • Be the first to comment

  • Be the first to like this

soft-shake.ch - WebMatrix: Your Web Made Easy

  1. 1. WebMatrix: Your Web Made EasyMichael EpprechtTechnology EvangelistMicrosoft Switzerlandmichael.epprecht@microsoft.comtwitter: @fastflame
  2. 2. Anatomy of WebMatrix SQL Server IIS Express Compact Edition 4 ASP.NET Web Pages & Razor syntax
  3. 3. WebMatrix Launch Partners 1 Year Free* Hosting www.academiczone.ch *Special terms of use apply
  4. 4. Many available Helpers ...• Security: – WebSite membership – Recaptcha support  preventing automated programs from registering with your website• Video support(Silverlight, Flash, MediaPlayer)• Image elaboration (thumbnail image, uploading image,…)• Bing: embed bing search box into your website• Chart: renders more than 30 types of charts• Social Networking – Linking your Website on Social Networking Sites – Adding a Twitter Feed – Rendering a Gravatar Image – Displaying a Facebook “Like” Button• PayPal• And more….
  5. 5. Installing ASP.NET Helpers• Run a page in your site• In the browser’s URL box, replace the name of the page with _Admin (first time you are required to create a pw)  http://localhost:8080/_Admin
  6. 6. Creating custom helpers• In the root folder of the web site, create a folder named App_Code• In the App_Code folder create a new .cshtml file called MyHelpers.cshtml.• Replace the content with @helperMakeNote(stringcontent) { <div class="note" style="border: 1px solid black; width: 90%; padding: 5px; margin-left: 15px;"> <p> <strong>Note</strong>&nbsp;&nbsp; @content </p> </div> }• Use the helper: @MyHelpers. MakeNote("Mytestnotecontent")
  7. 7. More info...• Download WebMatrix (available in 9 languages) http://www.microsoft.com/web/webmatrix/download• WebMatrix tutorial available www.asp.net/webmatrix/tutorials• 1 Year Free* Hosting www.academiczone.ch *Special terms of use apply
  8. 8. © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

×