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

Activities of "maliming"

hi @web2worknl

Can you reprodece the problem via the free startup template and share it?

https://aspnetboilerplate.com/Templates

The new Chrome will block your application cookies because of the SameSite problem.

Error message in the console.

A cookie associated with a resource at http://example.com/ was set with SameSite=None but without Secure. It has been blocked, as Chrome now only delivers cookies marked SameSite=None if they are also marked Secure. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5633521622188032.`

There are two solutions:

  1. Use https for your website.(recommend)

  2. Add SameSite Cookie Policy

https://github.com/IdentityServer/IdentityServer4/blob/main/src/IdentityServer4/host/Extensions/SameSiteHandlingExtensions.cs https://github.com/IdentityServer/IdentityServer4/blob/main/src/IdentityServer4/host/Startup.cs#L43 https://github.com/IdentityServer/IdentityServer4/blob/main/src/IdentityServer4/host/Startup.cs#L113

https://github.com/aspnetzero/aspnet-zero-core/commit/74b139eb0d8edd8658888189471cd3a192891779

hi

Is the _permissionManager service created through dependency injection?

Please share some code of you backgroundjob.

Answer

hi @learner29

This service should only exist in unit tests.

See https://support.aspnetzero.com/QA/Questions/9446/After-Tenant-sign-up---admin-any-user-from-same-browser-login-goes-into-loop-on-Chrome-other-browsers-work#answer-772d5fb6-98f0-be39-5908-39f712747eb5

See https://support.aspnetzero.com/QA/Questions/9446/After-Tenant-sign-up---admin-any-user-from-same-browser-login-goes-into-loop-on-Chrome-other-browsers-work#answer-772d5fb6-98f0-be39-5908-39f712747eb5

Try this url https://github.com/aspnetzero/documents/blob/master/docs/en/Deployment-Angular-Publish-IIS.md#angular-application-publishing

You should use the npm run publish command.

https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Deployment-Angular-Publish-IIS#angular-application-publishing

hi emirsec

Can you share your deploy steps? of course more details will be good.

hi

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

Are there any other error messages?

Showing 121 to 130 of 3000 entries