Server Intellect

Consuming a WCF Service with Client-Side AJAX in C#

Category: AJAX

Consuming WCF Service using Client-Side AJAX in ASP.NET 3.5 and C#

Introduction

In this article, we will be looking at how we can use AJAX to implement a WCF Service, so that it's methods are available to client-side JavaScript. This is an extremely powerful tool, as we are able to access the WCF Service almost instantaneously, without posting back a page or waiting several seconds. In this example, we will create a basic ASPX page with a HTML form that will make use of JavaScript calls to the WCF Service we will create.

What we will learn in this article:

  • How to Create an AJAX-Enabled WCF Service in Visual Studio.NET 2008;
  • How to use JavaScript to make calls to the WCF Service.

Getting Started with our WCF Service
Let's get started by creating a new Web Application in Visual Studio 2008, and because we're working in ASP.NET 3.5, we have AJAX already built-in. The first thing to do is right-click the project in Solution Explorer, and choose to Add > New Item.. AJAX-enabled WCF Service. You should be presented with something like this:

using System;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Activation;
using System.ServiceModel.Web;

namespace WCF_UI
{
[ServiceContract(Namespace = "")]
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
public class Service1
{
// Add [WebGet] attribute to use HTTP GET
[OperationContract]
public void DoWork()
{
// Add your operation implementation here
return;
}

// Add more operations here and mark them with [OperationContract]
}
}
}

Because Visual Studio will add the necessary references to our project and Web.config, we don't need to worry about these.
Next, we will create two methods, both with the [OperationContract] attribute. To demonstrate access to the methods, we will create a method to add two numbers together, and also one to subtract a number from another:

[OperationContract]
public Double Add(Double num1, Double num2)
{
return num1 + num2;
}
[OperationContract]
public Double Subtract(Double num1, Double num2)
{
return num1 - num2;
}

If you're looking for a really good web host, try Server Intellect - we found the setup procedure and control panel, very easy to adapt to and their IT team is awesome!

This is all for our Service. Now we can move to our ASPX page, and we will add a ScriptManager to the page. We will also need to reference the Service we just created, in order for us to access it via AJAX:

<form id="form1" runat="server">
<asp:ScriptManager ID="SM1" runat="server">
<Services>
<asp:ServiceReference Path="~/Service1.svc" />
</Services>
</asp:ScriptManager>
</form>

We just add a Service Reference to the Service we just created, which will allow us to access the methods of this Service within our code. Next, we will create a basic HTML form to allow the user to input numbers to use the addition method in our WCF Service:

<input id="addNum1" type="text" size="3" /> + <input id="addNum2" type="text" size="3" /> =
<input id="addAnswer" type="text" size="3" /><br />
<input id="btnAddition" type="button" value="Do Addition" onclick="DoAddition()"; />

Notice the onclick attribute we give to the button. This will reference a JavaScript function we will add to the page. Create a JavaScript block at the bottom of the page, and add the following:

<script language="javascript" type="text/javascript">
function DoAddition() {
Service1.Add(document.getElementById('addNum1').value, document.getElementById('addNum2').value, onAddSuccess);
}

function onAddSuccess(result) {
document.getElementById('addAnswer').value = result;
}
</script>

Server Intellect offers Windows Hosting Dedicated Servers at affordable prices. I'm very pleased!

Here, we are calling the Service method to make the addition, and if successful, we output the answer to the answer text box. All of this is done instantaneously, without any postbacks, using JavaScript and the WCF Service. This is because the ScriptManager is handling all of our Asynchronous calls for us, and makes it extremely easy for us to implement such functionality.
We can expand this further by implementing the second method, to include subtraction. First, add more textboxes and a second button to the HTML Form:

<input id="subtractNum1" type="text" size="3" /> - <input id="subtractNum2" type="text" size="3" /> =
<input id="subtractAnswer" type="text" size="3" /><br />
<input id="btnSubtraction" type="button" value="Do Subtraction" onclick="DoSubtraction()"; />

Again, notice the onclick attribute, calling a JavaScript function, which will look something like this:

function DoSubtraction() {
Service1.Subtract(document.getElementById('subtractNum1').value, document.getElementById('subtractNum2').value, onSubtractSuccess);
}

function onSubtractSuccess(result) {
document.getElementById('subtractAnswer').value = result;
}

Need help with Windows Dedicated Hosting? Try Server Intellect. I'm a happy customer!

So we create a similar function as the addition one, but instead, call the Subtract method of the WCF Service.
We use no code-behind, as all functionality is on the front-end and is executed in real-time. Our ASPX page will look something like this:

