How to Create a WebApi in Controller in WebForm by Taking Normal Class and i Don't want to take Controller class if it Works when i Hit it in PostMan and it Should Display data Using Model Class any Suggesion Pls Thanks In Advance
Loading
How to Create a WebApi in Controller in WebForm by Taking Normal Class and i Don't want to take Controller class if it Works when i Hit it in PostMan and it Should Display data Using Model Class any Suggesion Pls Thanks In Advance
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Anandu G NathPosted Dec 27, 2023, 8:57 AM
Refer Below
https://www.c-sharpcorner.com/uploadfile/37db1d/create-your-first-http-handler-in-Asp-Net-3-5/
Sachin SinghPosted Mar 20, 2023, 9:33 AM
Please follow this article ,
https://www.c-sharpcorner.com/article/using-web-api-with-asp-net-web-forms-part-seven/
TarunPosted Mar 20, 2023, 8:44 AM
I want aspx and aspx.cs bro
Sachin SinghPosted Mar 20, 2023, 8:09 AM
Are you talking about webforms (aspx and aspx.cs) or MVC ?
Web Forms apps, Web API and MVC are all workloads of ASP.NET and have very different use.