Skip to content
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

The controller for path '/compression/contracts' was not found or does not implement IController. #7

Open
Adecus opened this issue Dec 23, 2014 · 3 comments

Comments

@Adecus
Copy link

Adecus commented Dec 23, 2014

When I build the projects, add the lines specified in the readme I get the following error:
The controller for path '/compression/contracts' was not found or does not implement IController.
at System.Web.Mvc.DefaultControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType)
at System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName)
at Instrumar.ProductionDashboard.Service.CustomControllerFactory.CreateController(RequestContext aRequestContext, String aControllerName) in c:\Repositories\Fiber\Dashboard\Instrumar.ProductionDashboard\Service\CustomControllerFactory.cs:line 50
at System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory)
at System.Web.Mvc.MvcHandler.<>c__DisplayClass6.b__2()
at System.Web.Mvc.SecurityUtil.<>c__DisplayClassb1.<ProcessInApplicationTrust>b__a() at System.Web.Mvc.SecurityUtil.<GetCallInAppTrustThunk>b__0(Action f) at System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust(Action action) at System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust[TResult](Func1 func)
at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state)
at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContext httpContext, AsyncCallback callback, Object state)
at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


I did everything in the readme besides adding [Payload] to objects being sent over signalR. Mainly because we're sending List<Dictionary<string, object>>. I could create a new type that exposed the list of dictionaries and put [Payload] at the top if that's what is needed but I don't think that is related to the problem above.

Also i'll note that i'm building against .NET 4.0 and SignalR 1.2.1. I also didn't think this would be related to the above problem.

Is this project still active? I noticed there hasn't been anything done to this since March 23, 2013 and there have been no releases. I could manually implement IHttpClient for gzip compression as outlined here http://stackoverflow.com/questions/12717101/signalr-wth-gzip-compression but would prefer to use an official solution.

@NTaylorMullen
Copy link
Owner

Hah, hey man, sorry about your troubles. This actually isn't a supported project, just something I did in my free time to see how far I could push little bits of compression. Honestly I don't believe I ever finished it entirely so I'd recommend going with another approach 😄

@Adecus
Copy link
Author

Adecus commented Dec 23, 2014

No worries, I didn't spend a lot of time on building and getting it integrated. Would you recommend any compression techniques that would work well with SignalR in general or any best practices you may have picked up from your experience with this? If not no prob, and thanks for the update on the status of this!

@NTaylorMullen
Copy link
Owner

Ahh, no best practices from my experience sorry. Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants