Monday 7 May 2018

Where is .NET on disk?

Purpose:
  • Basic question that implicitly tests whether someone has had to grapple with .Net versions incongruities in environments.
  • Bonus points if the person knows that Net Core is located somewhere else and mentions self contained applications

Potential Answer:
.NET Framework = C:\Windows\Microsoft.NET 
.NET Core = C:\Program Files\dotnet

For .Net Core there are two ways to deploy, FDD (Framework-dependent) and SCD (Self-contained). 

SCD will resul in larger exe and means that it is your job to keep the .Net version up to date and to specify the plarforms that you target.

2 comments: