Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Hanselminutes on 9 - ASP.NET 4 and the new ObjectCache with Stefan

Download

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.

Tags:

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.

  • Shreedhar KotekarShreedhar Shree

    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.

  • Shreedhar KotekarShreedhar Shree

    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

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.