EF Core 1.1 – Creating DbContext instances

This post describes the different ways to create and configure instances of DbContext in EF Core 1.1. This includes:

  • Calling a constructor directly and overriding OnConfiguring
  • Passing DbContextOptions to the constructor
  • Using Dependency Injection (D.I.) to create instances

Continue reading

EF7 Provider Building Blocks

In this post I’ll outline the basic building blocks needed for an EF7 provider. The idea is not to show how everything should be implemented, but rather to show what pieces are needed and how they fit together. The best examples of EF7 providers are the SQL Server and SQLite providers, which ca both be found in the EF repro on GitHub.

EF7 providers should be shipped as NuGet packages. This post does not cover NuGet packaging, but you can look at the GitHib repro for some ideas on how to do this.

Continue reading

Lego Mindstorms 360° Photobot for Gear VR

I found this video a week or so ago showing how to create 360° spherical photos that can be viewed in the Samsung/Oculus Gear VR. It works nicely, but it is both tedious and error-prone trying to manually capture all the images needed for a full spherical picture. I figured it would be much more convenient if something could automatically move the camera appropriately. Enter the Lego Mindstorms 360° Photobot for Gear VR!

Continue reading

The future of Virtual Reality is not gaming…

It is starting with games, games are a great fit, and the games are going to be awesome. But it will become huge through immersive sports, immersive music, and most importantly, immersive storytelling.

Why? Because regardless of technology by far the most popular entertainments are ones that people can enjoy passively. Many more people regularly watch sports than play sports. Many more people enjoy music performances than play music. Many more people read books, watch TV, and go to the movies than play video games.

Continue reading

After wearing ourselves out in the real world, my daughter and I…

Today, after wearing ourselves out in the real world, my daughter and I have paddled down the Anduin and through the Argonath, floated in space above the Earth, flown through the Solar System and marveled at the beauty of Saturn’s rings, watched some of The Lego Movie in 3D on a giant theater screen, caused asteroids to explode by staring at them, shot paper balls around a classroom and played a Game Boy under the desk, until the game came out of the Game Boy and filled the classroom, sat in a cafe in Paris as a robot, enjoyed butterflies fluttering around us and petals floating softly from above, ridden a roller coaster through a lava factory, and flown inside our own Minecraft worlds. This is just the beginning. Thank you Oculus. Everything is awesome.