<html>
..
<body>

<form id="form1" runat="server">
<asp:ScriptManager ID="SM1" runat="server">
<Services>
<asp:ServiceReference Path="~/Service1.svc" />
</Services>
</asp:ScriptManager>

<input id="addNum1" type="text" size="3" /> + <input id="addNum2" type="text" size="3" /> =
<input id="addAnswer" type="text" size="3" /><br />
<input id="btnAddition" type="button" value="Do Addition" onclick="DoAddition()"; />
<br /><br />
<input id="subtractNum1" type="text" size="3" /> - <input id="subtractNum2" type="text" size="3" /> =
<input id="subtractAnswer" type="text" size="3" /><br />
<input id="btnSubtraction" type="button" value="Do Subtraction" onclick="DoSubtraction()"; />
<br /><br />
</form>

</body>
</html>
<script language="javascript" type="text/javascript">
function DoAddition() {
Service1.Add(document.getElementById('addNum1').value, document.getElementById('addNum2').value, onAddSuccess);
}
function DoSubtraction() {
Service1.Subtract(document.getElementById('subtractNum1').value, document.getElementById('subtractNum2').value, onSubtractSuccess);
}

function onAddSuccess(result) {
document.getElementById('addAnswer').value = result;
}
function onSubtractSuccess(result) {
document.getElementById('subtractAnswer').value = result;
}
</script>

When this page is run, you will see a basic HTML form, but when numbers are inserted into the two number fields and submit is clicked - you receive the calculation instantly. The application feels just like a desktop application, or as if it's written purely in JavaScript.



Download Project Source - Enter your Email to be emailed a link to download the Full Source Project used in this Tutorial!



100% SPAM FREE! We will never sell or rent your email address!

Leave a Comment

Comments on this Article

Post a Comment
Name:
Website:
Email:
Comments:

#1 Rusty68

Posted By: Rusty68 | 4.02.2009 at 12:03 PM

This is very interesting!

#2 Dulwan Baddewithana

Posted By: Dulwan Baddewithana | 4.08.2009 at 9:34 PM

Damn..this is pretty cool..I think we need some more stuff like this..

#3 Sunil

Posted By: Sunil | 4.27.2009 at 1:11 AM

Good article ,i liked you presented as so easy..

#4 Janesh Hari

Posted By: Janesh Hari | 6.27.2009 at 10:51 PM

Good one...

#5 Lakshmi

Posted By: Lakshmi | 6.28.2009 at 12:54 AM

Nice and quick

#6 Manish Kumar

Posted By: Manish Kumar | 6.28.2009 at 4:09 AM

very helpful.

Thank you so much.

#7 cisco kid

Posted By: cisco kid | 6.28.2009 at 4:53 AM

Hi - for all examples, a vb.net equivalent download would be excellent.

Also references/links/articles/books to other sources would also be great.

#8 Kiran

Posted By: Kiran | 6.28.2009 at 8:29 AM

Great Stuff dude

#9 Jay Mehta

Posted By: Jay Mehta | 6.28.2009 at 12:31 PM

Excellent article....

its really very good example of WCF and AJAX integration.

Thank you,

Jay Mehta

#10 Alexandre Costa

Posted By: Alexandre Costa | 6.28.2009 at 8:37 PM

Muito legal.. very nice...

Simples e poderoso... simply and powerfull...

#11 bill

Posted By: bill | 6.29.2009 at 9:29 AM

Very nice - is it possible to stream a file from the browser client to a wcf service in a similar manner?

I am looking for a solution to larger data sets, the no postback is great but the simplicity and size of the data is limiting.

#12 Mark

Posted By: Mark | 7.11.2009 at 8:00 PM

