csh83669@programming.devto.NET@programming.dev•Solution for weirdly long asp.net API startup
·
1 year agoIt always seemed like something that could be handled by a unit test. Assuming your registration code is able to be called independently, validating it once with a test at build time seems much more useful than wasting time at every startup for something that will be more or less static.
I think this article makes a pretty big leap in the middle. There's really no reason that the operating system needs to be involved in the "Private" solution. It could just as easily be a website or a browser plugin. All you need is your government of choice to have some way to provide a token with whatever important bits necessary in it ("Yes this person is over 18 and a resident of WA"). You could even have third party sites/libraries that could read that token and verify what it contains.
The last third of the article is all based on that giant leap.