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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:26:48+00:00 2026-05-23T07:26:48+00:00

How does the life cycle looks like for the following : WCF Webservice(http) If

  • 0

How does the life cycle looks like for the following :

  1. WCF Webservice(http)

If I got this correct the service will be created for every call?

  1. WCF netTCP (also hosted in IIS) as singleton

Is it correct thtat the WCF service will be created on the first call and then never go down? Or will it go down when there is no connections for a while? And if so, where do I set this timeout? The service in my case is keeping state for the client so what will happen if a client connects but is idle so long that it excedes the timeout?

  • 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-23T07:26:49+00:00Added an answer on May 23, 2026 at 7:26 am

    For the 1) the service will be created on every client call

    2) Singleton service
    The singleton service is the ultimate sharable service. When you configure a service as
    a singleton, all clients are independently connected to the same single well-known
    instance context and implicitly to the same instance inside, regardless of which endpoint
    of the service they connect to. The singleton is created exactly once, when the
    host is created, and lives forever:it is disposed of only when the host shuts down.

    By its very nature, the singleton is shared, and each client should simply create its own proxy or proxies to it.

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

Sidebar

Related Questions

Does JBoss ESB Action has life cycle like Servlet does (init, service, destroy)? I
Why does this code only draw a circle once? I cannot for the life
The following does not compile, and I cannot for the life of me see
Does UserControls in asp.net degrades performance. MasterPage has its own life cycle Page has
The life cycle diagram of an Activity on an android does not guarantee that
Does the ADT introduces any shortcuts to create the life cycle methods using a
I need to know what the event loop in the ios life cycle does?.
When does the OnValidate event fire in the life-cycle of a control? I'm creating
For the life of me I can't see why my coding does not work.
Does anyone out there know how to integrate ContentFlow ( http://www.jacksasylum.eu/ContentFlow ) and Lightbox2

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.