This works great when you run it under the asp.net web server... but when you debug it under IIS(http://localhost/wcf-ui) it can't find Service1 anymore. Any ideas?

#13 texas hold em poker online downloads

Posted By: texas hold em poker online downloads | 7.17.2009 at 6:11 AM

When this page is run, you will see a basic HTML form, but when numbers are inserted into the two number fields and submit is clicked - you receive the calculation instantly. The application feels just like a desktop application, or as if it's written purely in JavaScript.

#14 coolnik999

Posted By: coolnik999 | 7.31.2009 at 12:58 PM

i am having trouble understanding some parts need help.....

#15 coolnik999

Posted By: coolnik999 | 7.31.2009 at 1:04 PM

Like this ......

#16 Trying to build a good AJAX datagrid control

Posted By: Trying to build a good AJAX datagrid control | 8.23.2009 at 6:32 AM

Good stuff...

Thank you.

#17 Online GED

Posted By: Online GED | 8.29.2009 at 12:05 AM

Its really very good example of WCF and AJAX integration.

#18 Online GED

Posted By: Online GED | 8.29.2009 at 12:05 AM

Its really very good example of WCF and AJAX integration.

#19 Online Diploma

Posted By: Online Diploma | 8.29.2009 at 12:06 AM

Thanks a lot for sharing such an valuable stuff.

#20 Engineering Diploma

Posted By: Engineering Diploma | 8.29.2009 at 12:07 AM

All examples, a vb.net equivalent download would be excellent.

#21 Arts school

Posted By: Arts school | 8.29.2009 at 12:07 AM

I liked you presented as so easy..

#22 Advertising degree

Posted By: Advertising degree | 8.29.2009 at 12:07 AM

Simples e poderoso... simply and powerfull...

#23 victor

Posted By: victor | 10.01.2009 at 2:47 AM

You have made such a complicated thing so easy and very understadable.

#24 ffs

Posted By: ffs | 10.05.2009 at 11:31 AM

sfsfs

#25 Alex R.

Posted By: Alex R. | 10.14.2009 at 4:59 PM

Yes...

To write good programs it is given not to all.

But it is very interesting.

#26 Free Online Games

Posted By: Free Online Games | 10.15.2009 at 8:27 PM

Yap really very interesting

#27 love_essay

Posted By: love_essay | 10.16.2009 at 1:54 AM

It's really good and useful example of WCF and AJAX integration.Thanks

#28 Pest control Austin

Posted By: Pest control Austin | 10.20.2009 at 11:05 AM

I am so impressed w/evernote so far. really pro stuff. thx folks

#29 Mini blinds

Posted By: Mini blinds | 10.22.2009 at 3:50 AM

That's really a fantastic post ! I added to my favorite blogs list..

I have been reading your blog last couple of weeks and enjoy every bit. Thanks

#30 Tiffany Rings

Posted By: Tiffany Rings | 10.23.2009 at 5:31 AM

i like

#31 Chris Evans

Posted By: Chris Evans | 10.28.2009 at 1:43 PM

I've seen several articles like yours, but none that shows a decoupled example. When you have your wcf hosted out of process, how do you create a client side ref?

When i point to service1.svc with an absolute path, i get a:

"Microsoft JScript runtime error: 'Service1' is undefined" error.

ie:

<asp:ServiceReference Path="http://www.somewebsite.com/mywcf/Service1.svc" />

Thanks,

Chris

#32 Chris Evans

Posted By: Chris Evans | 10.28.2009 at 1:43 PM

I've seen several articles like yours, but none that shows a decoupled example. When you have your wcf hosted out of process, how do you create a client side ref?

When i point to service1.svc with an absolute path, i get a:

"Microsoft JScript runtime error: 'Service1' is undefined" error.

ie:

<asp:ServiceReference Path="http://www.somewebsite.com/mywcf/Service1.svc" />

Thanks for the article,

Chris

#33 online games

Posted By: online games | 10.30.2009 at 9:33 AM

This is an extremely powerful tool, as we are able to access the WCF Service almost instantaneously, without posting back a page or waiting several seconds

#34 political science papers

Posted By: political science papers | 11.02.2009 at 2:12 AM

mmm..finally i found these information!! thanks god!

#35 movers new york

Posted By: movers new york | 11.02.2009 at 11:38 AM

A very well written tutorial on creating an Ajax enable WCF service in Visual studio and creating the java scripts and calling the WCF function through it. Thanks for sharing.

#36 discount sunglasses

Posted By: discount sunglasses | 11.03.2009 at 8:48 AM

Using the WCF service in C# with the clint side of the AJAX, this tutorial is useful for installing the script. But becareful to add null value to the client security module.

#37 Gourmet gift baskets

Posted By: Gourmet gift baskets | 11.04.2009 at 2:17 AM

That's really a fantastic post ! I added to my favorite blogs list..I have been reading your blog last couple of weeks and enjoy every bit. Thanks

#38 online appointment scheduler

Posted By: online appointment scheduler | 11.06.2009 at 8:27 AM

Awesome! Some really helpful information in there. Bookmarked. Excellent source.

#39 Berkeley Architecture

Posted By: Berkeley Architecture | 11.06.2009 at 11:56 AM

Using the AJAX in client side server with MS visual studio is really very useful. Thanks for sharing..

#40 Logo Design Calgary

Posted By: Logo Design Calgary | 11.07.2009 at 5:54 AM

I am very happy to see all these codes because i want to learn C# their is not a very good professional of WCF service with Client side. so thanks

#41 san diego real estate

Posted By: san diego real estate | 11.10.2009 at 10:28 AM

This is a very interesting post. Great stuff dude. Its really very good example of WCF and AJAX integration. Thanks.

#42 laser hair removal manhattan

Posted By: laser hair removal manhattan | 11.10.2009 at 7:07 PM

AJAX is very useful platform for the internet server and database handeling. Thanks for sharing the code as well.

#43 discount tiffany jewelry

Posted By: discount tiffany jewelry | 11.11.2009 at 3:41 AM

Good article ,i liked you presented as so easy..

#44 1000 games

Posted By: 1000 games | 11.11.2009 at 4:18 PM

Very useful tutorial, as right now I'm learning how to work with AJAX.

#45 Online appointments

Posted By: Online appointments | 11.12.2009 at 4:25 AM

that's really a fantastic post ! ! added to my favourite blogs list..

#46 Pest control Austin

Posted By: Pest control Austin | 11.13.2009 at 12:38 AM

I have been reading your blog last couple of weeks and enjoy every bit. Thanks.

#47 gold parties

Posted By: gold parties | 11.13.2009 at 11:52 AM

AJAX is very useful when we are working on the client side as it is more secure and reliabel. Thanks

#48 antique buffets

Posted By: antique buffets | 11.13.2009 at 1:04 PM

Muito legal.. very nice...

Simples e poderoso... simply and powerfull.

#49 forex trading system

Posted By: forex trading system | 11.15.2009 at 12:53 PM

I like the foundation of this blog has a great variety of comments I really like it, several points of view helps in the appreciation of the subject,is very interesting and I would like learn more.

zadoc

<a href="http://hubpages.com/hub/Forex-Trading-System-Your-Key-to-Affluence">forex trading system</a>

#50 Houston spinal cord injury lawyer

Posted By: Houston spinal cord injury lawyer | 11.17.2009 at 8:09 AM

AJAX is very useful for managing the websites. It become is easy to consume a WCF service with client-side AJAX in C#. Thanks

#51 debt recovery

Posted By: debt recovery | 11.17.2009 at 12:19 PM

Nice awesome blog.

#52 fallen earth chips for sale

Posted By: fallen earth chips for sale | 11.19.2009 at 12:32 AM

nice post,the application feels just like a desktop application, or as if it's written purely in JavaScript.

#53 Outsource Link Building

Posted By: Outsource Link Building | 11.19.2009 at 8:53 AM

AJAX is a great platform for managing the websites, its has many powerful feature like security and realiability. Thanks for sharing.

#54 expert witnesses

Posted By: expert witnesses | 11.20.2009 at 4:16 AM

Yeah, I believe you mean "forgettable".

#55 research paper help

Posted By: research paper help | 11.22.2009 at 2:58 AM

thanks for examples of code, it's useful for me!

#56 NAPW

Posted By: NAPW | 11.22.2009 at 7:02 AM

I am happy to find many useful information in the post, writing sequence is awesome, I always look for quality content, thanks for sharing.

#57 free online games

Posted By: free online games | 11.22.2009 at 10:29 AM

COOL

#58 donna

Posted By: donna | 11.22.2009 at 8:37 PM

This is very interesting!

#59 lucy

Posted By: lucy | 11.22.2009 at 8:38 PM

very helpful.Thank you so much.

#60 dan

Posted By: dan | 11.22.2009 at 8:39 PM

interesting post i must say

#61 mike

Posted By: mike | 11.22.2009 at 8:39 PM

thanks for this information

#62 hally

Posted By: hally | 11.22.2009 at 8:40 PM

cool!

#63 Projeksiyon

Posted By: Projeksiyon | 11.23.2009 at 4:03 AM

Thank you very much for your valuable information

#64 Mini blinds

Posted By: Mini blinds | 11.23.2009 at 4:18 AM

The blog is absolutely fantastic! Lots of great information and inspiration in this article, both of which we all need!Thanks

#65 insurance for dentistry

Posted By: insurance for dentistry | 11.23.2009 at 12:16 PM

<script language="javascript" type="text/javascript">

function DoAddition() {

Service1.Add(document.getElementById('addNum1').value, document.getElementById('addNum2').value, onAddSuccess);

}

function onAddSuccess(result) {

document.getElementById('addAnswer').value = result;

}

</script>

#66 acne solutions

Posted By: acne solutions | 11.24.2009 at 4:01 AM

Thanks! Yes, feel free to quote me. :) I would appreciate it if you could link to this talk or me at

