Facebook C# ASP.net - c#

I am working on a ASP.net application and as extension I need it to be ported to facebook . I have searched for various documentation , including Stackoverflow ..But there is not much available to work through . I am good with ASP.net but , is there anywhere a good documentation to read like Course 101 for developing Facebook application using ASP.net.

The best is thing is to read the official Facebook documentation, and implement a solution using REST. The APIs are constantly in flux, so reading about which APIs are deprecated and which aren't is a realy good idea.
I'm not a fan of Facebook SDKs as they frequently break or are abandoned. It's beter to build on a technology based library like Hammock or HttpClient. I wrote an article about this approach here which might be useful.

Besides from the given ones, here is two good conference session videos for Facebook Development with.Net :
Facebook Development in .NET :
http://channel9.msdn.com/Events/MIX/MIX11/OPN06
Building Facebook Apps with Microsoft .NET and Deploying to Windows Azure :
http://channel9.msdn.com/Events/MIX/MIX10/EX23

The official Facebook C# SDK is at Codeplex
http://facebooksdk.codeplex.com/
Is stable and well maintain , currenty at version 5.2.1 (Aug 23 2011)
The documentation is also great!
I would strongly suggest that you take a look at the MIX 11 video from Jim Zimmerman (creator of the Facebook C# SDK) at Channel9
Facebook Development in .NET
Regarding Facebook itself, you really need to start searching because it always varies from what do you really want to do and what information are you taken / adding into Facebook.

Make your aplication in asp.net.Make a canvas applcation in facebook and give the url of your application in he setings.
Link to make app: https://developers.facebook.com/apps

I would suggest becoming familiar with Facebook's Graph API and taking a look at Facebook's C# SDK (comes with a sample program) which was announced by a Facebook Engineer at https://developers.facebook.com/blog/post/395/.
Keep in mind that, last I heard, the SDK is an Alpha release so there may be issues. Be sure to report them.

Related

Xamarin Android Apps and Azure SQL Databases

I'm a second year student and for my last project I'm interested in doing a Xamarin Application. So I just got started with Xamarin and I've been doing the tutorials in developer.xamarin to learn new things. However my ultimate goal is to make an Xamarin.Android App which has multiple screens which will be used to interact with an Azure SQLDatabase which is already being used for my ASP.NET Forms Website, so that I can use both like Facebook to as an App as well as an Website.
While I was searching for examples I got this by Xamarin This Link (Which is quite complicated and some unknown errors pop while I'm developing it) but, while I was reading the forums I got this C-Sharp Corner Tutorial which is quite easier than the original Xamarin Blog Example. Later I found another approach given in StackOverflow which is Hosted In GitHub. It would be grate if someone could explain me what is the correct approach (and what is used in the Industry) from above three and which is the most optimal solution for my app goal.
Plus, According to the articles I read, here's what I understood so far, It is unsafe to directly connect an Azure SQL Database to an Android App like we used to do in ASP.NET applications so what we usually do is use Some Mechanism called REST based on Json requests. It would be great if someone could tellWhat is the way to interact an Android Application with an Azure SQL database
Thanking in advance :-)
There is a really easy way to do this by using the example officially provided by Xamarin about Consuming a RESTful Service which can be found in Consuming a RESTful Service and developing its ASP.NET Core Back-end API which can be found in above URL which is provided my Microsoft
Thanks

Creating graphs for both WP7 & WP8

My question is really: Is there an easy way to create graphs in windows phone? (Either in-built or for free)
Could you tell me of any using statements I need to add
Links would be helpful (I couldn't find many myself)
And a basic how-to would be excellent!
The Telerik RadControls produce great graphs - http://www.telerik.com/products/windows-phone.aspx
They also have a WP App that showcases their controls - http://www.windowsphone.com/en-us/store/app/telerik-examples/fd55f526-d6f7-df11-9264-00237de2db9e
The Telerik RadControls are not free but they are by far, 100%, the best tools on the market. You can get them for free though if you have a couple apps published.
Go to http://www.Dvlup.com and sign up for a free Nokia Developer Account. Link in your developer account and it will import the apps you have made. Then you can submit apps you have made to the challenges they have on there.
As you can see here you can get a Nokia Premium Account Token for 1000pts which is VERY easy to get. With that token you get a free Windows PHone Developer account ($100 value) and a slew of other things like support tokens, Buddy API calls ect. I heard on the Windows Developer Show That you also get a free set of RadControls with this token right now also.
There are lot's of libraries that provide charts for Phone 7 and 8
http://www.infragistics.com/products/windows-phone/features/sparkline/ (Paid)
https://github.com/ailon/amCharts-Quick-Charts (free)
http://www.telerik.com/products/windows-phone/overview/all-controls/chart.aspx (Paid)
Also, other than those listed above, there is a Sparrow Toolkit.
Sparrow Toolkit a set of Data Visualization controls(Chart, Gauge,BulletGraph and Sparkline) with lot of flexibility, performance, faster and more efficient.
http://sparrowtoolkit.codeplex.com/

Implementing Google Analytics on a Windows 8 Metro application

I'd like to implement Google Analytics tracking on a Windows 8 / Metro app.
There's no Windows SDK.
What would be the best way to do it in your opinion ?
Thanks, best regards
Geoffroy
MarkedUp Analytics for Windows 8 is another option for Windows 8 - it supports both WinJS and WinRT, and even works offline. It's currently free. (Disclaimer: I work on MarkedUp)
Is this something you are looking for?
Here is an article in our team blog on how we solve that issue:
http://dreamteam-mobile.com/blog/2012/08/windows-8-metro-apps-google-analytics/
Here is a good one that with lots of features and activity:
https://github.com/AttackPattern/CSharpAnalytics
If you're creating a new app, you will probably want to use the new Google Analytics SDK for Windows 8 and Windows Phone. Google recently had a major update to GA and added all kinds of snazzy features specifically for apps (vs. websites). Along with this change they scrapped the older UTM protocol and now require the newer measurement protocol for all apps. AFAIK, this SDK is the only one out there that supports the new measurement protocol thereby being the only one that works with new GA mobile app properties. Note: you can still use these other SDKs with existing GA properties or by fooling GA into thinking you're app is a website by providing a verifiable domain name.
Full disclosure: I wrote this SDK and created it for this very reason. It supports Win8 JS, Win8 Xaml, WP7, & WP8.
Many folks do not know that Microsoft gives Telemetry SDK http://msdn.microsoft.com/library/windows/apps/hh967768 as a nuget extension.
You can try it if GA is not a strong requirement.
We ran into the same problem at Nascent, so we created an Open Source project for it.
Check out Google Analytics for WinRT: A pretty simple but powerful Google Analytics client library for Windows Store apps.
Disclaimer: I am the author for Gappalytics
You should try Gappalytics for code/UI event tracking, it is a very simple library which unlocks you a full potential of Google analytics.
It works better than mentioned before lib's because it can persist uniqueness of a user this way your data will not be skewed.

How do I implement the Facebook SDK for .NET into a Windows Mobile 6.5 application?

Basically what I want to do is use the SDK available here, to post specific status-updates to a profile which has been logged into.
Now it seems to me that the project has been on a standstill for some days and the documentation is REALLY lacking.
My current setup is as stated below:
Visual Studio 2008
Windows Mobile 6 Classic Emulator
.Net 3.5 (Compact I believe)
So far I've been able to get the emulator running and get some GPS stats from a fake GSP generator.
What I've not been able to do however is figuring out the Facebook SDK. It seems that most of the examples (or atleast the ones I actually need, such as Authentication) are based on .Net 4.0 and I can't find any .Net 3.5 examples on authentication or how to log-in using the SDK.
There are examples that point out how to post updates etc. for 3.5 but there aren't any for authentication/login etc.
So does anyone know how to use the SDK with the setup I described above? When I figure it all out I'll make a blog post on my blig explaining all the steps I took to get it all working together and will post a link here for others.
But until I know how to get the SDK working for 3.5 I can do nothing.
So please help me find the answer. I'll try looking through the source some more. However since I don't have VS2010 I can't look at the .sln files they used for the source... So will try, but can't promise anything
Thanks in advance.
The SDK isn't supported on WinMo 6.5 with the compact framework. However, interacting with facebook is really easy, provided the framework provide you with some required capabilities:
1) You must be able to leverage a WebBrowser control to manage user authentification, as demonstrated here .
2) You then will be able to interact with Facebook through simple POST and GET request. Demonstrated here for a Wall post request.

