Activities of "sukhdeep.dhillon"

thanks you for your response if return Dto has property of type DateTime then it should follow some kind of format like yyyy-MM-dd like that

how can I set any kind of specific format for all DateTime type

  • ABP Framework version: v7.2.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)

Hi,

in ABP, is there any specific way to implement the following:

  1. How to convert application wide datetime from UTC to EST
  2. Format datetime for all API responses
  • ABP Framework version: v7.2.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)

in my application, I have created few domain services to only create child entities with new Guid id by using GuidGenerator service in Domain manager.

is there any way, I can get rid of these domain services because they are only there to create guid for child entity

Hi team,

quick question,

when ABP is planning to add the Template for Blazor SSR (Blazor Full stack web UI).

I'm asking the question here because I couldn't find on the website

  • ABP Framework version: v7.2.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)

Hi, I know we shouldn't add ICurrentUser in domain layer because domain layer should be independent of current user. but I have some logic in the domain which I don't want to expose to the outer layer but I need current user Id for that logic. how can I handle this.

is that okay to access ICurrentUser in domain manager?

Could you please give me any code example. plus, what if I don't want to seed this data in unit tests, how can I remove this seeding file while running unit tests.

  • ABP Framework version: v6.0.2
  • UI Type: Angular / MVC / Blazor WASM / Blazor Server
  • Database System: EF Core (SQL Server)

Hi, I have bunch of sql insert statements store in .sql file. This file is being loaded and executed by the data seeder. when DbMigrator runs and it successfully populated the database. but when I run unit tests, all are getting failed because when sqlite seeds the database for tests. it loads that .sql file I'm getting the following error

because IF EXISTS statement doesn't exist in sqllite but its fine with sql server.

how can I handle this situation. plus, if I don't want unit tests to seed specific data how can I handle that

following is the screenshot of .sql file for your reference

  • ABP Framework version: v6.0.2
  • UI Type: MVC
  • Database System: EF Core (SQL Server)

Hi, how can I return different http status code from application layer methods.

for example, for post request, ABP by default returns 200 but I want to return 201.

how can I do that in application layer without going thru controllers.

I'm not able to replicate the issue because it happens once in a while. I will reopen this ticket if the issue comes back

I mean when I start the application, the application takes longer time to run as I have shared in the previous screenshot. (screenshot shows the initial logs when we start the app with kestrel server) in the screenshot you can see the time 13:22 to 13:26 and the app didn't up yet, app kind of stuck at the startup

Showing 1 to 10 of 40 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11