Microsoft Q&A

Windows Communication Foundation

275 questions

A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.

Browse all .NET tags

275 questions with Windows Communication Foundation tags

Sort by: Updated
0 answers

ReliableSession not working with nethttpBinding when we have duplexchannel communication

I am getting problem with netHttpBinding. Its not working when ReliableSession enabled in nethttpBinding and when we have duplexchannel communication. Below is the exception we are getting. System.ServiceModel.ProtocolException: The remote endpoint…

Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
275 questions
asked 2023-03-29T12:39:25.5866667+00:00
Rishabh Wadhawan 0 Reputation points
commented 2023-03-30T02:36:44.1433333+00:00
QiYou-MSFT 1,481 Reputation points Microsoft Vendor
0 answers

InstancePersistenceCommand Exception - Windows Workflow Foundation Issue

I am getting this exception when running the workflow, in my application logs- The execution of an InstancePersistenceCommand was interrupted because the instance key {GUID} was not associated to an instance. This can occur because the instance or key…

Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
275 questions
asked 2023-03-29T12:22:34.9333333+00:00
Moulshree Guleria 0 Reputation points
2 answers

I can't get my WCF service to run on our new server running Windows Server 2022

We have a simple WCF service installed on Windows Server 2012 with IIS 8.5. This has been running flawless for many years. We have now started installing our services on our new Windows Server 2022 with IIS 10.0 Unfortunately one of the few services we…

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
7,600 questions
Internet Information Services
Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
275 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
8,873 questions
asked 2023-03-20T14:59:11.2733333+00:00
Adagio_B 0 Reputation points
commented 2023-03-28T06:33:30.38+00:00
Lex Li (Microsoft) 3,286 Reputation points
0 answers

How to configure web.config to expose a WCF soap service given an example soap message that has security and addressing?

Hello, I have an example encrypted soap message (sent from a java web service) that should work with the service I m trying to expose in my server. I've tried many configurations but I don't get it the right one to handle the given soap message…

Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
275 questions
asked 2023-03-23T21:43:11.4933333+00:00
Claudia Murialdo 1 Reputation point
edited a comment 2023-03-24T03:16:58.99+00:00
QiYou-MSFT 1,481 Reputation points Microsoft Vendor
0 answers

WCF NetPipeBinding throws exception while starting WcfTestClient

Exception thrown: 'System.IO.PipeException' in System.ServiceModel.dll Exception thrown: 'System.ServiceModel.CommunicationException' in System.ServiceModel.dll Exception thrown: 'System.ServiceModel.CommunicationException' in…

Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
275 questions
asked 2023-03-21T10:31:27.43+00:00
Prakash Srinivasan 26 Reputation points
commented 2023-03-22T06:12:05.95+00:00
QiYou-MSFT 1,481 Reputation points Microsoft Vendor
0 answers

Self-host WCF service - use a MessageContract that has SOAP headers

I'm trying to create self-hosted WCF service with file upload & download methods with these parameters: I refer this explanation to perform the task.…

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
7,600 questions
Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
275 questions
asked 2021-09-16T17:51:14.547+00:00
Ravindu 1 Reputation point
commented 2023-03-20T17:19:43.6833333+00:00
Harjit Singh 0 Reputation points
1 answer

License queries - Simsun font

We want to use Simsun for a Commercial use in a web application. How to get the license for this font? Unable to get the license details and fees from here

Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
275 questions
Microsoft Office Online Server
Microsoft Office Online Server
Microsoft on-premises server product that runs Office Online. Previously known as Office Web Apps Server.
403 questions
asked 2023-03-15T06:51:46.97+00:00
Manvi 0 Reputation points
answered 2023-03-15T08:48:18.9+00:00
Emily Hua-MSFT 23,786 Reputation points Microsoft Vendor
0 answers

Operation Context is returning null in wcf service.

I have created a server client application where I have created two servers which communicate with the client. The communications with client happens correctly, but when i am trying to create callbacks. OperationContext.Current returns NULL. The other…

Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
275 questions
asked 2023-03-11T09:21:30.0933333+00:00
Muhammad Ruhban 0 Reputation points
edited a comment 2023-03-13T08:18:46.9+00:00
QiYou-MSFT 1,481 Reputation points Microsoft Vendor
3 answers

Service Connection List<T> vs Array bug

We have an asp website with service references to a WCF project. We have set the configuration of the service collection type to System.Collections.Generic.List, yet the reference.cs is showing arrays. We can see <CollectionMappings> …

Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
275 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,802 questions
asked 2020-11-11T13:45:38.03+00:00
Greg Colton 1 Reputation point
answered 2023-03-10T06:15:00.67+00:00
BadIcee 0 Reputation points
1 answer

Using WCF NetTCPBinding Transport security mode, the channel cannot be opened between the client and the server

I have one client machine and two server machines. The system of the server machine is the same. Server machine Windows Server 2019 Standard, Version:1809 .Net Framework 4.7 Advanced Service -> TCP Port Sharing open Client machine Windows 11 Pro,…

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
7,600 questions
Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
275 questions
asked 2023-02-24T00:44:04.1533333+00:00
Shirley 21 Reputation points
answered 2023-03-08T06:35:54.95+00:00
Shirley 21 Reputation points
1 answer

error CS0246: The type or namespace name 'ChannelListenerBase<>' could not be found (are you missing a using directive or an assembly reference?)

