Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi All;

I have created a WebService in C#3.5; from which i am able to return a datatable.
The front end will display that datatable in gridview, which is working perfect for me. I have hosted that webservice on IIS 6.0.

Now, i want to make that service, platform independent, so that user can use this service on their available platform.

i am trying to achieve this without using WCF.

Thanks,
Posted

1 solution

If you want to make Platform independent web service then first you need to avoid using .net objects like Datatable, Datasets etc. And I don't think its possible to make Platform independent web service using .net without WCF. Try creating WCF REST services:

WCF .NET 4.0 Console Hosted Json Rest Secure Http Web Service with Authentication and Roles[^]

Create and Consume RESTFul Service in .NET Framework 4.0[^]

hope it helps :)
 
Share this answer
 
Comments
ambarishtv 17-Jan-12 6:49am    
+5
Uday P.Singh 17-Jan-12 6:54am    
thanks ambarish

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