An Introduction to ASP.NET Web Pages 2 Module 1: Webmatrix Installation and Your First Web Site Tom Perkins.

Slides:



Advertisements
Similar presentations
© 2011 Delmar, Cengage Learning Chapter 1 Getting Started with Dreamweaver.
Advertisements

CSW131 Steven Battilana 1 CSW 131 Free MS Software (MSDNAA) MS Visual Web Developer W3 / Mozilla Code Validators Uploading Your Website Summer 2013 Prepared.
Creating and Editing a Web Page Using Inline Styles
11 Getting Started with ASP.NET Beginning ASP.NET 4.0 in C# 2010 Chapters 5 and 6.
Microsoft Office 2007 Excel Web Feature Creating Web Pages Using Excel.
Microsoft Office 2007 Excel Web Feature Creating Web Pages Using Excel.
Microsoft Expression Web-Illustrated Unit L: Using Code Tools.
Newsletter Plugin The newsletter plugin allows you to create and send newsletters to a managed list or multiple lists of users. Your users can subscribe.
CPSC 203 Introduction to Computers Tutorial 59 & 64 By Jie (Jeff) Gao.
Microsoft Office 2007 PowerPoint Web Feature Creating Web Pages Using PowerPoint.
CSW131 Steven Battilana 1 CSW 131 Free MS Software (DreamSpark / MSDNAA) MS Visual Web Developer (VWD) W3 / Mozilla Code Validators Uploading Your Website.
XP Information Technology Center - KFUPM1 Microsoft Office FrontPage 2003 Creating a Web Site.
Building Web Pages With Microsoft Office. Introduction This tutorial is for the beginning web builder. It utilizes software that you already have, Microsoft.
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 9 1 Microsoft Office FrontPage 2003 Tutorial 9 – Using Layout Tables, Styles, and Office.
1 of 4 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Creating and Publishing Your own website
With Alex Conger – President of Webmajik.com FrontPage 2002 Level I (Intro & Training) FrontPage 2002 Level I (Intro & Training)
Microsoft ® Office SharePoint ® Server 2007 Training SharePoint calendars I: Make the most of your team calendar Bellwood-Antis School District presents:
Working with SharePoint Document Libraries. What are document libraries? Document libraries are collections of files that you can share with team members.
Creating a Web Page HTML, FrontPage, Word, Composer.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
© 2011 Delmar, Cengage Learning Chapter 2 Developing a Web Page.
 Using Microsoft Expression Web you can: › Create Web pages and Web sites › Set what you site will look like as you design it › Add text, images, multimedia.
ES 101. Module MS Front Page Tutorial and Web Hosting.
Microsoft Expression Web - Illustrated Unit B: Creating a Web Site.
CSE3310: Web training A JumpStart for Project.
Server-side Scripting Powering the webs favourite services.
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.
Ken Casada Developer Evangelist Microsoft Switzerland WebMatrix: Your Web Made.
Creating a Web Site to Gather Data and Conduct Research.
Microsoft Office 2007 PowerPoint Web Feature Creating Web Pages Using PowerPoint.
Website Development with Dreamweaver
CPSC 203 Introduction to Computers Lab 23 By Jie Gao.
HTML I An Introduction to the Language of the Web Terry Bake
Universiti Utara Malaysia Chapter 3 Introduction to ASP.NET 3.5.
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.
Ken Casada Developer Evangelist Microsoft Switzerland Develop and maintain CMS.
Creating an External Style Sheet Module 5: Beyond the Basics with Expression Web LESSON 8.
Lesson 01: Introduction to Database Software. At the end of this lesson, students should be able to: State the usage of database software. Start a database.
Introduction to MVC Introduction NTPCUG Tom Perkins, Ph.D.
Chapter 1 Getting Started With Dreamweaver. Exploring the Dreamweaver Workspace The Dreamweaver workspace is where you can find all the tools to create.
Getting Started with Word & Saving Guided Lesson.
The Diagnostic Pathfinder System Introduction Getting Started.
PART 2 INTRODUCTION TO DYNAMIC WEB CONTENT AND PHP.
Web Development in Microsoft Visual Studio 2013 / 2015.
1 Getting Started with C++ Part 1 Windows. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Microsoft.
Using CSS to Create Some Style Module 5: Beyond the Basics with Expression Web LESSON 5.
(ITI310) By Eng. BASSEM ALSAID SESSIONS 10: Internet Information Services (IIS)
Creating and Editing a Web Page Using Inline Styles
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Creating Web Pages with Links, Images, and Embedded Style Sheets
CSE3310: Web training A JumpStart for Project. Outline Introduction to Website development Web Development Languages How to build simple Pages in PHP.
Microsoft Expression Web - Illustrated Unit A: Getting Started With Microsoft Expression Web.
 Lecture  Website language: ASP.net  Book name Beginning ASP.NET 4 in C# and VB 2.
