DBContextOptionsBuilder does not contain a definition for ‘UseSqlServer’

Attempting to use the correct NuGet packages for your code in .Net Core can be challenging.  In this instance there is no project.json error and yet this one property is missing: This will happen when your EF database project contains at least these two NuGet packages:     “dependencies”: {         “Microsoft.EntityFrameworkCore”: “1.1.1”,         “NETStandard.Library”: “1.6.1” … Read moreDBContextOptionsBuilder does not contain a definition for ‘UseSqlServer’

Dot Net Core Using the IOC Container

I’ve talked about Inversion Of Control in previous posts, but I’m going to go over it again.  If you’re new to IOC containers, breaking dependencies and unit testing, then this is the blog post you’ll want to read.  So let’s get started… Basic Concept of Unit Testing Developing and maintaining software is one of the … Read moreDot Net Core Using the IOC Container

Dot Net Core In Memory Unit Testing Using xUnit

When I started using .Net Core and xUnit I found it difficult to find information on how to mock or fake the Entity Framework database code.  So I’m going to show a minimized code sample using xUnit, Entity Framework, In Memory Database with .Net Core.  I’m only going to setup two projects: DataSource and UnitTests. … Read moreDot Net Core In Memory Unit Testing Using xUnit

Programming the GAL22V10

In previous blog posts, I showed how the GAL16V8 operated and how to program it (see here and here).  In this blog post, I’m going to discuss the differences between the 16V8 and the 22V10. Here’s the specification sheet for the GAL22V10: Lattice GAL22V10 Specifications. On first inspection, both devices look identical, except for the … Read moreProgramming the GAL22V10