Parsa

Results 11 comments of Parsa

FREE JADI PLS

Thank you for your insightful response. I now comprehend the preferred approach as highlighted in the comments, emphasizing the maintenance of domain service logics in the core layer.

Have you put a break point and se what has happened? So we can see the real reason of the internal error

@yogyogi As shown and commented in the code, the database is InMemory and the query will not execute ![image](https://github.com/ardalis/CleanArchitecture/assets/75223567/57133559-adf2-47a4-8618-1bf609c86df3)

@yogyogi If you want the test to pass you can use the LINQ query instead of SQL raw query

I was considering implementing it as a best practice, though the project's scale is a crucial factor. The positive aspects I envision for incorporating an application layer include: Better separation...

Don’t mention it, mate. Your question was spot on. I agree with you that adding a new layer just to implement a best practice is unnecessary. I wasn’t considering a...

Ideally, The presentation layer should interact with the application layer, which coordinates with the domain and infrastructure layers.

So the difference is that AsReadOnly() creates a wrapper which prevents modifications and the second one creates a copy of the list What is the use case of each?