Hanselminutes on 9 - ASP.NET 4 and the new ObjectCache with Stefan
- Posted: Oct 21, 2009 at 12:07 AM
- 8,328 Views
- 3 Comments
Download
How do I download the videos?
- To download, right click the file type you would like and pick “Save target as…” or “Save link as…”
Why should I download videos from Channel9?
- It's an easy way to save the videos you like locally.
- You can save the videos in order to watch them offline.
- If all you want is to hear the audio, you can download the MP3!
Which version should I choose?
- If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available).
- If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.
- If you have a Zune, WP7, iPhone, iPad, or iPod device, choose the low or medium MP4 file.
- If you just want to hear the audio of the video, choose the MP3 file.
Right click “Save as…”
- High Quality WMV (PC, Xbox, MCE)
- MP3 (Audio only)
- MP4 (iPod, Zune HD)
- Mid Quality WMV (Lo-band, Mobile)
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 Closed
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
"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