Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

how to implement clientsection in asp.net core 3.1

$
0
0

I tried a lot to implement clientsection but no luck

How to implement clientsection in asp.net core i am migrating asp.net project to .net core 3.1 but wcf is not supported here and clientsection code is breaking

below

var appConfig = ConfigurationManager.OpenExeConfiguration(Assembly.GetExecutingAssembly().Location);
ChannelEndpointElementCollection channelEndpointElementCollection = ((System.ServiceModel.Configuration.ClientSection)(appConfig.GetSection("system.serviceModel/client"))).Endpoints;

any suggestion and help will be highly appreciated on how to proceed further on this.


Viewing all articles
Browse latest Browse all 9386

Trending Articles