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!

More Related Content

PPT
ASP.NET 4.0 Roadmap
PDF
ASP.NET Overview - Alvin Lau
PPT
New Features Of ASP.Net 4 0
PPTX
New Features of ASP.NET 4.0
PPT
Microsoft Azure
PPT
Introduction to the Client OM in SharePoint 2010
PPTX
New microsoft office power point presentation
PPTX
Web forms in ASP.net
ASP.NET 4.0 Roadmap
ASP.NET Overview - Alvin Lau
New Features Of ASP.Net 4 0
New Features of ASP.NET 4.0
Microsoft Azure
Introduction to the Client OM in SharePoint 2010
New microsoft office power point presentation
Web forms in ASP.net

What's hot (20)

DOC
Tutorial asp.net
PPT
SynapseIndia asp.net2.0 ajax Development
PPTX
Word on the Server
PPT
PPTX
Single page apps_with_cf_and_angular[1]
PPTX
SharePoint 2010 Upgrade Drill Down
PPTX
Migrando una app de angular.js a Blazor
PDF
Asp dot net final (2)
PPTX
Asp Net Advance Topics
PPTX
Asp .net folders and web.config
PPTX
Developing an aspnet web application
PPTX
Harish Understanding Aspnet
PPTX
Usability AJAX and other ASP.NET Features
PPTX
ASP.NET Lecture 1
PPTX
PPTX
Integrating SharePoint 2010 and Visual Studio Lightswitch
PPTX
[Wilen] Enriching conversations with your data in Microsoft Teams
PPTX
Building ColdFusion And AngularJS Applications
PPTX
Introduction to ASP.NET
Tutorial asp.net
SynapseIndia asp.net2.0 ajax Development
Word on the Server
Single page apps_with_cf_and_angular[1]
SharePoint 2010 Upgrade Drill Down
Migrando una app de angular.js a Blazor
Asp dot net final (2)
Asp Net Advance Topics
Asp .net folders and web.config
Developing an aspnet web application
Harish Understanding Aspnet
Usability AJAX and other ASP.NET Features
ASP.NET Lecture 1
Integrating SharePoint 2010 and Visual Studio Lightswitch
[Wilen] Enriching conversations with your data in Microsoft Teams
Building ColdFusion And AngularJS Applications
Introduction to ASP.NET
Ad

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

PPT
ASP.NET 4.0 Demo
PPTX
What’s New in ASP.NET 4
PPT
Net Framework Hima
PPT
ASPNET Roadmap
PPTX
Web changesandasp4 upload
PPTX
Vs2010 Aspnet MSP Bootcamp_MVP Ngan Seok Chern
PPT
Aspnet40 session final-1
PPT
Migrating To Visual Studio 2008 & .Net Framework 3.5
PDF
Vs2010 Apiit Mix On Campus_Ngan Seok Chern
PDF
ASP NET 4 0 in Practice Daniele Bochicchio
PPTX
Aspnet 4 new features
PPTX
Whats new in ASP.NET 4.0
PDF
ASP NET 4 0 in Practice Daniele Bochicchio
PDF
ASP NET 4 0 in Practice Daniele Bochicchio
PPT
Migrating To Visual Studio 2008 & .Net Framework 3.5
PPT
Web 2.0 Tech Talk
PPTX
Intro to VS 2010 & .Net 4.0
PPT
Microsoft Tech Ed 2006 #2
PDF
Programming ASP NET MVC 4 Developing Real World Web Applications with ASP NET...
PPTX
Walther Aspnet4
ASP.NET 4.0 Demo
What’s New in ASP.NET 4
Net Framework Hima
ASPNET Roadmap
Web changesandasp4 upload
Vs2010 Aspnet MSP Bootcamp_MVP Ngan Seok Chern
Aspnet40 session final-1
Migrating To Visual Studio 2008 & .Net Framework 3.5
Vs2010 Apiit Mix On Campus_Ngan Seok Chern
ASP NET 4 0 in Practice Daniele Bochicchio
Aspnet 4 new features
Whats new in ASP.NET 4.0
ASP NET 4 0 in Practice Daniele Bochicchio
ASP NET 4 0 in Practice Daniele Bochicchio
Migrating To Visual Studio 2008 & .Net Framework 3.5
Web 2.0 Tech Talk
Intro to VS 2010 & .Net 4.0
Microsoft Tech Ed 2006 #2
Programming ASP NET MVC 4 Developing Real World Web Applications with ASP NET...
Walther Aspnet4
Ad

Recently uploaded (20)

PPTX
Build Your First AI Agent with UiPath.pptx
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PPTX
2018-HIPAA-Renewal-Training for executives
PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
PDF
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
Five Habits of High-Impact Board Members
PDF
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PPTX
Modernising the Digital Integration Hub
PDF
STKI Israel Market Study 2025 version august
PDF
Comparative analysis of machine learning models for fake news detection in so...
PDF
Getting started with AI Agents and Multi-Agent Systems
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
1 - Historical Antecedents, Social Consideration.pdf
PPT
What is a Computer? Input Devices /output devices
PPTX
Microsoft Excel 365/2024 Beginner's training
PDF
Architecture types and enterprise applications.pdf
PDF
Flame analysis and combustion estimation using large language and vision assi...
Build Your First AI Agent with UiPath.pptx
A contest of sentiment analysis: k-nearest neighbor versus neural network
2018-HIPAA-Renewal-Training for executives
Convolutional neural network based encoder-decoder for efficient real-time ob...
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
Zenith AI: Advanced Artificial Intelligence
Five Habits of High-Impact Board Members
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
Module 1.ppt Iot fundamentals and Architecture
NewMind AI Weekly Chronicles – August ’25 Week III
Modernising the Digital Integration Hub
STKI Israel Market Study 2025 version august
Comparative analysis of machine learning models for fake news detection in so...
Getting started with AI Agents and Multi-Agent Systems
Developing a website for English-speaking practice to English as a foreign la...
1 - Historical Antecedents, Social Consideration.pdf
What is a Computer? Input Devices /output devices
Microsoft Excel 365/2024 Beginner's training
Architecture types and enterprise applications.pdf
Flame analysis and combustion estimation using large language and vision assi...

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