SlideShare a Scribd company logo
All About ASP.NET 4.0HosamKamelSenior Software EngineerESRI Northeast Africa@HosamKamelhttp://Weblogs.asp.net/HosamKamel1
AgendaOverviewCore ServicesNew Features in the Microsoft Ajax LibraryWeb FormsDynamic DataVisual Studio 2010 Web Designer ImprovementsWeb Application Deployment with Visual Studio 2010Q and A2
Core Services
Core Service – Web.Config File MinificationWeb.config (Past)Contains all the configuration for a Web application.Grown considerably over the past few releases of the .NET Framework as new features have been added, such as AJAX, routing, and integration with IIS 7This has made it harder to configure or start new Web applications without a tool like Visual StudioWeb.config ( .NET Framework 4)The major configuration elements have been moved to the machine.config file.The web applications now inherit these settings.4
Core Service – Extensible Output CachingOld Caching mechanismIn memory Heavy trafficMemory consumed by output caching can compete with memory demands from other portions of a Web application.Custom output-cache providers.Output-cache providers can use any storage mechanism to persist HTML content5
Core Service – Auto-Start Web ApplicationsApplication_LoadAuto-StartASP.NET 4 runs on IIS 7.5 on Windows Server 2008 R2Starting up an application pool, initializing an ASP.NET application, and then accepting HTTP request6
Core Service – Permanently Redirecting a PageResponse.RedirectHTTP 302 Found (temporary redirect) response.An extra HTTP round trip when users attempt to access the old URLsRedirectPermanent Issue HTTP 301 Moved Permanently responses.Search engines and other user agents that recognize permanent redirects will store the new URL that is associated with the content, which eliminates the unnecessary round trip made by the browser for temporary redirects.7
Core Service – The Incredible Shrinking Session StateDepending on how much information a developer saves in session state, the size of the serialized data can grow quite large.compressionEnabled="true“!8
Core Service – Expanding the Range of Allowable URLsURL path lengths to 260 characters.(based on the NTFS file-path limit)To allow longer or shorter paths (the portion of the URL that does not include protocol, server name, and query string)maxRequestPathLength=“260”To allow longer or shorter query stringsmaxQueryStringLength="2048" 9
Core Service – Multi-Targeting<compilation targetFramework="4.0"/> 10
Web Forms
Web Forms– Meta TagsMetaKeywords MetaDescriptionYou can set these properties at run time.12
Web Forms– Enabling View State for Individual ControlsViewStateMode property.Enabled, Disabled, and Inherit13
Web Forms – Changes to Browser CapabilitiesHttpBrowserCapabilitiesASP.NET 4, these browser definition files have been updatedblackberry.browser	- chrome.browserDefault.browser		- firefox.browsergateway.browser     	- generic.browserie.browser			- iemobile.browseriphone.browser		- opera.browsersafari.browser14
Web Forms – RoutingASP.NET 4 adds built-in support for using routing with Web Forms.Routing lets you configure an application to accept request URLs that do not map to physical files.http://website/products.aspx?categoryid=12 OR http://website/products/software15
Web Forms – Client IDsThe id attribute in HTML that is rendered for Web server controls is generated based on the ClientID property of the controlctl00_MasterPageBody_ctl01_Textbox1ClientIDMode AutoIDStatic Predictable Inherit 16
Web Forms – ASP.NET Chart Control35 distinct chart types.An unlimited number of chart areas, titles, legends, and annotations.A wide variety of appearance settings for all chart elements.3-D support for most chart types.Smart data labels that can automatically fit around data points.Strip lines, scale breaks, and logarithmic scaling.More than 50 financial and statistical formulas for data analysis and transformation.Simple binding and manipulation of chart data.Support for common data formats, such as dates, times, and currency.Support for interactivity and event-driven customization, including client click events using Ajax.State management.Binary streaming.17
Web Forms – Project Template ChangesEmpty Web SiteEmpty web application18
Web Forms – CSS ImprovementscontrolRenderingCompatibilityVersion "3.5". "4.0".Disabling ControlsHiding div Elements Around Hidden Fields19
Web Forms – Project Template ChangesEmpty Web SiteEmpty web application20
Web Application Deployment with Visual Studio 2010
IssuesDeploying to a shared hosting site.In an enterprise environment.Web deployment features in Visual Studio 2010 include the following major areas:Web packaging	Web.config TransformationDatabase deploymentOne-Click Publish for Web applications22
Web PackagingIIS Web Deployment Tool (MsDeploy.exe). Zip file + meta dataIIS settings, which includes application pool settings, error page settings, and so on.The actual Web content, which includes Web pages, user controls, static content (images and HTML files), and so on.SQL Server database schemas and data.Security certificates, components to install in the GAC, registry settings, and so on.23
Web.config TransformationTransform a Web.config file from development settings to production settings24
Database DeploymentA Visual Studio 2010 deployment package can include dependencies on SQL Server databases. 25
One-Click Publish for Web ApplicationsIIS remote management service to publish a Web application to a remote server 26
All About Asp Net 4 0  Hosam Kamel
Thank YOU!
Ad

