Microsoft recently announced their Facebook SDK.
http://msdn.microsoft.com/en-us/windows/ee388574.aspx
Has anyone tried using it with ASP.NET or ASP.NET MVC ?
Would like your opinion. Any gotchas that developers need to be aware of ?
Michael
This is version 3.0 of the SDK. I've been using an earlier version and am in the process of upgrading to this new version.
Your question is very vague. What kind of gotchas are you expecting? There are so many pieces of the Facebook API that it's hard to speak to what your experience will be. What's stopping you from giving it a try yourself? You'd probably learn more from a few hours of building your own app with the SDK than anything anyone would be able to tell you here. If you get stuck or something doesn't work, then post your code and/or specific question and we'll do what we can to help you.
I am working on an ASP.NET MVC app using this library.
I have not used a whole lot of the functionality of the library since there are only two MVC specific class. An Controller Extension for getting a facebook api object, and an Action decorator attribute.
I have run into quite a bit of trouble with the methods in the Facebook.Rest.Data namespace.
Namely getting and setting Cookies.
Not sure what the deal is with this but it has been frustrating. And if it was not required by the client I would probably try and find a different library.
Related
I have searched the internet for 2 days having found no answer to the below requirement. What i found most were GeckoFX and CefSharp which are external packages and not installed libraries. How can this be done?
I have been asked to do the following:
Use a suitable library function out of the set of libraries installed with the .NET platform. You must not use the C# WebBrowser class but perform the required HTTP-level communication directly from within your code. The code must clearly identify the HTTP-level client-server communication and must explicitly manage Home page, Favourite, History Lists and Tabs.
Optionally, you may add functionality to render a web page, but there must be an option to disable this functionality and to show only the raw HTML that has been retrieved.
Thanks
What have you attempted so far and what problem are you encountering?
Maybe read this first :)
Currently it sounds like you have been given an interview or homework task that you dont know how to solve. If so, then you should have some idea on where to start or you are in the wrong course or job interview. If you want help, then try to solve the question yourself and ask for help when you are stuck. Tell us what you have tried, show the code you currently have and let us know where you are stuck or what doesnt work as expected.
Where are you stuck? Fetching the webpage? Building the user interface?
DukeScript looks like a life saver for we Java guys! I am considering it for a serious project. Was curious to know whether it's production ready and well documented. Also, liked to know what would be the best way to support routing in a web application.
I asked this question at the official google forum, but didn't get a reply. So, thought to re-ask here.
Here's a blog post with a little example. It shows a simple integration of location hash based routing with knockout templates. The full example code is available on github.
You might also use one of the javascript libraries like sammy or pagerjs, which would require integration with these frameworks, but I wanted to keep it simple.
I want to develop a Facebook application (it is a simple quiz with 3 questions) using ASP.NET, but this is the first time that I've even tried doing it. I have found lots of confusing information on the internet and I wanted to ask what is the best and most correct way to do it (an API or something) and if there is a simple tutorial to get me started. Thanks in advance.
The way I've previously done this is to create a standard ASP.NET MVC application and use the .NET API:
http://facebooktoolkit.codeplex.com/
as stated - it needs to be a "self-update" similar like Wordpress... I haven't thought through because of my knowledge limits... (I haven't found any good answer from the web yet /asp.net c#)
anyone can give some help/ perhaps some code example would be better?
Thanks in advance!
I dont have the code, But i can tell you the general concept behind that.
Keep a public API/ Webservice which returns the latest version number of the site/ app.
In your website/ app, add a method which makes a call to this service to get the latest version number. compare it with what you have in your local application. If the one you received from the service is different than the one you have, That means there is a new version available. Then show a link to download the latest version.
Does anyone know if this script will continue to have a future or is it DOA and being replaced by another component? I use its functionality a lot and would like to know if there is a better alternative or what the future holds for it...
To clarify, I'm talking about the async loader features in start.js.
None of the ASP.NET Ajax Library (not to be confused with ASP.NET AJAX) was officially released and development on it ceased before it was complete. You shouldn't use it. I've wrote an article on the subject.
The same team at Microsoft has produced a new script loader, DeferJS, which is the next logical evolution of Sys.require. You can find the latest version of it here: https://github.com/BorisMoore/JsDefer
There's not going to be any further development on sys.require, but the existing scripts and services will not disappear. Microsoft has taken considerable measures to maintain backwards compatibility with its older technologies, so there's no reason to think that what you have working now will suddenly stop working at some point in the near future.
Microsoft seems to be going in the direction of integrating with the open source jQuery library. Here's a blog post about it: http://weblogs.asp.net/scottgu/archive/2008/09/28/jquery-and-microsoft.aspx. jQuery is very powerful and flexible, and has both built in support as well as a plethora of plugins for AJAX.
There's also RequireJS (http://requirejs.org/), which is quite mature, and somewhat easier to use. It's not from Mircosoft, but it may be worth a look.
May be you can try this
it is an extensible resource loader, and it does dependencies tracking.