Reputation
223
Top tag
Next privilege 250 Rep.
View close votes
Badges
2 7
Newest
 Yearling
Impact
~7k people reached

  • 0 posts edited
  • 0 helpful flags
  • 8 votes cast
Jan
3
awarded  Yearling
Jan
3
comment Having a TestContext to test methods instead of Dependency Injection
Instead of using an IoC container can we use a default ctor that calls the injection ctor with concrete objects ?
Jan
3
comment Having a TestContext to test methods instead of Dependency Injection
I couldn't agree more. Actually I am suggesting this TestContext object as a temporary solution so we can have our code refactored without having to add a IoC container in the first place.When everything is in place we can remove TestContext and replace it with a real IoC container.
Jan
3
comment Having a TestContext to test methods instead of Dependency Injection
Well as far as I searched monkey patching is not possible in C# unless we use a unit testing framework such as TypeMock.
Jan
3
comment Having a TestContext to test methods instead of Dependency Injection
I agree with you to some extent but It involves a lot of change in our code and I am afraid that it can make people anxious :)
Jan
3
awarded  Editor
Jan
3
revised Having a TestContext to test methods instead of Dependency Injection
added 1 character in body
Jan
3
comment Having a TestContext to test methods instead of Dependency Injection
What do you mean by monkey patching ? (and yes those static methods are really hated ;) )
Jan
3
asked Having a TestContext to test methods instead of Dependency Injection
May
21
comment Drawbacks of using pure html in webforms?
Aren't we still using ajax for sending and receiving json ? for example we have this nice ajax method in JQuery that works with json nicely :) BTW I've got your point. Thanks
May
12
comment Drawbacks of using pure html in webforms?
As far as I know ajax is a way of sending a request to server avoiding a post back (rendering html) to happen in server side so that user does not experience redirection between pages and json is a way for serializing and deserializing data, so I am a bit confused when you say "why ajax and not json?".
Jul
3
awarded  Notable Question
Jul
24
awarded  Nice Question
Jun
26
awarded  Scholar
Jun
26
accepted Interception vs Injection: a framework architecture decision
Jun
24
awarded  Popular Question
Mar
11
awarded  Supporter
Mar
11
asked How I can hide dependencies from my Services?
Mar
10
awarded  Student
Mar
10
awarded  Autobiographer