Hi
You can consider to use the DontWrapResult
.
https://aspnetboilerplate.com/Pages/Documents/Javascript-API/AJAX?#wrapresult-and-dontwrapresult-attributes
hi
This service is just to read your database to get configuration data.(`EF or abo.net or dapper)
Of course you can add this service to the dependency injection container.(ITransientDependency
or ISingletonDependency
)
hi
You can refer to this demo.
https://github.com/aspnetzero/aspnet-zero-samples/blob/master/ConsoleAppDemo
https://github.com/aspnetzero/aspnet-zero-samples/blob/master/ConsoleAppDemo/src/ConsoleAppDemo.ConsoleApplication/ConsoleAppDemoConsoleApplicationAppModule.cs
hi pnandha
You can refer to the identiyt server's document. https://identityserver4.readthedocs.io/en/latest/
hi pnandha
You can pass the Abp.TenantId
in the header.
https://github.com/aspnetboilerplate/aspnetboilerplate-samples/blob/master/IdentityServerDemo/test/IdentityServerDemo.ConsoleApiTester/Program.cs#L40
hi This is a known issue, Please refer to Zero github repo. https://github.com/aspnetzero/aspnet-zero-core/pull/3203 https://github.com/aspnetzero/aspnet-zero-core/pull/3431
Hi
PageBy is using standard linq methods. For example, Skip(10).Take(10)
.
Your method cannot be translated into SQL statements
public static bool ContainsAny(this string str, params string[] values)
{
if (!string.IsNullOrEmpty(str) && values.Length > 0)
{
foreach (string value in values)
{
if (str.ToUpper().Contains(value.ToUpper()))
return true;
}
}
return false;
}
Related: https://docs.microsoft.com/en-us/ef/core/what-is-new/ef-core-3.0/breaking-changes#linq-queries-are-no-longer-evaluated-on-the-client https://support.aspnetzero.com/QA/Questions/8843/EF-Core-3x-breaking-existing-EF-Core-2x-query
see https://support.aspnetzero.com/QA/Questions/9446/After-Tenant-sign-up---admin-any-user-from-same-browser-login-goes-into-loop-on-Chrome-other-browsers-work#answer-772d5fb6-98f0-be39-5908-39f712747eb5