File tree Expand file tree Collapse file tree 7 files changed +9
-3
lines changed 
problem-details-middleware 
request-timeouts-middleware Expand file tree Collapse file tree 7 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 9393
9494    Use ` Microsoft.AspNetCore.Mvc.NewtonsoftJson `  to have MVC use ` Newtonsoft.Json `  instead of ` System.Text.Json ` .
9595
96- dotnet6 
96+ dotnet8 
Original file line number Diff line number Diff line change 2626
2727*  [ Output Cache - 8] ( output-cache-8 ) 
2828  This sample demonstrates on how to setup a cache policy that set an expiration time of 10 minutes.
29+ 
30+ dotnet8
Original file line number Diff line number Diff line change 44
55  This shows different results that ` HttpContext.Request.Path `  returns when handling different url requests.
66
7-   dotnet6 
7+   dotnet8 
Original file line number Diff line number Diff line change 1+ dotnet build path-string-1
Original file line number Diff line number Diff line change 1212
1313  This example shows how customize [ Problem Details] ( https://www.rfc-editor.org/rfc/rfc7807 )  by manipulating ` IProblemDetailsService ` .
1414
15+ dotnet8
Original file line number Diff line number Diff line change 2121</html> 
2222""" ,  "text/html" ) ) ; 
2323
24- app . MapGet ( "/problems" ,  async   ( HttpContext  context )  => 
24+ app . MapGet ( "/problems" ,  ( HttpContext  context )  => 
2525{ 
2626    throw  new  ApplicationException ( "We got problems" ) ; 
2727} ) ; 
Original file line number Diff line number Diff line change 2323  *  [ Request Timeout] ( request-timeout-6 ) 
2424
2525    Use default timeout policy in an MVC controller. 
26+ 
27+     dotnet8
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments