The Wayback Machine - https://web.archive.org/web/20220720004928/https://github.com/topics/aspnet-core
Skip to content
#

aspnet-core

aspnet logo

ASP.NET is an open source web framework for building modern web apps and services with .NET. ASP.NET creates websites based on HTML5, CSS, and JavaScript that are simple, fast, and can scale to millions of users.

Here are 1,136 public repositories matching this topic...

FredCni
FredCni commented Jun 8, 2022

In the "Set the environment" section, the doc refers to setting the value of env variables w/o showing how to do it.
But the goal can be achieved that way. I suggest you add this code snippet:

protected override IHostBuilder CreateHostBuilder() =>
        base.CreateHostBuilder().ConfigureWebHost(x => x.UseEnvironment("integration"));

The derived WebApplicationFactory will therefor

Help wanted Good first issue Source - Docs.ms doc-enhancement
dasblog-core
poppastring
poppastring commented Nov 28, 2021

Replace client-side caching...
[ResponseCache(Duration = 14400, Location = ResponseCacheLocation.Any)]

...with serverside caching
private readonly IMemoryCache memoryCache;

  • Caching on the home page should be broken when we add a new post or comment (includes status updates and deletes).
  • Caching on the archive page should be broken when we add a new post.
  • Caching on the categor

Created by Microsoft

Released January 2002

Website
asp.net
Wikipedia
Wikipedia