#67 acne solutions

Posted By: acne solutions | 11.24.2009 at 4:02 AM

Thanks! Yes, feel free to quote me. :) I would appreciate it if you could link to this talk or me at

#68 acne solutions

Posted By: acne solutions | 11.24.2009 at 4:02 AM

It is a wonderful parallel language resource for geeks that want to learn japanese or english. I wonder how many geeky parallel presentations can be found online.

#69 beauty solutions

Posted By: beauty solutions | 11.24.2009 at 4:03 AM

nice post here ..........!

really Thanks.

#70 free online games

Posted By: free online games | 11.24.2009 at 10:51 PM

A very well written tutorial on creating an Ajax enable WCF service in Visual studio and creating the java scripts and calling the WCF function through it. Thanks for sharing.

#71 free online games

Posted By: free online games | 11.24.2009 at 10:52 PM

A very well written tutorial on creating an Ajax enable WCF service in Visual studio and creating the java scripts and calling the WCF function through itThanks for sharing

#72 free online games

Posted By: free online games | 11.24.2009 at 10:52 PM

thanks fot this artcle

#73 free online games

Posted By: free online games | 11.24.2009 at 10:52 PM

I've seen several articles like yours, but none that shows a decoupled example. When you have your wcf hosted out of process, how do you create a client side ref?

