I\'m getting below error. I setup it similar to asp.net mvc 4.
No parameterless constructor defined for this object. Description: An unhandled exception
Thank you for all the reply finally found the issue. In my service class I refer a app setting but didn't define it on the web.config file because of that structuremap couldn't inject an instance of my service class.
private readonly string _path =
ConfigurationManager.AppSettings["vp"].ToString(CultureInfo.InvariantCulture);