Facebook Application using ASP.NET - asp.net

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/

Related

ASP.NET - Pages that allow multiple users to interact with each other

I want to be able to have users on a new site be able to interact with each other. I thought searching for sample code for async controllers would help, but I can't really seem to find much.
I guess I am trying to replicate Node.js/Meteor like interactions where an action one user performs can be shown to other users. I assume this would work using async controllers and ajax, but I have found very little documentation and examples. I'm starting to think this isn't something that can happen in ASP.NET.
Sorry this is such a general question.
Watch Building Real-time Web Apps with ASP.NET SignalR, this video is by the creators of SignalR.
I think this will give you an idea of how SignalR might be the framework you want to use for your idea to build an application where multiple users can interact within a single page.

Video Conference in ASP.NET C# Website

Well, I am developing a virtual classroom i.e. Online classroom, It is a website which provides faculties and students an interactive way of learning. I am almost done just I am stuck with this video conferencing module. I am using ASP.NET C#. I have searched a lot for this. Some information I found is:
1) I got to know about ConferenceXP module. Which is developed by microsoft and enables developers to use it to build their own video-audio conference. I also searched a lot about it, but I am confused on how to implement it in my website. Any suggestion with steps on how to use conferenceXP in website.
2) Though i searched a lot, but yet if some links were left, I am asking this again that Is there any better and easier way( Easier and fast beacuse i need to implement this into my website in 7 days) to implement video-audio chat application in website using C#(Or any other technology working with visual studio).
3) While searching I found something like I can use Skype with my online classroom, Any suggestions related this?
Thanks in advance.
You can use Openmeetings from regardless of your technology. The whole interface is SOAP/REST based.

MVC 4 Querying Database

I am new to ASP.NET MVC and have gone through this tutorial: http://www.asp.net/mvc/tutorials/mvc-4/getting-started-with-aspnet-mvc4/adding-a-view
It was pretty good at explaining of how MVC works but I need to use existing database (SQL Server) that returns all the information from the table and displays it on a web page. Does anyone know of a tutorial or example of how this is done or how I would go about doing this?
Thanks
You need to use Database first approach. You can get a good number of tutorials by searching for it on google.

Protecting Vidoes from downloading in asp.net

Language: C#
Skill: Beginner
Tool: Visual Studio 2010
Technology: ASP.NET 4.0 WebForms
Hello StackOverflow,
I intend to develop an asp.net web app for my final year project (to complete my bachelors degree) ,Scenario is that I want to allow users of the app to post videos(vidz) and these vidz can only be watched by the user who is allowed by the owner of the vidz ,further more the viewer should only be able to view the vidoes...
I came to know about the DRM solution of silverlight but i think its comes with some cost ,so for me its unaffordable..
it's a bit of a kludge but I used the approach below to protect images from being downloaded without the right cookie being set ... a variation could be used to hide the video from random attempts.
if you need to be really certain that it's protected then a solution like PlayReady is going to be the answer, but if you just need to avoid casual "fly-by" then this might be enough
http://blog.offbeatmammal.com/post/2006/06/30/Using-ASPNET-to-restrict-access-to-images.aspx
If you're using ASP.Net MVC I recommend you to take a look at this project:
http://mvcresumingactions.codeplex.com/
By adding authorization layer on top of your controller you can easily manage access to that controller based on your own logic (Like members who have access to that video). For more information about authorization you can take a look at:
http://nerddinnerbook.s3.amazonaws.com/Part9.htm
I know this is little bit generic but I hope this can give you some clue :-)

microsoft facebook sdk

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.

Resources