Base solution for your next web application
Open Closed

Access Custom Session From Client-Side Razor #8222


User avatar
0
BigCDogCrew created

How can I access a custom session from the client-side razor script?


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    Do you mean using Custom Session in razor page? You can inject the services you need. https://docs.microsoft.com/en-us/aspnet/core/mvc/views/dependency-injection?view=aspnetcore-3.1

  • User Avatar
    0
    ismcagdas created
    Support Team

    This issue is closed because it has not had recent activity for a long time.