Virtual techdays INDIA │ 9-11 February 2011 Creating next generation websites Easier than ever, with WebMatrix Harish Ranganathan │ Developer Evangelist,

Slides:



Advertisements
Similar presentations
SharePoint Forms All you ever wanted to know about forms but were afraid to ask.
Advertisements

Learning WebMatrix Part 3 of 3 Akber Alwani
Aneef Fashir Software Architect Assette. About Myself 5 years of experience in programming. BSc(Hons) in Computer Science and MIS. Currently working at.
Easy Website Creation Using WordPress Welcome and Thank You to our Sponsors.
PrimordialCode WebMatrix + Orchard First Impact… Eng. Giorgetti Alessandro Software Artisan SID s.r.l.
INSTALLATION OF WORDPRESS. WORDPRESS WordPress is an open source CMS, often used as a blog publishing application powered by PHP and MySQL. It has many.
Get closer to the most advanced CMS Mihail Semedzhiev Joomla!
Access Web Apps – OK, Now What? EXTENDING ACCESS WEB APPS George Young Dawson Butte Software ACCESS DAY – OCTOBER DENVER,
Building a social networking portal on Windows Azure in 1 hour Saranya Sriram Developer Evangelist Microsoft, India.
The easy way to a nice looking website design By a total non-designer (Me!)
Virtual techdays INDIA │ august 2010 Building ASP.NET applications using SQL Server Compact Chaitanya Solapurkar │ Partner Technical Consultant,
Build a CMS Website. The topics this chapter covers are: What is CMS ? What you can do with CMS The benefits and disadvantages of using a content management.
An Introduction to ASP.NET Web Pages 2 Module 1: Webmatrix Installation and Your First Web Site Tom Perkins.
Learning WebMatrix: Part 1 of 3 Akber Alwani
Drupal Workshop Introduction to Drupal Part 1: Web Content Management, Advantages/Disadvantages of Drupal, Drupal terminology, Drupal technology, directories.
Web Content Management Systems. Lecture Contents Web Content Management Systems Non-technical users manage content Workflow management system Different.
Launch Your WordPress site in One Hour By Bret Phillips For slides, codes, and notes: Web Devils WordPress.
Cross Platform Mobile Backend with Mobile Services James
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Web Sites for amateur radio. So You want to make a Web Site? There are several things you need to know about web sites before you start to think about.
Web Pages. WebMatrix Microsoft WebMatrix is a free tool (stack) from Microsoft that developers can use to create, customize, and publish websites to the.
Www. ScoutsOnline.co.uk On-Brand Websites for Scout Groups.
WordPress Web. WordPress Blogging system with full content management Personal publishing system Built on PHP scripting language and MySQL relational.
WebMatrix 2 /* web with benefits */. Everything You Need Start create new from OSS apps or templates, or start with existing sites hosted remotely or.
Visual Studio 2012 or 2013 VisualStudio.com (or) Github (or) Bitbucket (or more) Azure Cross-Platform Command Tools Setup if you want to play too.
Crystal Hoyer Program Manager IIS Team Preview of features that will be announced at MIX09 Please do not blog, take pictures or video of session.
Learning WebMatrix: Part 2 of 3 Akber Alwani ]
Simple Pages for Omeka Lauren Dzura LIS
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
INTRODUCTION TO FRONTPAGE. TOPICS TO BE DISCUSSED……….  Introduction Introduction  Features Features  Starting Front Page Starting Front Page  Components.
In addition to Word, Excel, PowerPoint, and Access, Microsoft Office® 2013 includes additional applications, including Outlook, OneNote, and Office Web.
Ken Casada Developer Evangelist Microsoft Switzerland WebMatrix: Your Web Made.
Session 1 SESSION 1 Working with Dreamweaver 8.0.
INTRODUCTION TO WORDPRESS. About WordPress The free service that we will use from WordPress is often used as blogging software – very little knowledge.
WordPress Fast Track. What Is WordPress? Learn what WordPress is Know why WordPress is a popular tool in making websites and blogs Discover some of the.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
WEBMATRIX Microsoft Pranav Rastogi.
Getting the most out of ArcGIS Web Application Templates
Ken Casada Developer Evangelist Microsoft Switzerland Develop and maintain CMS.
Seattle Drupal Clinic Introduction to Drupal Part 1: Web Content Management, Advantages/Disadvantages of Drupal, Drupal terminology.
IOS and Android with Windows Azure Websites Name Title Address Website.
Dwayne Forrester Next  A blog is a discussion or informational site published on the World Wide Web and consisting of discrete entries ("posts") typically.
BIT 285: ( Web) Application Programming Lecture 15: Tuesday, February 24, 2015 Microsoft Azure Instructor: Craig Duckett.
George Gonsalves.  Free and lightweight web development tool.  Create, publish, and maintain your website  Optimized for Open Source  Designed for.
WEP Presentation for non-IT Steps and roles in software development 2. Skills developed in 1 st year 3. What can do a student in 1 st internship.
What is Web Site Administration Tool ? WAT Allow you to Configure Web Site With Simple Interface –Manage Users –Manage Roles –Manage Access Rules.
Hybrid Cloud and Windows Server 2003 end of support on Azure Rod Kruetzfeld Data Center Technical Strategist Microsoft Canada.
Chapter 1 Getting Started With Dreamweaver. Exploring the Dreamweaver Workspace The Dreamweaver workspace is where you can find all the tools to create.
Www2.computer.org Web Publishing Training Leo Wadsworth, Staff Manager April 2008.
IBM Lotus Software © 2006 IBM Corporation IBM Lotus Notes Domino Blog Template Steve Castledine.
Multi-Tier Apps with Admin Access, RDP, Custom Installs Modern Scalable Web Sites Full Windows Server/Linux VMs Web Sites Virtual Machines Cloud Services.
+ Publishing Your First Post USING WORDPRESS. + A CMS (content management system) is an application that allows you to publish, edit, modify, organize,
(ITI310) By Eng. BASSEM ALSAID SESSIONS 10: Internet Information Services (IIS)
PHP Form Processing * referenced from
2 Microsoft Confidential3 The Microsoft Web Platform is the software of choice when building web solutions or applications for your business, large.
Entity Framework Database Connection with ASP Notes from started/getting-started-with-ef-using-mvc/creating-an-
Here are some things you can do while you wait 1.Open your omeka.net site in your browser (e.g. 2.Open.
Spaso Lazarević Microsoft MVP Nova banka ad Banja Luka Building business application using Visual Studio 2013 LightSwitch.
Windows Azure and iOS Chris Risner Windows Azure Technical Evangelist Microsoft
Managing Database objects in Visual Studio and Team Foundation Server Presented by Sean P SQL Saturday - Phoenix 2016.
Comparison B/W Word Press and Joomla By Joomdev Software Solution Pvt Ltd.
 Lecture  Website language: ASP.net  Book name Beginning ASP.NET 4 in C# and VB 2.
Umair Tariq Xavor Pakistan (Pvt) Ltd..
Internet Made Easy! Make sure all your information is always up to date and instantly available to all your clients.
Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek
WordPress “WordPress is a free and open source blog publishing application.” Christina Vasileiou Database management system.
Easy Website Creation Using WordPress
Wordpress test.cs.edinboro.edu.
Introduction to ASP.NET Parts 1 & 2
Microsoft Virtual Academy
Presentation transcript:

virtual techdays INDIA │ 9-11 February 2011 Creating next generation websites Easier than ever, with WebMatrix Harish Ranganathan │ Developer Evangelist, Microsoft

Introducing WebMatrix Customize Publish Create

Introducing WebMatrix Web ServerDatabaseDevelopment Tool

Who is WebMatrix for? I <3 Web Apps. I just need a tool that makes them easier to configure, customize and publish them I want to build web sites myself with an easy to learn tool and framework I’m a professional software developer and I build complex, large scale web sites with a team of developers

A LAP AROUND WEBMATRIX Demonstration

The easiest way to code websites Easy to mix HTML and Code Lots of useful Helpers Introducing Razor

Razor is a cut above the (int i = 0; i < 10; i++) (int i = 0; i < 10; i++) } Razor (2 markup transitions): Web Forms (6 markup transitions): <?php for ($i = 0; $i < 10; $i++) { echo(" $i "); } ?> <?php for ($i = 0; $i < 10; $i++) { echo(" $i "); } ?> PHP (2 markup transitions & an echo):

