We have installed the module Universal Dashboard on IIS following the instructions here Page Navigation in IIS
1.installed prereqs
2.since we are using IIS for hosting other sites,created an application in IIS, TestApplication\UniversalDashboard
3.copied community (will buy licensed one soon and will activate authentication) to this location
c:\windows\web\TestApplication\UniversalDashboard
4.changed to web.config (removed security part for now, otherwise it wouldn’t load), then changed the index.html with the path to this \TestApplication\UniversalDashboard
5.made a dashboard.ps1
Our questions:
1.how can we increase the speed of loading first time + next times?
2.the dashboard.ps1 is showing data which needs to be refreshed at regular times,
how do we make sure this data is refreshed in the background, so webpage shows data right away (+ last refresh time)?
q1:
the really first time will allways be slow. IIS has to load the dashbaord sever exe. after that loading times are very fast. you can also configure IIS to keep the app pool running and do not recycle if no one access that site.
Thanks, works great!
However, debugging is pretty difficult in this setup.
Isn’t there a way to seperate the PoweshellScript which generates the output with the Universal Dashboard output?
That’s the way I was running my reports before: scheduled task which runs a PowershellScript for data collection another script to output into index.html an publishes this html to an IIS site.
Btw, would love to have a way in which I can generate the data, f.e. $Output then relaunch the Universal Dashboard and refresh the webpage versus now = run Universal Dashboard via the dashboard.ps1, recycle the application pool, load the webpage and wait for it to load (takes quite some time :-().