Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "maliming"

I have used it, it is very simple.

ConfigureServices services.AddMiniProfiler(options => options.RouteBasePath = "/mp").AddEntityFramework();

Configure app.UseMiniProfiler();

You can copy the html script code below MiniProfiler into the swagger index file, so you can monitor while debugging the api.

If you have problems, welcome feedback.

You can use the chrome developer tools to see the style of the menu.

Answer

You can refer to this Logging in ASP.NET Core

What is the specific version of the zero you are using? I did not reproduce this problem on the latest v6.1.0.0.

Try calling angular/nswag/refresh.bat

You also need to modify this extension class.

_cacheManager .GetTenantCache()

TenantCacheManagerExtensions.cs

public static class TenantCacheManagerExtensions
{
	public static ITypedCache<int, TenantCacheItem> GetTenantCache(this ICacheManager cacheManager)
	{
		return cacheManager.GetCache<int, TenantCacheItem>(TenantCacheItem.CacheName);
	}

	public static ITypedCache<string, int?> GetTenantByNameCache(this ICacheManager cacheManager)
	{
		return cacheManager.GetCache<string, int?>(TenantCacheItem.ByNameCacheName);
	}
}

I remember it is ok, you can try it. If you find a problem, you can feedback.

Are you using EF or EF Core?

Showing 2771 to 2780 of 2998 entries