Sonath
✅ Opinion time: Handling multiple id's in the same path (ASP.NET MVC)
I think I'll keep the 2 controllers separate because it's an issue with naming the CRUD paths, given that they're both within the same area.
So they have paths like
AreaName/surveys/1/submissions/create
but I also need an AreaName/surveys/create
, and having them both on the same controller will mess up the pattern recognition system for areas 😭7 replies
Why does the following prints "Point" to the console instead of "(2, 3)"?
it really threw me off cause I always believed that it just executes whatever .ToString exists on the object that's passed, but since it's using object internally it makes sense!
6 replies
✅ Recommended way to handle null results from a repository GET action?
yeah so, basically the custom exception does that, I just think that (after talking with others too) it's better NOT to throw an exception here, and reserve exceptions for really exceptional things.
35 replies