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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T21:01:51+00:00 2026-05-24T21:01:51+00:00

We are starting development of an web application which would later be ported to

  • 0

We are starting development of an web application which would later be ported to mobile as well. So I was thinking to encapsulate Data Access and Business Logic inside an WCF Layer. This would make it easier to sync and manage it later.

The data access layer would consist of an Repository Layer above an ORM (Codesmith – PLINQO).
The application is multi-tenant (SaaS) and uses shared database approach.

WCF and Web App will reside on the same server and WCF Binding would be NamedPipes.

Is the above approach correct or there might be some peformance hit on using a WCF Layer? Any advice or readable material for better structuring the application is also welcomed.

  • 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-24T21:01:52+00:00Added an answer on May 24, 2026 at 9:01 pm

    It depends on rest of your requirements. Named pipe communication has always performance hit. You can just make some test to call operation directly multiple times and to call operation through the named pipe to get some numbers to compare. There are alternatives to named pipes to host the service in process instead of another process – null channel or local channel but even those solutions will be still slower then direct call.

    You are planning your architecture for the future so you should now define what the future means as well. How will mobile devices consume your services? Will it be SOAP or REST? Those are two different approaches and you can find that services you prepared for your web application (SOAP) are not very useful for mobile devices (where you can want to use REST because it is better supported and more popular).

    If you don’t know what the future means it makes no sense to make any preparation because you will most probably prepare for something which will not happen = your current effort will be wasted and you will have to change your application later anyway.

    Using same services for your application (= internal service) and for mobile devices (= external service) can have different security requirements. For example your web application can already handle authorization but for mobile devices the authorization will have to be performed on services. Authorization is global for a service so for your web application you will do authorization twice.

    In my opinion you should start with business logic as a library which will be consumed directly by your web application. Once you need to add services for mobile devices create just service wrappers around your business logic. Adding WCF layer for your web application make sense if you want to divide front end and back end on different servers or if you want to scale business logic and frond end separately but when they run on the same server it will only introduce performance decrease and it will probably not make your development for mobile devices easier. Even in scenario where you would have business logic deployed separately you should think carefully if you want to expose business services directly to mobile devices. It is not uncommon to expose another layer of public services calling internal business services – that is usually used in projects with strict security where business services must sit in different network perimeter.

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

Sidebar

Related Questions

I am starting development on a new web application which uses JSF 2 as
Which MVC-framework is the best option (performance/ease of development) for a web application, that
I'm currently starting in the web mobile development along with come trench brothers. I've
I am starting a a new web development project and I am tired of
I do mostly Java and C/C++ development, but I'm starting to do more web
Hi there Im new to mobile application development. I had developed Android apps using
At work we are inte process of starting development on a new web-based product.
I'm starting to do some web development and I was learning about forms and
Hi I'm starting a new web development project with my team using Hibernate and
I've recently starting learning java web development and I want to learn/understand: What constitutes

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.