lycian
How can I get format warning on the console?
Specifically
EnforceCodeStyleInBuild
https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#enforcecodestyleinbuild10 replies
How can I get format warning on the console?
https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#analysislevel I believe is what you need to set
10 replies
How can I get format warning on the console?
https://github.com/dotnet/roslyn/issues/6195 gives some context on the history of this
10 replies
Need help learning C#
I really doubt that reading documentation is a good source for first time learnersThe resource itself was a learning/training track. Those should be a good starting point (although agree that a book is probably a more complete way)
16 replies
Understanding COM interface references for an ASP.NET REST API...
Whenever I send subsequent calls over a different route to do something like start/stop/reset the simulation, I'm able to do so on the most recently-spawned application instance.If the lifetime of the ASP.NET server is tied to the spawned application instances you could easily just keep a map of
user:IRemoteControl
if I'm understanding your scenario correctly10 replies
Need help learning C#
Where did you learn C#? Was it just through documentation?I learned C# after being in industry after about 5 years. So picking up core concepts was a bit easier for me. The core concepts I learned on my own eons ago + I have a CS degree.
16 replies
Need help learning C#
I'm not super familiar with the training courses, but I believe some of it is covered in https://learn.microsoft.com/en-us/training/modules/csharp-call-methods/3-call-methods where it outlines creating an instance of a type and calling methods. If you have feedback to improve learning there's a "Feedback" at the bottom that I would suggest you use 🙂 . Unfortunately it doesn't look like these are open source like most of ms docs are
16 replies
Need help learning C#
The learning path itself I would say is not a perfect substitute for a class like structure. If you click on things like "interface" and go to https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/interface it should help you understand what an interface is. The same for class/record/struct.
If you have specific questions about any of them this is a good place to post. I would say the "working with file system" section doesn't necessarily mean you need to understand what an interface is. Instead, you can follow along and use them without fully understanding. Sometimes knowledge like that comes easier with usage than an absolute definiton.
16 replies