alkasel#159
alkasel#159
CC#
Created by alkasel#159 on 2/14/2024 in #help
Visual Studio: user frustrated by auto-completion
👍
18 replies
CC#
Created by alkasel#159 on 2/14/2024 in #help
Visual Studio: user frustrated by auto-completion
Thanks for all the answers. I'll fill an issue report as soon as I can
18 replies
CC#
Created by alkasel#159 on 2/14/2024 in #help
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
CC#
Created by alkasel#159 on 4/21/2023 in #help
✅ Controller method can be invoked from Edge and Postman but not by Firefox
I was already using http by the way, but thank you for the suggestion anyway
7 replies
CC#
Created by alkasel#159 on 4/21/2023 in #help
✅ 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
CC#
Created by alkasel#159 on 4/4/2023 in #help
✅ Visual Studio nesting resource files
Of course is not a great way to deal with it since it requires continuous work to add languages, but at least it works
4 replies
CC#
Created by alkasel#159 on 4/4/2023 in #help
✅ Visual Studio nesting resource files
In the end I was able to accomplish it by means of the following content inside the configuration file:
"extensionToExtension": {
"add": {
".resx": [
".razor"
],
".en.resx": [
".resx"
],
".it.resx": [
".resx"
]
}
},
"extensionToExtension": {
"add": {
".resx": [
".razor"
],
".en.resx": [
".resx"
],
".it.resx": [
".resx"
]
}
},
4 replies
CC#
Created by alkasel#159 on 4/5/2023 in #help
✅ .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
CC#
Created by alkasel#159 on 4/5/2023 in #help
✅ .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
CC#
Created by alkasel#159 on 3/31/2023 in #help
❔ How to organize Windows Forms application
This way I can do everything using just tasks, with no need of using a BackgroundWorker!
13 replies
CC#
Created by alkasel#159 on 3/31/2023 in #help
❔ How to organize Windows Forms application
13 replies
CC#
Created by alkasel#159 on 3/31/2023 in #help
❔ How to organize Windows Forms application
Actually I just discovered you can have tasks reporting back progress to caller
13 replies
CC#
Created by alkasel#159 on 3/31/2023 in #help
❔ How to organize Windows Forms application
Very interesting! I didn't know of this possibility. Thank you very much for the info!
13 replies
CC#
Created by alkasel#159 on 2/17/2023 in #help
❔ Transform ASP.NET Core IdentityUser into a two-keys table
first time I heard of it, I'll take a look, thanks!
6 replies
CC#
Created by alkasel#159 on 2/2/2023 in #help
❔ Producer Consumer ISourceBlock<T>, periodically flushing consumed data
up
4 replies
CC#
Created by alkasel#159 on 2/2/2023 in #help
❔ 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
CC#
Created by alkasel#159 on 12/15/2022 in #help
✅ Split string on list of strings and on whathever number
Thank you for your help
25 replies
CC#
Created by alkasel#159 on 12/15/2022 in #help
✅ Split string on list of strings and on whathever number
25 replies
CC#
Created by alkasel#159 on 12/15/2022 in #help
✅ Split string on list of strings and on whathever number
Ok, thanks. I was trying to understand what are all the characters I need to escape
25 replies