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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T01:04:42+00:00 2026-05-12T01:04:42+00:00

I am looking to expose my existing .NET libraries to an intranet. With many

  • 0

I am looking to expose my existing .NET libraries to an intranet.

With many moving to RESTful services, OpenRasta looks tempting.
In a similar vein, I am playing around with Sinatra in IronRuby.

I am primarily looking for 3 points:
1) What are you using to expose your existing codebase to the web?
2) What about your method makes it easy to implement
3) What about your method makes it secure?

  • 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-12T01:04:42+00:00Added an answer on May 12, 2026 at 1:04 am

    I think that if your library was not designed to be exposed to the Internet, then doing so is a bad idea.

    Further, if your library doesn’t deal with things that make sense as resources in an HTTP sense, then it’s not a good idea to expose them with a REST interface.


    In response to the comment, “Why?”

    I’ll assume it’s a well-designed library. I assume you had certain requirements in mind when the library was designed; certain use cases and scenarios; you may even have written samples of using the library, just to make sure that it was easy to use. As a result, the library met all of these requirements, and can be called well-designed.

    But you don’t seem to have included “expose to the Internet” in your requirements, or use cases. You don’t seem to have included “expose via a REST interface”, either. Chances are that the library that is well-designed to meet one set of requirements will not be well-designed to meet the other two, unless it’s by accident.

    This is especially the case for the REST aspect. The objects exposed by a library are quite unlikely to meet the HTTP definition of “resource” that REST is based on. Attempting to twist them into the right shape will just be painful.

    My recommendation would be to get a new set of requirements together for exposing the functionality of your library as a well-designed set of services. These services would be implemented by calls to your library.

    In an ideal world, this process would result in a REST API that is exactly like the one you would have designed in the first place. But it may result in something quite different.

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

Sidebar

Related Questions

I am looking for a way to expose many (2000+) similar web services through
I'm looking to add a web services interface to an existing server application. The
I'm looking to expose specific .Net types to the IronPython runtime. I can do
Looking at the Ehcahce implementation of net.sf.cache.JS107, I am trying to achieve the following
My objective is create an apache module that will provide RESTful services (i.e., we
What I am looking is something similar to the below ( http://github.com/ninject/ninject.web.mvc ): README.markdown
Do any of the existing open source databases have the ability to expose a
I am looking for a way to expose a property in my ViewModel and
Does WebKit expose an API for working directly with its DOM? I'm looking for
Currently we are trying to expose our Axis2 web services via WSO2 API manager.

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.