1.Switch on the computer and wait for loading. 2.Select the Windows 7 OS at the end of the list. 3.Click on the link ‘Administrator’ 4.Enter the administrator.
1.Switch on the computer and wait for loading. 2.Select the Windows 7 OS at the end of the list. 3.Click on the link ‘Administrator’ 4.Enter the administrator.
 Learn the mechanics of using App Inventor to build apps.  Learn how to design an app’s user interface with the App Inventor Designer, and its behavior.
XP Creating Web Pages with Microsoft Office
Project 1 Introduction to HTML.
Objective % Select and utilize tools to design and develop websites.
2 At the top of the zone in which you want to add the Web Part, click Add a Web Part. In the Add Web Parts to [zone] dialog box, select the check box of.
2 At the top of the zone in which you want to add the Web Part, click Add a Web Part. In the Add Web Parts to [zone] dialog box, select the check box of.
PowerPoint Web Feature
Objective % Select and utilize tools to design and develop websites.
T_C_N_L_G_ E D I D I E O Y O H I E B J I R E A A W.
Microsoft PowerPoint 2007 – Unit 2
Summer 2013 Prepared by Prof. B. INDEX
Manipulating Text & Links on your website
Presentation transcript:

An Introduction to ASP.NET Web Pages 2 Module 1: Webmatrix Installation and Your First Web Site Tom Perkins

Objectives Upon completion of this module, the participant should be able to – 1) Install WebMatrix on your computer – 2) Create a simple website – 3) Understand the basic concepts of website development

SKILLS REQUIRED Some basic HTML Some CSS (Cascading Style Sheets) Some awareness of database concepts (if you’ve used an Excel Spreadsheet, you’re qualified – or close enough)

What you’ll need A computer running Windows XP SP3 or greater A live internet connection (for download) Administrator privileges (for installation)

Some Definitions Framework: Broad overview, outline, or skeleton of interlinked items which supports a particular approach to a specific objective, and serves as a guide that can be modified as required by adding or deleting items. Web Pages: A framework for developing dynamic web pages – Static pages – only static items (pics, text, etc.) – Dynamic pages – you can modify the page content by using code WebMatrix: MS tool incorporating a page editor, database utility, a web server for testing, and publishing features.

What We’ll Do (Following Mike Pope: pages/tutorials/introducing-aspnet-web-pages-2/getting-started) 1.Install and basic site development (you are here) 2.Learn programming basics 3.Create a database 4.Create and process a user input form 5.Add, update, and delete data in the database 6.Deploy to a hosting provider

Class Example Website

And a page to add movie information

Installation Go to

CLICK HERE

Download the Web Platform Installer Run the Web Platform Installer Install WebMatrix when prompted

Systems installed: WebMatrix Web Pages IIS Express SQL Compact (All free!) Now, from the Start Menu, launch Microsoft WebMatrix

And we’re on our way …

Click on Templates (prebuilt files).

Select “Empty Site”, Enter “WebPagesMovies” (No spaces), then click “Next”

WebMatrix created your site! Ribbon Bar Tasks (Display: Site, Files, Databases, Reports) RHS – Content Pane for Editor and Reports

CREATE YOUR FIRST WEB PAGE

Left Pane: Files and Folders in your site. Click the arrow under the “New” icon, then “New File”.

Your first page will be called “HelloWorld”. Choose CSHTML (an ASP.NET page) and give it a name of HelloWorld.cshtml. Click OK.

WebMatrix has created your first page! (But wait – there’s more!!!) Mostly simple HTML  Note … } at the top. This is where you’ll put your code! Note colored syntax highlighting (not too cool for me and Jeff).

@{ } Hello World Page Hello World Page Hello World! Add the lines of HTML above into your page. Then click on File (on the Menu), then click on Save.

To test the HelloWorld page: Right- click here

Left-click on Launch in browser WebMatrix starts IIS Express, a built-in web server. Your page will be displayed in your default browser. The “local server” refers to your local computer, where the server is running.

Note the port number in the address line – different for each site you create. Now, let’s add some “server side” code. This will dynamically alter the look of the web site at the server.

@{ var currentDateTime = DateTime.Now; } Right now At top, enter the following line: Place this line after the “Hello World” paragraph:

Your web page should look like:

Now, launch the page in the browser: Try this again in a few minutes – What changes? What is happening with the code?

Display your web page source: (nav path for Chrome)

The HTML file above is what is sent to the browser from the server.

The Browser/Server process: (thanks to Microsoft for the diagram …)

Module Recap What we accomplished: 1.Loaded WebMatrix and its cast of players 2.Created a simple web page 3.Tested the web page 4.Wrote and tested some Razor code 5.Walked-thru the Browser/Server process Next: Some Programming Concepts …