Move from code to markup easily with var name = “John Doe”; Your var name = “John Doe”; Your var name = “John Your var name = “John Your } Option 3: Single line of output in markup Option 1: HTML var name = “John Doe”; Your var name = “John Doe”; Your } Option 2: Text Block

Commenting in Hello var name = "John } var name = "John } Option 3: Both Option 1: //var name = "John Doe”; //var name = "John Doe”; } Option 2: Code

RAZOR SYNTAX Demonstration

SQL Compact Edition – File-based, so it’s portable. Runs without a server. Easy to design, easy to code against Database var db = Database.Open("ArtGallery"); var product = db.Query("SELECT * FROM PRODUCTS); var db = Database.Open("ArtGallery"); var product = db.Query("SELECT * FROM PRODUCTS); } Coding

DATABASE ACCESS Demonstration

Displays your data quickly and easily Lots of options to customize layout, appearance, paging etc. Display your data easily with var db = Database.Open("ArtGallery"); var data = db.Query("SELECT * FROM PRODUCTS); var grid = new var db = Database.Open("ArtGallery"); var data = db.Query("SELECT * FROM PRODUCTS); var grid = new columns: grid.Columns( grid.Column("Name", "Product", style: "product"), ), grid.Column("Price", ) columns: grid.Columns( grid.Column("Name", "Product", style: "product"), ), grid.Column("Price", ) var db = Database.Open("ArtGallery"); var data = db.Query("SELECT * FROM PRODUCTS); var grid = new WebGrid( source: data, defaultSort: "Name", rowsPerPage: 3); var db = Database.Open("ArtGallery"); var data = db.Query("SELECT * FROM PRODUCTS); var grid = new WebGrid( source: data, defaultSort: "Name", rowsPerPage: 3); }

