Virtual techdays INDIA │ 9-11 February 2011 Caching Enhancement in ASP.NET 4.0 Abhijit Jana │ Consultant, Microsoft

Slides:



Advertisements
Similar presentations
Microsoft SharePoint 2010 technology for Developers
Advertisements

Turners SharePoint Web Site How we did it. 2 Page Anatomy Custom Search Web Part Custom Search Web Part Data Form Web Parts Content Query Web Part HTML.
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 1.1 of…
Wade Wegner Windows Azure Technical Evangelist Microsoft Corporation Windows Azure AppFabric Caching.
Multiple Tiers in Action
Implementing ISA Server Caching. Caching Overview ISA Server supports caching as a way to improve the speed of retrieving information from the Internet.
Internet Information Server (IIS)
Microsoft SQL Server 2000 Reporting Services ( 주 ) 아이티즌 서정만 선임연구원
Virtual techdays INDIA │ November 2010 ASP.Net MVC Deep Dive Sundararajan S │ Associate Tech Architect, Aditi Technologies.
Virtual techdays INDIA │ august 2010 Building ASP.NET applications using SQL Server Compact Chaitanya Solapurkar │ Partner Technical Consultant,
 Mark Friedman Architect Developer Division Microsoft Corporation.
Virtual techdays INDIA │ august 2010 UNDERSTANDING OFFICE WEB APPS Vedant Kulshreshtha │ TSP – Collaboration Platform Microsoft India.
Christopher M. Pascucci Basic Structural Concepts of.NET Browser – Server Interaction.
ASP.NET 4.0 Web Developers User Group Israel June 2009.
WSS 3.0 Architecture and Enhancements Ashvini Shahane Member – Synergetics Research Lab.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Module 11 : Backup and Restore Jong S. Bok
An Introduction to ASP.NET Ed Dunhill blogs.msdn.com/edunhill SLIDE7.
ASP.NET + Ajax Jesper Tørresø ITNET2 F08. Ajax Ajax (Asynchronous JavaScript and XML) A group of interrelated web development techniques used for creating.
ASP.NET  ASP.NET is a web development platform, which provides a programming model, a comprehensive software infrastructure and various services required.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
Virtual techdays INDIA │ Nov 2010 Developing Office Biz Application using WPF on Windows 7 Sarang Datye │ Sr. Consultant, Microsoft Sridhar Poduri.
DEV402 Extending the ASP.NET Runtime Jurgen Postelmans Microsoft Regional Director BeLux U2U.
The Web Architecture and ASP.NET. Slide 2 Review of the Web (1) It began with HTTP and HTML, which delivers static Web pages to browsers which would render.
Murach’s ASP.NET 4.0/VB, C1© 2006, Mike Murach & Associates, Inc.Slide 1.
SharePoint 2010 Search Architecture The Connector Framework Enhancing the Search User Interface Creating Custom Ranking Models.
Module 4 : Installation Jong S. Bok
Sage ACT! 2013 SDK Update Brian P. Mowka March 23, 2012 Template date: October 2010.
Caching Chapter 12. Caching For high-performance apps Caching: storing frequently-used items in memory –Accessed more quickly Cached Web Form bypasses:
Are you getting the benefits from ASP.NET and AJAX? Introduction to the CTC ASP.NET Webforms Generator.
Overview of Previous Lesson(s) Over View  SDI programs  The Application Wizard can generate single-document interface (SDI) applications that work.
ASP.NET 2.0 Caching Techniques + Ajax Overview Rahul Deshmukh CIS 764 – Database Design.
ASP.NET Caching - Pradeepa Chandramohan. What is Caching? Storing data in memory for quick access. In Web Application environment, data that is cached.
Chandrika Shankarnarayan Senior Program Manager Microsoft Corporation SESSION CODE: ASI301.
Virtual techdays INDIA │ November 2010 AppFabric Cache Jatin Kakkar │ Sr. Program Manager, AppFabric.
Web Architecture Introduction
VITALE, CATURANO & COMPANY LTD Microsoft SharePoint Web Part Development Overview VITALE, CATURANO & COMPANY LTD SharePoint Developer Series – Web Part.
Caching for Performance Jeff Tapper Tapper.net Consulting.
ASP.NET in Definition: 1.ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites,
CSI 3125, Preliminaries, page 1 SERVLET. CSI 3125, Preliminaries, page 2 SERVLET A servlet is a server-side software program, written in Java code, that.
ASP.NET User Controls. User Controls In addition to using Web server controls in your ASP.NET Web pages, you can create your own custom, reusable controls.
DEV395 No Touch Deployment for Windows Forms Jamie Cool Program Manager.NET Client Microsoft Corporation.
MICROSOFT ONENOTE ADVANCED MODULE 1 EXPLORE ONENOTE 2010  Navigate in the OneNote program window  Work in the OneNote program window  Explore.
Extending SharePoint through Web Parts and ASP.NET 최승현 대리 한국마이크로소프트.
MGT305 - Application Management in Private and Public Clouds Sean Christensen Senior Product Marketing Manager Microsoft Corporation MGT305.
1111 Creating HTML Programatically Objectives You will be able to Invoke C# code on the server from an ASP.NET page. Write C# code to create HTML.
Building Custom Controls with ASP.NET and the Microsoft ®.NET Framework Rames Gantanant Microsoft Regional Director, Thailand
05 | Integrating JavaScript and MVC 4 Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek.
1 ASP.NET Internals
Navigation Framework using CF Architecture for a Client-Server Application using the open standards of the Web presented by Kedar Desai Differential Technologies,
Building web applications with the Windows Azure Platform Ido Flatow | Senior Architect | Sela | This session.
Alexey Polovinkin Post graduate student, CMC department.
The best of WF 4.0 and AppFabric Damir Dobric MVP-Connected System Developer Microsoft Connected System Division Advisor Visual Studio Inner Circle member.
 Cloud Computing technology basics Platform Evolution Advantages  Microsoft Windows Azure technology basics Windows Azure – A Lap around the platform.
