﻿<?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 Web Service Tutorial</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Bind-To-Web-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 Web Service Tutorial</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Bind-To-Web-Service-Tutorial/</link><pubDate>Fri, 18 May 2012 05:46:58 GMT</pubDate><dc:creator>Hans</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;We’re really sorry for the inconvenience.&lt;br /&gt;We’ve made a working sample that you could try.&lt;br /&gt;We will try to check and repair our tutorial, so this case does not happen again.&lt;/p&gt;
&lt;p&gt;Please open “ReadMe.txt”, before you run the sample.&lt;/p&gt;
&lt;p&gt;Thank you for understanding.&lt;br /&gt;Regards,&lt;br /&gt;Hans.&lt;/p&gt;</description></item><item><title>Bind To Web Service Tutorial</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Bind-To-Web-Service-Tutorial/</link><pubDate>Wed, 16 May 2012 10:58:03 GMT</pubDate><dc:creator>qafrank1</dc:creator><description>&lt;p&gt;I am working the tutorial located &lt;a href="http://www.intersoftpt.com/Support/WebGrid/Tutorial/Text/Bind-to-WebService/" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When I run the project, I receive the error "Instances of abstract classes cannot be created" at the return context.Customers.ToList(); line when I browse the webservice and when I run the project.&lt;/p&gt;&lt;pre&gt;    [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;Also, in step 8, the directions state to "and set &lt;b&gt;SerializationMode&lt;/b&gt; into &lt;strong&gt;Unidirectional.&lt;/strong&gt;" Where do I set this value?&lt;/p&gt;
&lt;p&gt;The complete error message is:&lt;/p&gt;&lt;pre&gt;System.InvalidOperationException: Instances of abstract classes cannot be created.
   at System.Runtime.CompilerServices.RuntimeHelpers._CompileMethod(IRuntimeMethodInfo method)
   at System.Reflection.Emit.DynamicMethod.CreateDelegate(Type delegateType)
   at System.Data.Linq.SqlClient.ObjectReaderCompiler.Compile(SqlExpression expression, Type elementType)
   at System.Data.Linq.SqlClient.SqlProvider.GetReaderFactory(SqlNode node, Type elemType)
   at System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
   at System.Data.Linq.Table`1.GetEnumerator()
   at System.Data.Linq.Table`1.System.Collections.Generic.IEnumerable&amp;lt;TEntity&amp;gt;.GetEnumerator()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at GridClientBinding.GetCustomers() in c:\Venture21\MyServiceExample\App_Code\GridClientBinding.cs:line 37&lt;/pre&gt;</description></item></channel></rss>