Click here to Skip to main content
15,507,266 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Asp.net Pin
Vincent Maverick Durano21-May-18 15:04
professionalVincent Maverick Durano21-May-18 15:04 
QuestionASP.Net MVC What is Donut Caching Pin
Mou_kol14-May-18 23:21
Mou_kol14-May-18 23:21 
AnswerRe: ASP.Net MVC What is Donut Caching Pin
Richard MacCutchan14-May-18 23:54
mveRichard MacCutchan14-May-18 23:54 
GeneralRe: ASP.Net MVC What is Donut Caching Pin
Mou_kol15-May-18 0:34
Mou_kol15-May-18 0:34 
GeneralRe: ASP.Net MVC What is Donut Caching Pin
F-ES Sitecore15-May-18 3:58
professionalF-ES Sitecore15-May-18 3:58 
GeneralRe: ASP.Net MVC What is Donut Caching Pin
Mou_kol15-May-18 23:29
Mou_kol15-May-18 23:29 
GeneralRe: ASP.Net MVC What is Donut Caching Pin
Vincent Maverick Durano21-May-18 17:22
professionalVincent Maverick Durano21-May-18 17:22 
AnswerRe: ASP.Net MVC What is Donut Caching Pin
Vincent Maverick Durano21-May-18 17:18
professionalVincent Maverick Durano21-May-18 17:18 
Don't confuse yourself with the naming. Donut Hole Caching is a server-side caching technique in which the some portion of tge page is cached.

The tools for implementing donut hole caching are relatively simple: You just need the HtmlHelper’s Action method and Partial Views. In the context of ASP.NET, you can implement the "donut caching" technique using a combination of ChildActionOnly and OutputCache attributes.

So the following code is actually implemeting a donut hole caching technique:

C#
[ChildActionOnly]
[OutputCache(Duration = 10)]
public PartialViewResult PartialViewCacheChild()
{
    return PartialView("_PartialViewForCache");
}


Fore more information, read: Speed Up Your ASP.NET MVC Application with Doughnut Hole Caching -- Visual Studio Magazine[^]

modified 21-May-18 22:32pm.

GeneralRe: ASP.Net MVC What is Donut Caching Pin
Mou_kol23-May-18 11:07
Mou_kol23-May-18 11:07 
GeneralRe: ASP.Net MVC What is Donut Caching Pin
Vincent Maverick Durano23-May-18 13:32
professionalVincent Maverick Durano23-May-18 13:32 
SuggestionNeed Suggetion Pin
Member 1382604314-May-18 1:42
Member 1382604314-May-18 1:42 
QuestionBlazor Pin
Super Lloyd9-May-18 19:29
Super Lloyd9-May-18 19:29 
AnswerRe: Blazor Pin
Vincent Maverick Durano21-May-18 15:08
professionalVincent Maverick Durano21-May-18 15:08 
GeneralRe: Blazor Pin
Super Lloyd21-May-18 15:27
Super Lloyd21-May-18 15:27 
GeneralRe: Blazor Pin
Vincent Maverick Durano21-May-18 16:51
professionalVincent Maverick Durano21-May-18 16:51 
GeneralRe: Blazor Pin
Super Lloyd21-May-18 17:35
Super Lloyd21-May-18 17:35 
GeneralRe: Blazor Pin
Vincent Maverick Durano21-May-18 17:43
professionalVincent Maverick Durano21-May-18 17:43 
GeneralRe: Blazor Pin
Super Lloyd22-May-18 4:20
Super Lloyd22-May-18 4:20 
QuestionAsp.net Pin
Member 138185619-May-18 3:52
Member 138185619-May-18 3:52 
AnswerRe: Asp.net Pin
Richard MacCutchan9-May-18 4:35
mveRichard MacCutchan9-May-18 4:35 
AnswerRe: Asp.net Pin
ZurdoDev14-Jun-18 11:51
professionalZurdoDev14-Jun-18 11:51 
QuestionLooking for an example of food and drink on a handheld device ? Pin
Member 24584676-May-18 17:11
Member 24584676-May-18 17:11 
AnswerRe: Looking for an example of food and drink on a handheld device ? Pin
Richard MacCutchan6-May-18 22:54
mveRichard MacCutchan6-May-18 22:54 
QuestionClaimsIdentity with null referance Pin
Member 138120214-May-18 8:28
Member 138120214-May-18 8:28 
QuestionASP.NET MVC - Display all date/times in a specific time zone Pin
ZurdoDev3-May-18 9:14
professionalZurdoDev3-May-18 9:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.