How-To Article about Calling a WCF Service from SQLCLR

I sometimes (not as much as I would like) hang out at some of the user forums where people talk about SQL Server generally and the SQLCLR specifically. Ever so often the question is being asked how to call into a WCF service from SQLCLR (.NET code running inside SQL Server).

The other day I became tired of giving exactly (or thereabout) the same answer for the n:th time, so I decided to croft up some code and write a mini How-To about how to call into a WCF service from SQLCLR. So without any further ado, the How-To article can be found here. I do not have anywhere to host the code yet (my usual hosting place disappeared – don’t ask), so until I decide where to host you can drop me an email if you want to see the code.

Update: I have now created a Resource Page on MSDN’s code gallery, where the sample code for the article can be found. So if you want to get the code, go to here.

Advertisements

5 Responses to “How-To Article about Calling a WCF Service from SQLCLR”

  1. Hosting of Code Samples « managed data Says:

    […] managed data Niels Berglund’s musings about technology and life in general « How-To Article about Calling a WCF Service from SQLCLR […]

  2. Hosting of Code Samples « managed data Says:

    […] other day when I posted about the sample how to call a WCF Service from a SQLCLR method, I mentioned that I had no place to […]

  3. vishal kabra Says:

    Please check this link.

    http://blogs.msdn.com/saradhic/archive/2007/09/12/invoke-wcf-service-via-sql.aspx

  4. Hosting of Code Samples | managed data Says:

    […] other day when I posted about the sample how to call a WCF Service from a SQLCLR method, I mentioned that I had no place to […]

  5. relaxing massage amsterdam Says:

    If some one needs to be updated with latest technologies then he must be
    pay a quick visit this web page and be up to date daily.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: