Using the code below this can be done using Prompt Variables and on a dashboard hidden away...
I do verified that on server side when you want to read client data, e.g. Cookie; and vise versa when you want to set a client side cookie, use Response. So i dare this assumption to session, and did following client side trying in Javasript, amazingly found, it succeeded. Am following the same code, but when I access the webservice function inside my file, its returning "undefined" .
no realy it is not working like a session it is just working like normal variable. How will I include a reference to the web service in the file so I can debug?
NET 5 has been redesigned to be so modular/configurable, you need to explicitly enable sessions in your app.
You can think about each items in the dependecies section as project references in projects from pre-ASP. Everytime you make a change to the file, Visual studio (dnu, behind the scene i guess) will restore the packages/dependecies definded in this file.