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

Digital Logic Simulator Progress

Summary In this post I’m going to talk more about creating simulation software and the difficulties of inventing something new. Writing Software is Like Working in a Sausage Factory Writing new software is more of an art than a science.  Sure, we call ourselves scientists and we have methods and proven algorithms for getting things … Read moreDigital Logic Simulator Progress

Falstad Circuit Simulator and the SR Latch

  Summary In my last post I described a logic circuit simulator that I was working on.  I have continued to work on this simulator source code and have discovered a difficulty in simulating a flip-flop.  While researching for a creative solution to my dilemma I stumbled across a circuit called a Falstad circuit.  This … Read moreFalstad Circuit Simulator and the SR Latch

Digital Logic Simulator

Summary One of my favorite college courses was a computer simulation.  This was a 400-level course that required calculus-based statistics.  Our projects included a project to simulate real-world queuing problems like a Mcdonald’s drive-through line and an airport with one runway.  The answers that we were required to ask were things like: How many cars … Read moreDigital Logic Simulator