When i point to service1.svc with an absolute path, i get a:

"Microsoft JScript runtime error: 'Service1' is undefined" error.

ie:

<asp:ServiceReference Path="http://www.somewebsite.com/mywcf/Service1.svc" />

#74 Outdoor fireplaces

Posted By: Outdoor fireplaces | 11.25.2009 at 7:01 AM

This is pretty neat. Is Ajax pretty lightweight in terms of load time or is it noticeable when loading pages with Ajax scripts on them?

James

#75 identity Theft faq

Posted By: identity Theft faq | 11.25.2009 at 9:49 AM

Thanks for the helpful article!

#76 Train Horns

Posted By: Train Horns | 11.26.2009 at 1:53 AM

Thanks for putting the very well explained post about implementing WCF service with client side AJAX. :)

#77 tow dolly

Posted By: tow dolly | 11.26.2009 at 11:30 AM

Certain rules and regulations must be followed to avoid these kind of situations, thanks.

#78 credit cards

Posted By: credit cards | 11.27.2009 at 7:16 AM

Thanks for the post about implementing WCF service with client side AJAX. Very informative .

#79 cash gifting

Posted By: cash gifting | 11.29.2009 at 1:57 PM

that's really a fantastic post ! ! added to my favorites blogs list..

#80 fallen earth chips

Posted By: fallen earth chips | 12.01.2009 at 8:22 PM

A very simple code, but I think sometimes the possible effect of the use of the framework would be better. i think.

#81 lewisham personal trainer

Posted By: lewisham personal trainer | 12.02.2009 at 5:11 PM

Nicely presented information in this post, I like to read this kind of stuff. The quality of content is fine and the conclusion is good. Thanks for the post.

#82 Houston intellectual property lawyer

Posted By: Houston intellectual property lawyer | 12.03.2009 at 2:13 AM

I am very happy to findout AJAX which tell me that how i am implement a WCF Service. Thanks for sharing.

#83 Non Chexsystems Banks

Posted By: Non Chexsystems Banks | 12.04.2009 at 5:27 AM

After coding the AJAX-Enabled WCF Service in Visual Studio, can the files be exported to java for further enhancement?

#84 Saddles for Sale

Posted By: Saddles for Sale | 12.04.2009 at 7:21 AM

I think i need to show my friend this piece of information .Its perfect .Thanks. I am going to be rewarded .

#85 work at home jobs

Posted By: work at home jobs | 12.06.2009 at 8:15 AM

Well this type of information are something new for me, but I like the information.

#86 work at home jobs

Posted By: work at home jobs | 12.06.2009 at 8:15 AM

Well this type of information are something new for me, but I like the information.

#87 Zhu Zhu Pets

Posted By: Zhu Zhu Pets | 12.06.2009 at 4:10 PM

I could not get my Ajax call to be picked up by the Javascipt. I think I am doing it wrong.

#88 farmville cheats

Posted By: farmville cheats | 12.07.2009 at 12:38 AM

Thanks for sharing.

#89 Limousine NY

Posted By: Limousine NY | 12.07.2009 at 4:16 PM

Instructive and informative article indeed, it really helps me with my programming skills, thank you so much for sharing such information with us, i hope we will see more from author in the future. Cheers.

#90 antique buffet

Posted By: antique buffet | 12.08.2009 at 10:46 AM

