Activities of "vipulbuoyancy"

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

  1. Created a new project
  2. Added File Management Module
  3. Added "Volo.Abp.BlobStoring.Azure" package in Api.Host project
  4. Added below code in ApiHostModule.cs file
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
            });
        });
    });
}
  1. Call above method from ConfigureServices method.
  2. Run the Api Project & Angular project
  3. When I open the File Management UI page. I am expecting the folders & files should come from my Azure container. Also When I create a new folder it should create the folder in Azure blob container. But it is adding the entry in FmDirectoryDescriptors table in the database.

Please help me what I am doing wrong.

Thank you.

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 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
        });
    });
});
  • ABP Framework version: v8.1.0
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue: I am trying to configure the File Management module to get data from Azure Blob instead of Database. But after following all the steps based on your document, it is still using the database only.

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

  • ABP Framework version: v8.1.0
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue: Hello

How to generate a login url with the tenant selected like below? "https://localhost:44387/Account/Login?ReturnUrl=%2Fconnect%2Fauthorize%3Fresponse_type%3Dcode%26client_id%3DDemo_App%26state%3DZjVrWjh4ZT456978FaY34zd1dtR05Pd0JkVm0xVDkyZXZoUEY0empFeGVxNW8y;%25252F%26redirect_uri%3Dhttp%253A%252F%252Flocalhost%253A4200%26scope%3Dopenid%2520offline_access%2520Demo%26code_challenge%3D35oANtgnbuoIhsr6542Hl52gEVvJkPKBuwVGxVyJMJ0%26code_challenge_method%3DS256%26nonce%3DZjVrWjh4ZTluSkFaY34zd1dt987450JkVm0xVDkyZXZoUEY0empFeGVxNW8y%26culture%3Den%26ui-culture%3Den%26returnUrl%3D%252F"

How can we send email with the above login url on add/register new user from application?

Thanks

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.

Hi Engincan, Thank you for your reply. Please follow the below steps

  1. Create project with 7.0.4 version
  2. Add one entity with few columns and UI using abp suite
  3. Now upgrade your project to version 8.0.5
  4. Open abp suite and modify the existing entity which was created in version 7.0.4 & add one more column
  5. Keep all the options check in abp suite except "Custom Change" in abp suite 8.0.5.
  6. It will gives an error while updating database.

Thank you.

Hi EngincanV, do you have any update on this?

Thank you.

  • ABP Framework version: v8.0.5
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace: Extra DB Set Added for existing entity
  • Steps to reproduce the issue:
  • Run ABP Suite
  • Select any Master existing entity
  • Select all the checkbox option without Custom Change
  • Click on Save & Generate button

It is adding and extra DBSet for an exisitng entity and that cause a build error. I have tried by removing an extra DBSet as well but after that started getting and error in unit test. Please keep this on high priority as this keeps holding development work

Showing 11 to 20 of 77 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 19, 2024, 10:13