17
Web Forms - I'm still alive Aman Garg MCT, MCITP, MCSD .NET

Web forms I'm still alive

Embed Size (px)

Citation preview

Page 1: Web forms   I'm still alive

Web Forms - I'm still aliveAman Garg

MCT, MCITP, MCSD .NET

Page 2: Web forms   I'm still alive

Dynamic DataRoutingWeb Form Additions

Predictable Client IDsProgrammable Meta DataBetter control over ViewStatePersist selected rows

Web Deployment

Not Included in this sessionAny UI Performance ImprovementsJS & CSS EnhancementsAjax

Agenda

Page 3: Web forms   I'm still alive

Theory25%

Demos75%

0% 0%Session Distribution

Distribution

Page 4: Web forms   I'm still alive

A RAD experience for quickly building a data-driven Web site

Fully Customizable

Quickly build data-driven applications based on LINQ to SQL and Entity Framework Data Model

Automatic validation that is based on constraints defined in the data model

The ability to easily change the markup that is generated for fields in the GridView and DetailsView controls by using field templates that are part of your Dynamic Data project

Dynamic Data

Page 5: Web forms   I'm still alive

Demo – Dynamic DataCreate an Admin Data-Driven Website

Page 6: Web forms   I'm still alive

Enabling Dynamic Data for Existing Projects

Declarative DynamicDataManager Control Syntax

Entity Templates

New Field Templates for URLs and E-mail Addresses

Creating Links with the DynamicHyperLink Control

Support for Many-to-Many Relationships (Entity Framework Only)

New Attributes to Control Display and Support Enumerations

Dynamic Data – Additions

Page 7: Web forms   I'm still alive

Use an existing webpage to enable Dynamic Data

Entity Templates

New Field Templates

Many-to Many Relationship

DemoIn-Depth Dynamic Data

Page 8: Web forms   I'm still alive

Enables Descriptive URLs

Easy to understand

SEO friendly

The ASP.NET Dynamic Data extends routing

ASP .NET Routing vs URL Rewriting

Routing

Page 9: Web forms   I'm still alive

Imperative WebForms Routing

Declarative WebForms Routing

Outbound WebForms Routing

Various ways to achieve Routing

Page 10: Web forms   I'm still alive

Default Values for URL Parameters

URL Patterns

Add Constraints to Routes

Explicitly Disable a URL Pattern

Use Routes.Ignore method to disable a pattern

Routing does not handle requests that map to an existing physical file on the Web server

Security Concerns with ASP .NET Routing

Routing Features

Demo

Page 11: Web forms   I'm still alive

The ability to set meta tags

More control over view state

Easier ways to work with browser capabilities

More control over generated IDs

The ability to persist selected rows in data controls

More control over rendered HTML in the FormView and ListView controls

Permanently redirecting a Page

Introduction to IIS Express

WebForm Additions

Page 12: Web forms   I'm still alive

Web Form Additions

Demo

Page 13: Web forms   I'm still alive

Web Packaging

Web.config transformation

Database deployment

One-click publish for web applications

ASP .NET 4 Web Deployment

Page 14: Web forms   I'm still alive

Deployment Scenarios

Publish to Test/Staging Environment

Package for Prod Environment

Deploy Database Scripts along with

Page 15: Web forms   I'm still alive

MS-Build Based Deployment

Package all Web Components

Script IIS-Settings

Configure App Pool

SQL DB

Script Schema and/or data

Deploy Database Scripts along with the web code

IIS7 Import

Web Deployment

Demo

Page 16: Web forms   I'm still alive

Q & A

Page 17: Web forms   I'm still alive

[email protected]

http://www.geekswithblogs.net/amangarg

Twitter: @amangarg_sg

Thank You