Fixing Pluralsight – Building Web Apps & Services with Entity Framework and Web API

keywords: Breeze, angular, pluralsight, webapi2, Unknown provider, unable to load module

Since this tutorial came out there have been some changes in Breeze and I noticed a few hundred blog entries trying to figure out the problems.

Unknown provider: breezeProvider <- breeze <- entityManagerFactory <- datacontext This is why the demo wont work. breeze.angular.q is gone and now you use breeze.angular Read John Papa here: John Papa’s Step by Step

Breeze Documentation

Share on Facebook

Basic Jasmine Runscript

describe(‘Test Jasmine Functionality…’, function () {
var jasmineUnitTest = ”;
// where you can do setup for test.
beforeEach(function () { jasminUnitTest = “hello” });
// where you can do cleanup for test
afterEach(function () { jasmineUnitTest = “”; });
it(‘Testing true..’, function () {
it(‘Testing proper addition..’, function () {
expect(1 + 1).toBe(2);
it(‘Testing not proper addition..’, function () {
expect(1 + 2).not.toBe(2);
it(‘Testing beforeEach set jasminUnitTest = hello’, function () {

// use .not. for reverse

//toEqual = C# ==
//toBe = C# ===

//toBeLessThan = < //toBeGreaterThan = >


//toBeTruthy() -> checks for true
//toBeFalsy() -> checks for false

//toContain() => contained within an array
//expect(funtion(){somemethod();}).toThrow(ex) uses callback to throw expection.

Share on Facebook

Ninject WebAPI Circular Reference

keywords, ninject, webapi 2, odata, circular reference.

If you installed Ninject MVC for 5 and 3 for some reason this doesn’t work, gives above error.  There are a ton of documented long drawn out fixes, but uninstalling both ninject for MVC5 and MVC3  then reinstalling Ninject  MVC3 fixed thew issue finally.


Hoping to save others time.



Share on Facebook

Cannot find angular.js

Keywords John Papa HotTowel can’t find angular.js

Been running down bugs on a few pluralsight tutorials.

WEBAPI with Jesse liberty, this leads into Hot Towel.  THe demo was great. I was just applying it towards a different set of data so sometimes I run into issues;


Fix: add src to angular.js

<script src=”scripts/angular.js”></script>[‘$route’, function ($route) {
breeze.core.extendQ($rootScope, $q);
// Include $route to kick start the router.

<link href=”content/breeze.directives.css” rel=”stylesheet” />

<script src=”scripts/breeze.debug.js”></script>
<script src=”scripts/breeze.angular.js”></script>
<script src=”scripts/angular.js”></script>
<script src=”scripts/breeze.saveErrorExtensions.js”></script>
<script src=”scripts/breeze.directives.js”></script>
<script src=”scripts/$q.shim.js”></script> <!– Needed only if you are using to$q –>

Share on Facebook