When I decided to write down a little class to manage a menu, I created a simple object that reads the menu data in xml, and transform it into a series of MenuItem object. The first thing I wanted to do is writing some test to verify that the logic is ok, but since my [...]
Continue reading about Decouple controllers and other objects from context in asp.net mvc
jQuery has really a lot of interesting plugins, but the one I like most is a template engine called jtemplates. Basically it consist of a jQuery extension that is capable of rendering html with javascript on client machine. You really have a lot of flexibility on how to specify a template, basically you can embed [...]
Continue reading about Asp.net Mvc plus jQuery client template engine .. have fun with them
I have a little site with mixed webform and mvc pages, and I need a simple way to create a main menu. Since asp.net mvc have the concept of controllers and action I like to express my menu with a simple xml file like this.
<?xml version=”1.0″ encoding=”utf-8″ ?>
<menu>
<submenu text=”administration”>
[...]
I’m moving my first steps on asp.net mvc, and in my test project I added a route after the default one in this way.
RouteTable.Routes.MapRoute(
“Default”,
“{controller}/{action}/{id}”,
[...]
Continue reading about Choosing the ritgh route when you generate link in asp.net mvc.
First of all thanks to Andrea Balducci that gave me this solution. I have a asp.net application where I enabled Asp.Net mvc following a link in the web. Everything works well until I try to use Strongly Typed View. When I try to have a page that inherits from ViewPage<T> where T is one of [...]
Continue reading about Could not load type ‘System.Web.Mvc.ViewPage<..<>’




