Base solution for your next web application
Open Closed

Using entity framework part of solution with Windsor without web.hosting #6555


User avatar
0
enio created

We are currently developing a distributed system with the help of nServiceBus. Now we would like to linke the back-backend-part of the system (which is processing the messages) with the entity framework part of asp.netzero. Therefore we referenced the asp.netzero Application project in our solution and make use of the Windsor DI container over the IocManager from Abp. However the entity framwork repositories are not registered in the container as we don't actually start the asp.netzero application.

Can you give us the direction where we should go?:

  • Is there a simple way to just register the entity framework repositories without starting the web.host project?
  • Or should we just copy the Web.Host project and start our back-backend-system within this context? Actually we would like to use as less as possible asp.netzero code in this part of our system.

2 Answer(s)