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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:12:09+00:00 2026-05-23T15:12:09+00:00

Say I’m building two applications: 1) A public website 2) A service The website

  • 0

Say I’m building two applications:

1) A public website

2) A service

The website can be accessed, of course, by users.

The service can be consumed through a web API, but will also be consumed by the website.

This means that common functionality can be put in the service only, rather than having it duplicated in both the website and the service.

Now, when deploying this solution, there seem to be two options:

1) Have the website directly reference the web-service, and deploy both binaries to the web-server, running in the same process.

2) Have the website reference the web-service through the web API, just like all the other consumers. Have the service run in a separate process.

Option 1 would probably be faster for performance, but would require having the two DLLs deployed separately.

Is there any way I can have option 2 (separate processes) but still link the Website to the Service directly, to avoid network latency, serialization, etc?

  • 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-23T15:12:09+00:00Added an answer on May 23, 2026 at 3:12 pm

    What technology are you using for your web service? If you’re using WCF you can use the NetNamedPipeBinding for your website which is almost as quick as using a dll directly.

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

Sidebar

Related Questions

Say my web app has two spring cron jobs scheduled to run every minute/hour.
Say I have an ASMX web service, MyService. The service has a method, MyMethod.
Say my web server receives two simultaneous requests. It will handle each request in
Say I have this method public void test(IList<AvaliableFeaturesVm> vm) { } I have this
Say I have the following generic class: public class Foo<T extends Bar> { //
Say with the below awk inside a bash script: How can you get the
Say I have a class pet and it is composed of two variables: Class
Say I have two types of objects, Apples and Chainsaws . A user is
Say I have two columns of names. All names in the first column are
say I have a class A which is as follows public class A {

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.