Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Caching / January 2006

Tip: Looking for answers? Try searching our database.

Caching scenario suggestions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
npverni@gmail.com - 19 Jan 2006 15:41 GMT
I have a navigation bar user control that is very expensive to create
from the database.  This toolbar will only change when the user
navigates to a different section (there are three in total).  What I
would like to do is cache the toolbar while the user is in a current
section, and only load it again when they change sections.  Or , if I
could somehow cache all three on the initial page load and then
programatically load the desired one from the cache that would also
work.  Any suggestions?

Also, the way the application is setup - the current section is not
stored in the querystring, rather the navigation controls discover the
section recursively from their parent pages.

Thanks
Alvin Bruney - ASP.NET MVP - 24 Jan 2006 21:54 GMT
create the toolbar in the application object and store it there. when you
need it, pull it out of the application object

Signature

Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------

> I have a navigation bar user control that is very expensive to create
> from the database.  This toolbar will only change when the user
[quoted text clipped - 10 lines]
>
> Thanks

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.