But when you do that, you might get a route mismatch (or duplicate route) exception, so might need to remove the @page "/" statement from your Index.razor file.
Did you also do this?
Hi, this seems to be an unrelated issue with ABP. You can try to find the solution by reading Microsoft's official Blazor documentation.
I checked official documentation but was not able to find out to set a custom page as the default page after login. Please help me.
Maybe you can set the page route as "/" for your landing page.
@page "/"
@page "/my-landing-page-route"
But when you do that, you might get a route mismatch (or duplicate route) exception, so might need to remove the @page "/"
statement from your Index.razor file.
I close this question since it's not related with ABP but I hope my above suggestion will work for you.
Best regards.
Hi, this seems to be an unrelated issue with ABP. You can try to find the solution by reading Microsoft's official Blazor documentation.
Hi, to ensure the Azure Key Vault configurations are correct, can you run your project in DEBUG mode and try to obtain your value (any value that you've defined in Azure) from the IConfiguration
interface?
Hi, as I know there is not any way to do that unless overriding the related page and applying the logic.
Or is there a way to manually create the input without using the <ExtensionProperties> component?
We use this component in modules to show extended properties on UI and it basically creates HTML tags for the extended properties by their type.
You can check the ExtensionProperties
component component and create a new component for you to show extended properties on UI by your needs.
BTW, I've created an issue (#12249) for your suggestion and we'll consider it.
It's good to hear that. I close the question since your problem is resolved.
Best regards.
Did you also change the _configuration.GetConnectionString("Default") to _configuration.GetConnectionString("<user-secret-key>")
?
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
if (!optionsBuilder.IsConfigured)
optionsBuilder.UseSqlServer(_configuration.GetConnectionString("<user-secret-key>"));
}
If you want to customize CSS, please see Customize Lepton Theme with Custom CSS.
For the overriding logo, please see ASP.NET Core MVC / Razor Pages: Branding.
To customize entity action extensions, see https://docs.abp.io/en/abp/latest/UI/AspNetCore/Entity-Action-Extensions
For toolbar extensions, see https://docs.abp.io/en/abp/latest/UI/AspNetCore/Page-Toolbar-Extensions
Also, there are some community articles to show how you can replace the current template with a new one. There might be helpful for you.
Hi, I guess you are storing your connection string as a user secret. Can you replace the Default keyword with your user secret key on your ConnectionStringName attribute?
It's defined top of your DbContext class:
[ConnectionStringName("<user-secret-key>")]
public class MyProjectNameDbContext {}