I have the framework version of WCF server code. When I was trying to migrate with CoreWcf, getting the below errors. The type or namespace name 'ChannelListenerBase<>' could not be found (are you missing a using directive or an assembly…

Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
275 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,848 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
7,600 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
897 questions
asked 2023-02-27T14:11:03.47+00:00
DotNetIsCareer 0 Reputation points
commented 2023-03-07T09:34:55.2133333+00:00
DotNetIsCareer 0 Reputation points
2 answers One of the answers was accepted by the question author.

Site works fine when it is run locally. But after it is published in 2019 windows server, it gives "HTTP Error 500.0 - Internal Server Error"

We are using IIS server 10 and .Net TrargetFramework ="4.7" in web.config of the WebApp as well as .Net Framework of 4.7 is installed in server manager. Site works fine when it is run locally. But after it is published in windows server 2019,…

Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
275 questions
Internet Information Services
Windows Server Migration
Windows Server Migration
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Migration: The process of making existing applications and data work on a different computer or operating system.
322 questions
asked 2022-12-06T11:11:49.46+00:00
Julia Kurakula 31 Reputation points
commented 2023-03-04T18:15:24.5633333+00:00
Ashley  Rodrigues 0 Reputation points
0 answers

why WCF Hosting service in a mixed way like saas and laas

Hi, I right now have a WCF backend in a Windows administration uncovered through net.pipe for an ASP.NET web application, on premise. I might want to move to Sky blue in Full Face Snorkel Mask is it conceivable to introduce the WCF administration on at…

Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
275 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,329 questions
asked 2023-03-02T15:40:18.34+00:00
Mr.Maick 0 Reputation points
commented 2023-03-03T08:50:58.4266667+00:00
QiYou-MSFT 1,481 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How can i send a List<Stream> as part of WCF messageContract

Hi All, I want to send List<Stream> through wcf service.My contract is something below. [MessageContract] public class ResponseData { /// <summary> /// /// </summary> [MessageHeader] …

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
7,600 questions
Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
275 questions
asked 2023-03-02T12:00:54.0933333+00:00
One07k-4914 101 Reputation points
accepted 2023-03-03T08:43:09.8766667+00:00
One07k-4914 101 Reputation points
0 answers

Digitally sign Security Header in SOAP request

What I have: A WSDL link and a link to which I am supposed to send requests (despite the location address in WSDL being different) What I need to create: A SOAP based client to send requests I created console project on .NET Framework 4.8, added…

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
7,600 questions
Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
275 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,329 questions
asked 2023-02-22T14:44:17.1033333+00:00
Sula 0 Reputation points
commented 2023-02-23T07:28:10.5833333+00:00
QiYou-MSFT 1,481 Reputation points Microsoft Vendor
0 answers

WCF service is not running over the HTTPS on multi server SharePoint farm?

Environment details: SharePoint 2019 multi server farm. Both servers communicate over port 80 and 443 bi-directionally. SSL is installed (not self-signed). Problem Statement: My wcf service is not running over the HTTPS while its default page is…

Internet Information Services
Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
275 questions
SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
1,631 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
6,486 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
1,815 questions
asked 2023-02-22T12:47:25.4033333+00:00
Noman Soofi 1 Reputation point
commented 2023-02-23T05:57:47.1266667+00:00
Noman Soofi 1 Reputation point
2 answers

Send Stream in WCF Callback

Hi All, I wanted to implement a Stream data transfer over wcf callback.Is there any way is to achieve this? My contract is something looks below. Thanks in advance. [ServiceContract(CallbackContract = typeof(IDataTansferCallback), SessionMode =…

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
7,600 questions
Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
275 questions
asked 2023-02-01T15:52:13.6866667+00:00
One07k-4914 101 Reputation points
answered 2023-02-15T07:39:29.18+00:00
QiYou-MSFT 1,481 Reputation points Microsoft Vendor
0 answers

IBindingConfigurationElement alternate in net core 6.0

Hi, I am working to consume an existing WCF service using the WEBAPI which is to be built in net core 6.0 I need to use IBindingConfigurationElement Interface, of System.ServiceModel.Configuration, but I am not able to find any alternate of this class in…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,848 questions
Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
275 questions
asked 2023-02-08T13:34:08.7666667+00:00
Hari 0 Reputation points
commented 2023-02-09T07:29:09.7633333+00:00
Zhi Lv - MSFT 21,801 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

WCF Error : Cannot obtain Metadata from WCF service

Hello All, We have a webservice in asp.net wcf (ex.. [http://localhost:56561/ProductOData.svc/]). We are able to add as a service reference in asp.net mvc. However, we are trying to add the same service in asp.net core 6.0 and it is not working. The…

Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
275 questions
asked 2023-02-07T14:43:03.54+00:00
SUMAN7910 20 Reputation points
commented 2023-02-08T15:50:29.1066667+00:00
Michael Taylor 41,356 Reputation points
1 answer

How to fix CORS issue during development with localhost different port

Hello, I have a Angular Js application and backend WCF service c# .net , both are running in localhost IISExpress with different port. Client UI is accessing WCF API through http POST/GET. While debugging from Visual Studio using Edge it's throwing…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
519 questions
ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
465 questions
Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
275 questions
asked 2023-02-06T04:53:41.13+00:00
Pragyan Snata 0 Reputation points
commented 2023-02-07T06:24:40.36+00:00
QiYou-MSFT 1,481 Reputation points Microsoft Vendor