I have implemented the application to read all the google contacts. The application was done by a .NET Core. I have used the Google.GData.Contacts(Version 2.2.0) Nuget package to read all the contacts. My application always show some warning messages like below
As per this document https://developers.google.com/contacts/v3, I believe the version 3.0 is there. But, I'm not sure how to include or use it.
It would be much appreciated if anyone help me on this.
There hasnt been any development on the GData library in years gdata. So I dont think its going to work with .net core.
This is due to the fact that most of the gdata apis have been shut down by now gdata.
As you can see from the nuget page Google.GData.Contacts the last update was 6/25/2013 which is before the release date of .net core.
What you should consider doing is checking the google people api which should contain similar response and supports the Google .net client library.
Install-Package Google.Apis.People.v1 -Version 1.25.0.830
It is still live
The google contacts api is still live so you can use it if you like you will just have to create your own system to access the endpoints. As google has no library that works with .net core for gdata.
Related
Fresh new application, using .net framework 4.7.2. Web api 2 MVC.
I simply wish to add Swagger to it. Every tutorial i read says "Install the swashbuckle nuget package and go to swaggerconfig.cs". Yet, when i install the package, i dont have a swaggerconfig.cs.
I've strolled the internet for a better part of the day now and i've patched up a swaggerconfig from their git repo and some registeration stuff, but im now stuck on the fact that no swagger.json is being generated.
So i feel like im doing manual labor where some automatic install procedure is failing. But i can't figure out... what.
I'd be grateful for any help, i can't really find anything related to this topic
Installed both swashbuckle and swashbuckle.net45 in any combination. But it doesn't generate the file
I've also experienced issues with SwashBuckle. Both SwashBuckle and SwashBuckle.net45 don't seem to be actively maintained (last updates are over 2 years ago).
I recommend you check out Swagger.net which is still actively maintained. It also comes with a more modern UI then swashbuckle does.I don't recall having the issues I had with SwashBuckle, using Swagger.net.
https://www.nuget.org/packages/Swagger-Net/
I'm trying to implement Azure Mobile Services in my Xamarin.Forms app.
I'm following this link and it works on iOS but not on Android.
It throws this exception:
MobileServiceInvalidOperationException - "The server did not provide a response with the expected content."
I have tried switching between HTTP and HTTPS but could not get it working.
It works on Android (native) as well, just not on Xamarin.Android
Any help?
Your issue is tracked here, and seems to be because of the following:
we don't support .Net Core 2.1 in the SDK today. Unfortunately, we don't have a workaround today and like Ela said, the we don't have an ETA for a new release or other SDK to use for .Net Core 2.1 compatibility yet, so your only workaround is to stick with .Net Core 2.0 for now.
There seems to be a temporary work around here, by brendanzagaeski to in the call to new MobileServiceClient():
Either pass in an HttpClientHandler instance
Or pass in an instance of AndroidClientHandler
It seems like AndroidClientHandler is the one that works the most often.
Check if "microsoft.azure.mobile.client" is referenced on your project. If not, try installing a lower version of the "microsoft.azure.mobile.client" through nuget package on your project add the using directive and then update the "microsoft.azure.mobile.client" through nuget package.
And update any pending package.
I'm interested in figuring out how to use the Twilio API, and I am building an ASP.NET 5 application using the Twilio API with MVC6 (trying to follow this tutorial). So far, I have created an empty ASP.NET 5 application, and I added "Twilio" to the dependencies in project.json. I get the following error:
"The dependency Twilio 4.0.3 in project TwilioTest does not support framework DNXCore, Version v5.0"
I notice that when I remove "dnxcore50" from "frameworks", the error goes away.
I'm not sure what this means or how to approach it. I'm still pretty new to .NET and trying to wrap my head around how all of the pieces fit together. Does it mean that Twilio isn't compatible with DNXCore? Since all I want to do for now is learn how to use Twilio, could I essentially remove the dnxcore50 framework from the project and continue working through building the app?
The Twillio NuGet package is dependent on the full .NET stack, which in project.json frameworks terms is DNX451. What that means is, you can add the Twillio NuGet package and remove the DNXCORE50 reference and your project will run as expected and you will be able to use the Twillio API. As far as I know the only major drawback is that your ASP.NET Core project will no longer be cross platform as you are now dependent on the full .NET Framework stack which is only present in Windows.
In a nutshell, you should be fine unless you are planning to deploy to Linux/OSx. Hopefully as ASP.NET CORE becomes mainstream more 3rd party SDKs will be built to require only DNXCORE50 as a dependency.
Another option don't use the Twillio Libraries and code against their REST API. See documentation here: https://www.twilio.com/docs/api. But I wouldn't recommend this if you are deploying to a Windows environment.
Twilio is working on their .Net Standard (Core) library. In the meantime, I've published a .Net Core port of their library to unblock our current projects until we get the official update. Feel free to take it for a spin:
Install Twilio.NetCore from Nuget.
And you can check out the source on Github.
When I first created my site, there were no .NET SDKs for Facebook so I wrote my own. It was pretty hacky, but it worked. Due to various Facebook changes, it's now broken beyond repair so I figured I'd use a real library. The one I found was the Facebook C# SDK.
However, it seems you can only download the source and compile it, and it seems it requires .NET 4.0 to compile. Also, looking through the code it seems to use .NET features such as System.Threading.Tasks. I'm still on .NET 3.5 and cannot upgrade at the moment. I'm wondering if there's a) a way to make this project work on 3.5, or b) another library that would be better in my case.
Facebook C# SDK supports .net 3.5sp1.
You can download using nuget.
If you are using VS 2008 where nuget package manager is not support, you can download using nuget command line tool. (http://nuget.codeplex.com/releases)
nuget install Facebook
For pre-release version you can download using the following command.
nuget install Facebook -pre
I have websites in .Net 3.5 using the latest code from the Facebook C# SDK. However, here's what I do. I use the "client" Facebook.dll to do all the stuff. Yeah, I don't get some of the wizbang session information, etc. But I do get full access to the API. I use javascript for authentication then AJAX the access token to the server.
I guess it depends on how committed to making the new SDK work with your codebase.
You could branch the code from Facebook C# SDK as you listed and replace all the task stuff with System.Threading.Threads, but that could result in a lot of work if there is extensive use of Tasks.
Or you could update your SDK to just address the areas you currently require until you can move to .NET 4. At least that way your project won't need reworking, just your internal library that your project is already referencing.
Does anybody know of a good library out there for developing for Facebook using the REST API in C#. I've been using the Facebook Developer Toolkit for some time now, but have more recently become annoyed at how key functionality is broken (even in the updated 3.1 beta). I looked into using the Facebook C# SDK, but this only appears to have a version for .NET 4.0.
Facebook C# SDK says
Note: If you are looking for the WP7, Silverlight, .Net 35 builds of this project you will need to download the latest source and run the Build/runbuild.cmd. These builds are currently not in our "supported" release, but they should work just as well.
Having worked extensively with the Facebook C# SDK I can confirm that there is a 3.5 build in the latest version, you just need to run the build scripts. There are also numerous discussions on how exactly to get it to build properly.
I have found through all my research that this SDK is the most rapidly updated and dependable SDK for .NET. If you have any problems using it then just drop a question on stackoverflow with the tag facebook-net-sdk and I'd be happy to answer
Facebook# is pretty good, though I had to workaround a few things.
You might not want to use the REST API, though; they're deprecating it and bits of it may stop working...