A A
RSS

Tag Archive | "mvc"

Startup – ASP.NET MVC, Cloud Scale & Deployment

Wednesday, August 5, 2009

Comments

This is a second post in my startup series (first one).  Warning, this one is a lot more technical than my first one. If you have been following my blog, my company or my twitter page then you probably know that my startup – yonkly – was built with ASP.NET MVC.  In this post, I will [...]

Deciding Between ASP.NET MVC and WebForms

Sunday, September 7, 2008

Comments

I am trying to create a decision flowchart for my ASP.NET MVC book and wanted to get some community feedback.  Does this diagram make sense?  What other factors should one consider that should make it into the chart? Things to Note I have tried to use the general consensus of the community for each decision.  For [...]

Use ModelBinder to Generically Bind Complex Types

Wednesday, September 3, 2008

Comments

[Update: Simone brought my attention to the fact that ComplexModelBinder which comes with the framework does exactly that.  You can find more info here] ASP.NET MVC Preview 5 introduce the ModelBinder attribute that can be used to decorate a complex type in an Action.  This allows us to have actions that look like this public ActionResult Create([ModelBinder(typeof(GenericBinder))] [...]

Is this Better than Constructor Injection?

Friday, August 29, 2008

Comments

So after I finished my post on property injection I thought of something, maybe I shouldn’t use constructor injection for my classes.  Maybe, I can just use lazy properties that would call my IoC (Ninject) Kernel to instantiate the object.  So instead of defining a constructor like this: public IAccountService Service { get; set; } [Inject] public AccountController(IAccountService [...]

Property Injection in ASP.NET MVC with Ninject

Friday, August 29, 2008

Comments

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 [...]

Advertise Here

What I'm Doing...

Yonkly Open Source

Sign up for my newsletter

powered by MailChimp!

Cyber Identity