introducing webmatrix : your web made easy! will start at 9:15 orchard talk will start at 10:45
DESCRIPTION
Introducing WebMatrix : your web made easy! Will start at 9:15 Orchard Talk will start at 10:45. Ken Casada. Developer Evangelist. Microsoft Switzerland [email protected] http://blogs.msdn.com/swiss_dpe_team/Default.aspx. What is WebMatrix ?. Create. Customize. Publish. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Introducing WebMatrix : your web made easy! Will start at 9:15 Orchard Talk will start at 10:45](https://reader035.vdocuments.mx/reader035/viewer/2022062520/568163ae550346895dd4c552/html5/thumbnails/1.jpg)
Ken CasadaDeveloper EvangelistMicrosoft [email protected]://blogs.msdn.com/swiss_dpe_team/Default.aspx
Introducing WebMatrix: your web made easy!
Will start at 9:15Orchard Talk will start at 10:45
![Page 2: Introducing WebMatrix : your web made easy! Will start at 9:15 Orchard Talk will start at 10:45](https://reader035.vdocuments.mx/reader035/viewer/2022062520/568163ae550346895dd4c552/html5/thumbnails/2.jpg)
What is WebMatrix?
Customize PublishCreate
![Page 3: Introducing WebMatrix : your web made easy! Will start at 9:15 Orchard Talk will start at 10:45](https://reader035.vdocuments.mx/reader035/viewer/2022062520/568163ae550346895dd4c552/html5/thumbnails/3.jpg)
WebMatrix includes
Web Server
Database
Web Framework
![Page 4: Introducing WebMatrix : your web made easy! Will start at 9:15 Orchard Talk will start at 10:45](https://reader035.vdocuments.mx/reader035/viewer/2022062520/568163ae550346895dd4c552/html5/thumbnails/4.jpg)
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
![Page 5: Introducing WebMatrix : your web made easy! Will start at 9:15 Orchard Talk will start at 10:45](https://reader035.vdocuments.mx/reader035/viewer/2022062520/568163ae550346895dd4c552/html5/thumbnails/5.jpg)
Anatomy of WebMatrix
IIS Developer Express
ASP.NET Web
Pages & Razor syntax
SQL Server
Compact Edition 4
![Page 6: Introducing WebMatrix : your web made easy! Will start at 9:15 Orchard Talk will start at 10:45](https://reader035.vdocuments.mx/reader035/viewer/2022062520/568163ae550346895dd4c552/html5/thumbnails/6.jpg)
Demo I
• Introducing the WebMatrix Tool
![Page 7: Introducing WebMatrix : your web made easy! Will start at 9:15 Orchard Talk will start at 10:45](https://reader035.vdocuments.mx/reader035/viewer/2022062520/568163ae550346895dd4c552/html5/thumbnails/7.jpg)
WebMatrix Launch Partners
![Page 8: Introducing WebMatrix : your web made easy! Will start at 9:15 Orchard Talk will start at 10:45](https://reader035.vdocuments.mx/reader035/viewer/2022062520/568163ae550346895dd4c552/html5/thumbnails/8.jpg)
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
![Page 9: Introducing WebMatrix : your web made easy! Will start at 9:15 Orchard Talk will start at 10:45](https://reader035.vdocuments.mx/reader035/viewer/2022062520/568163ae550346895dd4c552/html5/thumbnails/9.jpg)
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
![Page 10: Introducing WebMatrix : your web made easy! Will start at 9:15 Orchard Talk will start at 10:45](https://reader035.vdocuments.mx/reader035/viewer/2022062520/568163ae550346895dd4c552/html5/thumbnails/10.jpg)
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
![Page 11: Introducing WebMatrix : your web made easy! Will start at 9:15 Orchard Talk will start at 10:45](https://reader035.vdocuments.mx/reader035/viewer/2022062520/568163ae550346895dd4c552/html5/thumbnails/11.jpg)
Deploying with WebMatrix
• Discover, browse and find a «WebMatrix verified» Web Hoster
• WebMatrix offer built-in publishing support– FTP, FTPs–WebDeploy
![Page 12: Introducing WebMatrix : your web made easy! Will start at 9:15 Orchard Talk will start at 10:45](https://reader035.vdocuments.mx/reader035/viewer/2022062520/568163ae550346895dd4c552/html5/thumbnails/12.jpg)
Demo II
• Building a Web Site using WebMatrix
![Page 13: Introducing WebMatrix : your web made easy! Will start at 9:15 Orchard Talk will start at 10:45](https://reader035.vdocuments.mx/reader035/viewer/2022062520/568163ae550346895dd4c552/html5/thumbnails/13.jpg)
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
![Page 14: Introducing WebMatrix : your web made easy! Will start at 9:15 Orchard Talk will start at 10:45](https://reader035.vdocuments.mx/reader035/viewer/2022062520/568163ae550346895dd4c552/html5/thumbnails/14.jpg)
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
![Page 15: Introducing WebMatrix : your web made easy! Will start at 9:15 Orchard Talk will start at 10:45](https://reader035.vdocuments.mx/reader035/viewer/2022062520/568163ae550346895dd4c552/html5/thumbnails/15.jpg)
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("My test note content")
@helper MakeNote(string content) { <div class="note" style="border: 1px solid black; width: 90%; padding: 5px; margin-left: 15px;"> <p> <strong>Note</strong> @content </p> </div> }
![Page 16: Introducing WebMatrix : your web made easy! Will start at 9:15 Orchard Talk will start at 10:45](https://reader035.vdocuments.mx/reader035/viewer/2022062520/568163ae550346895dd4c552/html5/thumbnails/16.jpg)
WebMatrix supported platform• Windows 7• Windows Server 2008• Windows Server 2008 R2• Windows Vista SP1 or later• Windows XP SP3• Windows Server 2003 SP2
![Page 17: Introducing WebMatrix : your web made easy! Will start at 9:15 Orchard Talk will start at 10:45](https://reader035.vdocuments.mx/reader035/viewer/2022062520/568163ae550346895dd4c552/html5/thumbnails/17.jpg)
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
![Page 18: Introducing WebMatrix : your web made easy! Will start at 9:15 Orchard Talk will start at 10:45](https://reader035.vdocuments.mx/reader035/viewer/2022062520/568163ae550346895dd4c552/html5/thumbnails/18.jpg)
Q&A
![Page 19: Introducing WebMatrix : your web made easy! Will start at 9:15 Orchard Talk will start at 10:45](https://reader035.vdocuments.mx/reader035/viewer/2022062520/568163ae550346895dd4c552/html5/thumbnails/19.jpg)
A first look at Orchard: Microsoft Open source CMS
Will start at 10:45
Ken CasadaDeveloper EvangelistMicrosoft [email protected]://blogs.msdn.com/swiss_dpe_team/Default.aspx