New Posts New Posts RSS Feed: MEF for server part
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

MEF for server part

 Post Reply Post Reply
Author
pponzano View Drop Down
Senior Member
Senior Member
Avatar

Joined: 28-Apr-2011
Location: Italy
Posts: 165
Post Options Post Options   Quote pponzano Quote  Post ReplyReply Direct Link To This Post Topic: MEF for server part
    Posted: 23-Feb-2012 at 2:41am
Hello Ideablade,
I've almost finished creating modules for the WPF part, if I've (almost again) clear how to do it, what should I do for the DomainModel's server part? have I to reference in my BOS project the modules? in this case I will loose the major part of the modularity since I 've to deploy the BOS server again... how can I face this?

Thanks
Back to Top
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Posted: 23-Feb-2012 at 2:33pm
Hi pponzano,

Forgive me but I'm not sure I understand the question. Could you perhaps illustrate with a screenshot of your project?

Thank you.
Back to Top
pponzano View Drop Down
Senior Member
Senior Member
Avatar

Joined: 28-Apr-2011
Location: Italy
Posts: 165
Post Options Post Options   Quote pponzano Quote  Post ReplyReply Direct Link To This Post Posted: 27-Feb-2012 at 8:52am
Hello DenisK,
I try to explain better what I need to achieve, if not enougth I'll send you a support ticket...

for what concern the "client" part, I've created all the modules I need, so each macro-area part has it's own dll that contains the repository to access to the data, for now I've only one project connected to the BOS project that's contains the EDMX...

I can tell that the client part is ready for MEF's modularity and I'll add in the bootstrapper the path to look for module's dll.
For the server part I'll still to create separate project and reference them in the BOS project...this is a limitation BTW since I'll need to add a reference to BOS project every time I add a module, is it right? or it's enougth to copy module-server assembly to the bin folder?

Thanks
Back to Top
mgood View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 18-Nov-2010
Location: Emeryville, CA
Posts: 583
Post Options Post Options   Quote mgood Quote  Post ReplyReply Direct Link To This Post Posted: 27-Feb-2012 at 3:50pm
You don't need to reference anything in the server project. You can just drop the model assembly in the bin folder. It will automatically be discovered when the server starts up.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down