Posts by Ewerton • 194 points
5 posts
-
0
votes1
answer96
viewsQ: Where should I put the model classes (POCO) in a C#Solution?
Currently my Solution is organized more or less like this: View (Windows Forms) DAL (Data access, return business entities) BLL (business rules in general) Model (POCO’s representing any business…
-
1
votes1
answer51
viewsQ: Where and when to decide which concrete class (which implements a given interface) should be instantiated?
Okay, this is the classic problem to be solved with the use of interfaces, right? Let’s take the example: I have a DLL that will be used by different companies, each with their bank and their Pessoa…
-
0
votes1
answer81
viewsQ: Database connection object: Should I only have one for the whole system or one instance per class?
What is the best practice: to have only one point (Singleton) that returns the connections to the database or to create an instance of the connection for each object? My system accesses several…
-
4
votes2
answers926
viewsQ: How to reference the webservices of eSocial by Visual Studio?
I already followed the instructions of this question read, reread, and repeated the tutorial by Pedro Gaspar. And I can’t get eSocial webservices referenced by Visual Studio. What I’ve done so far…
-
3
votes2
answers262
viewsQ: How to use Simpleinjector in a multi-layer project?
Imagine the classic architecture: Consoleapplication (Frontend) --> Business Layer (BLL) --> Data Access Layer (DAL) That is, Frontend references BLL that references DAL. See that Frontend…