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 879483
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T11:56:22+00:00 2026-05-15T11:56:22+00:00

I have a Silverlight 4 client running on a Facebook page hosted on Google

  • 0

I have a Silverlight 4 client running on a Facebook page hosted on Google App Engine. It’s using gminifb to communicate with the Facebook API. The Silverlight client uses POST calls to the URIs for each method and passes the session information from Facebook with each call.

The project’s growing and it would be super-useful if I could set up a unit-testing system to make a variety of the server calls so that when I make changes I can ensure everything else still works. I’ve worked with nUnit before and I like what I’ve read of PEX but I’m not sure how to apply them to this situation.

  1. What’re the choices for creating a test system for this? Pros/cons of each?

  2. How do I get started setting something like this up?

  • 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-15T11:56:23+00:00Added an answer on May 15, 2026 at 11:56 am

    Solved. I did it as follows:

    1. Created a special user account to be used for testing on the server that bypassed the authentication. Only did this on the test environment by checking a debug flag in that environment’s settings. This avoided creating any security hole in the live site (since the same debug flag will be false there.)

    2. Created a C#.NET solution to test each API call. The host project is a console app (no need for a GUI) with three reusable synchronous methods:
      SendFormRequest(WebRequest request, Dictionary<string,string> pairs),
      GetJsonFromResponse(HttpWebResponse response),
      and ResetAccount().
      These three methods allow the host project to make HTTP requests on the server and to read the JSON responses.

    3. Wrapped each server API call inside a method call in the host project.

    4. Created an nUnit test project in the solution. Then simply created tests that call each wrapper method in the host project, using different parameters and changing values on the server.

    5. Created a series of tests to verify correct error handling for invalid parameters and data.

    It’s working perfectly and has already identified a few minor issues that have been found. The result is immensely useful and will check for breaking changes on new deployments.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a set of webservices that I connect to using Silverlight Client. I
I have a Oata i.e., WCF data service running.Is it possible for silverlight client
I have a C#.NET Silverlight 3.0 client running RIA Services with an EF model.
I have written a simplified Silverlight client library for my WCF web service using
Is it possible to have a Silverlight client app directly access the Azure Table
I have a wcf sevice and silverlight client. My contract has callbacks and therefore
I have a WCF service that receive query from a silverlight client and send
I have a Silverlight application on the client communicating with the server side through
I have a client-server Silverlight application, which is use Socets. I have server appliaction
I have a requirement to take client side XAML (from Silverlight) and create a

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.