Tuesday, December 21, 2021

Ever wonder what adding Docker support does in Visual Studio templates?

 



launchSettings.json section added:


Dockerfile contents:


And finally:

MVC: Framework versus Core project template 2

 Side by side:





MVC: Framework versus Core project template

 This is what they look like:


Framework


Core

Side by side, expanded:








Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0

 



This was very common at one point (b/w 2017-2020?)


A common solution for:

"Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0"

was putting the following in the web.config:

<runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
       <dependentAssembly>
           <assemblyIdentity name="Newtonsoft.Json"
               publicKeyToken="30AD4FE6B2A6AEED" culture="neutral"/>
           <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0"/>
       </dependentAssembly>
    </assemblyBinding>
</runtime>

After this upgrade, the project database can't be modified using earlier versions of Visual Studio

 

"After this upgrade, the project database can't be modified using earlier versions of Visual Studio"





Sunday, December 5, 2021

Trigger Virus Scan With a few keystrokes...

 FatCow deploys the following "virus" to all its new customers:



https://www.microsoft.com/en-us/wdsi/threats/malware-encyclopedia-description?name=Exploit%3aHTML%2fIframeRef.R!MTB&threatid=2147781254