Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

DaveJ

(5,023 posts)
Thu May 16, 2013, 08:01 PM May 2013

Is there any practical way/reason to use WCF on a small website?

I just got a new job (yay!) and it starts in 3 weeks, so I wanted to get more experience using WCF before I walk in the door.

I have a few website I've created on my own time, including a gallery type site, and an eCommerce type site. But I can't think of any way WCF could be useful. Is there any plugin or something that requires the use of WCF? Say, a comments component that might use WCF, or a way to grab email contacts, or anything that uses WCF outside of a B2B setting?

If not, I guess I can just have my two sites talk to one another using WFC... I guess that might work....

6 replies = new reply since forum marked as read
Highlight: NoneDon't highlight anything 5 newestHighlight 5 most recent replies
Is there any practical way/reason to use WCF on a small website? (Original Post) DaveJ May 2013 OP
Host WCF in a service ChromeFoundry May 2013 #1
I'm using a web host DaveJ May 2013 #5
I think that's the only native WSDL provider in the stack Recursion May 2013 #2
Thanks for the additional perspective DaveJ May 2013 #3
I'm a Linux/BSD guy for the most part; I just remember that from my last .NET experience Recursion May 2013 #4
I just like to learn by doing DaveJ May 2013 #6

ChromeFoundry

(3,270 posts)
1. Host WCF in a service
Thu May 16, 2013, 11:28 PM
May 2013

This way you don't need IIS. Your service could be as simple as basic calculator functions or data from an XSD. You can call your service from a console app, windows form, asp.net or even jQuery. So many options.

DaveJ

(5,023 posts)
5. I'm using a web host
Fri May 17, 2013, 01:33 PM
May 2013

I like to learn by creating something on my own websites that can serve some goal, basically, it's like I always need to be doing 2 things at once. So if I host a WCF service on one of my sites, and consume it on another one, that would mean I'm learning WCF right?

I was just wondering if there was anything out there that provides data that depends on the consumer having WCF? Like connecting to get a user's microsoft contact list or something? (with their permission of course) I'd just like to have a practical reason to use it.

Otherwise, maybe I'll have my ecommerce site send products info to my gallery site. That way I can get experiences creating both ends.

Recursion

(56,582 posts)
2. I think that's the only native WSDL provider in the stack
Fri May 17, 2013, 05:40 AM
May 2013

So if you need WSDL for any service definition, you have to pull in all of WCF. Of course a small custom site probably doesn't need WSDL, but people love scalability nowadays, even for stuff that will never have to scale.

DaveJ

(5,023 posts)
3. Thanks for the additional perspective
Fri May 17, 2013, 09:38 AM
May 2013

I've been using web services with asmx extensions up until now. Since I've only done it that way, I don't even know what to call it. SOAP? Anyway, I'll be looking into WSDL now as I begin.

I guess I was phrasing my question poorly, also. I was wondering if there are any external providers of services that require WCF to communicate with them. I was listening to a podcast and got the impression Google lets a site import contacts and works well with Microsoft's WCF technology. Something like that.

Recursion

(56,582 posts)
4. I'm a Linux/BSD guy for the most part; I just remember that from my last .NET experience
Fri May 17, 2013, 09:43 AM
May 2013

We had plug-in X that relied on the existence of WSDL, so we had to have WCF. That's the basics that I remember.

DaveJ

(5,023 posts)
6. I just like to learn by doing
Fri May 17, 2013, 07:54 PM
May 2013

I was just trying to come up with some practical way to use WCF.

It seems like WCF is Ms's plan to have B2B developers communicate with one another. Does that sound right? But I see nothing out there (public data sources) that are like, "hey if you want to connect to us use WCF this way...". That's what I was looking for I guess.

Latest Discussions»Retired Forums»Website, DB, & Software Developers»Is there any practical wa...