Landan
❔ Net 7 How to output one exe without dlls
I used chatgpt to create a bash script to pipe tar archives without persisting them on the filesystem, and then grabbed the artifact I wanted out of it. Maybe you could try that (I dont have the code available to me atm)
174 replies
❔ How to use the Azure function I built to retrieve the connection string? cant puzzle the pieces.
https://learn.microsoft.com/en-us/azure/azure-app-configuration/quickstart-aspnet-core-app?tabs=core6x
It has code examples on setting up your startup.cs.
I dont remember if I used DI in my azure functions so I cant give an azure function example.
4 replies
❔ Social media profiles hidden information?
You could setup a pattern for your dto validation like:
Your parameter for the Func would be an IDictionary, or you might be able to use, as, to try casting it to your dto
Make a special attribute for model validation, and voila
14 replies
❔ Using concurrent collections to add or remove elements for in-memory collections (server)?
If your usecase is open to allow for more than in-memory context, you might look into using an external source of truth behind an event queue to handle operations which could execute out of sync, then pull the absolute context where you need it.
13 replies