Last post Apr 03, 2020 12:51 PM by mgebhard
Apr 03, 2020 12:17 PM|omsaisaanvi|LINK
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
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.
Apr 03, 2020 12:27 PM|mgebhard|LINK
ASP.NET Core 3.1 is not compatible with the previous .NET framework. Also, ASP.NET Core 3.1 configuration is very different from .NET.
Apr 03, 2020 12:29 PM|omsaisaanvi|LINK
Is there any way to implement clientsection in asp.net core if yes then what is the way
Apr 03, 2020 12:40 PM|omsaisaanvi|LINK
Is there any way to implement clientsection yes i know it is not compatible so i am asking any way
Apr 03, 2020 12:51 PM|mgebhard|LINK
If you are asking how to read an XML file/setting in ASP.NET Core then please read the configuration link in my first post.