Building ASP.NET web pages with Microsoft WebMatrix [electronic resource] / Steve Lydford.

WebMatrix is the latest addition to the hugely popular Microsoft ASP.NET web platform. This exciting new technology aims to simplify the process of developing websites by combining the new and powerful Razor syntax with a fully extensible set of data and HTML helpers for performing common web tasks....

Full description

Saved in:
Bibliographic Details
Online Access: Full Text (via Springer)
Main Author: Lydford, Steve
Format: Electronic eBook
Language:English
Published: [New York] : Apress, ©2011.
Series:Expert's voice in .NET.
Subjects:
Table of Contents:
  • Machine generated contents note: ch. 1 Introducing Microsoft WebMatrix
  • What is WebMatrix?
  • What is a Dynamic, Data-Driven Web Site?
  • Why Use WebMatrix?
  • ASP.NET Platform
  • Who Should Use WebMatrix?
  • What Will I Learn?
  • WebMatrix Community
  • Prerequisites
  • Previous Knowledge
  • System Requirements
  • Summary
  • ch. 2 Getting Started
  • Installing WebMatrix
  • Getting WebMatrix If You Don't Already Have the Web Platform Installer
  • Getting WebMatrix via the Web Platform Installer
  • What's in the box?
  • Getting Started with WebMatrix Web Sites
  • Enter the Matrix: Creating Your First Site
  • Our First WebMatrix Application
  • WebMatrix IDE: A Quick Tour
  • Adding a Page to Your Site
  • Working with the HTML
  • Adding Some Razor Code
  • Summary
  • ch. 3 C# Primer
  • Types and Variables
  • Naming Identifiers
  • Booleans
  • Numbers
  • Strings
  • Dates and Times
  • Operators
  • Arithmetic Operators
  • Assignment Operators
  • Equality Operators
  • Relational Operators
  • Conditional Operators
  • Collections
  • Arrays
  • Generic Collections-
  • Conditions
  • If ... Else
  • Switch
  • Try ... Catch
  • Loops
  • while loop
  • do loop
  • for loop
  • foreach loop
  • Object Oriented Programming
  • Principles and Terminology
  • OOP Conclusion
  • Dynamics
  • ExpandoObject()
  • Summary
  • ch. 4 Working with Razor and ASP.NET Web Pages
  • Razor Syntax
  • Adding a single line of server-side code
  • Adding more complex code
  • Mixing it up
  • Layout
  • RenderPage()
  • Layout Pages
  • RenderSection()
  • Making a section optional
  • Passing Data to Layout and Partial Pages
  • Helpers
  • Functions
  • Maintaining State
  • Session State
  • Cookies
  • Startup Code
  • Application Level Code
  • Folder Level Code
  • URLs and Routing
  • Routing
  • Passing Data in the URL
  • Summary
  • ch. 5 Forms and Validation
  • HTML Forms
  • Form Controls
  • HTML Form Helpers
  • Html. TextBox(), Html. Password() and Html. Hidden()
  • Html. CheckBox()
  • Html. RadioButton()
  • Html. TextArea()
  • Html. DropDownList()
  • Html. ListBox()
  • Html. Label()
  • Handling Forms with WebMatrix
  • Identifying Form Submissions
  • Accessing Submitted Form Data
  • Validating User Input
  • When to validate?
  • Form Security
  • Performing Form Validation
  • Building a validation library
  • Summary
  • ch. 6 Working with Data
  • SQL Server Compact Edition
  • Creating a Database
  • Interacting with Data
  • Fetching Data
  • Inserting Data
  • Updating Data
  • Deleting Data
  • Data Access with WebMatrix
  • Making the Connection
  • Retrieving and Displaying Data
  • Adding Records
  • Editing Existing Data
  • Deleting Records
  • Displaying Data with WebMatrix Helpers
  • WebGrid Helper
  • Chart Helper
  • Working with Other Databases
  • Migrating an SQL Server Database
  • Connecting to an SQL Server or MySQL Database
  • Summary
  • ch. 7 Security and Membership
  • Setting Up the WebSecurity Helper
  • Creating a New User Registration Page
  • Adding an Account Summary Helper
  • Providing a Login Page
  • Logout Page
  • Changing Passwords
  • Protecting Content
  • Restricting to Authenticated Users
  • Roles
  • Advanced Membership Features
  • Storing Additional User Information
  • Summary
  • ch. 8 Using Web Helper Packages
  • Accessing the Package Manager
  • Installing a Package
  • ASP.NET Web Helpers Library
  • Adding Search with Bing
  • Twitter
  • Facebook
  • Gravatar
  • Xbox Live Gamer Card
  • LinkShare
  • ReCaptcha
  • Analytics
  • Summary
  • ch. 9 TechieTogs: An Example E-commerce Site
  • Getting Started
  • Page Layout
  • Adding a Database
  • Creating Tables to Store the Product Catalog
  • Adding Data to the Tables
  • Creating a Product Catalog
  • Categories List
  • Product Listings Page
  • Product Details Page
  • Adding Social Networking Features
  • Google +1 Helper Package
  • Adding Google +1, Twitter, and Facebook Buttons
  • Searching the Catalog
  • Custom Error Pages
  • Displaying a Default Error Page
  • 404
  • Not Found Errors
  • Summary
  • ch. 10 TechieTogs: Adding E-commerce Features
  • Shopping Process
  • Shopping Cart
  • Defining the Cart Class
  • Shopping Cart Page
  • User Accounts
  • Why Bother?
  • Initializing the Membership System
  • Registering New Accounts
  • Account Summary Helper
  • Login Page
  • Logout Page
  • Change Password Page
  • Forgotten Passwords
  • Checkout Process
  • Preparing the Database
  • Checkout Page
  • Order Complete Page
  • Summary
  • ch. 11 TechieTogs: Site Administration and Finishing Touches
  • Creating an Admin Area
  • Creating the Admin Role
  • Creating and Securing the Admin Folder
  • Site Administration Home Page
  • Admin Layout Page
  • Admin Menu
  • Admin Stylesheet
  • Site Administration Home Page
  • Amending the Account Summary Helper
  • User Administration
  • Orders Administration
  • Orders Summary Page
  • Order Details Page
  • Product Categories
  • Editing Categories
  • Deleting Categories
  • Product Administration
  • Products Summary Page
  • Product Details Page
  • Adding Product Images
  • Displaying Product Images
  • Displaying Dynamic Content on the Home Page
  • Displaying a ̀Featured Product'
  • Popular Products
  • Summary
  • ch. 12 Working with Images and Video
  • Working with Images
  • Uploading Images
  • Resizing Images
  • Cropping Images
  • Flipping and Rotating Images
  • Adding Watermarks to Images
  • Working with Video
  • Embedding Flash Video
  • Embedding Windows MediaPlayer Video
  • Embedding Microsoft Silverlight Video
  • Summary
  • ch. 13 Debugging, Caching, and Deployment
  • Debugging ASP.NET Web Pages
  • Displaying Server Information
  • Displaying Object Information
  • Output Expressions
  • Browser Debugging Tools
  • Analyzing HTTP Requests
  • Debugging with Microsoft Visual Studio
  • Improving Performance Using Caching
  • Search Engine Optimization (SEO) with WebMatrix
  • Performance Report
  • Analyzing Other Web Sites
  • Deploying Your Web Site
  • Finding a Hosting Provider
  • Publish Settings
  • Configuring External Database Connections
  • Publishing Your Web Site
  • Summary.