Posts by Daniel Moreira • 86 points
6 posts
-
0
votes1
answer79
viewsA: Capture Stackoverflowexception
There is a lot of code that can generate exceptions, I advise you to use the Log4Net and go checking step by step of your algorithm. Unit tests also help a lot in these cases. Configuring Log4net in…
-
1
votes1
answer891
viewsA: Can I edit Identity’s Aspnetusers table?
MVP Eduardo Pires has two articles addressing just this, I advise you to take a look there, are great content. Full Identity tutorial Customizing the user table…
-
1
votes2
answers66
viewsA: Include all child objects (navigation properies) in the Entity search
I would just like to comment on something unpretentiously. When we do a bank search, we should always return the smallest possible scope and with only the necessary information for that screen or…
-
0
votes2
answers414
viewsA: VB.NET - Find text in XML file
The framework already solved this a long time ago. Serialize your class! Don’t do it procedural, use object orientation in your favor. Theoretically you create a class that reflects your XML, fills…
-
2
votes3
answers1476
viewsA: Is it necessary to create a primary key with auto increment?
1) Theoretically would have no problem in doing so, it depends on how your app will handle this PK. It will have additional code fragments to validate whether PK is unique, valid, etc. But it would…
-
3
votes2
answers1393
viewsA: Alternative to Session
I strongly advise against using Session on MVC, mainly in applications that use Load-Balance: Use cookies! Http as well as MVC is Stateless. You don’t even need to create memory pointers or request…