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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T20:47:15+00:00 2026-06-01T20:47:15+00:00

I need to expose some logic locally as a service… The objects sent/received to/from

  • 0

I need to expose some logic locally as a service…

The objects sent/received to/from the logic are quite large, the information is sensitive and the logic will never need to be exposed externally it is for use on the local server only.

Some MVC developers are argueing that it should be exposed using a WEB Api service – is it worthwhile implementing this?

Their argument is that with Web API it is much more integrated into MVC and makes displaying result much easier (I know nothing about this side of things), my fear is that we will have to implement complicated authorisation and sacrifice performance.

Is there no better lightweight service layer that fits this scenario? WCF named pipes seems logical to me, or just reference it as a class library – yes the config files are a pain but not the end of the world. Basically we just want to serve up some logic locally.

  • 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-01T20:47:17+00:00Added an answer on June 1, 2026 at 8:47 pm

    Web API is Microsoft’ best High-Level HTTP implementation so far. As such it embraces HTTP like none before and allows many flexibilities not possible under normal MVC.

    Features such as Content-Negotiation are truly important for any service whether internal or external.

    Yet, I would also see that WCF provides better cohesion since it is a pure RPC framework. But it is definitely not light-weight. I have a blog here which discusses this issue and does some comparison (Shameless Plug!).

    If all you care is to call methods in a private environment, WCF is fine. But remember that named-pipe/TCP might not work in some firewall conditions.

    Another thing you lose with Web API is the contract. There is no WSDL in the Web API land – which can be good or bad depending how you look at it. If your company is very stringent with service contracts, WCF is a better option.

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

Sidebar

Related Questions

I need to create a service that will expose data and contain business logic
I need to expose some input fields based on what properties I find for
I need to expose some C++ classes to C# (I am building on Linux,
I need to expose a third party vendor's web service internally on my network.
I need some help from some linux gurus. I am working on a webapp
We need to expose some services (i.e. AddressValidatorService, CustomerFinderService) that currently reside in an
I have recently finished creating a STS setup and need to expose some WCF
I am wanting to expose some data service endpoints for internal application use and
I am developing a Windows Service application of some complexity, and need to have
Sometimes I need to expose some of the class members. For example in the

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.