More Related Content

What's hot (20)

Tutorial asp.net
Tutorial  asp.netTutorial  asp.net
Tutorial asp.net
Vivek K. Singh
 
SynapseIndia asp.net2.0 ajax Development
SynapseIndia asp.net2.0 ajax DevelopmentSynapseIndia asp.net2.0 ajax Development
SynapseIndia asp.net2.0 ajax Development
Synapseindiappsdevelopment
 
Asp
AspAsp
Asp
Kundan Kumar Pandey
 
Word on the Server
Word on the ServerWord on the Server
Word on the Server
Mohamed Yehia Abdul Kader
 
ASP
ASPASP
ASP
Ramasubbu .P
 
Single page apps_with_cf_and_angular[1]
Single page apps_with_cf_and_angular[1]Single page apps_with_cf_and_angular[1]
Single page apps_with_cf_and_angular[1]
ColdFusionConference
 
SharePoint 2010 Upgrade Drill Down
SharePoint 2010 Upgrade Drill DownSharePoint 2010 Upgrade Drill Down
SharePoint 2010 Upgrade Drill Down
Joel Oleson
 
Migrando una app de angular.js a Blazor
Migrando una app de angular.js a BlazorMigrando una app de angular.js a Blazor
Migrando una app de angular.js a Blazor
Miguel Angel Teheran Garcia
 
Asp dot net final (2)
Asp dot net   final (2)Asp dot net   final (2)
Asp dot net final (2)
Amelina Ahmeti
 
Asp Net Advance Topics
Asp Net Advance TopicsAsp Net Advance Topics
Asp Net Advance Topics
Ali Taki
 
Asp .net folders and web.config
Asp .net folders and web.configAsp .net folders and web.config
Asp .net folders and web.config
baabtra.com - No. 1 supplier of quality freshers
 
Developing an aspnet web application
Developing an aspnet web applicationDeveloping an aspnet web application
Developing an aspnet web application
Rahul Bansal
 
Harish Understanding Aspnet
Harish Understanding AspnetHarish Understanding Aspnet
Harish Understanding Aspnet
rsnarayanan
 
Usability AJAX and other ASP.NET Features
Usability AJAX and other ASP.NET FeaturesUsability AJAX and other ASP.NET Features
Usability AJAX and other ASP.NET Features
Peter Gfader
 
ASP.NET Lecture 1
ASP.NET Lecture 1ASP.NET Lecture 1
ASP.NET Lecture 1
Julie Iskander
 
Web api
Web apiWeb api
Web api
Sudhakar Sharma
 
Integrating SharePoint 2010 and Visual Studio Lightswitch
Integrating SharePoint 2010 and Visual Studio LightswitchIntegrating SharePoint 2010 and Visual Studio Lightswitch
Integrating SharePoint 2010 and Visual Studio Lightswitch
Rob Windsor
 
[Wilen] Enriching conversations with your data in Microsoft Teams
[Wilen] Enriching conversations with your data in Microsoft Teams[Wilen] Enriching conversations with your data in Microsoft Teams
[Wilen] Enriching conversations with your data in Microsoft Teams
European Collaboration Summit
 
