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

  • View
    1.550

  • Download
    0

Embed Size (px)

DESCRIPTION

Michael EPPRECHT

Transcript

  • 1. WebMatrix: Your Web Made EasyMichael EpprechtTechnology EvangelistMicrosoft Switzerlandmichael.epprecht@microsoft.comtwitter: @fastflame

2. Anatomy of WebMatrixSQL Server IIS Express Compact Edition 4 ASP.NET Web Pages & Razor syntax 3. WebMatrix Launch Partners 1 Year Free* Hosting www.academiczone.ch *Special terms of use apply 4. Many available Helpers ... Security: WebSite membership Recaptcha support preventing automated programsfrom 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. Installing ASP.NET Helpers Run a page in your site In the browsers URL box, replace the name of the pagewith _Admin (first time you are required to create a pw) http://localhost:8080/_Admin 6. Creating custom helpers In the root folder of the web site, create a foldernamed App_Code In the App_Code folder create a new .cshtml file calledMyHelpers.cshtml. Replace the content with @helperMakeNote(stringcontent) {

Note @content

} Use the helper: @MyHelpers. MakeNote("Mytestnotecontent") 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. 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.