looking for an idea for a .net web app with video chat

I'm looking for an idea for a final project in .net.
I thought about building an IM AJAX app with .net but am kind of getting the feeling that the only way to do the video/audio chat is with flash and action script...
I have 4 month to do the project and the idea that in that time i will have the ability to learn a new language and implement the .net project with the flash part just for the video/audio doesn't seem very good.
Can any one correct me/give me any idea/help me/tell me if it is possible or should i look for a deferent project for that time frame?????
I really need some direction with that, I am looking for the past week at every answer over the wed and cant find a good solution.....please HELP!!!!!
10x.....What kind of server do i need if i want to use Silverlight (for the streaming, like red5 for flash and so on) and does visual studio 2008 support Silverlight?
Erez
audio/video chat is only possible (under current technologies) via a plugin of some kind; flash is the more common one but Silverlight is good if you're already familiar w/ .net stuff.
Silverlight 4.0 was just announced with cam support. From the demo it looked pretty easy. You can download the beta.
You really should check WebORB. If you install it, you'll get an example Flex Video Chat with source code (Flex and .NET). --> Link
FluorineFX is also an alternative for .NET but I don't know if it comes with a Video Chat example.
You can use Opentok-.NET-SDK as video stearming service and signalr to map the users togetter

Categories

Resources