Ok, I'm confused...

Posts   
 
    
jeffreygg
User
Posts: 805
Joined: 26-Oct-2003
# Posted on: 24-Jun-2005 20:12:09   

So, it looks like we can use Yukon's hosted CLR for more than just stored procs and UDFs? This article seems to imply that one can expose web services directly from the Yukon-hosted framework. While perhaps one can't use the optimized in-process SQL Server direct ADO.NET adapter, this still opens up a lot of possibilities. Unless I'm missing something again? Anyone?

Jeff...

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39801
Joined: 17-Aug-2003
# Posted on: 25-Jun-2005 11:53:05   

I never understood this integration of services... Why would anyone enable 'webservices' on the big sqlserver database server?

Though, for the people who aren't concerned that much about security, you can use it to expose an API which is directly calling into the proc API below it to consume/produce XML, because that's all it does I think. So mainly: you wrote an API for your db, and you expose the methods through a webservice interface.

Now, compare this webservice api with connecting to the same api via SqlClient. I can't really say I'd prefer the webservice api. THough it fits in the 'everything is a service' approach Microsoft is preaching for a couple of years now.

Frans Bouma | Lead developer LLBLGen Pro