Implement "Instant Share" server
Needless to say, thank you for the super useful tool!
We need to share LinqPad scripts across the team, but we cannot use default "Instant Share" server for obvious security reasons.
We need to share scripts conveniently, so UNC share is not an option.
Idea is to set up proxy server, which will redirect requests to https://www.linqpad.net/share/api/uploads to our own server with our own implementation.
It is possible to guess instant share server implementation looking into request content (from Fiddler as a proxy) and/or decompiling the LINQPad and checking ShareQueryForm.cs. However before hacking around I would be happy to get any kind of advise.
I am especially interested in the case how edition of existing scripts can be implemented. Say user A shared script, user B opened it, improved and re-published. Seems this creates another file on the server. I guess that each LINQPad instance generates its own updatekey (InstantShareUpdateKey) and this is the key which allows update and delete the query. If we need different users to edit the same query, we need add some special logic, or simple allow everyone edit and delete every script.
Sorry for the long message. Any hints or suggestions are greatly appreciated!