✅ C# Like PHP in terms of live changes
Hi!
At work I'm using php with bits of Symphony and Im curious whether there is a way to achieve something similiar in C# in terms of being able to dynamically change endpoints while the program is running and also have endpoints be checked independently - i.e. while modifying one checkpoint all other work
10 Replies
not really, no
in C# land, the way you'd achieve the ability to hot-deploy chunks of the application without taking down all the other chunks, is to... actually chunkify everything. Split all the different chunks you want to be hot-deployable into separate binaries and deployments. Something like a microservices architecture
Or do a blue green deployment
Although not quite the same
Unknown User•14mo ago
Message Not Public
Sign In & Join Server To View
it would be a hack, but technically you can compile code dynamically even in c#
i did this some years ago in one of our services, although this didn't last long
Unknown User•14mo ago
Message Not Public
Sign In & Join Server To View
exactly
Unknown User•14mo ago
Message Not Public
Sign In & Join Server To View
sometimes guys just want to have fun
Unknown User•14mo ago
Message Not Public
Sign In & Join Server To View
Yes, would say so
Thank you very much
That was like the one thing I have really fallen in love with in JS and PHP that I even thought maybe to switch to it.
I have a problem with jumping around ideas and not always finishing everything and the need to have everything cleanly done till I can start/compile etc.
It did look kind of bad in comparision with what those two could do for me
But since there seem to be solution I might just try; doing some apis in c# certainly sound cool (Although PHP seems nice too, I have broken prod once by overwriting an iterable with a string... for the love of god)
I'll try them around
Once again ❤️ ❤️
For now I'll mark it as closed and should i run into problems or have any feedback for future commers i'll add it here