Title of presentation

Download Report

Transcript Title of presentation

WebMatrix: Your Web Made Easy
Ken Casada
Developer Evangelist
Microsoft Switzerland
[email protected]
http://blogs.msdn.com/swiss_dpe_team/Default.aspx
What is WebMatrix?
Create
Customize
Publish
WebMatrix includes
Web Server
Web Framework
Database
Who is WebMatrix for?
• Students, New developers
– for quickly building websites with ASP.NET
• Professional Developers
– for your non daily-job
– for a “quick&dirty” solution
 Task Oriented: “I just need something done!”
• Developers who build small/medium sites for others
– Acquire an App, customize and deploy
Anatomy of WebMatrix
SQL Server
Compact
Edition 4
IIS Express
ASP.NET Web
Pages &
Razor syntax
Deploying with WebMatrix
• Discover, browse and find a «WebMatrix verified» Web
Hoster
• WebMatrix offer built-in publishing support
• FTP, FTPs
• WebDeploy
WebMatrix Launch Partners
1 Year Free* Hosting www.academiczone.ch
*Special terms of use apply
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….
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
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
@helper MakeNote(string content) {
<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("My test note content")
WebMatrix supported platform
•
•
•
•
•
•
Windows 7
Windows Server 2008
Windows Server 2008 R2
Windows Vista SP1 or later
Windows XP SP3
Windows Server 2003 SP2
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
© 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.