Hanselminutes on 9 - ASP.NET 4 and the new ObjectCache with Stefan
- Posted: Oct 21, 2009 at 12:07 AM
- 8,565 Views
- 3 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
It's time for a pile of "Hanselminutes on 9" Episodes, Dear Reader! Recently, I spent a day wandering around building 42 trying to dig up the scoop on Visual Studio 2010 and ASP.NET 4. In this episode, I'm verbally abused by Stefan Schackow and during his tirades he schools me on the new System.Runtime.Caching namespace and ObjectCache. This newly factored namespace lets you use caching features outside of System.Web, as well as derive new kinds of caches.
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
"This newly factored namespace lets you use caching features outside of System.Web, as well as derive new kinds of caches."
Nice, although you could already use the System.Web cache outside of web applications (e.g. Console, WinForms, WPF), which many devs don't realize.
Well exactly, how do we realize that System.Web cache can be used outside of web app? I think it is in these areas that Microsoft should provide more help and samples along with all possible use cases.
In the video Stefan says HostFileChangeNotifier can use windows API for file monitoring if it is running from win/console app and use the asp.net specific monitor if it is running inside a web app. If I am a authoring a class librabry how do I detect if I am running inside a web host or windows host and do different things?
Can you share any sample code?
Thanks
Shreedhar
Remove this comment
Remove this thread
close