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

  • Home
  • SEARCH
  • 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 862821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T09:12:25+00:00 2026-05-15T09:12:25+00:00

Ok Im building AN API but also wanting to have that API used by

  • 0

Ok Im building AN API but also wanting to have that API used by my own Application.
I am pondering WCF, LinQ and JSON for my Webservices and Data and Silverlight for my application.

I have a few questions.

1) would you recommend XML over JSON or Json over XML?
a) is Json going to transfer and deserialize faster natively or is XML going to transfer and deserialize faster?

2) would Using LINQ hinder anyone connecting to my Service form PHP?

3) Would you recommend something different?

  • 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-15T09:12:26+00:00Added an answer on May 15, 2026 at 9:12 am

    slow down there partner! 😉

    I think you’ve kinda confused yourself with a lot of acronyms…. let’s break things up and get a better understanding of each technology.

    I think this is what you want:

    • An API in the form of a webservice(s), and a client App in silverlight.
    • You also want client other than silverlight to consume your webservice API

    Is that right? let me know and we can break things down further.

    Update

    Ok, when you say LINQ, you must mean Linq2Sql? in which case that’s your data layer… so it shouldn’t matter what technology you use for your data access, because all your webservice should be serving up are DTOs.

    As for serialization… as you want to use WCF, and as long as you’re using DTOs, then you should build your API independently of your serialization. That can be handled by the type of “bindings” you configure in WCF. So, for now, it shouldn’t matter.

    On that note, because you can have multiple “WCF endpoints” for each service, you could provide a JSON one, AND an XML (restful) one, and even a SOAP one.. without writing too much extra code.

    I personally prefer XML, as it’s super easy to parse in .net using Linq to Xml, but JSON is less verbose and arguably has a smaller footprint.

    In Response to your Comment

    hey rico, thanks. Not quite.

    So, your silverlight app would just be a client that consumes your webservice.

    Your webservice would provide your client with any data it needs in the form of DTOs. You can of course have some kind of system in your client which caches DTOs so you don’t have to call the webservice all the time… or you could come up with some kind of syncing solution…. but wither way….

    …your webservice is the only one which talks to the DB, which in turn lives on your server. So, it’s your webservice which talks to your DAL (Data Access Layer), and that in turn could implement Linq2Sql, or any other data access technology.

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

Sidebar

Related Questions

I'm looking at building a simple web app that will expose an API that
Please advise if you can. I am building an SMS web service API that
I'm looking at building an API and was considering oauth for managing access to
I'm getting started on building a REST API for a project I'm working on,
Am building a Book search API using Lucene. I need to index Book Name,Author,
Is there a compression API available for use on the iPhone? We're building some
Building a client-side swing application what should be notified on a bus (application-wide message
Building on How Do You Express Binary Literals in Python , I was thinking
Building the same project (without any changes) produces binary different exe-files: some small regions
Building on what has been written in SO question Best Singleton Implementation In Java

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.