Search code examples
entity-frameworkbreezeasp.net-mvc-5entity-framework-6hottowel

HotTowel EF6 MVC5 Angular Breeze version challenge


Is it Possible to Get HotTowel and EntityFramework 6 working together?

Our DataAccess Layer was upgraded to EF6. The only reference we have to EntityFramework in the Web layer is the Web.Config

 <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />

 <entityFramework>
   <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework">
  <parameters>
      <parameter value="Data Source=.; Integrated Security=True; MultipleActiveResultSets=True" />
      </parameters>
   </defaultConnectionFactory>
</entityFramework>

We are unable to update the ER version 6 because HotTowel There was a Breeze Update available. But how to resolve the HotTowel

Install failed. Rolling back... install-package : Updating 'Microsoft.AspNet.WebApi.OData 5.0.0' to 'Microsoft.AspNet.WebApi.OData 4.0.30506' failed. Unable to find a version of 'Breeze.Server.WebApi2' that is compatible with 'Microsoft.AspNet.WebApi.OData 4.0.30506'.

EDIT: We are using KNOCKOUT.js library version of HotTowel.


Solution

  • There was an incompat that the Web APi v2 had when it came out (same week as my course). It is now resolved so just install

    Install-Package HotTowel.Angular.Breeze -pre