ASP.NET MVC How to correctly map a parameter in url-routing?

Post all your routes. It sounds like your URL is being handled by a different route than this one. Remember, the order you list your routes does matter.

Therefore, if you have another route BEFORE this one that this URL can map to, it will.

MvcContrib contains route debugger. Use it and you'll see which route is called for this url. Here are some instructions how to enable it.

The parameters dictionary contains a null entry for parameter 'flag' of non-nullable type 'System. Int32' for method 'System.Web.Mvc. ActionResult CercaSegnalazioni(Int32)' in 'RecuperoPagatiMvc.Controllers.

To make a parameter optional its type should be either a reference type or a Nullable type.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions