Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino Nicolas

Preview:

DESCRIPTION

 

Citation preview

Creating Dynamic Web Application Using ASP.NET 3.5Zandra NicolasSenior Lecturer - UPITTCMCSD/MCTMVP (ASP/ASP.NET)

AGENDA

Visual Studio 2008 OverviewASP.NET 3.5ASP.NET AJAXLINQSilverlight

Visual Studio 2008: The Tool for .NET Development

Web Forms, ASP.NET AJAX

Multiple Languages

Web Services, WCF

Data Access, LINQ

Error Handling

Windows Forms, WPF

Design DeployDevelop Debug

What's New: Visual Studio 2008• More than 250 new features• Key advances in three primary pillars:• Rapid application development • Effective team collaboration • Break through user experiences

• Improvements include:• New Merge tool• Greatly enhanced HTML / CSS Tools• JavaScript and AJAX IntelliSense• Radical designer improvements

Visual StudioCompile and Merge Tools

• Visual Studio 2005• Introduced Web Application Projects• Compile each page individually or each folder• Pre-compile tool enables compilation in place or for easier deployment

• Visual Studio 2008• Supports Web Application Projects as well as Web Sites• Merge tool allows merging pre-compiled assemblies

aspnet_compiler [-?][-m metabasePath | -v virtualPath [-p physicalPath]][[-u] [-f] [-d] [-fixednames] targetDir][-c][-errorstack][-nologo][[-keyfile file | -keycontainer container ] [-aptca] [-

delaysign]]

aspnet_merge [-?] applicationPath [-keyfile filename [-delaysign]] [-o assemblyname | -w assemblyname | -prefix prefix] [-copyattrs [assemblyfile]] [-debug] [-nologo] [-errorstack] [-r] [-xmldocs] [-a] [-logfile logfile] [-allowattrs textfile]

Visual StudioHtml and CSS Tools

• Visual Studio 2005• Better designer support• Improved source code preservation• Tag navigator

• Visual Studio 2008• Improved standards validation• New CSS design tools

Visual StudioIntelliSense Everywhere!

• Visual Studio 2005• Full support for both in-line and code-behind• HTML• Code• Page Directives• web.config• Design View (Smart Tags)

• Visual Studio 2008• Added JavaScript• Improved support for AJAX

Visual StudioDesigner Improvements

• Visual Studio 2005• Master page support• Better WYSIWYG support

• Visual Studio 2008• Nested Master page support• Spit view mode

ASP.NET 3.5 ThemesExperience Productivity Breakthroughs

Dramatically reduce concepts, lines of code requiredAwesome Visual Studio Web tool experience including debugging and Intellisense for JavaScriptSimplified data integration through LINQ supportReplace/extend all built-in features & services

Create Outstanding User ExperiencesComplete AJAX integration including 40+ controls & IDE supportNew controls for Silverlight and Media

Collaborate Across the Development CycleWeb server delegation for shared application managementThe world’s fastest Web application server

ASP.NET 2.0 Application Services APIs

Membership Role Manager Personalization

Site Navigation

Database Caching

Health Monitoring

ProvidersWindows SQL Server

SQL Express

XML Sitemap Custom Provider

ASP.NET Architecture

Provider Model Design Pattern

ASP.NET 2.0 “Page Framework” FeaturesMaster Pages Themes /

Skins Localization Client Scripting

ASP.NET 2.0 “Control Buckets” (50+)Security Data Navigation WebParts

ASP.NET 2.0ASP.NET 2.0

IIS 5.0 / 6.0

ASP.NET AJAX 1.0

ASP.NET 2.0

ASP.NET AJAX 1.0

IIS 5.0 / 6.0

IIS 7.0

ASP.NET 2.0 Application Services

Forms Authenticatio

nProfile Role

Management Session State

ASP.NET Architecture

ASP.NET 3.5

ASP.NET AJAX LINQ LinqDataSource

Listview Control More…

ASP.NET AJAX Architecture

ASP.NET AJAX Server Extensions

ASP.NET AJAXServer Controls

App Services Bridge

Web Services Bridge

Server Framework

Client Framework and Services

Client Script Library

Controls, Components

Script Core

Base Class Library

Component Model and UI Framework

Browser Compatibility

Client Application Services

BrowserIntegration

ASP.NET 2.0Application

Services

Page Framework,

Server Controls

ASP.NET AJAXASP.NET Pages Web Services

HTML, Script,ASP.NET AJAX

MarkupServiceProxies

When do I use ASP.NET AJAX?

Client Centric AJAX

•Microsoft AJAX Library• Object oriented client

development• Adds type system and

extensions to JavaScript

• JavaScript IntelliSense

Server Centric AJAX

•Update only a portion of an ASP.NET page

•Easily increase performance of existing ASP.NET applications

•Display progress indicators

ASP.NET AJAX Controls• UpdatePanel• Refresh selected parts of a page• Pages appear more interactive• Triggers specify which control causes the update

• UpdateProgress• Provides status information on partial-page

updates• Timer• Performs postbacks at defined intervals

AJAX Control Extenders• Add additional functionality to existing controls• Improved designer support in Visual Studio 2008

AJAX Client Library• The Microsoft AJAX Library includes a

rich framework to simplify client programming

• Namespaces in the Client Library• Global Namespace • Sys • Sys.Net • Sys.Serialization • Sys.Services • Sys.UI • Sys.WebForms

AJAX Control Toolkit• Shared-source community

project• Contains:• Ready to run samples• Powerful SDK

• Uses AJAX Extensions• 40+ Controls

LINQ is included in the .NET FrameworkIntelliSense support provides information on LINQ language syntaxLINQ Visual Debugger Add-inObject Relational Designer

Language Integrated Query(LINQ)

Exposes LINQ to Web developers

Uses a familiar ASP.NET data source control architecture

Implements the DataSourceControl pattern introduced with ASP.NET 2.0

Bind against a LINQ enabled data modelDeclaratively bind to ASP.NET controls

LinqDataSource Control

Tools for Designing and Developing Silverlight ApplicationsMicrosoft Expression Studio

Expression DesignExpression BlendExpression Encoder

Microsoft Visual StudioSilverlight Tools Alpha Refresh for Visual Studio

Architecture of SilverlightCore presentationframework.NET Framework for Silverlight

Conclusion

ASP.NET is innovation for the WebAJAXLINQ for simple DataIIS7 - New Web Server for ASP.NET!Visual Studio 2008, most productive IDE

Get the latest news, releases, training, videos and tutorials at www.asp.net !

© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.

The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after

the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Recommended