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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T19:06:49+00:00 2026-06-08T19:06:49+00:00

I recently played around with the ASP.NET WebAPI, including some Html-Pages displaying results, trying

  • 0

I recently played around with the ASP.NET WebAPI, including some Html-Pages displaying results, trying out OData queries in the browser/fiddler etc. and im really impressed and so far everything works great.

But…
Now im trying to build a reusable .Net client library which provides easy access to all methods the WebAPI exposes.
I´ve tried to do this via Linq2Rest (great IQueryable-Interface!) and with implementing Wrappers myself with the HttpClient.

My Problems with Linq2Rest:

  • Its not from Microsoft, and i fear there will be a lot of changes by Microsoft which won´t be reflected in Linq2Rest at some point.
  • Also i don´t really see how to call Put/Delete/Post with Linq2Rest, having a HttpClient inside every “Linq2Rest-Context” looks very ugly

When trying to implement the client myself with HttpClient i don´t know how to

  • Issue calls against a IQueryable-WebAPI-Get without loading every record to the client first (~20000 records is very common in my scenario)
  • Avoid writing very similar code vor every “APIController”-Client, in the end i will have about 15-20 Controllers, very similar but returning different “objects”

Thanks for every suggestion…

  • 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-08T19:06:51+00:00Added an answer on June 8, 2026 at 7:06 pm

    I am the developer of Linq2Rest and your points are very valid. Linq2Rest was created to add OData support outside of WebAPI. If you are already using WebAPI, then by all means, stick with Microsoft.

    It is not from Microsoft, but OData is an open standard, and Linq2Rest is implemented according to the standards document. Being open source has meant that Linq2Rest is able to release more frequently than Microsoft. For this reason, it already supports Any/All queries from the OData 3 spec, which Microsoft currently does not support.

    Injecting a client into each context is to make it less restrictive about which services it supports. It is now up to you to define the endpoint. I am thinking about how to support multiple endpoints from a single context.

    Currently it does not support PUT/POST/DELETE, but if you post that as a feature request in the project (https://bitbucket.org/jjrdk/linq2rest/issues?status=new&status=open), then it will certainly be added to the pipeline.

    EDIT: The latest pre-release adds support for PUT/POST/DELETE operations. The API is currently being tested. If you download versions from 2.5.0.0 then you will find support for it.

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

Sidebar

Related Questions

Recently, I was trying to prototype some jQuery-based menu into ASP.NET MVC. Just to
I was playing around with CAPTCHA in Railo using CFIMAGE recently and for some
Recently I had to type up some documentation on .net data providers and ado.net.
I have recently clone QuickDialog project from github and played around with it. They
I'm working on a ASP.NET website that on some requests will run a very
Recently, I was asked to compile some of my Android projects, based on the
I recently played with MongoDB in Rails using Mongoid . I like the ability
My boss decided recently to try out an outsourcing group for increased capacity as
I am currently a beginner in CakePHP, and have played around with CakePHP 1.3,
recently I have been trying my hand at coding a game in C#. I'm

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.