53 questions
0
votes
1
answer
55
views
CoreWCF soap12 authentication
I have an ASP.NET Core web application, which I'm using to host a WCF Core service. This is my Program.cs:
using System.Text;
using CoreWCF;
using CoreWCF.Channels;
using CoreWCF.Configuration;
using ...
20
votes
1
answer
2k
views
CoreWCF stream continues to be written to after client disconnects
I have a very simple service class:
using System.Diagnostics;
var builder = WebApplication.CreateBuilder();
builder.Services.AddServiceModelServices();
builder.Services.AddServiceModelMetadata();
...
1
vote
0
answers
65
views
How to get CoreWCF to scope a DbContext per call/session?
I am migrating a WPF app service from .NET 4.7.2 to .NET 8. I need some guidance on how to properly manage the lifetime of the DbContext using .NET DI and CoreWCF.
I recently applied the following ...
0
votes
0
answers
132
views
Basic routing in ASP.NET Core 8.0 WCF service app hosted by IIS isn't working
I have created for testing a simple WCF service using the .NET 8 framework.
Endpoints are defined in a wcf.config file (follows). The Program.cs looks like this:
internal class Program
{
static ...
1
vote
0
answers
79
views
In CoreWCF, how can I replace references to http://tempuri.org/ with my own namespace?
I am trying to make a CoreWCF SOAP endpoint which is backwards compatible with a legacy .NET Framework SOAP API. One problem remaining is that if I call any method (OperationContract), the XML ...
1
vote
1
answer
438
views
How to add a GET method to CoreWCF service
I am converting a WCF service from .net framework to .net core and using CoreWCF, I have my method decorated like so
public interface IService
{
[OperationContract]
[WebInvoke(
Method =...
1
vote
0
answers
589
views
While migrating Wcf project into CoreWcf .net8.0. How to use Wcf web.config setting into Corewcf projects?
Below is is my wcf Web.config file code which i want to use in corewcf projects
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="...
1
vote
1
answer
89
views
Does CoreWCF support KafkaBinding?
Does CoreWCF support KafkaBinding ? If yes - Can someone please share the steps I need to follow on client side ? I was not able to find a way to create a channel factory for KafkaBinding and make ...
0
votes
0
answers
315
views
Migration of WCF service from .NET framework to .NET 7?
I need to migrate WCF service from .NET framework to .NET 7. I used the Microsoft upgrade assistant tool for this migration. But I am encountering compilation errors.
This is my code:
[WebInvoke(...
0
votes
1
answer
270
views
CoreWCF Service Receiving MTOM File Attachment
I'm attempting to create a SOAP service using .NET 6 and CoreWCF that uses a format dictated by one of our suppliers to receive a SOAP message with a bunch of metadata, and a set of file attachments ...
-3
votes
1
answer
158
views
Add Listening Adrees to CoreWcf Project
I want to change listening adress. I see the localhost5203 whenever I try to test on SoapUI.
How can I change it? I used to "web.config", "wcf.config", AddServiceEndpoint although ...
0
votes
0
answers
71
views
WCF CreateMessage fails on escaped ASCII characters
I am migrating a WCF client application from DotNet Framework to DotNet (Core) 7. The object I am using serializes using ASCII character 0x07 as a separator, which under DotNet Framework would be ...
0
votes
1
answer
228
views
CoreWCF - RabbitMQ: Contract requires TwoWay Binding
I am following the code in the Launch Announcement Blog for RabbitMQ support in CoreWCF and am not sure what to do with this exception:
System.InvalidOperationException
HResult=0x80131509
Message=...
0
votes
1
answer
857
views
How to configure Yarp Reverse Proxy between clients and CoreWCF Service (Azure Container app)
I have a CoreWCF Service hosted as an Azure container app, I need to add a reverse proxy between clients and service. I tried using Azure Application Gateway but without success, I keep getting Bad ...
0
votes
1
answer
98
views
Connect to Azure Container Apps (CoreWCF Service) from old versions of Windows OS (Win7, Server 2008 etc..)
I configured a CoreWCF service (.NET 6.0), containerized and hosted it as an Azure Container Apps.
The clients that connect and use this service are Windows Forms (.NET Framework 4.6).
While doing ...
1
vote
1
answer
881
views
Run WCF (Core WCF) service in App Service (.NET 6) on Azure
We're very excited to see the CoreWCF project moving well. Right now we're trying to deploy a WCF service writen in CoreWCF to an Azure App Service using .NET 6. Deployment succeeds, but the WCF ...
0
votes
2
answers
618
views
CoreWCF vs Classic WCF windows authentication failure
I have this scenario:
Microsoft Dynamics AX WCF service running in two different environments: production and test; in production the service has two instances, balanced with DNS, in test only one ...
0
votes
1
answer
451
views
How to convert WCF Rest Service code to CoreWCF Rest Service
I have below lines of code and as we know WebInvoke enables Rest Service capablity. I am converting my code to CoreWCF but WebInvoke is not supported.
[OperationContract]
[WebInvoke(Method = "...
2
votes
1
answer
782
views
REST, WCF, CoreWCF or older Web Services (ASMX)
I am an old ASP.NET WebForms developer using ASMX Web Services on an old Web System - maintaining for now as the client doesnt want to port at this stage.
Now I have started with .NET Maui which I ...
1
vote
1
answer
590
views
WCFCore and serviceAuthorizationManager not working
I'm trying to assemble a .Net 6 WCF Service with WCFCore, using a basicHttpBinding, and I'm strugling to add a service authorization manager.
My purpose is to enable WCF to read and validate bearer ...
2
votes
1
answer
675
views
How to initialize CoreWCF.OperationContext in unit tests?
I have a CoreWCF .NET 6 service that returns custom HTTP status codes with this code:
var requestProp = new HttpResponseMessageProperty(); OperationContext.Current.OutgoingMessageProperties[...
0
votes
2
answers
75
views
WebService Confusion - How to get started?
I'm currently stuck with a very old WCF WebService, that was written about 8 years ago. None of the developers that created that thing is still available (also no documentation), therefore it's ...
1
vote
0
answers
464
views
self hosted ASP.NET Core Web Api capable of starting and stopping
I'm attempting to convert an old WCF service to an ASP.NET Core Web API, making use of the CoreWCF package. A key feature of this existing service is that it's being self hosted by an other ...
4
votes
2
answers
4k
views
CoreWCF Basic Authentication - .NET 6
I am writing a CoreWCF PoC and I need to use HTTPS, BasicHttpBinding and Basic Authentication.
It all worked fine until the point when I tried to activate Basic Authentication. So the code below with ...
0
votes
0
answers
623
views
CoreWCF -The contract name could not be found in the list of contracts implemented by the service
I use this configuration for CoreWCF.
=>.NET Framework 4.7.2
=> CoreWCF Namespace
Here is my Web config
<system.serviceModel>
<behaviors>
<serviceBehaviors>
&...