190 likes | 326 Views
Introducing WebMatrix : your web made easy! Will start at 9:15 Orchard Talk will start at 10:45. Ken Casada. Developer Evangelist. Microsoft Switzerland kcasada@microsoft.com http://blogs.msdn.com/swiss_dpe_team/Default.aspx. What is WebMatrix ?. Create. Customize. Publish.
E N D
Introducing WebMatrix: your web made easy!Will start at 9:15Orchard Talk will start at 10:45 Ken Casada Developer Evangelist Microsoft Switzerland kcasada@microsoft.com http://blogs.msdn.com/swiss_dpe_team/Default.aspx
What is WebMatrix? Create Customize Publish
WebMatrix includes Web Server Database Web Framework
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
Demo I • Introducing the WebMatrix Tool
IIS Developer Express • Based on the latest version of IIS server • Installs in \program files, side-by-side IIS server • Runs as interactive process, not as service • Does not require Administrator privileges • Fully supports all IIS7+ modules, ASP.NET, PHP • You can run it from the command-line • Open command prompt • Navigate to: C:\Program Files (x86)\Microsoft WebMatrix • iisexpress.exe /port:35896 /path:C:\BasicWebSite • Open a browser and type: http://localhost:35896/[pageName].cshtml
SQL Compact 4 • 2MB package • File-based database, Xcopy deployment with app • Full support for Dynamic Data, ASP.NET MVC • High fidelity API support: ADO.NET, EF, LINQ… • Seamless migration path to SQL Server • Support tables, indexes, foreign key, primary key • Does not support SP, views, UDF, geo location types
ASP.NET Web Pages & Razor Syntax Principles • Minimize concepts • No need to understand OOP and classes • Simple ASPIs & Helpers (for all common web tasks) • Smooth on-ramp to ASP.NET MVC and Visual Studio • SEO friendly by default • No special tools required – works with notepad or any editor
Deploying with WebMatrix • Discover, browse and find a «WebMatrix verified» Web Hoster • WebMatrix offer built-in publishing support • FTP, FTPs • WebDeploy
Demo II • Building a Web Site using WebMatrix
Many helpers available • 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
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 a custom helper • 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 • Use the helper: @MyHelpers. MakeNote("Mytestnotecontent")
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 for students www.academiczone.ch *Special terms of use apply
A first look at Orchard: Microsoft Open source CMS Will start at 10:45 Ken Casada Developer Evangelist Microsoft Switzerland kcasada@microsoft.com http://blogs.msdn.com/swiss_dpe_team/Default.aspx