What runtime should i get if not desktop? #103779
Replies: 14 comments
-
You should not randomly install .NET versions that are not required by your application. The original post that suggests you to install every versions is not a good idea.
You should be installing versions prior to 2.2. Each version of .NET works independently. If no application is using certain version, it's encouraged to uninstall the version to reduce attack surface in your machine. |
Beta Was this translation helpful? Give feedback.
-
I've had three people tell me i should, including a member of this repository > #103376 (comment)
attack surface? |
Beta Was this translation helpful? Give feedback.
-
It's just an answer to a hypothetic question of "running every possible program on the planet". It's not a possible task in reality at all.
Any component on your computer, that's not actively maintained, can be used by malicious software and attackers. The more things you have, the more ways an attacker can potentially use them. |
Beta Was this translation helpful? Give feedback.
-
What do you mean?
But isn't that what anti-virus', VPNs and safe downloading practices are for? |
Beta Was this translation helpful? Give feedback.
-
Let's go back to your original task, to use Steam console. DepotDownloader need to run with .NET, so you do need some version of .NET installed. It's configured to be flexible with different versions of .NET, so you are prompt to install the latest version, because it will be just better. However, there's a minimum required version. By inspecting the source code of DepotDownloader, it's requesting .NET 8 or higher. Since .NET 8 is the latest released version, you have the only choice to install .NET 8. |
Beta Was this translation helpful? Give feedback.
-
No. A computer connected to the Internet in any way can suffer from attacking. The attacker proactively communicates with your computer and expects it to misbehave for certain communication. A computer must be somehow responsive to enable dual-way communication. |
Beta Was this translation helpful? Give feedback.
-
I can't find anyone suggesting you to install every version. Can you cite the exact reply? Everyone marked as Contributor, Member or Collaborator are saying "don't install the version you don't need". |
Beta Was this translation helpful? Give feedback.
-
I shouldn't be surprised you know how to read source code. Though i did find this out after some time > SteamRE/DepotDownloader#505 Now I'm just waiting on a response from him as to what the people in the first discussion were talking about > SteamRE/DepotDownloader#505 (reply in thread) My primary concern right now is .NET compatibility with any future programs i may run into. And how these attack surfaces work.
If .NET is such a dangerous thing that can bypass security measures then why does anyone use it?
1: dotnet/core#7556 (comment) |
Beta Was this translation helpful? Give feedback.
-
Nobody can tells. If a new program requires some version of .NET, then install that version.
Nobody knows until an attack does happen. An example is WannaCry in 2018.
Simple application sometimes doesn't come with installer. DepotDownloader provides a valid instruction to install latest version only.
Modern security are built by over-defensing at every step, to defend from totally unknown treats. Once a component is out of people's sight, it might be used by some way we didn't mention.
Just go to "Uninstall Program" in Control Panel, and find "Microsoft .NET" and "Microsoft .NET Core". Each versions are installed/uninstalled independently. .NET Framework is different. It's a built-in component of Windows and receives security maintenance together with Windows. This is not a good approach I would suggest. This is a reply for a hypothetical situation of "at least one app somewhere in the world". This is also the reply for hypothetical situation of "It's about the chairs i could realistically own in the future". We can't predict the future. We can't own anything on the planet either. |
Beta Was this translation helpful? Give feedback.
-
But how do you tell what version you need if it doesn't tell you?
Really? Where? The instruction i got was:
Which is what led me to > dotnet/core#7556 and then to > SteamRE/DepotDownloader#505
I don't know what this means.
Both of these were in response to my question > #103376 |
Beta Was this translation helpful? Give feedback.
-
There are other mechanisms. By default, a .NET application will try to show an error message about what version is required and where to download.
Yes their instruction is not very clear. .NET Core has rebranded into .NET, and the "suitable' version for it is just the "base" .NET Runtime, without Windows Desktop or ASP.NET.
Every software is considered bad by default. More is just worse when you are not using them.
The only "Microsoft Windows Desktop Runtime" ones.
You are asking for predicting the future about what you would need to run. Nobody can do. |
Beta Was this translation helpful? Give feedback.
-
As stated several times in the other thread, you only need the versions of .net that your apps require. We explained this with the screwdriver analogy. You then said you might have to use every chair ever. In which case, you'd need every screw driver ever. But no one has worked on your use case being nice because no one has ever needed to make every chair ever made (both into the past and into the future). The instructions so far hasn't been pretty clear. Install the versions of .net your apps require. That is clear and doable. |
Beta Was this translation helpful? Give feedback.
-
Then why did it specify "for your operating system"? Also what is "base" .NET?
Then i reiterate my previous question. If every version of .NET is "bad by default" then why don't people switch to something else?
Uninstallation complete! I left the 8.06 version for obvious reasons.
Actually I'm just asking for people's experience. Are older versions of .NET common enough to need to have older version installed and if so which ones. Everyone can share their experience and personal opinions and that's the core of what I asked. |
Beta Was this translation helpful? Give feedback.
-
The screwdriver/chair analogy is what made it seem like i needed every version. So from my perspective I'm being told one thing while every example people are giving me to explain it to me makes it seem like the opposite is true.
And my other post was to gleam knowledge and experience from people like you as to what versions of .NET would most likely be required based on how prolific they are and how likely it would be to come across. Contrary to what julealgon seems to believe (i think), i did come here to understand. |
Beta Was this translation helpful? Give feedback.
-
I was led to believe that to install a version of .NET that i needed the desktop runtime because that is what i was provided with. However when i sought out the desktop runtime for 2.2 and back, i was told there was not desktop runtimes for those. So my question is what runtimes am i supposed to get?
Beta Was this translation helpful? Give feedback.
All reactions