Resolving Circular References (C #)

I have a couple of circular link / dependency issues that I've been sitting all day. Something must be wrong with my thought process, I just do not understand.

Here are my projects:

Flip.Main     (ASP.NET MVC)
Flip.Domain   (C# DLL)
Flip.Services (C# DLL)
Flip.Utility  (C# DLL)

code>

Current Links / Dependencies:

Flip.Main ->     Flip.Domain, Flip.Services, Flip.Utility
Flip.Services -> Flip.Domain, Flip.Utility
Flip.Domain ->   Flip.Utility

code>

I wanted to structure my project so that my services project had all the services, my domain project, model, repository and "smooth" extensions for querying the model, and the main and useful project is largely understandable to myself.

Problem Failure:

1) EmailService Flip.Services, . Flip.Main App_GlobalResources. , , Flip.Main , .

2) -, . CustomerSearchFilter, . , - Flip.Domain, . CustomerSearchFilter (, CustomerGroup), . Fluent Flip.Domain , CustomerSearchFilter, IQueryable. .

3) [AuthorizeSessionState], , ASP.NET MVC Flip.Main. ActionFilterAttribute, SessionService, Flip.Services. Utility ( Flip.Services Flip.Utility). , Flip.Main - !?

( 20)

, - , , . ?

+4
6

. .

+5

, DLL. , , . dll , , ?

0

... (FM, FS, FD, FU). , , ...

, ( ) .

, !

0
  • Flip.Services. , . dll , .
  • dll CustomerSearchFilter .
  • .
0

, /. Ima , , . , , . , , , , .

,

0

"" , . ( ..) . , , № 2.

0
source

All Articles