Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

business logic #1377


User avatar
0
iamnish created

where is the best place to put my business logics.do u have any example?


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    In Domain Driven Design, it's suggested to put your bussiness logic in domain layer which is *.Core project in AspNet Zero solution. But it's not always easy to do that :)

  • User Avatar
    0
    iamnish created

    can u be more specific on "<span style="color:#FF0000">not easy</span>" part .Is there any example?

  • User Avatar
    0
    hikalkan created
    Support Team

    Please see our Domain Services document which describes and discusses it widely: <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Domain-Services">http://www.aspnetboilerplate.com/Pages/ ... n-Services</a> It's easy to implement it in ABP and AspNet Zero. But it requires some experince to decide which is your domain logic, which is you application logic. But, you get it better by time. This document can be a good starting point. Have a nice day.