I feel like not many people are talking about dev environments much, or I am not looking at right places. Haven’t been active lately and noticed that the new UD 3.x came out and is now integrated within this new PSU product that I never heard of. Super excited, I am browsing through docs trying to wrap my head around what’s going on, but I ended up with more questions than before.
Bit of background:
I’ve been using UD since for around 8 months now, and due to some dev environment limitations at a time, I built a “UD launcher”. It’s basically a boilerplate framework that have ability to reload pages and functions live so I could rapidly develop pages without restarting dashboard.
Coupled with Azure DevOps pipelines, this allowed me to write my dashboard locally, commit to master and Azure pipelines would sync git changes on server and restart windows service in prod. I say sync, because users uploaded files in prod and I need to keep both dev/prod environments consistent.
The new UD 3.x is now part of PSU, which pretty much completely breaks my current environment. So instead of trying to rewrite it, I think I’ll just join the rest of you and follow your practices. But what are they?
If you guys could answer at least one question with your own experience or opinion, I would greatly appreciate it.
Questions:
I am still torn between Windows Service and IIS hosting method. IIS seems to be better choice in a long run and gives more control, but service method is easier to update when new UD version comes out. What do you use and why?
If using IIS hosting method in prod, do you also install IIS locally in your dev environment and match them?
Do you have a separate dev/prod environment or do you develop live? What is your process - e.g. do you use devops automation, if so what is your process? Or do you work directly in UNC share or manually upload via FTP, etc?
Does PSU provide authentication and/or does it rely on licensed UD for it to work?
Can UD 3.x detect changes in pages/scripts and reload them, or is this feature still limited to dashboard.ps1?
Thank you for taking your time answering this.