I can't access:
http://localhost:54158/Bull/Details/S.No%20GERRY
http://localhost:54158/Bull/Edit/S.No%20Gurukul
http://localhost:54158/Bull/Edit/S.No%20GR%2013
While I can access:
http://localhost:54158/Bull/Details/GR%20001
http://localhost:54158/Bull/Edit/TP%20001
In short, I can't access an URL with .(periods) as parameter.
public ActionResult Details(String id)
{
Bull bull = db.Bulls.Find(id);
if (bull == null)
{
return HttpNotFound();
}
return View(bull);
}
I tried placing breakpoints in my code, but for the inaccessible URLs, the actions that should be triggered, aren't.