1 / 24

ASP.Net WebMatrix

ASP.Net WebMatrix. Aneef Fashir Software Architect Assette. About Myself. 5 years of experience in programming. BSc ( Hons ) in Computer Science and MIS. Currently working at Assette . Key areas are ClickOnce , Office Automation,Services , & ASP.Net .

malo
Download Presentation

ASP.Net WebMatrix

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ASP.NetWebMatrix AneefFashir Software Architect Assette

  2. About Myself • 5 years of experience in programming. • BSc(Hons) in Computer Science and MIS. • Currently working at Assette. • Key areas are ClickOnce, Office Automation,Services, & ASP.Net. • Blog : www.aneef.net , Twitter : @aneef

  3. Agenda • WebMatrix - What, Why, Who? • Key Features • Anatomy of WebMatrix • Test Drive WebMatrix • Introducing Razor Syntax • Razor Demo • Demo Writing your own WebMatrix Helper

  4. What? Why? & Who?

  5. What is WebMatrix • WebMatrix is a task-focused tool that is designed to make it really easy to get started with web development. • Has everything you need to build web sites using Windows • Minimize the learning curve, easy transition to VS & SQL Server. • Easily Start with Popular Community Apps.

  6. Why? • Smaller Download( 15 MB, or 50MB with .Net Framework). • Same powerful Web server, DB Engine, Web Framework. • Use it to streamline the way you code, test & deploy your own ASP.Net or PHP Site. • Use open source community apps to create sites , like WordPress, DotnetNuke, Joomla. • Deploy within Application, easy transition from development to production.

  7. Who? • Developers who are new to ASP.Net. • Developers students who want to develop simple and easy way to develop websites. • Developers who wants “Get it done Faster” for smaller projects. • NOT for enterprise solutions.

  8. Features

  9. Features • Small but complete package • Simple user experience • Simple to code • Database made simple • Grows with you. • More than “Hello World” • Fully Integrated. • SEO • Easy deployment. • SEO Friendly URLs. • File>New>Open Source

  10. Anatomy of WebMatrix

  11. Framework (ASP.NET & Razor) Inline scripting Simple APIs & DB access Built on MVC Notepad friendly Server (IIS Developer Express) Latest IIS Installs in “\program files” Interactive process, non admin Same as production Web Stack (Web PI Delivered) Apps Web App Gallery ASP.NET OSS Orchard CMS PHP OSS Database (SQL Compact) Simple x-copy deployable database Tool WebMatrix IDE Start with OSS or new Develop, customize, Optimize, Deploy

  12. Components of WebMatrix • WebMatrix IDE • IIS Developer Express • SQL Compact • ASP.Net Web Pages & Razor Syntax.

  13. IIS Developer Express • Latest Version, Installs in /Program Files. • Light weight and easy to install. • Runs as an interactive process, not as a service. • No permission issues, simple config/mgmt, no app pool. • Supports ASP.Net, PHP. • It enables a full web-server feature set – including SSL, URL Rewrite, Media Support, and all other IIS 7.x modules .

  14. SQL Compact 4 • 2MB package. • File based database, X-Copy deployment. • Works with existing data APIs. • No Database installation required. • In Process Database. • Supports shared webhosting scenario, runs in “medium trust”. • Easy migration to SQL Server

  15. ASP.Net Web Pages & Razor • Minimize concepts - 1 page “cheat sheet” for 80% case • No need to understand OOP and classes • No configuration. • SEO Friendly. • Easy to use helpers for common task. • No special tools required, can work with notepad. • Easy upgrade to ASP.Net Web forms & MVC. • HTML 5 Doc type.

  16. Test Drive WebMatrix A walkthrough on WebMatrix IDE (DEMO)

  17. Introducing Razor Syntax

  18. What is Razor? • A new View engine , parser for ASP.Net MVC. • Less control characters to make html and code flow together. • Easy to learn, based on c#. • It is split into 3 parts or actors: • A markup parser (understands basics of HTML) • Code parser (understands basics of C# or VB.NET) • A central orchestrator which can mix the two • These actors work together to parse a Razor document

  19. The all new “@” Early days.. Razor Syntax

  20. More Razor..

  21. Razor Demo

  22. www.asp.net/webmatrix Go get it:

  23. Q & A

  24. Thank You AneefFashir admin@aneef.com

More Related