Pages

Showing posts with label web services. Show all posts
Showing posts with label web services. Show all posts

Monday, January 14, 2013

Differences between Web Services and WCF Services



.NET Framework 3.5 and higher version has introduced WCF services. Most of the time we don't know what are the advantages to use WCF services over traditional web services.

Here is very good link which talks about in-depth differences between web services and WCF services:

http://www.codeproject.com/Articles/255684/Create-and-Consume-RESTFul-Service-in-NET-Framewor




We can use two types of serialization in WCF : XmlSerializer and DataContractSerializer. Both has its own advantages-disadvantages over other.

Link for differences between XmlSerializer and DataContractSerializer :  http://www.danrigsby.com/blog/index.php/2008/03/07/xmlserializer-vs-datacontractserializer-serialization-in-wcf/
 

WCF Web Service in SharePoint 2010

Wednesday, June 10, 2009

Anonymous access into SharePoint web services

Till now I didn’t find how to anonymous access web services, we can impersonate our SharePoint object model code by writing block of code under SPSecurity.Runwithelevatedprivileges method, I am looking for something like this for my web services code, I tried to find solution from internet, but I didn’t get success.

 

I can run or authenticate my web service code by passing current user credentials or any custom credentials (user name, password, domain name), but I am looking something different in authentication mode, please reply to me if any of you find some solutions or any alternatives for my challenge problem and I’ll also do same thing.

 

Thank you very much!