Dino Esposito

Dino Esposito has authored more than 20 books and 1,000 articles in his 25-year career. Author of “The Sabbatical Break,” a theatrical-style show, Esposito is busy writing software for a greener world as the digital strategist at BaxEnergy. Follow him on Twitter: @despos.

Follow Dino Esposito via

12 June 2012
12 June 2012

The Three Models of ASP.NET MVC Apps

0
62
We've inherited from the original MVC pattern a rather simplistic idea of what should be in the Model. In fact, in ASP.NET MVC, there are three distinct types of model: the domain model, view model and input model. As the data behind an ASP.NET MVC application becomes more complex, the more the view model and domain model may diverge.… Read more
0
62
23 April 2012
23 April 2012

ASP.NET MVC: Resolve or Inject? That's the Issue…

0
69
Classes should have dependencies only on abstract, rather then concrete, classes. To get around this, you can choose between Service Locator and Dependency Injection techniques. ASP.NET MVC uses 'Dependency Resolvers' which are Service Locators. When designing ASP.NET MVC applications it is open to you to decide whether to resolve or inject, so what are the pros and cons? Dino explains.… Read more
0
69
19 March 2012
19 March 2012

A Generic ASP.NET MVC Template

0
13
When you start an ASP.NET MVC project, you choose one of a number of project templates or starter kits. The ones that Visual Studio provide are very useful, but you can create your own if you want, and Dino finds that the generic one that he presents in this article works well to rapidly create MVC applications.… Read more
0
13
11 October 2011
11 October 2011

Never Mind the Controller, Here is the Orchestrator

0
44
The Model-View-Controller pattern of the ASP.NET MVC allows the separation of the business logic from the input and presentation logic. Although it permits the independent development, testing and maintenance of each component, it doesn't guarantee clean code. Dino Esposito offers a modified approach in which an Orchestrator component helps to keep your controllers small, clean and manageable.… Read more
0
44