I have a N-Tier demo project that I need create WebApi using c# (THIS IS NOT MVC PROJECT AND WE DON’T USE LINK).
The WEbApi should make call to Business Layer, webapi should be separated project and not include web apges.
Create JQuery do return the data to Aspx pages (code behind).
The business layer is returning Dataset, DataTable, DataReader and object and that is what should be returned from the WebApi and JQuery.
Also user needs to be Authenticate before access WebApi as it would before access Business Layer.
You can replay the call from codebehind to call JQuery, no need to redo the UI.
This will be a proof of concept. Create Api Documentation