Building ColdFusion And AngularJS Applications
Building ColdFusion And AngularJS ApplicationsBuilding ColdFusion And AngularJS Applications
Building ColdFusion And AngularJS Applications
ColdFusionConference
 
Introduction to ASP.NET
Introduction to ASP.NETIntroduction to ASP.NET
Introduction to ASP.NET
Peter Gfader
 
Single page apps_with_cf_and_angular[1]
Single page apps_with_cf_and_angular[1]Single page apps_with_cf_and_angular[1]
Single page apps_with_cf_and_angular[1]
ColdFusionConference
 
SharePoint 2010 Upgrade Drill Down
SharePoint 2010 Upgrade Drill DownSharePoint 2010 Upgrade Drill Down
SharePoint 2010 Upgrade Drill Down
Joel Oleson
 
Asp Net Advance Topics
Asp Net Advance TopicsAsp Net Advance Topics
Asp Net Advance Topics
Ali Taki
 
Developing an aspnet web application
Developing an aspnet web applicationDeveloping an aspnet web application
Developing an aspnet web application
Rahul Bansal
 
Harish Understanding Aspnet
Harish Understanding AspnetHarish Understanding Aspnet
Harish Understanding Aspnet
rsnarayanan
 
Usability AJAX and other ASP.NET Features
Usability AJAX and other ASP.NET FeaturesUsability AJAX and other ASP.NET Features
Usability AJAX and other ASP.NET Features
Peter Gfader
 
Integrating SharePoint 2010 and Visual Studio Lightswitch
Integrating SharePoint 2010 and Visual Studio LightswitchIntegrating SharePoint 2010 and Visual Studio Lightswitch
Integrating SharePoint 2010 and Visual Studio Lightswitch
Rob Windsor
 
[Wilen] Enriching conversations with your data in Microsoft Teams
[Wilen] Enriching conversations with your data in Microsoft Teams[Wilen] Enriching conversations with your data in Microsoft Teams
[Wilen] Enriching conversations with your data in Microsoft Teams
European Collaboration Summit
 
Building ColdFusion And AngularJS Applications
Building ColdFusion And AngularJS ApplicationsBuilding ColdFusion And AngularJS Applications
Building ColdFusion And AngularJS Applications
ColdFusionConference
 
Introduction to ASP.NET
Introduction to ASP.NETIntroduction to ASP.NET
Introduction to ASP.NET
Peter Gfader
 

Similar to All About Asp Net 4 0 Hosam Kamel (20)

Windows Server 2008 - Web and Application Hosting
Windows Server 2008 - Web and Application HostingWindows Server 2008 - Web and Application Hosting
Windows Server 2008 - Web and Application Hosting
Information Technology
 
Teched Middle East New World of SharePoint 2010 Administration with Joel Oles...
Teched Middle East New World of SharePoint 2010 Administration with Joel Oles...Teched Middle East New World of SharePoint 2010 Administration with Joel Oles...
Teched Middle East New World of SharePoint 2010 Administration with Joel Oles...
Joel Oleson
 
Share point 2010 overview
Share point 2010 overviewShare point 2010 overview
Share point 2010 overview
Cognizant Technology Solutions
 
Whats New In Mashup Center V1.1 Final
Whats New In Mashup Center V1.1 FinalWhats New In Mashup Center V1.1 Final
Whats New In Mashup Center V1.1 Final
ncarrier
 
Using WebServices with Vertex
Using WebServices with Vertex Using WebServices with Vertex
Using WebServices with Vertex
Donald Fernandes
 
Iis it-slideshares.blogspot.com
Iis it-slideshares.blogspot.comIis it-slideshares.blogspot.com
Iis it-slideshares.blogspot.com
phanleson
 
IBM WebSphere Portal 6.1 Preview - What's New
IBM WebSphere Portal 6.1 Preview - What's NewIBM WebSphere Portal 6.1 Preview - What's New
IBM WebSphere Portal 6.1 Preview - What's New
Dvir Reznik
 
