.NET: Roslyn Has a Missing Path

This error seems to occur when I am opening an upgraded web project in Visual Studio 2019: 
  

This happens when the current codebase is using older VS2015 templates. 

The simplest approach is to open NuGet’s Package Configuration Console in Visual Studio and enter the following to upgrade the compiler: 

Update-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform -r 
REFERENCE:  

https://stackoverflow.com/questions/32780315/could-not-find-a-part-of-the-path-bin-roslyn-csc-exe

Git: Authentication Failed Error When Trying to Commit In Windows 10

Periodically, I get the following error when trying to commit to Git running in a Windows 10 environment: 
Eventually, I notice that this seems to happen after I update my Windows password.  To resolve this issue, I open Credential Manager and update the password there.  If that does not work, then I remove and let a new credential be created: 
  1. Open “Credential Manager” at “Control PanelAll Control Panel ItemsCredential Manager” 
  2. Select “Windows Credentials” and locate the credential associated with Git.  
    1. ie, “git:https://hub.techsols.int” 
  3. Click “Edit” and update to latest Windows password.
 

.NET: How To Use ViewData, ViewBag And TempData in MVC

ViewData 

It is a dictionary which can contain key-value pairs where each key must be string. We can use it in transferring data from Controller to View. We can only transfer data from Controller to view but if we wish to pass data back again to controller then it is not possible. So it is valid only for the current request.

ViewBag

ViewBag is also similar to ViewData. It is used to transfer data from Controller to View. It is a type of Dynamic object, that means you can add new fields to viewbag dynamically and access these fields in the View. You need to initialize the object of viewbag at the time of creating new fields.

TempData

TempData is a dictionary object derived from TempDataDictionary. It is for subsequent HTTP requests; unlike ViewBag and ViewData, those stay only for current request. It can be used to maintain data between controller actions as well as redirects.

REFERENCES:

.NET: What Version Is On the Target Server

I’m upgrading .NET (legacy 4.*) applications on multiple unfamiliar servers.  This includes needing to know if the currently installed framework meets my requirements.  Instead of fumbling through the actual registry, I can pasted this C# snippet into a console app and all is good:

REFERENCE: https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed