I have 2 folders:
My-WebApplication
My-WebService
Both are 2 asp.net mvc 6.0 project in an extra visual studio solution.
Both need to share a custom DbContext
class using Entity Framework 7.
I use Visual Studio 2015 and develop against
"frameworks" : { "net451" }
Where would you create the custom DbContext
class and how would you share it among both VS solutions using the latest features of Visual Studio 2015 concerning class libraries as nuget packages - if that helps -
OR
should I just create a class library and put that in a 3rd share.sln file in a 3rd folder on the same level as the others? and both solutions reference then this class library?