Case study for share point implementation for social intranet
Case study for share point implementation for social intranetCase study for share point implementation for social intranet
Case study for share point implementation for social intranet
Grey Matter India Technologies PVT LTD
 
JOB PORTALProject SummaryTitle JOB-PORT.docx
JOB PORTALProject SummaryTitle    JOB-PORT.docxJOB PORTALProject SummaryTitle    JOB-PORT.docx
JOB PORTALProject SummaryTitle JOB-PORT.docx
christiandean12115
 
CTU June 2011 - Things that Every ASP.NET Developer Should Know
CTU June 2011 - Things that Every ASP.NET Developer Should KnowCTU June 2011 - Things that Every ASP.NET Developer Should Know
CTU June 2011 - Things that Every ASP.NET Developer Should Know
Spiffy
 
IBM WebSphere Portal
IBM WebSphere PortalIBM WebSphere Portal
IBM WebSphere Portal
Vincent Perrin
 
Make Web, Not War - Installfest: Extend Your Web Server, Rodney Buike
Make Web, Not War - Installfest: Extend Your Web Server, Rodney BuikeMake Web, Not War - Installfest: Extend Your Web Server, Rodney Buike
Make Web, Not War - Installfest: Extend Your Web Server, Rodney Buike
Make Web Not War
 
Resume
ResumeResume
Resume
Saiprakash Revuri
 
Road Show Asp Net
Road Show Asp NetRoad Show Asp Net
Road Show Asp Net
Shihabudheen Web Developer
 
Chris givens building custom service applications
Chris givens building custom service applicationsChris givens building custom service applications
Chris givens building custom service applications
Chris Givens
 
5. iED Cloud Services.pdf
5. iED Cloud Services.pdf5. iED Cloud Services.pdf
5. iED Cloud Services.pdf
ssuser905b17
 
Architecting Solutions Leveraging The Cloud
Architecting Solutions Leveraging The CloudArchitecting Solutions Leveraging The Cloud
Architecting Solutions Leveraging The Cloud
David Chou
 
SharePoint Performance Optimization In 10 Steps for the IT Professional
SharePoint Performance Optimization In 10 Steps for the IT ProfessionalSharePoint Performance Optimization In 10 Steps for the IT Professional
SharePoint Performance Optimization In 10 Steps for the IT Professional
Joel Oleson
 
Preparing for Upgrade to SharePoint 2010 with Joel Oleson Quest Software Webcast
Preparing for Upgrade to SharePoint 2010 with Joel Oleson Quest Software WebcastPreparing for Upgrade to SharePoint 2010 with Joel Oleson Quest Software Webcast
Preparing for Upgrade to SharePoint 2010 with Joel Oleson Quest Software Webcast
Joel Oleson
 
PHP Enhancement with Windows Server 2008
PHP Enhancement with Windows Server 2008PHP Enhancement with Windows Server 2008
PHP Enhancement with Windows Server 2008
Krit Kamtuo
 
Windows Server 2008 - Web and Application Hosting
Windows Server 2008 - Web and Application HostingWindows Server 2008 - Web and Application Hosting
Windows Server 2008 - Web and Application Hosting
Information Technology
 
Teched Middle East New World of SharePoint 2010 Administration with Joel Oles...
Teched Middle East New World of SharePoint 2010 Administration with Joel Oles...Teched Middle East New World of SharePoint 2010 Administration with Joel Oles...
Teched Middle East New World of SharePoint 2010 Administration with Joel Oles...
Joel Oleson
 
Whats New In Mashup Center V1.1 Final
Whats New In Mashup Center V1.1 FinalWhats New In Mashup Center V1.1 Final
Whats New In Mashup Center V1.1 Final
ncarrier
 
Using WebServices with Vertex
Using WebServices with Vertex Using WebServices with Vertex
Using WebServices with Vertex
Donald Fernandes
 
Iis it-slideshares.blogspot.com
Iis it-slideshares.blogspot.comIis it-slideshares.blogspot.com
Iis it-slideshares.blogspot.com
phanleson
 
