Hi @pliaspzero
I have't tried this but I think you can use different routes for the same component. Then, you can decide in layout to hide/show menu by looking at the given route.
Hi @kansoftware
Sorry for our late reply. When you get a token from Okta from your mobile app, you can use https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Core/Controllers/TokenAuthController.cs#L549 endpoint on AspNet Zero side.
Hi,
If you are hosting your app on Azure, this might help https://stackoverflow.com/a/43571399. Could you try it and let us know if it works ?
Hi @MatthieuPauze
Most of the time, this happens because of a JS error or missing class on body element. But, it is hard to determine this problem without seeing the source code. Is it possible for us to access your source code ? If so, you can send an mail to [email protected] and we can take a look at your project.
Hi @gtewksbury
Sorry for the late reply. These classes are accessed by developers and not end users, so I think it doesn't cause any issues.
But, we will remove HtmlHelper
and try to replace DomHelper
with an alternative if possible. You can follow https://github.com/aspnetzero/aspnet-zero-core/issues/5434
Hi @joynext
Could you share your the code of BackgroundJobNotification/NotifyEmployee
and Background Job which calls this endpoint ?
Hi @Loizos
Sorry for my late reply.
I mean, Web.Core
or Web
, both works. You can place your business logic implementation in the Domain layer.
You can inject any domain service into the Controllers or AppServices usde in the Web layer.
It is hard to offer something without seeing your code but I feel like this is a bit outside of the scope of AspNet Zero support. However, if you can send a sample code block to [email protected], we can try to provide a better suggestion.
Thanks,
Hi,
This will not work becuase each instance will use its own memory cache if you have multiple instances.
Hi @pliaspzero
Yes, this is definitely related to multiple instances. I suggest you to check https://docs.aspnetzero.com/aspnet-core-angular/latest/Clustered-Environment
Hi @Loizos
I think there is no need to create separate project for this. You can create an interface and call it inside your application service or whenever you need to execute this code block.
Then, you can create its implementation on the Web layer or application layer depending on your needs. Currently, it seems like Web layer is more appropriate.