-
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.…
-
Microsoft BUILD Conference Notes
I had the opportunity to attend the Microsoft BUILD conference in Seattle last week and wanted to capture all the notes I had taken while I was there. I have broken the notes into 5 categories. There was over 300 sessions so there was a lot more covered that I didn’t have the opportunity to…
-
Introduction to GraphQL
Tags: GraphQL I was preparing for a presentation to my team at work on GraphQL and thought that it would be good to share the material on my blog. My two primary sources for learning GraphQL have been the GraphQL.org site and this course on PluralSight Building Scalable APIs with GraphQL by Samer Buna. I…
-
Structuring Your Domain Model
Tags: DomainDrivenDesign; This article is a continuation of a series on building the Person Service. Here is the list of articles in the series. Getting Started Building the Person Service In this article I am going to define the domain model for the Person Service. Our primary entity in this system will be a person.…
-
Heating, Ventilation and Air Conditioning (HVAC) Repair
The Issue So I had an interesting learning opportunity this weekend about heating, ventilation and air conditioning (HVAC) diagnostics and repair. Late Friday afternoon my wife noticed that it was getting warm on the main floor of our two story house so she went to the thermostat only to find nothing being displayed on the…
-
Getting Started Building the Person Service
Tags: PersonService At my company we have a service which provides information about all employees. The service has only one table and returns either a single object representing an employee or a DataTable containing information about one or more employees. The service gets it’s information from our HR system. The service allows you to specify…
-
Some Things I Learned While Getting Started with .NET Standard
Tags: .NET Standard;C#; I recently created a new .NET library, which I wrote about here, and I decided to create it using the new .NET Standard library. I had read about .NET Standard when they announced it and read several articles that discussed it of which Rick Strahl’s article is a must read. As with…
-
A New Password Library in C#
Tags: C#;Security I recently had a need to generate a password that met a defined policy. I came across several good discussions on Stack Overflow that provided ways to generate cryptographically secure passwords using RNGCryptoServiceProvider to generate truly random bytes. Yet none of the discussions talked about how to implement policies such as having at…
-
Adding Diagnostics in Entity Framework Core
Tags: EFCore, ASPNETCore, Prefix, DBMonitor In my last article I talked about getting started with Entity Framework Core. In this article I want to cover the diagnostics aspect of Entity Framework Core. We will look at enabling logging in our application and how to use a profiler to get more in-depth information about Entity Framework.…