Easy Hack to get a .NET Standard REST API

Everyone’s favorite Visual Studio Feature! LINKED ITEMS! 😊 I literally generated a client using the ‘Add REST API Client’ in the .NET Framework project and the PCL project and then linked them into a .NET Standard project and neither codebases threw compiler errors. However, this is no reason for the good folks on the Visual … Continue reading Easy Hack to get a .NET Standard REST API

Advertisements

Generating a REST API in Visual Studio with the many flavors of .NET

I remember a time when there was just .NET. .NET Framework 1.0, 1.1, 2.0, 3.5, 4.0 etc. but all .NET. Then came Silverlight, Windows Phone Silverlight, Windows Universal-ish, Universal Windows Platform, Xamarin.xyz, .NET Core, .NET Standard. Now my head hurts. Seriously. I just want to build a WebAPI client that I can use in a … Continue reading Generating a REST API in Visual Studio with the many flavors of .NET

Entity Framework + LocalDB Connection String Changes

Apparently there was a change in how you connect to SQL Server LocalDb after version v11. I ran into this when I used some old code still configured for version 11. I received this error: “A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was … Continue reading Entity Framework + LocalDB Connection String Changes