3

We are using MiniProfiler and on an action I noticed that before OnActionExecuting was called the time taken was between 75 and 150ms, the action was this:

public ActionResult Index(Guid guid, string fileName)
{
}

When I changed it to the following it dropped to 4ms.

public ActionResult Index(string guid, string fileName)
{
}

Has anybody else had these performance problems in Mvc with Guid binding?

Cœur
  • 37,241
  • 25
  • 195
  • 267
user351711
  • 3,171
  • 5
  • 39
  • 74

0 Answers0