IBM WebSphere Portal 6.1 Preview - What's New
IBM WebSphere Portal 6.1 Preview - What's NewIBM WebSphere Portal 6.1 Preview - What's New
IBM WebSphere Portal 6.1 Preview - What's New
Dvir Reznik
 
JOB PORTALProject SummaryTitle JOB-PORT.docx
JOB PORTALProject SummaryTitle    JOB-PORT.docxJOB PORTALProject SummaryTitle    JOB-PORT.docx
JOB PORTALProject SummaryTitle JOB-PORT.docx
christiandean12115
 
CTU June 2011 - Things that Every ASP.NET Developer Should Know
CTU June 2011 - Things that Every ASP.NET Developer Should KnowCTU June 2011 - Things that Every ASP.NET Developer Should Know
CTU June 2011 - Things that Every ASP.NET Developer Should Know
Spiffy
 
Make Web, Not War - Installfest: Extend Your Web Server, Rodney Buike
Make Web, Not War - Installfest: Extend Your Web Server, Rodney BuikeMake Web, Not War - Installfest: Extend Your Web Server, Rodney Buike
Make Web, Not War - Installfest: Extend Your Web Server, Rodney Buike
Make Web Not War
 
Chris givens building custom service applications
Chris givens building custom service applicationsChris givens building custom service applications
Chris givens building custom service applications
Chris Givens
 
5. iED Cloud Services.pdf
5. iED Cloud Services.pdf5. iED Cloud Services.pdf
5. iED Cloud Services.pdf
ssuser905b17
 
Architecting Solutions Leveraging The Cloud
Architecting Solutions Leveraging The CloudArchitecting Solutions Leveraging The Cloud
Architecting Solutions Leveraging The Cloud
David Chou
 
SharePoint Performance Optimization In 10 Steps for the IT Professional
SharePoint Performance Optimization In 10 Steps for the IT ProfessionalSharePoint Performance Optimization In 10 Steps for the IT Professional
SharePoint Performance Optimization In 10 Steps for the IT Professional
Joel Oleson
 
Preparing for Upgrade to SharePoint 2010 with Joel Oleson Quest Software Webcast
Preparing for Upgrade to SharePoint 2010 with Joel Oleson Quest Software WebcastPreparing for Upgrade to SharePoint 2010 with Joel Oleson Quest Software Webcast
Preparing for Upgrade to SharePoint 2010 with Joel Oleson Quest Software Webcast
Joel Oleson
 
PHP Enhancement with Windows Server 2008
PHP Enhancement with Windows Server 2008PHP Enhancement with Windows Server 2008
PHP Enhancement with Windows Server 2008
Krit Kamtuo
 
Ad

Recently uploaded (20)

Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
 
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
BookNet Canada
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
Drupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy ConsumptionDrupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy Consumption
Exove
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
 
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
BookNet Canada
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
Drupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy ConsumptionDrupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy Consumption
Exove
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
Ad

