aspnet40 session final-1

29
ASP.NET 4.0 In-Depth By In case you are having issues regarding audio and video please contact at [email protected] , these training are available as recordings later , please do not disturb during training. • Please Mute your mic and mobile during training. Ask your question using the Q and A tab in live meeting. Speak one at a time so that every one is benefited. This training session is sponsored by www.itfunda.com supported and organized by www.questpond.com Abhijit Jana & Abhishek Sur In Support with DotNetFunda.Com

Upload: abhishek-sur

Post on 10-May-2015

446 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Aspnet40 session final-1

ASP.NET 4.0 In-DepthBy

In case you are having issues regarding audio and video please contact at [email protected], these training are available as recordings later , please do not disturb during training.

• Please Mute your mic and mobile during training.

• Ask your question using the Q and A tab in live meeting.

• Speak one at a time so that every one is benefited.

This training session is 

• sponsored by www.itfunda.com • supported and organized by www.questpond.com

Abhijit Jana & Abhishek SurIn Support with

DotNetFunda.Com

Page 2: Aspnet40 session final-1

Abhijit Jana & Abhishek Sur

Page 3: Aspnet40 session final-1

Agenda

ASP.NET 4.0ASP.NET 4.0

• Web form Routing• Meta description• Permanent

Redirection

• Web form Routing• Meta description• Permanent

Redirection

Search Engine OptimizationSearch Engine Optimization

• Controlling View State • Compression Enabled

Session • Output Caching

Extensibility

• Controlling View State • Compression Enabled

Session • Output Caching

Extensibility

State ManagementState Management

• Control over client id• Html encoded code

expressions• CSS improvements

• Control over client id• Html encoded code

expressions• CSS improvements

Client SideClient Side

• Smaller Web.config• Performance monitoring

for individual applicatiion• AutoStart application• increase url character• Web.Config

Transformation

• Smaller Web.config• Performance monitoring

for individual applicatiion• AutoStart application• increase url character• Web.Config

Transformation

DeploymentDeployment

• Enhancement in Listview control

• RadioButtonList and CheckBoxList

• CSS Friendly Menu Control

• Enhancement in Listview control

• RadioButtonList and CheckBoxList

• CSS Friendly Menu Control

Server Control EnhancementsServer Control Enhancements

Overview of Dynamic DataOverview of

Dynamic Data

Visual Studio 2010 Enhancement for ASP.NET 4.0Visual Studio 2010 Enhancement for ASP.NET 4.0

Multi targeting Multi targeting

Publish for Web AppPublish for Web App Code SnippetsCode Snippets

Diff. Integrated Web Server Diff. Integrated Web Server

Project TemplatesProject Templates JavaScript intellesenceJavaScript intellesence

Page 4: Aspnet40 session final-1

Session Flow

1. Discussion of current topic

2. Different Improvement areas

3. Quick Tips

1. Discussion of current topic

2. Different Improvement areas

3. Quick Tips

Demo of all the discussed TopicsDemo of all the

discussed Topics

Quick Recap on what we have

discussed till now

Quick Recap on what we have

discussed till now

Moving forwards to next session

Moving forwards to next session

QuestionsAnd

Answers

QuestionsAnd

Answers

Page 5: Aspnet40 session final-1

Visual Studio 2010 Enhancement for ASP.NET 4.0

Multi targeting Different Version of Integrated Web Server Code Snippets for Web designer Java script intellesence Project TemplatesPublish a web application

AbhijitJana.net & AbhishekSur.com

Page 6: Aspnet40 session final-1

Multi targeting

Key Notes : Multi-Targeting Support in VS 2008 Changes in Multi-Targeting in 2010 Convert ASP.NET application from

one framework to another framework

Page 7: Aspnet40 session final-1

Different Version of Integrated Web Server

Key Notes Visual studio used Integrated

ASP.NET engine to run ASP.NET Application from IDE

CLR version (CLR 2 and CLR 4) you have separate built-in ASP.NET Engine

Side by Side Execution of different framework

Page 8: Aspnet40 session final-1

Code Snippets for Web designer

Key Notes Code snippets for

– ASP.NET– HTML– ASP.NET AJAX– XML– ASP.NET MVC

Use Surround With Snippets Custom Code Snippet

Page 9: Aspnet40 session final-1

Java script intellesence

Key Notes Improvement like Code snippets in

ASP.NET Recognize dynamically generated

objects

Page 10: Aspnet40 session final-1

Project Templates

Key Notes Addition of new templates and

modification of existing templates– ASP.NET Empty Web Application– ASP.NET Web Application

Page 11: Aspnet40 session final-1

Publish a web application

Key Notes• Many New features added

for Web Site deployment in VS 2010

• One-click publishing• Web packaging• Web.config transformation• Database deployment

Page 12: Aspnet40 session final-1

DEMOVisual Studio 2010 Enhancement for ASP.NET 4.0

Page 13: Aspnet40 session final-1

QUICK RECAPVisual Studio 2010 Enhancement for ASP.NET 4.0

Page 14: Aspnet40 session final-1

QUESTIONS & ANSWERSVisual Studio 2010 Enhancement for ASP.NET 4.0

Page 15: Aspnet40 session final-1

Server Control Enhancement

RadioButtonList and Checkbox ListEnhancement in List view controlCSS Friendly Menu Control

Page 16: Aspnet40 session final-1

RadioButtonList and Checkbox ListKey Notes Checkbox list and radiobutton list both

having “RepeatLayout “ properties ASP.NET 3.5 supports “Flow” and “Table”

layout ASP.NET 4.0 added two new layout

“Orderedlist” “UnorderedList These layout has only “Vertical”

RepeatDirection for new layouts.

Page 17: Aspnet40 session final-1

CSS Friendly Menu Control

Key Notes ASP.NET Menu Control till Version 3.5

rendered as TABLE, TR, TD New Addition of “Rendering Mode”

properties Three Type of Render

Default List Table

Page 18: Aspnet40 session final-1

Enhancement in List view controlKey Notes Enhancement for layouts rendering ASP.NET 3.5 needs a place holder

inside LayoutTemplate ASP.NET 4.0 Listview doesn’t need

any LayoutTemplate

AbhijitJana.net & AbhishekSur.com

Page 19: Aspnet40 session final-1

DEMOServer Control Enhancement

Page 20: Aspnet40 session final-1

QUICK RECAPServer Control Enhancement

Page 21: Aspnet40 session final-1

QUESTIONS & ANSWERSServer Control Enhancement

Page 22: Aspnet40 session final-1

Search Engine Optimization

Meta DescriptionWeb Form RoutingPermanent Redirection

Page 23: Aspnet40 session final-1

Meta Description

Key Notes Search Engine looks for Meta tag of our

web page to get the details of page contents

Two New Properties for Page Class– MetaDescription – MetaKeywords

These can be defined from both code behind and from aspx page

Makes it easier to work with these than defining with HtmlMeta.

Page 24: Aspnet40 session final-1

Permanent Redirection

Key Notes Removes the problem of Temporary

redirection (302) using Response.Redirect and ensures Search engine updates its database about this redirection using Response.RedirectParmanent.

As the round trips will be minimized due to ParmanentRedirection, Page rank can be increased in Search Engines.

Page 25: Aspnet40 session final-1

Web Form Routing

Key Notes ASP.NET MVC 2 introduces Routing features

in .NET Framework 3.5 SP1. Route Module is been added to

System.Web.dll so it is available readily to any application.

ASP.NET 4.0 already implemented of IRouteHandler called PageRouteHandler, so we do not need to implement the same.

You need to register routes in global.asax or any custom module. Once you register, the routing will be available instantly.

RouteData is available from any page to access RouteTable.

Response.RedirectToRoute allows to use Route redirection from one page to another by calling either routeName of routeValues.

Support for Expression to generate RouteUrl

Page 26: Aspnet40 session final-1

DEMOSearch Engine Optimization

Page 27: Aspnet40 session final-1

QUICK RECAPSearch Engine Optimization

Page 28: Aspnet40 session final-1

QUESTIONS & ANSWERSSearch Engine Optimization

Page 29: Aspnet40 session final-1

The rest of the points mentioned in the agenda shall be covered in the

coming session

Look for www.dotnetfunda.com for announcement

THANK YOU !