Reputation
428
Top tag
Next privilege 500 Rep.
Access review queues
Badges
2 5
Newest
 Yearling
Impact
~7k people reached

  • 0 posts edited
  • 1 helpful flag
  • 73 votes cast
Jun
7
comment Why do people fork repositories on GitHub?
I remember when I first learned about git and Github, I did some forking just because guides and tutorials seemed to propose it as the way to get your own copy of the code on your computer.
May
6
answered Have programmers at your work not taken up or been averse to an offer of a second monitor?
Jan
30
comment CQRS with Repository pattern and Inversion of Control (with DI)
You still mention both in the question. You "assigned someone to create a CQS implementation", and then you question if it adheres to CQRS. That doesn't make sense. I don't know what I'm supposed to answer here. You need to clarify what your question is.
Jan
28
comment CQRS with Repository pattern and Inversion of Control (with DI)
CQRS (Command Query Responsibility Segregation) is not the same as CQS (Command Query Separation).
Jan
3
awarded  Yearling
Jan
3
awarded  Editor
Dec
26
comment Should we use Entity Framework?
New or existing databases? There's potentially a huge difference between building a new DB with the conventions of EF in mind, and trying to retrofit EF on top of an existing DB that wasn't built for ORMs.
Dec
18
answered Alternative Web model
Nov
23
comment Architecture : am I doing things right?
What do you mean "permit an easier database refactoring"? Are you going to build the app first and then refactor the database? Seems like the wrong order of things.
Oct
6
comment Using WebStorm for Razor Syntax MVC
Perhaps Microsoft's WebMatrix would better suited? Or Visual Studio 2012 Express Edition for Web.
Sep
21
answered How to manage/control software versions?
Jun
15
comment IValidatableObject vs Single Responsibility
If you want the validation in a separate object, try FluentValidation. See fluentvalidation.codeplex.com/wikipage?title=mvc.
Oct
8
awarded  Yearling
Sep
3
comment Sell me on IoC containers, please
The sample code looks like a really bad example of an IoC implementation. I'm only familiar with C# but surely there is a way to have constructor injection and programmatical configuration in C++ as well?
May
27
comment What makes C developers so curious if “i++ == ++i”?
I encountered this today. Something like if (myList[i++] == item). Clever. I found it looking for the source of an IndexOutOfRange exception... Indeed, very "clever".
May
23
awarded  Critic
May
22
awarded  Commentator
May
7
comment What ASP.NET MVC can do and Ruby on Rails can't?
Regarding the action parameters: I would have thought that public ActionResult Edit(Foothing foothing), i.e. the ModelBinder features were even neater.
Mar
26
comment In ASP.NET MVC3 controllers, where do you instantiate your DataContext?
The MVC setup for Autofac is here: code.google.com/p/autofac/wiki/Mvc3Integration. Any dependencies registered to the HttpRequest Lifetime scope will be disposed when the request ends.
Mar
26
comment In ASP.NET MVC3 controllers, where do you instantiate your DataContext?
@Portman: Not sure what you mean. The DI container does exactly what I tell it to do through configuration rules. I said "usually" because the configuration and structure of my applications varies. In the simplest case of a controller directly dependent on the DbContext, it will be instantiated just before the controller. However, I often delegate data access to other services, and in that case the DbContext will be instantiated when these services need it.