I'm trying to build an application that used the Manatee nuget package. https://www.nuget.org/packages/Manatee.Trello/ (version 1.11.1)
I have the following code inside my controller:
var serializer = new ManateeSerializer();
TrelloConfiguration.Serializer = serializer;
TrelloConfiguration.Deserializer = serializer;
TrelloConfiguration.JsonFactory = new ManateeFactory();
TrelloConfiguration.RestClientProvider = new WebApiClientProvider();
TrelloAuthorization.Default.AppKey = "[key]";
TrelloAuthorization.Default.UserToken = "[token]";
With the following usings:
using Manatee.Trello;
using Manatee.Trello.Json;
using Manatee.Trello.Rest;
using Manatee.Trello.Contracts;
using Manatee.Trello.Exceptions;
Maybe this is a simple question but I don't know how to get this working. Do I need to create my own ManateeSerializer
class? Looks like I'm doing this in the wrong order.
My project gives me errors on the ManateeSerializer(), ManateeFactory() and WebApiClientProvider() class. no reference, so there is something missing? But I don't know what.
Also installed some other Manatee packages because is thought something was not inside the Manatee.Trello nugget package. (installed: Manatee.Trello.RestSharp version 1.2.1 and Mantee.Trello.Json - version 4.0.1)
The wiki tells me this: https://bitbucket.org/gregsdennis/manatee.trello/wiki/Usage