Base solution for your next web application

Activities of "bilalhaidar"

Hi, I've seen some code samples based on this template. When inside Application Layer, I don't see any code to check for validation or make use of Validation Data Annotation.

In ASP.NET I would do that in the Controllers before proceeding into checking business logic in the Domain Core.

What's the recommendation when using this template? Where shall I run those validation data annotations especially that I need to notify the client of such validitions.

Thank you, Regards

Question

Hi,

In the case of using Aggregate Roots. I noticed that in the template, with any change in an entity, the data is being saved to the database (UOW).

In the case of Aggregate Roots, once you are adding objects, updating, etc. then you would save changes to the database. (DDD)

How to have the same behavior in a sense not to save to the database at every field change but rather group all changes at once?

To illustrate more, consider Event aggregate root and one of the collections it manages is EventRegistration. So when following DDD guidelines, I would create a new event registration and add it to the collection of event registrations on Event aggregate root. Then, I would save to database by calling Update() or so.

I cannot figure out how to visualize the above when using the boilertemplate. Shall I disable UOW and use it manually? Or is there a better approach?

Thanks

Hi

I understand that this template adds an interceptor for. .cshtml files to be rendered by asp.net mvc and returned to client.

I have a question related to securing razor views.

Is there a built-in way to show/hide views based on permissions? Also even if user tries to access view by typing in url to prevent him.

I'm trying to secure my views as I have a requirement some groups can access certain views others cannot.

I appreciate your assistance.

Regards Bilal

Hello I am reading through the development guide and noticed the configuration for multitenancy applications.

Do I have to use a separate subdomain for each tenant in the application? Are there alternatives?

Thanks Bilal

Showing 171 to 174 of 174 entries