both do the job.
As far as I know, there is no UI to configure if multitenancy is enabled. If you do not want multitenancy:
this add versions in dropdown of swagger ui i want two swagger ui on diff routes like
/admin/swagger /public/swagger
like that
can you try this? https://stackoverflow.com/a/77216365
can you try one thing (its a bit of effort though)
remove all localizations in appshell and in the main page (or whatever would come first). goal is that the app can load without needing the localization as they are loaded from the server.
that could be a starting point
Hey,
it seems like the issue is resolved. I close this question now.
feel free to reopen if i am wrong :)
that's simply due to some default css styling. you can just override it if it does not fit your prefences.
Thanks @jfistelmann. Can you please share some expample to create new middle layer
You just need to implement the interface and ensure it's added to the ServiceProvider. Are you experiencing any issues with that?
Thanks @jfistelmann.
Is it possible that i keep some placeholder in connection string and replace that placeholder in code with the actual value? if yes, what exactly i have to do?
With this here you can do anything you imagine :) by just implementing your own ConnectionStringResolver
You can refer to this: https://learn.microsoft.com/en-us/aspnet/core/security/key-vault-configuration?view=aspnetcore-7.0
or this:
https://stackoverflow.com/questions/68224000/using-keyvault-secrets-to-override-appsettings-in-azure-app-service-and-locally
just search google for something like azure key vault asp .net core appsettings.json
and you'll find plenty of resources about that topic.
You may refer to this:
https://github.com/aspnetboilerplate/aspnetboilerplate/issues/3354#issuecomment-393793398
or this:
https://github.com/domaindrivendev/Swashbuckle.AspNetCore#generate-multiple-swagger-documents
you basically add some extra source to your OnApplicationInitialization
with something like:
app.UseSwaggerUI(options =>
{
options.SwaggerEndpoint("/swagger/v1/swagger.json", "AbpProjectName API V1");
options.SwaggerEndpoint("/swagger/v2/swagger.json", "AbpProjectName API V2");
}