• ASP.NET MVC, Programming

    Posted on May 3rd, 2011

    Written by Emad Ibrahim

    Tags

    , , , , , ,

    AppHarbor + ASP.NET MVC + Orchard = Awesome

    ASP.NET development has come a long way.  It’s now easier to practice Test Driven Development (TDD) thanks to ASP.NET MVC and all the open source tools out there from Ninject to Moq to Entity Framework Code First.  But one thing remains real sucky in the .net world and that is deployment.  Have you tried deploying [...]

  • Testing

    Posted on September 22nd, 2008

    Written by Emad Ibrahim

    Tags

    , , , ,

    A Good TDD Process Diagram?

    I am trying to create a flow diagram that depicts the Test Driven Development process and I need your expertise/opinion/criticism in nailing it down. Take a look below and let me know what is wrong, what is right and what can be done better. I drew the above diagram based on my understanding of TDD [...]

  • ASP.NET MVC

    Posted on August 29th, 2008

    Written by Emad Ibrahim

    Tags

    , , , , , , ,

    Property Injection in ASP.NET MVC with Ninject

    I got a design challenge with asp.net mvc.  I want to keep track of the currently logged in user in the session because I don’t want to hit the database every time I need to get the username or id for a query.  And I have all my controllers inherit from a base controller named [...]

  • ASP.NET MVC, Programming, Testing

    Posted on August 27th, 2008

    Written by Emad Ibrahim

    Tags

    , , , , , , , , ,

    Mocking and Dependency Injection in ASP.NET MVC

    Here is the situation, my controller constructors take multiple interfaces as parameters.  I do this in order to use constructor injection which allows me to inject the controllers with mocked objects in my unit tests. For example, my AccountController takes IEmailService, IFormsAuthentication and MembershipProvider (abstract class) as parameters. During my testing, I want to mock [...]

  • Programming, Testing

    Posted on August 10th, 2008

    Written by Emad Ibrahim

    Tags

    , , , , , , , , , ,

    The Best JavaScript Library

    I am in the process of creating a new web application using asp.net mvc and I am trying to choose the best JavaScript library to use.  I am pretty much sure that I am going to go with jQuery but nonetheless I wanted to review the libraries out there.  One reason is that I am [...]

  • Older Posts Yeah! There are more posts, check them out.