Activities of "shobhit"

Answer

Hi liangshiwei, i have looked the api sample code and api version document also. it is cofusing and i am not sure what exactly i have to change. can you help me:

ABP: 4.2.2 Angular Auto controller

Answer

Hello liangshiwei, if i am following https://github.com/abpframework/abp/blob/dev/docs/en/API/API-Versioning.md#enable-api-versioning then swagger is not able to load due to error:

2022-03-14 14:09:08.056 +05:30 [ERR] An unhandled exception has occurred while executing the request. Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException: Conflicting method/path combination "GET api/app/user-extensions" for actions - EzpandCC.Domain.Controllers.UserExtensions.UserExtensionController.GetListAsync (EzpandCC.HttpApi),EzpandCC.Domain.Controllers.UserExtensions.UserExtensionV2Controller.GetListAsync (EzpandCC.HttpApi). Actions require a unique method/path combination for Swagger/OpenAPI 3.0. Use ConflictingActionsResolver as a workaround at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperations(IEnumerable1 apiDescriptions, SchemaRepository schemaRepository) at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GeneratePaths(IEnumerable1 apiDescriptions, SchemaRepository schemaRepository) at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GetSwagger(String documentName, String host, String basePath) at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()

but if i change path like "[Route("api/v1/app/user-extensions")]" and "[Route("api/v2/app/user-extensions")]" then dynamic api working fine but i am looking for querystring version parameters?

  1. ABP Framework version: v5.1.4
  2. UI type: Angular
  3. DB provider: EF Core
  4. Tiered (MVC) or Identity Server Separated (Angular): yes
  5. Exception message and stack trace:
  6. Steps to reproduce the issue:"
  7. Configure multi-tenant sepearte db:
    1. Host DB
    2. Tenant DB
  8. Create new business entity
  9. follow all process with data seeder as per https://docs.abp.io/en/commercial/latest/tutorials/book-store/part-1?UI=NG&DB=EF
  10. run db migrator
  11. tables get created in
    1. host db
    2. tenant db
  12. data seeder populate only host db table but not the tenant db table

Please let me know how to get this fixed

Answer

i am using default ABP application so assuming it is using Auto API Controller. Now question is which project --> class file i need to make these changes

Answer

Hello liangshiwei, few points:

1- https://github.com/abpframework/abp/blob/dev/docs/en/API/API-Versioning.md#enable-api-versioning which project --> file i have to make change i.e. Host, API, identity or all 2- do i have to follow all sections?

Question
  • ABP Framework version: v4.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
  • How i can version api in ABP

Thanks. it works

Answer

Thanks Maliming.

Hello maliming, I have copied account code for getting providers and getting 2 factor code. How i can verify the code? what is the api point

Answer

Hello maliming, I am changing my question here. I am simple looking for this aspect:

  1. Host should have host related database tables
  2. Tenant should have tenant related database tables
  3. There should be 3rd database tables which can be shared between host and tenant

when i am looking documentation, i am realizing making identity as separate database will not be a right idea. Please correct me. if i was wrong then help me on below point.

Now when i look all modules, please help me to identity what all default modules should be on which database i.e. host and tenant

    builder.ConfigurePermissionManagement();//both
    builder.ConfigureSettingManagement();//both
    builder.ConfigureBackgroundJobs(); //both
    builder.ConfigureAuditLogging(); //both
    builder.ConfigureIdentityPro(); //both
    builder.ConfigureIdentityServer(); //both, 
    builder.ConfigureFeatureManagement(); //host
    builder.ConfigureLanguageManagement(); //both
    builder.ConfigureSaas(); //host
    builder.ConfigureTextTemplateManagement(); //both
    builder.ConfigureBlobStoring(); //both
    builder.ConfigureCmsKit(); //both
    builder.ConfigureCmsKitPro(); //both
Showing 161 to 170 of 349 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30