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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T06:51:29+00:00 2026-05-16T06:51:29+00:00

I have a DAL that is replicated across multiple apps (I know its a

  • 0

I have a DAL that is replicated across multiple apps (I know its a bad design but ignore this for now) , what I want to do is this…

Create a WCF DAL Component that will be accessed via all Desktop apps.. Could anyone share their thoughts on following ??

  1. I am intending to use TCP Binding
  2. What will be the overhead in terms of performance ( since 1 DAL component will b consumed via multiple apps )???
  3. Since TCP Binding can only be hosted on IIS-7.0, this will be another overhead in terms of hardware+s/w ( or is it possible to have HTTP binding at top and TCP beneath that so that I can use IIS version 5 or 6 )???
  4. Can I have multiple end points for multiple apps and is good from performace point of view as it will help us creating different thread for different client apps and can have diff contracts in future as well so that one application goes unaffected due changes in the DAL..
  5. What Instancing Mode is preferred in this case (we are expecting a traffic of 100 concurrent user per day) , and DAL already handles this using SINGLETON design pattern.

Let me know your thoughts on all of above mentioned points and also if you could provide me more insight on this… will b gr8.

Thanks in advance…

  • 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-16T06:51:29+00:00Added an answer on May 16, 2026 at 6:51 am

    Let me answer a few:

    1) netTcpBinding is a great binding – very fast, very good in performance – definitely go with that!

    3) Either host in IIS 7.0, or then self-host – write a little Windows NT Service and handle the hosting yourself. Gives you more control, and the ability to manually start and stop your DAL Service. I wouldn’t even bother trying to get NetTcp working on IIS5/6 with some kind of a trick/hack – waste of time.

    4) Multiple endpoints of the same binding are neither useful, nor do they help with performance.

    5) I would always use “Per-Call”. Each service request gets its own instance of the service, the call is handled, and then you’re done. That makes programming the WCF service implementation a snap – if you go singleton, to have any performance at all, you need to worry about multi-threaded and thread-safe programming – a mess, really. Don’t do it. NO, just don’t do it.

    A DAL should always be stateless and should operate on the “open the database connection as late as possible, do the work, and close the connection as soon as possible” again pattern which is a perfect fit for the per-call instance mode. When your service request comes in, the connection is opened (those are pooled in a connection pool in ADO.NET anyway, on the server side), the works is done, and the connection is closed again.

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

Sidebar

Ask A Question

Stats

  • Questions 505k
  • Answers 505k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer It's not possible. May 16, 2026 at 3:22 pm
  • Editorial Team
    Editorial Team added an answer this might help: http://blogtrader.net/blog/run_debug_lift_web_app I found the link on this… May 16, 2026 at 3:22 pm
  • Editorial Team
    Editorial Team added an answer Ultimately, I could not get data binding, the entity framework,… May 16, 2026 at 3:22 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I have a DAL that is composed of a bunch of methods that perform
I have simple DAL that consists of a SalesEnquiry object, which includes a List<T>
I'm trying to build an object that looks something like this: public class MyObject
I must have changed something somewhere, but damned if I can figure out what
I have a DAL to CRUD product data. For example: Order someOrder = new
I've been wondering if it's possible to have Fluent-NHibernate communicate with stored procedures that
I'm developing a project using a layered architecture. I have a DAL in which
I have an application that consists of 3 layers: UI : to be implemented
I have an attribute that I have written that has a dependency on the
I have an asp.net usercontrol (ascx) that inherits from an abstract class (that inherits

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.