Hi,
Thank you for support. I shared steps to reproduce:
Thank you
Hi
It's not working for me this code
Configure<AbpAspNetCoreMultiTenancyOptions>(options =>
{
options.MultiTenancyMiddlewareErrorPageBuilder = async (httpContext, exception) =>
{
foreach (var cookie in httpContext.Request.Cookies)
{
httpContext.Response.Cookies.Delete(cookie.Key);
}
httpContext.Response.Redirect(httpContext.Request.GetEncodedPathAndQuery());
return true;
};
});
I have follow all steps from your video. thank you
Hi EngincanV, do you have any update on this?
Thank you.
Hi Engincan, Thank you for your reply. Please follow the below steps
Thank you.
Hi Engincan, Thank you for your reply.
Yes I am removing the duplicate dbset for now.
Please also check because I am also getting an error if I generate the unit test for an existing entity which were created before upgrade.
I am not reopening the ticket, but please try to follow the same steps with generating unit test and you will get the error. Please keep track of it with your internal issue too.
Thank you.
Hello,
Thank you for support
I need a login URL and send an email include the URL. Users should click on the login url from email and redirect to the login page with the selected tenant.
Thanks
Hi @maliming,
I have used below code for Azure configuration. I have tried by adding below code in Domain, Application & APIHost module.
Configure<AbpBlobStoringOptions>(options =>
{
options.Containers.ConfigureDefault(c =>
{
c.UseAzure(container =>
{
container.ConnectionString = configuration["Azure:BlobConnectionString"];
container.ContainerName = configuration["Azure:BlobContainerName"];
container.CreateContainerIfNotExists = true;
});
})
options.Containers.Configure<FileManagementContainer>(c =>
{
//c.UseDatabase();
c.UseAzure(container =>
{
container.ConnectionString = configuration["Azure:BlobConnectionString"];
container.ContainerName = configuration["Azure:BlobContainerName"];
container.CreateContainerIfNotExists = true;
// Add other configurations as needed
});
});
});
Sure, I will share the test project in sometime. Meanwhile can you please help me which is the right project to add the above configuration from these 3 Domain, Application & APIHost?
Thank you.
Hi @maliming, I tried to creating a new clean project but getting some error in lepton theme, may be because of version. But you can try from your end.
I have followed below steps
private void ConfigureAzureBlob(IConfiguration configuration)
{
Configure<AbpBlobStoringOptions>(options =>
{
options.Containers.ConfigureDefault(c =>
{
c.UseAzure(container =>
{
container.ConnectionString = configuration["Azure:BlobConnectionString"];
container.ContainerName = configuration["Azure:BlobContainerName"];
container.CreateContainerIfNotExists = true;
});
});
options.Containers.Configure<FileManagementContainer>(c =>
{
c.UseAzure(container =>
{
container.ConnectionString = configuration["Azure:BlobConnectionString"];
container.ContainerName = configuration["Azure:BlobContainerName"];
container.CreateContainerIfNotExists = true;
// Add other configurations as needed
});
});
});
}
Please help me what I am doing wrong.
Thank you.
oh okay, so you mean, If I upload a file inside that folder it will go to azure, right?