Create and consume WCF Restful Service using an HttpClient?Sourav Kumar Das7yAsked Feb 27, 2019, 6:54 PM EST4 answersShareLinkedInXCopy linkSaveHow to Create and as well as consume WCF Restful Services using an HTTPClient in ASP.Net WebApplication? If there's a solution plaese let me know it..
Create and consume WCF Restful Service using an HttpClient?Sourav Kumar Das7yAsked Feb 27, 2019, 6:54 PM EST4 answersShareLinkedInXCopy linkSaveHow to Create and as well as consume WCF Restful Services using an HTTPClient in ASP.Net WebApplication? If there's a solution plaese let me know it..
Madan ShekarRank #428 · 5.9K reputation7y agoPosted Feb 27, 2019, 7:02 PM EST+1https://www.c-sharpcorner.com/UploadFile/rahul4_saxena/create-and-consume-wcf-restful-service-using-jquery/ https://chsakell.com/2013/07/12/create-and-consume-wcf-restful-service-using-an-httpclient/ go through above links +1
Sourav Kumar DasRank #982 · 2K reputation7y agoPosted Feb 27, 2019, 9:58 PM EST0Hi Madan & All, I have seen ur link In which first link is of client side but I need in server side. In second link I have already seen it where only it has get method I need only PUT, POST and DELETE method to consume WCF services in server side using ASP.Net web application. If there's a solluton please let me know it..0
Mageshwaran RRank #411 · 6.1K reputation7y agoPosted Nov 12, 2019, 5:42 PM EST0Hi,try this code:WCF_WebConfig:xml version="1.0"?> <configuration> <connectionStrings> <add name="Json_ConnectionString" connectionString="Data Source="ConnectionString"/> connectionStrings> <appSettings> <add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" /> appSettings> <system.web> <compilation debug="true" targetFramework="4.6.1" /> <httpRuntime targetFramework="4.6.1"/> system.web> <system.serviceModel> <behaviors> <serviceBehaviors> <behavior name="BehaviourName"> <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/> <serviceDebug includeExceptionDetailInFaults="false"/> behavior> serviceBehaviors> <endpointBehaviors> <behavior name="Web"> <webHttp/> behavior> endpointBehaviors> behaviors> <services> <service behaviorConfiguration="BehaviourName" name="Service.Service"> <endpoint behaviorConfiguration="Web" binding="webHttpBinding" contract="Service.IService" /> service> services> <protocolMapping> <add binding="basicHttpsBinding" scheme="https" /> protocolMapping> <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" /> system.serviceModel> <system.webServer> <modules runAllManagedModulesForAllRequests="true"/> Nov 12, 2019, 6:58 PM EST0Hello Sourav,Please refer below link and let me know if needed any thing.https://blogs.msdn.microsoft.com/dsnotes/2017/09/19/wcf-consume-wcf-rest-service-by-httpclient/https://stackoverflow.com/questions/17565072/how-to-consume-wcf-rest-service-in-cThanks0Join to answer this questionEvery answer you publish earns 20 SHARP.Create free accountSign inKnow the answer?Answer a question in the forums and earn +20 SHARP for every answer.See unanswered questionsForumsTop experts01Arun PottiAnswers in the forums20answers02Tahir AnsariAnswers in the forums5answers03Kamlesh KumarAnswers in the forums5answers04Sam HobbsAnswers in the forums4answers05Željko PerićAnswers in the forums3answers?YouYour name goes here.Every answer: 20 SHARP.JoinFull leaderboard →2026DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Madan ShekarRank #428 · 5.9K reputationPosted Feb 27, 2019, 7:02 PM EST
Sourav Kumar DasRank #982 · 2K reputationPosted Feb 27, 2019, 9:58 PM EST
Mageshwaran RRank #411 · 6.1K reputationPosted Nov 12, 2019, 5:42 PM EST
Please refer below link and let me know if needed any thing.
https://blogs.msdn.microsoft.com/dsnotes/2017/09/19/wcf-consume-wcf-rest-service-by-httpclient/
https://stackoverflow.com/questions/17565072/how-to-consume-wcf-rest-service-in-c
Thanks
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts