简体   繁体   中英

Sharepoint 2010 Custom WCF Service Application Development

What is the advantages and disadvantages of using custom WCF services as a way for developing custom applications(multiple, more than 10) under sharepoint 2010.

Is it recommended to go this way or not?

PS: I am using Custom WCF Service not Internally SP services as the data is placed in external database.

Thanks in advance.

Wcf is a standard and feature-rich way for exposing .net web services supporting SOAP and other standards and different types of hosting. SharePoint portal provide IIS hosting for you app which (probably) depends from SP infrastructure, thus shouldn't be available when SP is not avaliable.

But IIS hosting is for 'passive' services (please refer to Different Types of Hosting WCF application and there advantages ). I had problems with wcf factories recommended officially (for ex. here ), so I can only suggest my way of hosting WCF within SharePoint environment

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM