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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T15:14:16+00:00 2026-06-15T15:14:16+00:00

All the docs I’ve read to date suggest you can do web service libraries

  • 0

All the docs I’ve read to date suggest you can do web service libraries from a Portable Class Library, they all state that:

  • System.ServiceModel &
  • System.ServiceModel.Web

Are available for use fro things like “WebGet” attributes and other WCF Rest features.

However When I try and reference the namespace it says it’s not available and browsing in code does not show the namespace.

I would normally take this to mean it’s not available in a portable class library but the namespace is visible in the Object Browser.

I’ve even tried limiting the frameworks I’m targeting to just:

  • .NET 4.03 and Above
  • Silverlight 4 and above

But no Joy. Even just using SL5 and .NET 4.5 still doesn’t expose the namespace

Any ideas?

  • 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-06-15T15:14:18+00:00Added an answer on June 15, 2026 at 3:14 pm

    The answer quite simply is NO

    You can all all the basic [DataContract] / [ServiceOperation] / [DataMember] attributes in a PCL project but you cannot put Rest Implementation attributes on anything.

    The simple answer to to provide as much as you can for attributes in the PCL and then apply the Rest attributes in your concrete implementation (does need to live in the PCL)

    Also of note, a lot of the serialisable tags are lost when you use a PCL, so be use to add [DataContract] [DataMember] attributes to all of your models and properties else you will have issues I have found.

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

Sidebar

Related Questions

I have read all the docs I can get my hands on and google'd
Using AmazonSimpleEmailServiceClient.sendEmail() ; as per java docs All service calls made using this client
Reading the docs, I'd expect $(#wrap2).remove(.error) to remove all .error elements from #wrap2 .
YES, I've read all the docs @ developer.android.com and I do understand it all
I'm having issues creating an ActionLink using Preview 5. All the docs I can
I'm using jQuery file upload plugin i have read all the docs provided. there
I've been digging through all docs I can find, but I cannot seem to
So I have read all the docs on adding chromedriver to my path and
I think Adobe are messing with me, from all the docs and tutorials it
DocumentsController#common_query can handle multiple different request styles. i.e. all docs in batch 4 or

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.