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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:10:51+00:00 2026-05-25T12:10:51+00:00

I have WCF service using netTcpBinding (so default InstanceContextMode=PerSession). Service is being called from

  • 0

I have WCF service using netTcpBinding (so default InstanceContextMode=PerSession).
Service is being called from ASP.Net Web Application using code similar to:

ServiceClient service = new ServiceClient();
service.ServiceMethod1();
service.Close();

So, we create a proxy instance here – call the required method and – close the service.

Query –
When do we say that a WCF Session is created?
Is it correspond to one ASP.Net Session… so suppose one user having an ASP.Net Session, whatever calls this user will make to service from his session will also mean a WCF session?

Thank you!

  • 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-25T12:10:52+00:00Added an answer on May 25, 2026 at 12:10 pm

    When do we say that a WCF Session is created?

    When you first call the service from a new proxy instance.

    Is it correspond to one ASP.Net Session… so suppose one user having an ASP.Net Session, whatever calls this user will make to service from his session will also mean a WCF session?

    No. WCF session doesn’t work in the same way as ASP.NET session. WCF session is with out of the box implementation maintained per proxy. Once you close your service client the session is gone.

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

Sidebar

Related Questions

I have developed a Web service using WCF Service Application. This service application is
I have a .NET web service (using asmx...have not upgraded to WCF yet) that
I have created a WCF Data Service and using it in a web application
I have a WCF service that I have to reference from a .net 2.0
I have a WCF Service hosted as Windows Service and client is an ASP.Net
I have a WCF service using netTcpBinding (the protocol should not be relevant but
I have a WCF service with 14-15 Service contracts defined using netTcpBinding and no
I have a client that connects to a WCF service using a netTcpBinding .
We have WCF services being self-hosted by a Windows Service inside our domain, using
I want to configure ASP.NET Website Project using WCF Service[NetTcp] (both in c#) for

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.