Eple
Issue with ASP.NET Core and WCF Service Integration
Hey everyone,
I’m working on an ASP.NET Core application that consumes a WCF service. I’ve encountered an issue, and I’m hoping someone here might have some insights.
When my app runs for the first time after some while, I get the following error message:
Exception: System.ServiceModel.FaultException1[MyProj.ExternalService.ServiceError]: There is already an open DataReader associated with this Command which must be closed first. (Fault Detail is equal to MyProj.ExternalService.ServiceError).`It looks like the external service is returning the "There is already an open DataReader…" message. Has anyone experienced something similar, or does anyone know what might be causing this?
5 replies
✅ Help needed: ensuring synchronization on startup for Minimal API app
I have a Minimal API application that I need to execute code on during startup. This application synchronizes changes between two systems. If the application has been offline, it must check for any missed changes as soon as it starts.
27 replies
Help Needed: Choosing Between VSCode on Mac or Visual Studio via Remote Desktop for Windows Backgrou
I'm starting a new project and can't decide between two options: using VSCode on my Mac or using Visual Studio on a Windows computer through remote desktop (the connection is fast and stable). The project is a background service that will eventually run on Windows. Any suggestions on which setup would be better for this?
10 replies
❔ JObject find value
I have the following JSON
I want to check if
sale.transaction.state == "Completed"
But since the keys sale
, transaction
and state
are optional and not always in the response, I must check for their presence.
Is there a better way than what I have below?
7 replies