I've been under the impression for many years that .NET was the framework Microsoft preferred devs to use for Windows desktop apps - it's everywhere from APIs to PowerShell. However, last evening when I wrote "The "official" / preferred way of doing things on Microsoft is .NET.", someone replied
I stopped here. Never in my life have I heard such nonsense.
Is there any official statement from Microsoft on this subject regarding how they view .NET? I was certainly under the impression that they've been pushing devs away from Win32 and to .NET for years.
So I have about 5 years of experience in visual basic in excel, but I am just now getting around to learning c#. I have an application in VB that generates tavern descriptions for ttrpg gaming and I am trying to make it into it's own stand alone application (not depending on excel.)
My question is essentially what would be the best way for me to store the tables that I will be referencing, and how would I go about importing that to c#? I have done some research and it looks like xml is an option, and csv is an option but I'm hoping for an option similar to how in excel i can just reference the cells in the table and import it as an array.
So I am trying to scrape this website using AngleSharp and I am targeting specific div blocks with a specific class name, but inside these div blocks are span blocks and I do not want them to be scraped too, how do I get around this?
Currently I am writing a program that generates a maze and then uses a q learning algorithm to solve it. I have very little experience using q learning. In order to do this I'm using the accord machine learning library. I think currently what I've done is formed the equation but I don't know how to then apply an AI to my maze.
The way I have generated a maze is I have made a 30*30 dynamically generated grid with random cells shaded black. After this (using an async function) made it so that the start and end points are places in the top left and bottom right respectively.
The help I need is to make sure that the maze is solvable 100% of the time.
And I need to write the AI to actually solve the maze.
Does anyone have any ideas or suggestions please message me or comment down below.
I'm happy to answer any questions that you might have.
How would you structure the folders and file in .NET core project?
Lets say in my Business Logic layer I got these files:
MappingCache.cs, MappingModel.cs, CategoryDataHandler.cs (calling on methods from CategoryHandler), ProgramSettings.cs, Poller.cs, Alerter.cs, AnimalDataHandler (calling on methods from AnimalHandler), AnimalHandler.cs (this files creates the animal objects and process & cleanse some properties of the data etc, should I give it another name?), CategoryHandler.cs (this files creates the animal objects and process & cleanse some properties of the data etc, should I give it another name?), Startup.cs
In FTP Layer:
I got ExceptionPolicy.cs, NameCache.cs and ObjectPool.cs
What I'm wondering is should I change names of these files? What would be the most convential naming for this? And how should I structure the folders to have these files in?
Hey, I'm CS student and began coding a alot recently and realised that there are many ways to solve some problems / situations or whatever. My question is:
When you work as developer is it important that your code is nearly perfect and polished or you focus more or delivering solution rather than min maxing performance? I guess really good developers are good at both simultaneously but whats it like when you are working as junior, or just stared your first job programming.
I just solved issue after reading and trying things for nearly 2 days and it works but someone more experienced could make it better performance wise, is it worth for me to spend more time just to make it more polished or go on and solve new problems?
Okay, so this is coming from someone with no coding experience. I'm trying to start with C# (following Ben Tristem and Rick Davidson's C# Unity course on Udemy).
This may sound retarded, but I'm gonna say it anyway. VS looks really bad. Yeah, I know, an IDE is supposed to be functional and not pretty. But for someone just starting out, comparing it to something like Atom (I've used it a while back for some basic js), it looks really terrible. The font, the color, the entire layout, everything is really ugly.
Anyway, I'm wondering how important it is to use VS instead of a text editor like Atom. Am I losing on too much for using something else? Should I just stick with VS anyway? And if I do, is there any way to make it look a bit better?
Sorry, this probably sounds really retarded and amateur, I know. Thoughts?