Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "ryancyq"

Answer

Hi, can you share the full stacktrace of the exception?

Also,

  • What is your product version?
  • What is your product type (Angular or MVC)?
  • What is product framework type (.net framework or .net core)?

Hi, what is your project framework abd version?

you can configure identity server 4 in appSettings.json

See https://github.com/aspnetzero/aspnet-zero-core/blob/1a44d5c05cb56fe8b4fe371d0082dfc84d593fac/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Host/appsettings.json#L66-L113

if you want to find out the implementation, you can refer the tutorial at https://aspnetboilerplate.com/Pages/Documents/Zero/Identity-Server

Hi, currently app-session service has been injected in app-component-base.

you can access current user info via this.appService.getUser() in your component.

Hi, thanks for reporting.

i have created an issue at https://github.com/aspnetzero/aspnet-zero-core/issues/2271

Hi, can you share the product version you had upgrade from/to?

Hi, there is documentation on exception handling which probably suits your use case.

See https://aspnetboilerplate.com/Pages/Documents/AspNet-Core#exception-filter

You can also refer to the apporach mentioned in this thread for some code examples.

https://github.com/aspnetboilerplate/aspnetboilerplate/issues/3280

Hi, it is probably due to non-utc datetime to utc conversion.

ifClockProviders.Utc is used, the client side date time will be converted in utc before sending to the server.

See https://aspnetboilerplate.com/Pages/Documents/Timing.

you can disable tenant filters (IMustHaveTenant/IMayHaveTenant) when you call UserManager.

See https://aspnetboilerplate.com/Pages/Documents/Data-Filters#disable-filters

Hi, can you share the project framework and version?

if you are changing for some of the UserFriendlyException only. You can pass the status code in the UserFriendlyException constructor

Hi @system15,

You can take reference from profile related controller for file upload/download in your case.

See https://github.com/aspnetzero/aspnet-zero-core/blob/4180b6eccb0c02e14a17d1e383ed3906f6174cdd/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Core/Controllers/FileController.cs

and https://github.com/aspnetzero/aspnet-zero-core/blob/8672111621dffd72f96a2e4f8670d9584568b29a/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Core/Controllers/ProfileControllerBase.cs

Showing 261 to 270 of 573 entries