Mark Seemann's user avatar
Mark Seemann's user avatar
Mark Seemann's user avatar
Mark Seemann
  • Member for 13 years, 9 months
  • Last seen this week
473 votes
Accepted

How to avoid Dependency Injection constructor madness?

372 votes
Accepted

Dependency Inject (DI) "friendly" library

341 votes
Accepted

Linq style "For Each"

340 votes
Accepted

Iterate two Lists or Arrays with one ForEach statement in C#

285 votes
Accepted

Is there a pattern for initializing objects created via a DI container

258 votes

How do I get the current username in Windows PowerShell?

252 votes
Accepted

Unit Testing: DateTime.Now

235 votes
Accepted

How do the major C# DI/IoC frameworks compare?

228 votes

Why do we need Abstract factory design pattern?

222 votes
Accepted

How do you set the startup page for debugging in an ASP.NET MVC application?

210 votes
Accepted

Ioc/DI - Why do I have to reference all layers/assemblies in application's entry point?

169 votes
Accepted

Is it possible to execute code once before all tests run?

159 votes

How to access random item in list?

134 votes
Accepted

Using IoC for Unit Testing

133 votes

Should it be "Arrange-Assert-Act-Assert"?

130 votes
Accepted

Difference between Fact and Theory? - xUnit.net

126 votes
Accepted

How do I pass values to the constructor on my wcf service?

114 votes
Accepted

Settings variable values in a Moq Callback() call

106 votes
Accepted

Unit testing and checking private variable value

101 votes
Accepted

Mocking virtual readonly properties with moq

100 votes
Accepted

F# how to pass equivalent of interface

97 votes

Injecting dependencies into ASP.NET MVC 3 action filters. What's wrong with this approach?

94 votes
Accepted

Why not use an IoC container to resolve dependencies for entities/business objects?

92 votes
Accepted

Grabbing the output sent to Console.Out from within a unit test?

81 votes
Accepted

Use of IsAssignableFrom and "is" keyword in C#

80 votes
Accepted

Can't grasp the difference between Freeze/Inject/Register

78 votes
Accepted

Design - Where should objects be registered when using Windsor

77 votes
Accepted

AutoFixture - configure fixture to limit string generation length

77 votes
Accepted

Automated Unit testing - why? what? which?

75 votes
Accepted

What's the difference between application layer and business logic layer?

1
2 3 4 5
87