Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3977402
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T04:55:10+00:00 2026-05-20T04:55:10+00:00

Due to certain constraints, such as using Windows Azure, I am limited to using

  • 0

Due to certain constraints, such as using Windows Azure, I am limited to using MVC2 and version 3.5 of the dot net framework. I’m wondering if the 5.0.3 version of the SDK will work with this combination?

I ask because all the samples have the 5.0.3 version of Facebook.Web.Mvc linked to MVC version 3.0.

Furthermore, all the examples are linked to dot net 4.0. This includes the Azure sample, eventhough Azure webapps are limited to version 3.5.

Am I limited to an older version of the SDK?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T04:55:11+00:00Added an answer on May 20, 2026 at 4:55 am

    To answer part of the question, it works with .NET 3.5 but you might have to resort to reflection techniques to make some kinds of things happen, messy and not recommended by myself. For this same reason I upgraded to .NET 4.0 and installed the 4.0 runtime on our hosting server because C# SDK is more palattable to use with the C# 4.0 dynamic keyword

    No personal experience with MVC2 but I’ve have found that often SDKs work well because the standard ASP.NET features are available (i.e. access to cookies, sessions, authentication, authorization, etc) no matter what kind of web project you’re developing in.

    The C# SDK MVC Sample has an out-of-date warning about the documentation itself which leads me to believe the framework works because all that is needed is updated samples.

    Give it a try by making an instance of the FacebookApp class to see if it doesn’t throw any errors and if you can retrieve any info about the user.

    This sample grabbed from their Samples section – try it in context of MVC2.

        [CanvasAuthorize(Perms = "user_about_me")]
        public ActionResult Index()
        {
            FacebookApp fbApp = new FacebookApp();
            if (fbApp.Session != null)
            {
                dynamic result = fbApp.Get("me");
    
                ViewData["Firstname"] = result.first_name;
                ViewData["Lastname"] = result.last_name;
            }
    
            return View();
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Not certain if this will get much response due to the newness of Windows
Due to the lack of clientaccesspolicy.xml, there appears to be problems with using Amazon
Due to company constraints out of my control, I have the following scenario: A
Due to a number of constraints that I won't get into, I have to
I have a class test which isn't standard constructable nor assignable due to certain
Due to repetitive errors with one of our Java applications: Engine engine_0: Error in
Due to continuing crash problems, I'm about to uninstall and reinstall my copy of
Due to a lack of response to my original question , probably due to
Due to the nature of the live server I deploy to, my mail settings
Due to a weird request, I can't put null in a database if there

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.