Reputation: 125
We are using "ServiceStack" to read data from Rest service. Sample code:
string uri = "xxxxx"; (initialize uri with key)
var jsonClient = new JsonServiceClient(uri);
var obj = jconClient.Get<T>("@\r\n");
Above code is working fine in local machine, but not after deployment. Error: Method 'Get' in type 'ServiceStack.JsonServiceClient' from assembly 'ServiceStack' version 4.0.40.0 ... does not have an implementation.
Any help please!
Thanks in advance, Phani
Upvotes: 1
Views: 993
Reputation: 143284
This is usually an indication that you're mixing dirty dlls with different versions together. Try uninstalling all NuGet packages, delete the NuGet /packages
folder than installing all NuGet packages again and check that the /packages
folder is only using the same version of ServiceStack for all its NuGet packages.
Upvotes: 2