Good stuff...

Thank you.

#91 Personalized Gift Blankets

Posted By: Personalized Gift Blankets | 12.09.2009 at 6:52 AM

Very helpful when integrated with AJAX, it makes our work so simple. :)

#92 mini blinds

Posted By: mini blinds | 12.09.2009 at 8:28 AM

Awesome! Some really helpful information in there. Bookmarked. Excellent source.

#93 Alcohol Tester

Posted By: Alcohol Tester | 12.10.2009 at 12:56 AM

Excellent article. I am sure a lot of people will benefit from it.

#94 Cooking games

Posted By: Cooking games | 12.10.2009 at 1:29 AM

The application feels just like a desktop application, or as if it's written purely in JavaScript.

#95 chapel hill homes

Posted By: chapel hill homes | 12.10.2009 at 7:20 AM

Wow! This is a really good article. I hope i am able to use AJAX to implement a WCF Service.

#96 Wool area rugs

Posted By: Wool area rugs | 12.10.2009 at 7:31 AM

Great tutorial. I will try it out my new site and see how it works. Thanks!

#97 jazz guitars

Posted By: jazz guitars | 12.14.2009 at 3:10 PM

Working on AJAX with reference to Client Side and WCF service is a bit difficult task but these kind of post are always inspiring and I prefer to read quality content so I happy to find many good point here in the post, writing is simply great, thank you for the post

#98 Nevada Drug Rehab centers

Posted By: Nevada Drug Rehab centers | 12.15.2009 at 4:26 PM

Wcf is well implemented with .net and ajax.This code should also be availabe in vb.net

#99 Austin false claims lawyer

Posted By: Austin false claims lawyer | 12.15.2009 at 4:53 PM

Very nice and helpful post about programming. I gained good knowledge from it. Codes are really helpful. Thanks

#100 shock collars

Posted By: shock collars | 12.20.2009 at 2:27 PM

Great advice and info. Much appreciated. Will be bookmarking for my project

#101 silver candlesticks

Posted By: silver candlesticks | 12.21.2009 at 12:01 PM

silver candlesticks

#102 silver candlesticks

Posted By: silver candlesticks | 12.21.2009 at 12:01 PM

silver candlesticks

#103 bobby

Posted By: bobby | 12.21.2009 at 8:45 PM

thanks for this information

#104 kelly

Posted By: kelly | 12.21.2009 at 8:46 PM

good read thanks!

#105 amy

Posted By: amy | 12.21.2009 at 8:47 PM

very informative!

#106 ziggy

Posted By: ziggy | 12.21.2009 at 8:47 PM

thanks

#107 karl

Posted By: karl | 12.21.2009 at 8:48 PM

great article

#108 kevin

Posted By: kevin | 12.21.2009 at 8:49 PM

Good article ,i liked you presented as so easy..

#109 heather

Posted By: heather | 12.21.2009 at 8:50 PM

good read

#110 hogan

Posted By: hogan | 12.21.2009 at 8:51 PM

Excellent article.... to say the least

#111 barbra

Posted By: barbra | 12.21.2009 at 8:53 PM

will like to learn more

#112 Dental Implants Harley Street

Posted By: Dental Implants Harley Street | 12.23.2009 at 12:19 AM

Is it possible to stream a file from the browser client to a wcf service in a similar manner?

#113 usb connector

Posted By: usb connector | 12.23.2009 at 1:23 AM

this is pretty cool

#114 High Risk Processing

Posted By: High Risk Processing | 12.23.2009 at 7:41 AM

This article is bit difficult to understand, so I would welcome if you can elaborate the finer details. :)

#115 SEO Salisbury

Posted By: SEO Salisbury | 12.23.2009 at 10:11 AM

Thanks this has sorted out an issue I had. I am going to foward this to my developer. Your a star for sharing.

#116 Six sigma green belt

Posted By: Six sigma green belt | 12.25.2009 at 11:45 AM

Great work,great efforts I congrats you on this work.

#117 fashion handbags

Posted By: fashion handbags | 12.26.2009 at 12:20 AM

i like

#118 guaranteed seo

Posted By: guaranteed seo | 12.26.2009 at 3:02 AM

Thanks for the post, its really containing the descent knowledge and I really like the blog. Thanks

#119 designer sunglasses

Posted By: designer sunglasses | 12.27.2009 at 6:36 PM

The post is written in very a good manner and it contains many useful information for me. You have a very impressive writing style. Thanks for sharing.

#120 alışveriş sitesi

Posted By: alışveriş sitesi | 12.29.2009 at 9:55 AM

Thank you very much for the excellent and useful subject.

