Click here to Skip to main content
15,890,185 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My web application written on .Net framework 4.6. Now, I want to move all my business layer logic to Core Web API. Is it possible to call Core Web API Action methods from asp.net client webforms? Please advice.Thanks.

What I have tried:

I tried calling core Web API using Angular7 as client, but now in my case it's not possible to Wipeout all webforms and rewrite in Angular because of time constraint.So, i have decided to move my Bl layer functionality to Core Web API.
Posted
Updated 27-Jun-19 23:46pm
v2
Comments
j snooze 20-Jun-19 17:09pm    
Web API's no matter the tech, should be agnostic to whatever technology you choose to call them with. Shouldn't matter if you're calling a webapi through javascript, .net, java, python etc....

Use HttpClient or RestSharp, these libraries will help you to consume the Web API end points.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900