﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - Bind To WCF Service Tutorial</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Bind-To-WCF-Service-Tutorial/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Bind To WCF Service Tutorial</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Bind-To-WCF-Service-Tutorial/</link><pubDate>Fri, 18 May 2012 06:01:38 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I apologize for any inconvenience this problem may have caused you.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I have created a simple working example which shows how to connect to a Windows Communication Foundation (WCF) service when using client-side binding mode. Please have the attached sample evaluated on your and let us hear whether this helps or not.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Your feedback will be reported to the Documentation and Resources Department for further investigation and correction.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Bind To WCF Service Tutorial</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Bind-To-WCF-Service-Tutorial/</link><pubDate>Wed, 16 May 2012 12:22:15 GMT</pubDate><dc:creator>qafrank1</dc:creator><description>&lt;p&gt;While attempting to build and execute the Bind to WCF Service tutorial &lt;a href="http://www.intersoftpt.com/Support/webgrid/Tutorial/Text/Bind-to-WCF-Service/" target="_blank"&gt;here&lt;/a&gt;, I receive the "Unable to communicate with server" error.&lt;/p&gt;
&lt;p&gt;It seems the tutorial was copied from the Bind to Web Service tutorial. This section causes an error because the decorators are not correct for a WCF service.&lt;/p&gt;&lt;pre&gt;[System.Web.Script.Services.ScriptService] )[WebMethod]
public List&amp;lt;customer&amp;gt; GetCustomers()
{ 
    NorthwindDataContext context = new NorthwindDataContext();
    context.DeferredLoadingEnabled = false;
    context.ObjectTrackingEnabled = false; 
    return context.Customers.ToList();
}
&lt;/pre&gt;

&lt;p&gt;Where should the code exist for a WCF service call? How should the return value be set?&lt;/p&gt;
&lt;p&gt;Do you have a working example of loading the webgrid from a webservice?&lt;/p&gt;</description></item></channel></rss>