//liveVirtualacademy2011/ What’s New for ASP.NET 4.5 and Web Development in Visual Studio 11 Developer Preview Γιώργος Καπνιάς MVP, MCT, MCDP, MCDBA, MCTS,
Building More Powerful ASP.NET Applications with IIS7 Michael Volodarsky COM303 Program Manager Microsoft Corporation.
Deploying Web Application
Developing GIS WebParts in SharePoint
Implementing ArcGIS on Azure/Cloud Builder 10.4
Microsoft Build /11/2018 2:12 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
ASP.NET Module Subtitle.
Objectives In this lesson you will learn about: Need for servlets
ASP.NET 4 Core Runtime for Web Developers
ASP.NET 4.0 State Management Improvements – Deep Dive
virtual techdays INDIA │ November 2010
ASP.NET Imran Rashid CTO at ManiWeber Technologies.
Caching.
Microsoft Dynamics.
06 | SQL Server and the Cloud
Presentation transcript:

virtual techdays INDIA │ 9-11 February 2011 Caching Enhancement in ASP.NET 4.0 Abhijit Jana │ Consultant, Microsoft

 ASP.NET Caching Quick Tour  Data / Object Caching  Output Caching  Page Caching  Fragment Caching  New Object Caching Option  System.Runtime.Caching  Output Cache Provider in ASP.NET 4.0  Internals of Output Cache Provider  Creating Custom Cache Providers  Limitation  Selecting Cache Provider on the fly virtual techdays INDIA │ 9-11 February 2011 S E S S I O N A G E N D A

 Caching is a technique where frequently used data and Web pages can stored temporarily.  It’s a great feature that reduces network latency and  It can improve application's performance considerably.  ASP.NET Caching  Data / Object Caching  Output Caching  Page Output Caching  Fragment Caching virtual techdays INDIA │ 9-11 February 2011 ASP.NET Caching Quick Tour Basic of ASP.NET Caching

 ASP.NET Caching is Implemented as HTTPModule  Cache Module Listens to all the incoming Request  OutputCacheModule listens to ResolveRquestCache and UpdateRequestCache  Based on the events modules returns the Cached HTML content or moving forward to Page Handler  Cache can have Dependencies  File based dependencies  Time Based dependencies virtual techdays INDIA │ 9-11 February 2011 ASP.NET Caching Quick Tour BeginRequest Event AuthenticateRequest Event AuthorizeRequest Event ResolveRequestCache Event Map Request Handler AcquireRequestState Event