WEBGRID Demonstration

Don’t repeat yourself! Define one layout and use it across your website Layouts make organizing your pages easier Layout.cshtml Page 1 Page 2 Page 3

1.Define your Layout 2.Reference it in your pages Layout Syntax Simple Simple Layout = "/Shared/_Layout.cshtml"; } My content goes Layout = "/Shared/_Layout.cshtml"; } My content goes here MyPage.cshtml

Sections allow you to define areas of content that change between pages but need to be included in a layout Use Sections to organize your pages Layout = "/Shared/_Layout.cshtml"; Menu { Option 1 Option 2 } My content goes Layout = "/Shared/_Layout.cshtml"; Menu { Option 1 Option 2 } My content goes here MyPage.cshtml

RenderPage() helps you reuse markup and code that doesn’t change Use RenderPage to organize pages that don’t change @RenderPage("/Shared/_Footer.cshtml") @RenderPage("/Shared/_Footer.cshtml") /Shared/_Layout.cshtml © 2010 Contoso © 2010 Contoso /Shared/_Footer.cshtml

LAYOUTS Demonstration

Helpers make it easy to quickly add commonly used functionality into your websites Helpers are designed to make your life easier Some examples: – Facebook – Twitter – PayPal – UserVoice – OData – Windows Azure Storage – And many more… What are Helpers?

You can think of Helpers like this: Helpers fit into two categories HTML Helpers API Helpers Make is faster and easier to render commonly used markup to the page. Examples: Facebook, Twitter Make is faster and easier to call complex APIs from your website. Examples: PayPal, OData, Windows Azure Storage

There are two ways to install Helpers in your website 1.Package Manager 2.Manual download Adding Helpers to your website

1.Create a blank website in WebMatrix 2.Run your website and visit _admin 3.Select and install Helpers Installing Helpers using Package Manager /_admin Facebook Helper installed

Add social capabilities to your website with the WebMatrix Helper for Facebook There are many more helpers available for WebMatrix Make your website

HELPERS Demonstration

Free & Popular – Large developer ecosystems with lots of widgets, plugins, templates and themes – Good community support through blogs and forums Gets you closer to a solution – CMS, eCommerce, Forum etc. Easy to configure Why use Open Source Apps?

WebMatrix builds on the success of the Web Platform Installer 2.5 Million Apps downloaded so far WebMatrix and OSS Apps Web Platform Installer WebMatrix Download Install (inc. dependencies) Customize SEO Analysis Publish

INSTALL A WEB APP Demonstration

It’s easy to find a host that fits your needs and budget Publishing your website is easy and pain free Faster and more secure If you make changes, you only upload the changes – not the entire website Publishing your website

Find the right host for you Quickly compare the best deals Windows Web Hosting Gallery

Easy to configure, preview and publish your website and database in one click Publishing in WebMatrix

PUBLISHING YOUR WEBSITE Demonstration

With a little luck, your web application will be successful and attract lots of users! 1.Congratulations 2.You need to ask yourself some questions: 1.Do I need more developers? 2.Is my code base still manageable? 3.Do I need to scale my web & database servers? With a successful application the answer will normally be “YES” to those questions Growing Your App

Visual Studio 2010 provides the best solution to your “growing” needs: – Powerful editing capabilities – Testing Frameworks – Source/Version Control Moving to Visual Studio 2010 is easy – The Razor Syntax is common across WebMatrix and ASP.NET MVC 3 – You can use Helpers in ASP.NET MVC 3 – Migration of database to IIS Express is easy to do Growing Your App

Provides registration for users Organize users into roles Restrict access to pages on your website based on user or role WebMatrix includes helpers & database that makes setting up membership easy Some templates include Admin folder with all the pages required for membership What is Membership?

Setup membership in one line of code Setting up WebSecurity.InitializeDatabaseConnection("StarterSite", "UserProfile", "UserId", " ", true); WebSecurity.InitializeDatabaseConnection("StarterSite", "UserProfile", "UserId", " ", true); } /_AppStart.cshtml StarterSite database

Some templates come with an admin folder containing membership pages ready to go Templates with Membership

You can control access to pages based on the following: – Is the user logged in? – Does the user have access to the page? – Does the user belong to the correct role? Controlling access to (!WebSecurity.IsAuthenticated) { Response.Redirect("/Account/Login"); ( Roles.IsUserInRole("admin")) { ! (!WebSecurity.IsAuthenticated) { Response.Redirect("/Account/Login"); ( Roles.IsUserInRole("admin")) { ! }

WebMatrix automatically provides “clean” URLs using Routing and removes the need to use QueryStrings Routing has the following benefits: – Easier to read for your users – Better for SEO Routing

virtual techdays THANKS │ 9-11 February 2011 │