aneef fashir software architect assette. about myself 5 years of experience in programming....
TRANSCRIPT
ASP.Net WebMatrixAneef Fashir
Software ArchitectAssette
About Myself5 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
AgendaWebMatrix - What, Why, Who?Key FeaturesAnatomy of WebMatrixTest Drive WebMatrixIntroducing Razor SyntaxRazor DemoDemo Writing your own WebMatrix Helper
What? Why? & Who?
What is WebMatrixWebMatrix 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.
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.
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.
Features
FeaturesSmall but complete
packageSimple user
experienceSimple to codeDatabase made
simpleGrows with you.
More than “Hello World”
Fully Integrated.SEOEasy deployment.SEO Friendly URLs.File>New>Open
Source
Anatomy of WebMatrix
Web Stack (Web PI Delivered)
Framework(ASP.NET &
Razor)Inline scripting
Simple APIs & DB accessBuilt on MVC
Notepad friendly
Server (IIS Developer
Express)Latest IIS
Installs in “\program files”Interactive process, non admin
Same as production
ToolWebMatrix IDE
Start with OSS or newDevelop, customize, Optimize,
Deploy
Database(SQL Compact)
Simple x-copy deployable database
Apps
Web App GalleryASP.NET OSSOrchard CMS
PHP OSS
Components of WebMatrixWebMatrix IDEIIS Developer ExpressSQL CompactASP.Net Web Pages & Razor Syntax.
IIS Developer ExpressLatest 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 .
SQL Compact 42MB 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
ASP.Net Web Pages & RazorMinimize concepts - 1 page “cheat sheet” for 80% caseNo need to understand OOP and classesNo 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.
Test Drive WebMatrixA walkthrough on WebMatrix IDE (DEMO)
Introducing Razor Syntax
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
The all new “@”Early days.. Razor Syntax
More Razor..
Razor Demo
www.asp.net/webmatrixGo get it:
Q & A
Thank YouAneef Fashir