virtual techdays INDIA │ │ 9-11 February 2011 ASP.NET Data – Object Caching Request For Information Cached Data

virtual techdays INDIA │ │ 9-11 February 2011 New Object Caching API in ASP.NET 4.0  ASP.NET in-memory object cache (System.Web.Caching.Cache) with help of System.Web.dll  Same Cache Object Can be used for Win Forms, WPF based application with reference of System.Web.dll .NET Framework 4 introduces a new assembly System.Runtime.Caching.dll  The Assembly contains a new caching API in the System.Runtime.Caching namespace.  The new API mainly based on concrete in-memory object cache implementation (System.Runtime.Caching.MemoryCache class).  Win forms, WPF based application can use Caching with just help of System.Runtime.Caching.dll. So, no need to load System.web.dll for non web applications.

virtual techdays INDIA │ November 2010 DEMO: New Object Caching API in ASP.NET 4.0 Abhijit Jana │ Consultant, Microsoft

virtual techdays INDIA │ │ 9-11 February 2011 ASP.NET Output Caching  Caches rendered markup of an ASP.NET page  Caches Complete Rendered Markup  Caches Partial Markup  Caching Substitution  Output caching can be configured based on duration, params  Cached version of the page can be sent in response without running the page MSIL

virtual techdays INDIA │ │ 9-11 February 2011 ASP.NET Output Caching Continue… ASPX Content Cached Content Web Server Clients Request Response Request Response

virtual techdays INDIA │ │ 9-11 February 2011 ASP.NET Output Caching – Deep Dive ASPX Page Handler ASP.NET Page ASP.NET Engine Page Class Instance Cached Version 1.Full Page Cache 2.Partial Page Cache 1.Full Page Cache 2.Partial Page Cache

virtual techdays INDIA │ │ 9-11 February 2011 ASP.NET Custom Output Cache Provider Cache Provider  Output Caches Stored In Memory  Extending ASP.NET Output Caching  Custom Cache Provider  Implements OutputCacheProvider  Add(), Get(), Remove(), Set()  Can be store File System, DB, In Memory, Cloud

virtual techdays INDIA │ November 2010 DEMO: Creating Custom Output Cache Provider Abhijit Jana │ Consultant, Microsoft

virtual techdays INDIA │ │ 9-11 February 2011 Limitations  Supported File dependencies but no custom dependencies.  Custom Cache providers only supports Absolute expiration. There is no supports for sliding expiration.

virtual techdays INDIA │ │ 9-11 February 2011 Selecting Cache Provider On the Fly  If you have multiple Cache Provider you can select any of the at runtime based on your requirements.  Can set default Provider. Disk Cache Provider Database Cache Provider In Memory Cache ( Default Provider ) Get Cache Provider

virtual techdays INDIA │ November 2010 DEMO: Dynamically Output Cache Provider Selection Abhijit Jana │ Consultant, Microsoft

virtual techdays INDIA │ │ 9-11 February 2011 Summarize  Caching is a technique where frequently used data and Web pages can stored temporarily.  ASP.NET having Data Caching and Output Caching with Cache Dependency .NET 4.0 Introduce new Object Caching for ASP.NET 4.0  Using System.Runtime.Caching  Internal of Output Caching in ASP.NET  Creating Custom Cache Provider using OutputCacheProvider  Select Cache Provider on the Fly

virtual techdays INDIA │ 9-11 February 2011 Resource  Microsoft ASP.NET 4 Core Runtime for Web Developers Microsoft ASP.NET 4 Core Runtime for Web Developers  Scaling Your Data Tier with Windows Server AppFabric Scaling Your Data Tier with Windows Server AppFabric   us/library/system.runtime.caching.memorycache.aspx us/library/system.runtime.caching.memorycache.aspx

virtual techdays THANKS │ 9-11 February 2011 │ Thank You