All About Asp Net 4 0 Hosam Kamel

  • 1. All About ASP.NET 4.0HosamKamelSenior Software EngineerESRI Northeast Africa@HosamKamelhttp://Weblogs.asp.net/HosamKamel1
  • 2. AgendaOverviewCore ServicesNew Features in the Microsoft Ajax LibraryWeb FormsDynamic DataVisual Studio 2010 Web Designer ImprovementsWeb Application Deployment with Visual Studio 2010Q and A2
  • 4. Core Service – Web.Config File MinificationWeb.config (Past)Contains all the configuration for a Web application.Grown considerably over the past few releases of the .NET Framework as new features have been added, such as AJAX, routing, and integration with IIS 7This has made it harder to configure or start new Web applications without a tool like Visual StudioWeb.config ( .NET Framework 4)The major configuration elements have been moved to the machine.config file.The web applications now inherit these settings.4
  • 5. Core Service – Extensible Output CachingOld Caching mechanismIn memory Heavy trafficMemory consumed by output caching can compete with memory demands from other portions of a Web application.Custom output-cache providers.Output-cache providers can use any storage mechanism to persist HTML content5
  • 6. Core Service – Auto-Start Web ApplicationsApplication_LoadAuto-StartASP.NET 4 runs on IIS 7.5 on Windows Server 2008 R2Starting up an application pool, initializing an ASP.NET application, and then accepting HTTP request6
  • 7. Core Service – Permanently Redirecting a PageResponse.RedirectHTTP 302 Found (temporary redirect) response.An extra HTTP round trip when users attempt to access the old URLsRedirectPermanent Issue HTTP 301 Moved Permanently responses.Search engines and other user agents that recognize permanent redirects will store the new URL that is associated with the content, which eliminates the unnecessary round trip made by the browser for temporary redirects.7
  • 8. Core Service – The Incredible Shrinking Session StateDepending on how much information a developer saves in session state, the size of the serialized data can grow quite large.compressionEnabled="true“!8
  • 9. Core Service – Expanding the Range of Allowable URLsURL path lengths to 260 characters.(based on the NTFS file-path limit)To allow longer or shorter paths (the portion of the URL that does not include protocol, server name, and query string)maxRequestPathLength=“260”To allow longer or shorter query stringsmaxQueryStringLength="2048" 9
  • 10. Core Service – Multi-Targeting<compilation targetFramework="4.0"/> 10
  • 12. Web Forms– Meta TagsMetaKeywords MetaDescriptionYou can set these properties at run time.12
  • 13. Web Forms– Enabling View State for Individual ControlsViewStateMode property.Enabled, Disabled, and Inherit13
  • 14. Web Forms – Changes to Browser CapabilitiesHttpBrowserCapabilitiesASP.NET 4, these browser definition files have been updatedblackberry.browser - chrome.browserDefault.browser - firefox.browsergateway.browser - generic.browserie.browser - iemobile.browseriphone.browser - opera.browsersafari.browser14
  • 15. Web Forms – RoutingASP.NET 4 adds built-in support for using routing with Web Forms.Routing lets you configure an application to accept request URLs that do not map to physical files.http://website/products.aspx?categoryid=12 OR http://website/products/software15
  • 16. Web Forms – Client IDsThe id attribute in HTML that is rendered for Web server controls is generated based on the ClientID property of the controlctl00_MasterPageBody_ctl01_Textbox1ClientIDMode AutoIDStatic Predictable Inherit 16
  • 17. Web Forms – ASP.NET Chart Control35 distinct chart types.An unlimited number of chart areas, titles, legends, and annotations.A wide variety of appearance settings for all chart elements.3-D support for most chart types.Smart data labels that can automatically fit around data points.Strip lines, scale breaks, and logarithmic scaling.More than 50 financial and statistical formulas for data analysis and transformation.Simple binding and manipulation of chart data.Support for common data formats, such as dates, times, and currency.Support for interactivity and event-driven customization, including client click events using Ajax.State management.Binary streaming.17
  • 18. Web Forms – Project Template ChangesEmpty Web SiteEmpty web application18
  • 19. Web Forms – CSS ImprovementscontrolRenderingCompatibilityVersion "3.5". "4.0".Disabling ControlsHiding div Elements Around Hidden Fields19
  • 20. Web Forms – Project Template ChangesEmpty Web SiteEmpty web application20
  • 21. Web Application Deployment with Visual Studio 2010
  • 22. IssuesDeploying to a shared hosting site.In an enterprise environment.Web deployment features in Visual Studio 2010 include the following major areas:Web packaging Web.config TransformationDatabase deploymentOne-Click Publish for Web applications22
  • 23. Web PackagingIIS Web Deployment Tool (MsDeploy.exe). Zip file + meta dataIIS settings, which includes application pool settings, error page settings, and so on.The actual Web content, which includes Web pages, user controls, static content (images and HTML files), and so on.SQL Server database schemas and data.Security certificates, components to install in the GAC, registry settings, and so on.23
  • 24. Web.config TransformationTransform a Web.config file from development settings to production settings24
  • 25. Database DeploymentA Visual Studio 2010 deployment package can include dependencies on SQL Server databases. 25
  • 26. One-Click Publish for Web ApplicationsIIS remote management service to publish a Web application to a remote server 26