164 reputation
17
bio website
location Northeast US
age
visits member for 2 years, 7 months
seen 2 days ago

Lone wolf web developer


Sep
24
awarded  Autobiographer
Apr
11
answered Why would I want a UnitOfWork layer if my service/business logic layer is specific enough?
Jan
14
awarded  Popular Question
Dec
29
comment Is a day really 24 hours long?
What are the downvotes all about? This seems more pertinent than a lot of the other questions I see on here and right now there are two different answers with a few upvotes each so it definitely seems like a worthwhile question.
Aug
13
awarded  Critic
Aug
13
awarded  Enthusiast
Aug
2
comment Using business objects in view models
I'm sorry but this is horrible advice for all but the most trivial of applications. View models don't have state. They are data transfer objects. What tab is selected is part of the STRUCTURE of the view and has NOTHING to do with the DATA in the view model what so ever. Maintenance isn't a nightmare if you structure your program properly and use something like Automapper to hydrate your view models.
Aug
2
comment Using business objects in view models
@MichaelBorgwardt Yes, this is what a view model SHOULD be. You don't want to be serializing your domain models and sending them all over the place. All business logic should stay safely at home in one place. The views however should be flexible and able to be rendered on any device which is why you want to completely separate your STRUCTURE, DATA and STYLE.
Aug
2
answered Using business objects in view models
May
30
comment What ASP.NET MVC can do and Ruby on Rails can't?
You don't need a foreign key property on your entity framework objects. Also, EF is a completely separate product and is not integrated with ASP.NET MVC in any way. You should be using view models to construct your user interface and build any drop down lists or other controls.
May
23
comment What is the point of using the private access modifier for C# class members?
Well you've got the votes, but I'm still not sure I'm convinced. Every language has a different syntax. It seems insane to worry about "throwing off" another coder who is not familiar with the language. Should we never use var, collection initializers or the null-coalescing operator as well? The C# standard could have required access modifiers for class members but it doesn't.
May
23
awarded  Student
May
23
asked What is the point of using the private access modifier for C# class members?
May
16
awarded  Editor
May
16
comment How to make a recurring event? Such as an entry in a agenda
@AlejandroGarcíaIglesias see my edit.
May
16
revised How to make a recurring event? Such as an entry in a agenda
Added info
May
16
awarded  Teacher
May
16
comment How to make a recurring event? Such as an entry in a agenda
If you're persisting instances of a recurring event what do you do when someone creates an event that starts next week and happens every other Tuesday and is going to continue indefinitely?
May
16
answered How to make a recurring event? Such as an entry in a agenda
May
13
awarded  Supporter