-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not find a parameterless constructor. #591
Comments
ASP.NET Core has heaps of extensibility points, I don't understand why you'd use DynamicProxy. |
I knew that using Filter would be a better choice |
I don't think any dynamic proxy is as good as the Filter that comes with ASP.NET Core, but I'm just wondering how to implement a proxy in Controller using castle. Core |
The /// <exception cref = "ArgumentException">Thrown when no parameterless constructor exists on type
/// <paramref name = "classToProxy" />.</exception> You'll need to use an overload that accepts |
I want to add a proxy to Controller ,And then I implemented this interface, IControllerActivator ,
Because my Controller does not have a parameterless constructor, the call CreateClassProxyWithTarget throws the exception. I want to know how to solve this problem
The text was updated successfully, but these errors were encountered: