Month: July 2017
-
Calling a SOAP Service from ASP.NET Core or .NET Core
When developing with ASP.NET Core or .NET Core if you need to generate a SOAP service reference you have a few options. You can use ServiceModel Metadata Utility Tool (Svcutil.exe) to generate the reference code in a console window. I use this method quite often because when I begin interacting with a SOAP service I…
-
Visual Studio Package Manager Console Fails to Start
I assisted a co-worker today with an issue where the Package Manager Console would not start in Visual Studio 2015 or Visual Studio 2017. These are the errors that were being display on the console: It was a brand new Windows 10 machine running build 10.0.14393 version 1607. There are known bugs with Visual Studio…
-
How to Assign a Strong Name to Unsigned 3rd-party Assemblies During the Build Process
I added a Nuget package to an application recently and when I tried to run the app I got the following error message. “Unhandled exception: System.IO.FileLoadException: Could not load file or assembly ‘application name, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a’ or one of its dependencies. Strong name validation failed.” It turns out the Nuget package was not strong-named.…