Activities of "yuemy@sph.com.sg"

How to I Localize Text in Data Annotation of View Models or DTO?

example below

[Required]
[StringLength(256)]
[Placeholder("Enter Category Code")]
[Display(Name = "Code")]
[PageRemote(
    ErrorMessage = "Code already exists",
    HttpMethod = "get",
    PageHandler = "ValidateCode"
)]
public string CategoryCode { get; set; }

How to localize the Placehoder text, the PageRemote validation error message and the required error message?

still not working for me.

Already confirmed the Nuget.config file is correct with my API key.

Already logged in to ABP as well.

Any help on this??

Question
  • ABP Framework version: v4.2.2
  • UI type: MVCr
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Tiered MVC Separate IDentity
  • Exception message and stack trace:

C:\Program Files\dotnet\sdk\5.0.202\NuGet.targets(131,5): error : Failed to retrieve information about 'Microsoft.Extensions.FileProviders.Embedded' from remote source 'https://nuget.pkg.github.com/SPHTech/download/microsoft.extensions.fileproviders.embedded/index.json'. [C:\SPH\CommerceAdminWorkspace\src\SPHTech.Commerce.Admin.IdentityServer\SPHTech.Commerce.Admin.IdentityServer.csproj] C:\Program Files\dotnet\sdk\5.0.202\NuGet.targets(131,5): error : Response status code does not indicate success: 401 (Unauthorized). [C:\SPH\CommerceAdminWorkspace\src\SPHTech.Commerce.Admin.IdentityServer\SPHTech.Commerce.Admin.IdentityServer.csproj]

  • Steps to reproduce the issue:
  • just run dotnet run

Got this error when running dotnet run on a windows machine.

C:\Program Files\dotnet\sdk\5.0.202\NuGet.targets(131,5): error : Failed to retrieve information about 'Microsoft.Extensions.FileProviders.Embedded' from remote source 'https://nuget.pkg.github.com/SPHTech/download/microsoft.extensions.fileproviders.embedded/index.json'. [C:\SPH\CommerceAdminWorkspace\src\SPHTech.Commerce.Admin.IdentityServer\SPHTech.Commerce.Admin.IdentityServer.csproj] C:\Program Files\dotnet\sdk\5.0.202\NuGet.targets(131,5): error : Response status code does not indicate success: 401 (Unauthorized). [C:\SPH\CommerceAdminWorkspace\src\SPHTech.Commerce.Admin.IdentityServer\SPHTech.Commerce.Admin.IdentityServer.csproj]

However when running/debugging withing Visual Studio there is no issues

What do you mean by different db for commercial modules? Identity, Account, IdentityServer are commercial modules, how and why would you like to separate them?

my connection strings:

"Default": "Server=localhost;Port=3306;Database=default_db;Uid=root;Pwd=Password123;", "ProductModule": "Server=localhost;Port=3306;Database=product_module_db;Uid=root;Pwd=Password123;"

I already have separate DB migration project for each db.

So when I run the DB Migrator, both migration project will be migrated smoothly for the Host.

Then i proceed to add a Tenant. In the Edit Tenant Connection String UI, we can only specify one connection string though.

So after that I run the DB migrator again, but this time round both migration will be migrated to the same tenant db which is not what I would like it to be.

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v4.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

I have the following DB Setup

  • 1 DB for all ABP commercial modules
  • 1 DB for additional customisrd ABP modules

On top of it, every new Tenant should have separate DB, that is, one more DB for all ABP commercial modules for this tenant and one more db for additional customisrd ABP modules for this tenant. So I will need 4 DBs if I have 1 host + 1 tenant.

Now i already followed the guide here https://docs.abp.io/en/abp/latest/Entity-Framework-Core-Migrations to achieve the multiple db migrations. So the DB migrator works fine if I only run it for the Host. But if I added a Tenant, and from the SaaS UI, i can only indicate 1 connection string, I will not be able to acheive the setup that I desired. Because i am not able to configure the db connection string for the customised ABP modules for the tenant.

Please advise how can I acheive my desire setup.

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v4.2.1
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • HTTP request attempt failed to https://abp.io/api/app/nugetPackage/proPackageNames with an error: 407-Proxy Authentication Required. Waiting 2 secs for the next try...
  • Steps to reproduce the issue:

Hi,

As our company internet network is behind a proxy layer, is there a way to specify a proxy url to workaround this issue?

Thanks

Question

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v4.2.1
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

is nuget.abp.io down? Been getting 503 when i trying to build

Showing 1 to 8 of 8 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11