#121 Find Women Online

Posted By: Find Women Online | 12.29.2009 at 3:39 PM

Russian beauties online! Find you the only pretty Russian bride from hundreds of women searching for love, romance and happy marriage! Feel love is so easy now!Find Women Online!

#122 club penguin cheats

Posted By: club penguin cheats | 12.29.2009 at 9:24 PM

I have searched the net and I should say I have not come across an article like this which is so easy to understand and learn the concepts.

#123 Encuestas pagadas

Posted By: Encuestas pagadas | 12.30.2009 at 5:21 AM

Great post, I didnt quite get some bits, but I will try yo sort it out.

#124 Mobile Phones

Posted By: Mobile Phones | 1.01.2010 at 11:21 AM

Well the coding for using WCF service in C# for Client Side AJAZ is very helpful for the programers, thanks for sharing.

#125 acid reflux

Posted By: acid reflux | 1.02.2010 at 11:33 AM

Very interesting and helpful post. You have good command on the topic and have explained in a very nice way. Thanks for sharing.

#126 free games online

Posted By: free games online | 1.04.2010 at 8:12 PM

Yap A very well written tutorial on creating an Ajax enable WCF service in Visual studio and creating the java scripts and calling the WCF function through it. Thanks for sharing.

#127 web design new york

Posted By: web design new york | 1.04.2010 at 9:08 PM

Thanks this has sorted out an issue I had. I am going to forward this to my developer. Your a star for sharing.this is pretty cool

#128 Black Caviar

Posted By: Black Caviar | 1.05.2010 at 8:09 AM

Well so far as working with Client-Side AJAX to consume a WCF service, I would like to recommend everyone about this post. Thanks for sharing the code. Thanks a lot

#129 free samples

Posted By: free samples | 1.05.2010 at 9:01 AM

nice post )))

#130 Movers NYC

Posted By: Movers NYC | 1.05.2010 at 11:53 AM

It is Very useful tutorial, as right now I have learned how to work with AJAX.That is really a fantastic post. i added it to my favorites blogs list.Thanks for sharing

#131 københavn

Posted By: københavn | 1.06.2010 at 2:08 AM

Thanks for the post, its really containing the descent knowledge and I really like the blog. Thanks

#132 IVF Treatment

Posted By: IVF Treatment | 1.06.2010 at 5:02 AM

I've heard from my various friends that this WCF service is very powerful tool when used in collaboration with AJAX. :)

#133 watch inglourious basterds

Posted By: watch inglourious basterds | 1.08.2010 at 8:41 AM

Instructive and informative article indeed, it really helps me with my programming skills, thank you so much for sharing such information with us, i hope we will see more from author in the future. Cheers.

#134 cash gifting

Posted By: cash gifting | 1.08.2010 at 10:11 PM

Like this ......thanks!

#135 make money on the internet

Posted By: make money on the internet | 1.08.2010 at 10:11 PM

I like the foundation of this blog has a great variety of comments I really like it, several points of view helps in the appreciation of the subject,is very interesting and I would like learn more.

zadoc

#136 tiensshop

Posted By: tiensshop | 1.09.2010 at 3:06 AM

Wonderful, great job, go on. This is very interesting and will be helpful to many

#137 Pool Fencing

Posted By: Pool Fencing | 1.11.2010 at 7:34 AM

I've already bookmark this article, I'll definitely refer this to all my close friends. :)

#138 marketing for dentists

Posted By: marketing for dentists | 1.12.2010 at 10:44 AM

I will must share this blog and the information i found here really has no value in money but more than it.Thanks for this nice effort which you put here in the shape of this post.

#139 high school diploma

Posted By: high school diploma | 1.13.2010 at 12:40 AM

Damn..this is pretty cool..I think we need some more stuff like this..

#140 high school diploma

Posted By: high school diploma | 1.13.2010 at 12:40 AM

AJAX is very useful platform for the internet server and database handeling. Thanks for sharing the code as well.

#141 distance learning school

Posted By: distance learning school | 1.13.2010 at 12:41 AM

its really very good example of WCF and AJAX integration.

#142 ged online

Posted By: ged online | 1.13.2010 at 12:41 AM

Very nice - is it possible to stream a file from the browser client to a wcf service in a similar manner?

#143 homeschool curriculum

Posted By: homeschool curriculum | 1.13.2010 at 12:41 AM

I'm the same way, I do my best to remain neutral. It's hard, if you communicate with the person the other person dislikes, then you fall out of favor with them! I simple can't dislike a person, just because someone else does, I just can't.

#144 how to flirt with women

