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?

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

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 5 of 5 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11