Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
1 answer
40 views

WCF service throws error in ASP.NET MVC. Could not establish secure channel for SSL/TLS with authority

First of all there is a ton of question with the same title but I believe my problem is little bit different from other questions. I would like to state that everything where perfectly fine about two ...
MonkeyDLuffy's user avatar
0 votes
1 answer
31 views

How to setup HTTPS in netHttpBinding in wcf?

I have to create a sample project in which client and server communicate with netHttpBinding over https(wss). My code and configuration is working perfectly fine with http binding. But when I an using ...
Akash Soni's user avatar
0 votes
1 answer
82 views

How to identify from which location a binary(.dll) is trying to read it's endpoints information?

I’m working with a class library named ServiceRef.dll that includes a WCF service reference. This library is utilized across various parts of our application, such as web applications and other class ...
R.T's user avatar
  • 199
0 votes
1 answer
39 views

WebServiceHostFactory using HTTP only

I have a WCF service in a WebForms aplication that is created programmatically. The service is defined like this: [AspNetCompatibilityRequirements(RequirementsMode = ...
ShawnO's user avatar
  • 1
0 votes
0 answers
54 views

WCF client works with .NET Framework but not with .NET Core:

I have a WSDL file that I tried to import into .NET Framework and .NET Core code. In .NET Framework, it works fine, but in .NET Core, it throws the following error: "The SSL connection could not ...
BilalMr's user avatar
  • 337
0 votes
1 answer
58 views

Why am I getting Compilation Error from web.config

We have a .NET 4.8 WCF project that was working just fine and compiles just fine but is now throwing up the following web.config compilation error when I try to access any end point: Compilation ...
Manjhari's user avatar
  • 164
0 votes
2 answers
45 views

Securing self-hosted WCF service using custom authentication

I've an ASP.NET MVC web app which is meant to be used within the enterprise. This web app has a custom authentication implementation. The controller functions will call self-hosted WCF services ...
pradeep's user avatar
  • 305
0 votes
2 answers
50 views

VS 2022 Add Service Reference not generating ClientCredentials for .Net Framework

I have to add a service reference to create a client proxy for a .Net Framework service and a .Net 8 service. The .Net 8 Add Service reference generates the client proxy correctly and executes ...
Mike's user avatar
  • 3,301
0 votes
1 answer
36 views

How to refresh caches hosts file for WCF HTTP Connection

I have a server and client application that uses a WCF HTTPS connection. They both use a certificate and therefore the client needs to use a DNS to connect to the server. In the system's hosts file ...
giomadz's user avatar
0 votes
0 answers
31 views

handle WCF validation inside SOAP method

i have different SOAP call, all call have the request validated using DataAnnotation (es StringLength, Range etc etc) I'm using ProvideFault to manage the validation error, but in this way the user ...
Luca Nitti's user avatar
0 votes
0 answers
51 views

.NET Core Web API to a remote WCF ASP.NET Framework net.tcp service

I have an .NET Core 6 Web API (Service 1) that consumes an older WCF ASP.NET Framework 4.5.2 (Service 2) which runs over only over net.tcp. The second service has a database connection which reads and ...
thxmike's user avatar
  • 656
0 votes
1 answer
52 views

Ignore validation error when calling .NET framework WCF service from a .NET 6.0 project

I have a .NET framework 4.8 project, which is calling a .NET 4.8 WCF service. I want to use https, but for now I have only self signed certificate, thus I simply ignore all validation errors: ...
dafie's user avatar
  • 1,033
1 vote
1 answer
69 views

PlatformNotSupported when converting WCF client config to C# .NET 6 code

Can anyone share if it is possible for the below configuration to be written in .NET Core? If there are any obvious roadblocks and if there are any workaround. I have used the code equivalent for the ...
Anirudh's user avatar
  • 11
0 votes
2 answers
105 views

Can a .NET Core System.ServiceModel WCF client specify non-standard default values?

I'm migrating some Xamarin.Android and Xamarin.iOS apps to .NET 8. These apps communicate with WCF services. Previously, these apps used a Web Reference WCF Client (right-click project -> Add -&...
Jonathon Minard's user avatar
-1 votes
1 answer
95 views

How to establish trust relationship for WCF SSL/TLS Secure Channel

We have client server application where its using WCF for the communication. How to correctly associate a certificate to a WCF Service using app.config. Right now I am defining the certificate in the ...
nikhil's user avatar
  • 1,688

15 30 50 per page
1
2 3 4 5
1544