Posted By: how to flirt with women | 1.14.2010 at 7:53 AM

Thanks for share, it's very useful!

#145 vigrx plus reviews

Posted By: vigrx plus reviews | 1.14.2010 at 7:54 AM

Great Stuff dude

#146 Application Development

Posted By: Application Development | 1.15.2010 at 4:48 AM

In this article, we will be looking at how we can use AJAX to implement a WCF Service, so that it's methods are available to client-side JavaScript.

#147 INCREASE YOUTUBE VIEWS

Posted By: INCREASE YOUTUBE VIEWS | 1.15.2010 at 1:25 PM

Thank you for another great article. Where else could anyone get that kind of information in such a perfect way of writing? I have a presentation next week, and I am on the look for such information.

#148 flowers america

Posted By: flowers america | 1.16.2010 at 1:14 PM

great work! indeed

#149 bus new york

Posted By: bus new york | 1.18.2010 at 1:24 PM

Very interesting and helpful post. You have good command on the topic and have explained in a very nice way. Thanks for sharing.

#150 Promotional Items

Posted By: Promotional Items | 1.19.2010 at 12:48 PM

This code is very good . the whole article is very informative i like the article and post.

#151 auto insurance

Posted By: auto insurance | 1.20.2010 at 7:47 PM

Very nice - is it possible to stream a file from the browser client to a wcf service in a similar manner?

#152 judy

Posted By: judy | 1.21.2010 at 4:46 AM

This code is very good. thanks for post

#153 kingana

Posted By: kingana | 1.21.2010 at 4:47 AM

Will be bookmarking for my project. thanks

#154 steve

Posted By: steve | 1.21.2010 at 4:48 AM

Thanks for share, it's very useful

#155 katie

Posted By: katie | 1.21.2010 at 4:49 AM

is very interesting and I would like learn more.

#156 marcus

Posted By: marcus | 1.21.2010 at 4:50 AM

What a helpful post really will be coming back to this time and time again. Thanks!

#157 C.Vishnu Vardhan Reddy

Posted By: C.Vishnu Vardhan Reddy | 1.21.2010 at 6:46 AM

Very intresting and Very Help Full article.Every programmer should know this article.

#158 Chinna scale

Posted By: Chinna scale | 1.21.2010 at 6:54 AM

Good, Easily Understandable to the WCF starters...........

#159 Good Healthcare

Posted By: Good Healthcare | 1.21.2010 at 10:29 AM

will must share this blog and the information i found here really has no value in money but more than it. Thanks for this nice effort which you put here in the shape of this post.

#160 financial adviser

Posted By: financial adviser | 1.23.2010 at 3:58 AM

Microsoft Visual Studio .NET 2008 using WCF. WCF was implemented into the .NET Framework in 3.0, and received an update in 3.5, this tutorial is directed at users of Visual Studio.NET 2008 and ASP.NET 3.5

#161 Search Engine Optimisation SEO

Posted By: Search Engine Optimisation SEO | 1.28.2010 at 8:09 AM

really helpful... Thanks a lot... Keep posting

#162 Online Printing

Posted By: Online Printing | 1.29.2010 at 12:36 PM

Your blog is very nice. I m really impressed .I m waiting for your next post. Hopefully I will get it soon.

#163 acai fit review

Posted By: acai fit review | 1.30.2010 at 2:32 AM

I have been reading your blog last couple of weeks and enjoy every bit. Good Programming tips.

#164 white pages

Posted By: white pages | 1.30.2010 at 3:56 AM

I was just wondering over the topic mentioned here and i found it very good and described very nicely. I like the blog. Thanks

#165 prepress service

Posted By: prepress service | 1.30.2010 at 9:36 AM

Nice blog. You're article was spot on. Will you be writing a follow up article up on this? I've bookmarked your page.

#166 Live Hack

Posted By: Live Hack | 1.31.2010 at 9:00 AM

very nice post

#167 free samples without surveys

Posted By: free samples without surveys | 1.31.2010 at 10:27 AM

very amazing

it helps a lot!

#168 video of the day

Posted By: video of the day | 1.31.2010 at 10:29 AM

i like it, really cool

#169 Injury Settlements

Posted By: Injury Settlements | 2.03.2010 at 5:18 AM

Nice work.

#170 Best Deals Today

Posted By: Best Deals Today | 2.03.2010 at 10:46 AM

thx for posting

#171 annalea buntzen fakta

Posted By: annalea buntzen fakta | 2.08.2010 at 12:09 PM

Thanks for the codes, i like the .NET technology which having great easy ways to handle the data over web. thanks