alkasel#159
Visual Studio: user frustrated by auto-completion
Understand. Yep I know this feature, but since it's quite difficult to formulate the problem in a manner clear enough for the ticket not to get closed, I excluded that possibility.
Anyway, as usual Visual Studio is very strange: they push a lot on fancy stuff like copilot, intellisense code prediction, AI and so on, and then they miss this basic stuff, which produces an extreme boost in the developer productivity
18 replies
✅ Controller method can be invoked from Edge and Postman but not by Firefox
Now it works fine, after the latest package update I suppose... I'm not sure. It could be due to cache cleaning as well, but I performed it several time, so I don't think that's the reason.
7 replies
✅ .NET Localization Culture Fallback
In the end I solved it, even if I'm not sure how: the main thing I changed is that I found in Client configuration the entry Assembly Neutral Language set to "en-us". I changed to "none" and now the fallback works fine
3 replies
✅ .NET Localization Culture Fallback
So, I found a first problem: I have some myclass.en-us.resx files left from some older experiment. That's why the browser was able to find http://.../_framework/en-US/Client.resources.dll as well. Now I've deleted all myclass.en-us files and the browser just fetch http://.../_framework/en/Client.resources.dll even when it's language is set to en-us.
However, terms are still not translated (they are when I set browser language to en, instead)
3 replies
❔ How to organize Windows Forms application
https://devblogs.microsoft.com/dotnet/async-in-4-5-enabling-progress-and-cancellation-in-async-apis/
13 replies
❔ Producer Consumer ISourceBlock<T>, periodically flushing consumed data
The idea is the producer task would use two buffers alternatively, since it cannot "dispose" a buffer as long as the consumer has not finished using it.
Anyway I think this approach is not the best, and it feels a bit dirty. Furthermore, if the rendering task is too slow, in step (5) the produced could clear the buffer before the consumer has consumed it all.
How can I do something better?
4 replies
✅ Split string on list of strings and on whathever number
I was able to succeed by using this list too
https://learn.microsoft.com/en-us/dotnet/standard/base-types/character-escapes-in-regular-expressions
25 replies