Questions tagged as 'ninject'

1
answer

IOC - No parameterless constructor was defined for this object

I am doing a project and they are separated in layers, I can call DDD. However I have the following error: No parameterless constructor has been defined for this object. I'm using Ioc, here's how I'm doing: public class NinjectWebCommo...
asked by 11.05.2018 / 03:48
0
answers

Ninject - System.MissingMethodException: No parameterless constructor was defined for this object

I have the error;    No parameterless constructor has been defined for this object.       Description: An unhandled exception occurred during the execution of the   current Web request. Examine the stack trace for   more information about th...
asked by 23.11.2017 / 14:16
1
answer

Error calling a method in ASP.NET Web API and Ninject

I'm getting error when trying to call a method from a Web API. Method declaration in ApiController public class AcessoController : ApiController { [HttpGet] public UsuarioModel ValidarUsuario(string login, string senha, stri...
asked by 06.10.2016 / 20:33