While build app on release mode the wcf end point having issues. All Good in debug mode

Manu Michael Samuel 131 Reputation points
2021-01-21T17:02:04.917+00:00

Hi all,

Am facing an issue with the WCF service. All good in debug mode. After building it in release mode and run the app having problem in WCF endpoint. Providing the images.
59168-inkedon-debug-mode-li.jpg59150-on-release-mode.jpeg

Debug Mode Image
Release Mode Image

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,398 questions
Universal Windows Platform (UWP)
{count} votes

Accepted answer
  1. Michael Taylor 48,581 Reputation points
    2021-01-21T19:00:15.21+00:00

    Where did you put the URL to the endpoint? If it is in the root config file for your app then you should be fine. However if you put it in the *.debug.config file then it only applies to debug builds. You would also need to put it in the *.release.config file so the release mode would have it. If it is the same in both configurations then move it into the root *.config file instead.

    0 comments No comments

0 additional answers

Sort by: Most helpful