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

Enforcing business rules #2618


User avatar
0
bilalhaidar created

Hello, Can you please refer me to the source code in the framework where you implement some business rules? I want to see how to implement that in terms of classes and interfaces, etc.

Thanks Bilal


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

    Hi,

    In AspNet Zero we don't have any or much bussiness rules because our template is independent of customer's bussiness. This can be considered as a bussiness rule (I'm not sure but) <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/blob/master/src/MyCompanyName.AbpZeroTemplate.Core/Chat/ChatMessageManager.cs#L55">https://github.com/aspnetzero/aspnet-ze ... ger.cs#L55</a>.

    You can implement your bussiness rules in your entites or in domain services.