<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Adam Salvo (z) - Technology|SharePoint</title>
    <link>http://blog.salvoz.com/</link>
    <description>newtelligence powered</description>
    <language>en-us</language>
    <copyright>Adam Salvo</copyright>
    <lastBuildDate>Fri, 04 Dec 2009 04:16:30 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.2.8279.16125</generator>
    <managingEditor>adam@salvoz.com</managingEditor>
    <webMaster>adam@salvoz.com</webMaster>
    <item>
      <trackback:ping>http://blog.salvoz.com/Trackback.aspx?guid=45d7fbb0-b10a-4381-9d00-bb7957dc12a6</trackback:ping>
      <pingback:server>http://blog.salvoz.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.salvoz.com/PermaLink,guid,45d7fbb0-b10a-4381-9d00-bb7957dc12a6.aspx</pingback:target>
      <dc:creator>Adam Salvo</dc:creator>
      <wfw:comment>http://blog.salvoz.com/CommentView,guid,45d7fbb0-b10a-4381-9d00-bb7957dc12a6.aspx</wfw:comment>
      <wfw:commentRss>http://blog.salvoz.com/SyndicationService.asmx/GetEntryCommentsRss?guid=45d7fbb0-b10a-4381-9d00-bb7957dc12a6</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Yesterday I gave my first public group presentation to the <a href="http://www.maddotnet.com">Madison
.Net Users Group</a> on SharePoint 2010. Even though I was working on the demos up
until the time I left my house for the meeting, I still managed to do ok. The speaker
evaluation ratings were mostly 4 or 5’s, but I would have had to been pretty bad to
get anything lower.
</p>
        <p>
I did get one comment, and that was that I let my voice trail off, and I remember
doing this. I tend to think out loud, so that’s probably what this was. However, for
a presentation, talking to one’s self looks kind of goofy, and would be even worse
if I was mic’d up. So I need to work on this and make sure that I am either speaking
to the group, or not at all.
</p>
        <p>
          <strong>What Worked</strong>
        </p>
        <ul>
          <li>
Writing out everything I wanted to say, word for word on the notes, which I know that
you are not supposed to do (read from notes). This ended up working because I was
able to recall most of what I wrote down without looking at the notes. I think that
I will continue to try to write out what I want to say as a one more way of practicing
for the presentation. 
</li>
          <li>
Overall length of the presentation was good</li>
          <li>
Demo to Slide mix was ok for this topic even though it was slide heavy. There was
a lot of information to convey, and I felt that the audience was mostly new to SharePoint
that they would appreciate a solid foundation</li>
          <li>
Demo’s worked out pretty well. I may want to consider adding more code comments to
help explain things, as well as help me remember talking points</li>
        </ul>
        <p>
          <strong>What Didn’t Work (or what do I need to do next time)</strong>
        </p>
        <ul>
          <li>
Number one on my list is don’t procrastinate. I need to allow myself enough time to
run thru the presentation at least once.</li>
          <li>
Create some index cards that contain key information that I want to make sure I cover.
This would have been useful on a couple of the slides were there was a lot of information
to cover. 
</li>
          <li>
Make sure if you need to read something, that it’s readable in low light situations</li>
          <li>
Don’t re-use step by step hands on lab notes with pictures. Demo notes should be on
a single page, unless you need to copy code.</li>
        </ul>
        <p>
          <strong>Client Object Model</strong>
        </p>
        <p>
There were a couple of questions on the Client Object model, and I wasn’t able to
answer them as well as I wanted to. So I did a little research and came up with a
key points. 
</p>
        <p>
The Client Object Model provides a subset of the server object model functionally,
which is exposed via a WCF web service. This is intended as  a replacement for
custom wrappers around the asmx web services that have been available in the past.
The client object model is unified across JaveScript, .Net CLR, and the SilverLight
CRL, so if you learn it for one platform, you can re-use that knowledge on the other
supported platforms. 
</p>
        <p>
The object model was designed in a way to encourage efficient network utilization
thru the use of batching. As a developer, you add a series of commands to the context,
invoke the cotnext’s ExecuteQuery method, and receive a set of batch results back
from the service in JSON. Most of the details are handled for you by the object model,
so it’s not like you have to worry about parsing JSON. 
</p>
        <p>
          <strong>Links</strong>
        </p>
        <p>
Here are all of the links I used for my demo. And as an added bonus, I have included
links to all of the SharePoint 2010 videos from PDC 2009. I only wish I would have
had the time to watch them all before giving my presentation. 
</p>
        <p>
          <a href="http://salvoz.com/downloads/SharePoint2010.pptx">My Power Point Presentation</a>
        </p>
        <p>
SharePoint Foundation (Server) 2010
</p>
        <ul>
          <li>
            <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=c010fc68-b47f-4db6-b8a8-ad4ba33a35c5&amp;displaylang=en">SharePoint
Hands on Labs</a> (Documentation Only) 
</li>
          <li>
            <a href="http://www.microsoft.com/downloads/details.aspx?familyid=04BA41FD-F088-4D7C-A86E-3855C16E23A2&amp;displaylang=en">SharePoint
Developer Platform Wall Poster</a>
          </li>
          <li>
            <a href="http://www.microsoft.com/downloads/details.aspx?familyid=CFFB14E8-88A9-43BD-87AA-4792AB60D320&amp;displaylang=en">SharePoint
Developer Evaluation Guide</a> (Beta) 
</li>
          <li>
            <a href="http://www.microsoft.com/downloads/details.aspx?familyid=AC9A3851-C298-4F4F-B7F0-63D756D2BDE9&amp;displaylang=en">SharePoint
Developer and IT Professional Learning Plan</a>
          </li>
          <li>
            <a href="http://blogs.msdn.com/andrew_may/archive/2009/10/19/sharepoint-2010-developer-documentation-now-live-on-msdn.aspx">SharePoint
Developer Documentation</a> (blog post by Andrew May) 
</li>
          <li>
Differences between <a href="http://technet.microsoft.com/en-us/sharepoint/ee518670.aspx">SharePoint
Foundation</a> and <a href="http://technet.microsoft.com/en-us/sharepoint/ee518662.aspx ">SharePoint
Server</a></li>
        </ul>
        <p>
Extra Stuff needed to Install SharePoint 2010 Beta
</p>
        <ul>
          <li>
            <a href="http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=23806">Hotfix
required for SharePoint 2010 Services</a>
          </li>
          <li>
            <a href="http://sharepoint.microsoft.com/blogs/fromthefield/Lists/Posts/Post.aspx?ID=112">How
to install SharePoint 2010 on a single server to SQL Standard or Enterprise without
domain accounts</a>
          </li>
          <li>
            <a href="http://download.microsoft.com/download/F/3/D/F3D66A7E-C974-4A60-B7A5-382A61EB7BC6/MicrosoftGenevaFramework.amd64.msi">Microsoft
Geneva Framework</a>
          </li>
          <li>
            <a href="http://support.microsoft.com/kb/975977/LN/">SQL 2008 SP1 CU 5</a>
          </li>
        </ul>
        <p>
SharePoint 2007 – WSS 3.0 (Some of these resources still apply to 2010)
</p>
        <ul>
          <li>
            <a href="http://msdn.microsoft.com/en-us/library/dd203468.aspx">MSDN - Developing
Sharepoint Applications Best Practices</a>
          </li>
          <li>
            <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=91f3c22c-8be7-4721-9449-84f699337d55&amp;displaylang=en">MSDN
- Developing Sharepoint Applications Augst 2009 Download</a>
          </li>
          <li>
            <a href="http://camldotnet.codeplex.com">CAML.Net</a>
          </li>
          <li>
            <a href="http://www.u2u.info/Blogs/Patrick/Lists/Posts/Post.aspx?ID=1252">U2 Caml
Builder</a> and <a href="http://www.u2u.info/Blogs/karine/Lists/Posts/Post.aspx?List=d35935e0-8c0e-4176-a7e8-2ee90b3c8e5a&amp;ID=30">Download
from here</a></li>
        </ul>
        <p>
SharePoint PDC Videos
</p>
        <ul>
          <li>
            <a href="http://microsoftpdc.com/Sessions/PR33">Build a .NET Business Application
in 60 Minutes with xRM and SharePoint</a>
          </li>
          <li>
            <a href="http://microsoftpdc.com/Sessions/PR11">Leveraging and Extending Microsoft
SharePoint Server 2010 Identity Features</a>
          </li>
          <li>
            <a href="http://microsoftpdc.com/Sessions/SVC26">How Microsoft SharePoint 2010 was
Built with the Windows Identity Foundation</a>
          </li>
          <li>
            <a href="http://microsoftpdc.com/Sessions/PR10">SharePoint Is Not Just On-Premise:
Developing and Deploying Solutions to Microsoft SharePoint Online</a>
          </li>
          <li>
            <a href="Developer Patterns to Integrate Microsoft Silverlight 3.0 with Microsoft SharePoint 2010 ">Developer
Patterns to Integrate Microsoft Silverlight 3.0 with Microsoft SharePoint 2010</a>
          </li>
          <li>
            <a href="http://microsoftpdc.com/Sessions/P09-18">Overview of SharePoint 2010 Programmability</a>
          </li>
          <li>
            <a href="http://microsoftpdc.com/Sessions/PR06">Developing Solutions with Business
Connectivity Services in Microsoft SharePoint Server 2010</a>
          </li>
          <li>
            <a href="http://microsoftpdc.com/Sessions/PR07">Developing Solutions for Microsoft
SharePoint Server 2010 Using the Client Object Model</a>
          </li>
          <li>
            <a href="http://microsoftpdc.com/Sessions/PR09">Document Assembly and Manipulation
on Microsoft SharePoint Server 2010 Using Word Automation Services and Open XML</a>
          </li>
          <li>
            <a href="http://microsoftpdc.com/Sessions/PR12">It's All about the Services: Developing
Custom Applications for Microsoft SharePoint Server 2010 Using Microsoft ASP.NET,
WCF, and REST</a>
          </li>
          <li>
            <a href="http://microsoftpdc.com/Sessions/SVC26">How Microsoft SharePoint 2010 was
Built with the Windows Identity Foundation</a>
          </li>
        </ul>
        <img width="0" height="0" src="http://blog.salvoz.com/aggbug.ashx?id=45d7fbb0-b10a-4381-9d00-bb7957dc12a6" />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.salvoz.com">Adam Salvo</a>. 
</body>
      <title>SharePoint 2010 Presentation Follow-up</title>
      <guid isPermaLink="false">http://blog.salvoz.com/PermaLink,guid,45d7fbb0-b10a-4381-9d00-bb7957dc12a6.aspx</guid>
      <link>http://blog.salvoz.com/2009/12/04/SharePoint2010PresentationFollowup.aspx</link>
      <pubDate>Fri, 04 Dec 2009 04:16:30 GMT</pubDate>
      <description>&lt;p&gt;
Yesterday I gave my first public group presentation to the &lt;a href="http://www.maddotnet.com"&gt;Madison
.Net Users Group&lt;/a&gt; on SharePoint 2010. Even though I was working on the demos up
until the time I left my house for the meeting, I still managed to do ok. The speaker
evaluation ratings were mostly 4 or 5’s, but I would have had to been pretty bad to
get anything lower.
&lt;/p&gt;
&lt;p&gt;
I did get one comment, and that was that I let my voice trail off, and I remember
doing this. I tend to think out loud, so that’s probably what this was. However, for
a presentation, talking to one’s self looks kind of goofy, and would be even worse
if I was mic’d up. So I need to work on this and make sure that I am either speaking
to the group, or not at all.
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;What Worked&lt;/strong&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
Writing out everything I wanted to say, word for word on the notes, which I know that
you are not supposed to do (read from notes). This ended up working because I was
able to recall most of what I wrote down without looking at the notes. I think that
I will continue to try to write out what I want to say as a one more way of practicing
for the presentation. 
&lt;/li&gt;
&lt;li&gt;
Overall length of the presentation was good&lt;/li&gt;
&lt;li&gt;
Demo to Slide mix was ok for this topic even though it was slide heavy. There was
a lot of information to convey, and I felt that the audience was mostly new to SharePoint
that they would appreciate a solid foundation&lt;/li&gt;
&lt;li&gt;
Demo’s worked out pretty well. I may want to consider adding more code comments to
help explain things, as well as help me remember talking points&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;strong&gt;What Didn’t Work (or what do I need to do next time)&lt;/strong&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
Number one on my list is don’t procrastinate. I need to allow myself enough time to
run thru the presentation at least once.&lt;/li&gt;
&lt;li&gt;
Create some index cards that contain key information that I want to make sure I cover.
This would have been useful on a couple of the slides were there was a lot of information
to cover. 
&lt;/li&gt;
&lt;li&gt;
Make sure if you need to read something, that it’s readable in low light situations&lt;/li&gt;
&lt;li&gt;
Don’t re-use step by step hands on lab notes with pictures. Demo notes should be on
a single page, unless you need to copy code.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;strong&gt;Client Object Model&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
There were a couple of questions on the Client Object model, and I wasn’t able to
answer them as well as I wanted to. So I did a little research and came up with a
key points. 
&lt;/p&gt;
&lt;p&gt;
The Client Object Model provides a subset of the server object model functionally,
which is exposed via a WCF web service. This is intended as&amp;nbsp; a replacement for
custom wrappers around the asmx web services that have been available in the past.
The client object model is unified across JaveScript, .Net CLR, and the SilverLight
CRL, so if you learn it for one platform, you can re-use that knowledge on the other
supported platforms. 
&lt;/p&gt;
&lt;p&gt;
The object model was designed in a way to encourage efficient network utilization
thru the use of batching. As a developer, you add a series of commands to the context,
invoke the cotnext’s ExecuteQuery method, and receive a set of batch results back
from the service in JSON. Most of the details are handled for you by the object model,
so it’s not like you have to worry about parsing JSON. 
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Links&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
Here are all of the links I used for my demo. And as an added bonus, I have included
links to all of the SharePoint 2010 videos from PDC 2009. I only wish I would have
had the time to watch them all before giving my presentation. 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://salvoz.com/downloads/SharePoint2010.pptx"&gt;My Power Point Presentation&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
SharePoint Foundation (Server) 2010
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=c010fc68-b47f-4db6-b8a8-ad4ba33a35c5&amp;amp;displaylang=en"&gt;SharePoint
Hands on Labs&lt;/a&gt; (Documentation Only) 
&lt;li&gt;
&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=04BA41FD-F088-4D7C-A86E-3855C16E23A2&amp;amp;displaylang=en"&gt;SharePoint
Developer Platform Wall Poster&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=CFFB14E8-88A9-43BD-87AA-4792AB60D320&amp;amp;displaylang=en"&gt;SharePoint
Developer Evaluation Guide&lt;/a&gt; (Beta) 
&lt;li&gt;
&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=AC9A3851-C298-4F4F-B7F0-63D756D2BDE9&amp;amp;displaylang=en"&gt;SharePoint
Developer and IT Professional Learning Plan&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://blogs.msdn.com/andrew_may/archive/2009/10/19/sharepoint-2010-developer-documentation-now-live-on-msdn.aspx"&gt;SharePoint
Developer Documentation&lt;/a&gt; (blog post by Andrew May) 
&lt;li&gt;
Differences between &lt;a href="http://technet.microsoft.com/en-us/sharepoint/ee518670.aspx"&gt;SharePoint
Foundation&lt;/a&gt; and &lt;a href="http://technet.microsoft.com/en-us/sharepoint/ee518662.aspx "&gt;SharePoint
Server&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Extra Stuff needed to Install SharePoint 2010 Beta
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=23806"&gt;Hotfix
required for SharePoint 2010 Services&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://sharepoint.microsoft.com/blogs/fromthefield/Lists/Posts/Post.aspx?ID=112"&gt;How
to install SharePoint 2010 on a single server to SQL Standard or Enterprise without
domain accounts&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://download.microsoft.com/download/F/3/D/F3D66A7E-C974-4A60-B7A5-382A61EB7BC6/MicrosoftGenevaFramework.amd64.msi"&gt;Microsoft
Geneva Framework&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://support.microsoft.com/kb/975977/LN/"&gt;SQL 2008 SP1 CU 5&lt;/a&gt; 
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
SharePoint 2007 – WSS 3.0 (Some of these resources still apply to 2010)
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://msdn.microsoft.com/en-us/library/dd203468.aspx"&gt;MSDN - Developing
Sharepoint Applications Best Practices&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=91f3c22c-8be7-4721-9449-84f699337d55&amp;amp;displaylang=en"&gt;MSDN
- Developing Sharepoint Applications Augst 2009 Download&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://camldotnet.codeplex.com"&gt;CAML.Net&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://www.u2u.info/Blogs/Patrick/Lists/Posts/Post.aspx?ID=1252"&gt;U2 Caml
Builder&lt;/a&gt; and &lt;a href="http://www.u2u.info/Blogs/karine/Lists/Posts/Post.aspx?List=d35935e0-8c0e-4176-a7e8-2ee90b3c8e5a&amp;amp;ID=30"&gt;Download
from here&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
SharePoint PDC Videos
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://microsoftpdc.com/Sessions/PR33"&gt;Build a .NET Business Application
in 60 Minutes with xRM and SharePoint&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://microsoftpdc.com/Sessions/PR11"&gt;Leveraging and Extending Microsoft
SharePoint Server 2010 Identity Features&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://microsoftpdc.com/Sessions/SVC26"&gt;How Microsoft SharePoint 2010 was
Built with the Windows Identity Foundation&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://microsoftpdc.com/Sessions/PR10"&gt;SharePoint Is Not Just On-Premise:
Developing and Deploying Solutions to Microsoft SharePoint Online&lt;/a&gt; 
&lt;li&gt;
&lt;a href="Developer Patterns to Integrate Microsoft Silverlight 3.0 with Microsoft SharePoint 2010 "&gt;Developer
Patterns to Integrate Microsoft Silverlight 3.0 with Microsoft SharePoint 2010&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://microsoftpdc.com/Sessions/P09-18"&gt;Overview of SharePoint 2010 Programmability&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://microsoftpdc.com/Sessions/PR06"&gt;Developing Solutions with Business
Connectivity Services in Microsoft SharePoint Server 2010&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://microsoftpdc.com/Sessions/PR07"&gt;Developing Solutions for Microsoft
SharePoint Server 2010 Using the Client Object Model&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://microsoftpdc.com/Sessions/PR09"&gt;Document Assembly and Manipulation
on Microsoft SharePoint Server 2010 Using Word Automation Services and Open XML&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://microsoftpdc.com/Sessions/PR12"&gt;It's All about the Services: Developing
Custom Applications for Microsoft SharePoint Server 2010 Using Microsoft ASP.NET,
WCF, and REST&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://microsoftpdc.com/Sessions/SVC26"&gt;How Microsoft SharePoint 2010 was
Built with the Windows Identity Foundation&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;img width="0" height="0" src="http://blog.salvoz.com/aggbug.ashx?id=45d7fbb0-b10a-4381-9d00-bb7957dc12a6" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.salvoz.com"&gt;Adam Salvo&lt;/a&gt;. </description>
      <comments>http://blog.salvoz.com/CommentView,guid,45d7fbb0-b10a-4381-9d00-bb7957dc12a6.aspx</comments>
      <category>Technology/SharePoint</category>
    </item>
    <item>
      <trackback:ping>http://blog.salvoz.com/Trackback.aspx?guid=a227c0a1-2c77-4356-b460-1c40de2d71b7</trackback:ping>
      <pingback:server>http://blog.salvoz.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.salvoz.com/PermaLink,guid,a227c0a1-2c77-4356-b460-1c40de2d71b7.aspx</pingback:target>
      <dc:creator>Adam Salvo</dc:creator>
      <wfw:comment>http://blog.salvoz.com/CommentView,guid,a227c0a1-2c77-4356-b460-1c40de2d71b7.aspx</wfw:comment>
      <wfw:commentRss>http://blog.salvoz.com/SyndicationService.asmx/GetEntryCommentsRss?guid=a227c0a1-2c77-4356-b460-1c40de2d71b7</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Tomorrow night I am presenting at the Madison .Net Users group. Tonight, I am pulling
my hair out, trying to get my demos to work. How far am I? Well I’m on my second demo,
but the first one involves 0 programming, so I don’t think that counts.
</p>
        <p>
What <strike>is</strike> was getting in my way, was a nasty System.Data.Services.Client.DataServiceRequestException,
complaining of an invalid DateTime value…somewhere. 
</p>
        <blockquote>
          <p>
            <font color="#ff0000" face="Consolas">System.Data.Services.Client.DataServiceRequestException
was unhandled<br />
  Message=An error occurred while processing this request.<br />
  Source=Microsoft.Data.Services.Client<br />
  StackTrace:<br />
       at System.Data.Services.Client.DataServiceContext.SaveResult.HandleBatchResponse()<br />
       at System.Data.Services.Client.DataServiceContext.SaveResult.EndRequest()<br />
       at System.Data.Services.Client.DataServiceContext.SaveChanges(SaveChangesOptions
options)<br />
       at System.Data.Services.Client.DataServiceContext.SaveChanges()<br />
       at Demo1.Program.AddEmployees() in C:\_Files\Projects\Demo1\Demo1Completed\Demo1Completed\Program.cs:line
48<br />
       at Demo1.Program.Main(String[] args) in C:\_Files\Projects\Demo1\Demo1Completed\Demo1Completed\Program.cs:line
19<br />
       at System.AppDomain._nExecuteAssembly(RuntimeAssembly
assembly, String[] args)<br />
       at System.AppDomain.ExecuteAssembly(String assemblyFile,
Evidence assemblySecurity, String[] args)<br />
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()<br />
       at System.Threading.ThreadHelper.ThreadStart_Context(Object
state)<br />
       at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)<br />
       at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)<br />
       at System.Threading.ThreadHelper.ThreadStart()<br />
  InnerException: System.Data.Services.Client.DataServiceClientException<br />
       Message=&lt;?xml version="1.0" encoding="utf-8"
standalone="yes"?&gt;<br />
&lt;error xmlns="</font>
            <a href="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata&quot;">
              <font color="#ff0000" face="Consolas">http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"</font>
            </a>
            <font color="#ff0000" face="Consolas">&gt;<br />
  &lt;code&gt;&lt;/code&gt;<br />
  &lt;message xml:lang="en-US"&gt;<strong>Error reading syndication item: 'Error
in line 5 position 14. An error was encountered when parsing a DateTime value in the
XML</strong>.'.&lt;/message&gt;<br />
&lt;/error&gt;<br />
       Source=Microsoft.Data.Services.Client<br />
       StatusCode=400<br />
       StackTrace:<br />
            at System.Data.Services.Client.DataServiceContext.SaveResult.&lt;HandleBatchResponse&gt;d__20.MoveNext()<br />
       InnerException: </font>
          </p>
        </blockquote>
        <p>
After installing Fiddler so I could analyze the post and it’s subsequent response,
I tried setting the Modified and Created properties on the Entity to DateTime.Now
to give them an actual value. The Modified and Created properties are on all SharePoint
list objects. I hadn’t bothered setting them, because they were of type DateTime?
and I assumed that SharePoint would set them. As a matter of fact, I watched a <a href="http://microsoftpdc.com/Sessions/FT12">PDC
session</a> on this very topic and <a href="http://blog.salvoz.com/2009/11/25/PDC09FT12WCFDataServices.aspx">blogged</a> about
it. In the demo, the only thing Pablo set was the name and the job title and posted
it via CURL, and it worked.
</p>
        <p>
I tried setting the values to null, but I got the same error (and why wouldn’t I).
I ended up setting the values to DateTime.Min value. This allows the POST operation
to succeed, and the Created and Modified values are correctly set by SharePoint.
</p>
        <p>
Other notes of interest:
</p>
        <ul>
          <li>
Even though I installed VS 2010 with .Net 4.0, I still had to install the Ado.Net
Data services 1.5 CTP2 for SharePoint 2010 to expose data via ListData.svc</li>
          <li>
When building an application in VS 2010 with the .Net 4.0, System.Data.Services.Client
is added for you when you add a Service Reference. You do not need to add a reference
to Microsoft.Data.Services.Client in the CTP 2.</li>
          <li>
Be sure to check out the different SaveChangesOptions available when you call SaveChanges
for your service. The batch option really speeds things up, but if one update fails,
they all fail. 
</li>
        </ul>
        <img width="0" height="0" src="http://blog.salvoz.com/aggbug.ashx?id=a227c0a1-2c77-4356-b460-1c40de2d71b7" />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.salvoz.com">Adam Salvo</a>. 
</body>
      <title>SharePoint 2010 WCF Data Services Time Waster</title>
      <guid isPermaLink="false">http://blog.salvoz.com/PermaLink,guid,a227c0a1-2c77-4356-b460-1c40de2d71b7.aspx</guid>
      <link>http://blog.salvoz.com/2009/12/02/SharePoint2010WCFDataServicesTimeWaster.aspx</link>
      <pubDate>Wed, 02 Dec 2009 04:36:17 GMT</pubDate>
      <description>&lt;p&gt;
Tomorrow night I am presenting at the Madison .Net Users group. Tonight, I am pulling
my hair out, trying to get my demos to work. How far am I? Well I’m on my second demo,
but the first one involves 0 programming, so I don’t think that counts.
&lt;/p&gt;
&lt;p&gt;
What &lt;strike&gt;is&lt;/strike&gt; was getting in my way, was a nasty System.Data.Services.Client.DataServiceRequestException,
complaining of an invalid DateTime value…somewhere. 
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
&lt;font color="#ff0000" face="Consolas"&gt;System.Data.Services.Client.DataServiceRequestException
was unhandled&lt;br&gt;
&amp;nbsp; Message=An error occurred while processing this request.&lt;br&gt;
&amp;nbsp; Source=Microsoft.Data.Services.Client&lt;br&gt;
&amp;nbsp; StackTrace:&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Data.Services.Client.DataServiceContext.SaveResult.HandleBatchResponse()&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Data.Services.Client.DataServiceContext.SaveResult.EndRequest()&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Data.Services.Client.DataServiceContext.SaveChanges(SaveChangesOptions
options)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Data.Services.Client.DataServiceContext.SaveChanges()&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Demo1.Program.AddEmployees() in C:\_Files\Projects\Demo1\Demo1Completed\Demo1Completed\Program.cs:line
48&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Demo1.Program.Main(String[] args) in C:\_Files\Projects\Demo1\Demo1Completed\Demo1Completed\Program.cs:line
19&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.AppDomain._nExecuteAssembly(RuntimeAssembly
assembly, String[] args)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.AppDomain.ExecuteAssembly(String assemblyFile,
Evidence assemblySecurity, String[] args)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Threading.ThreadHelper.ThreadStart_Context(Object
state)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Threading.ThreadHelper.ThreadStart()&lt;br&gt;
&amp;nbsp; InnerException: System.Data.Services.Client.DataServiceClientException&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Message=&amp;lt;?xml version="1.0" encoding="utf-8"
standalone="yes"?&amp;gt;&lt;br&gt;
&amp;lt;error xmlns="&lt;/font&gt;&lt;a href="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata&amp;quot;"&gt;&lt;font color="#ff0000" face="Consolas"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"&lt;/font&gt;&lt;/a&gt;&lt;font color="#ff0000" face="Consolas"&gt;&amp;gt;&lt;br&gt;
&amp;nbsp; &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;&lt;br&gt;
&amp;nbsp; &amp;lt;message xml:lang="en-US"&amp;gt;&lt;strong&gt;Error reading syndication item: 'Error
in line 5 position 14. An error was encountered when parsing a DateTime value in the
XML&lt;/strong&gt;.'.&amp;lt;/message&amp;gt;&lt;br&gt;
&amp;lt;/error&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Source=Microsoft.Data.Services.Client&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StatusCode=400&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StackTrace:&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Data.Services.Client.DataServiceContext.SaveResult.&amp;lt;HandleBatchResponse&amp;gt;d__20.MoveNext()&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InnerException: &lt;/font&gt;
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
After installing Fiddler so I could analyze the post and it’s subsequent response,
I tried setting the Modified and Created properties on the Entity to DateTime.Now
to give them an actual value. The Modified and Created properties are on all SharePoint
list objects. I hadn’t bothered setting them, because they were of type DateTime?
and I assumed that SharePoint would set them. As a matter of fact, I watched a &lt;a href="http://microsoftpdc.com/Sessions/FT12"&gt;PDC
session&lt;/a&gt; on this very topic and &lt;a href="http://blog.salvoz.com/2009/11/25/PDC09FT12WCFDataServices.aspx"&gt;blogged&lt;/a&gt; about
it. In the demo, the only thing Pablo set was the name and the job title and posted
it via CURL, and it worked.
&lt;/p&gt;
&lt;p&gt;
I tried setting the values to null, but I got the same error (and why wouldn’t I).
I ended up setting the values to DateTime.Min value. This allows the POST operation
to succeed, and the Created and Modified values are correctly set by SharePoint.
&lt;/p&gt;
&lt;p&gt;
Other notes of interest:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
Even though I installed VS 2010 with .Net 4.0, I still had to install the Ado.Net
Data services 1.5 CTP2 for SharePoint 2010 to expose data via ListData.svc&lt;/li&gt;
&lt;li&gt;
When building an application in VS 2010 with the .Net 4.0, System.Data.Services.Client
is added for you when you add a Service Reference. You do not need to add a reference
to Microsoft.Data.Services.Client in the CTP 2.&lt;/li&gt;
&lt;li&gt;
Be sure to check out the different SaveChangesOptions available when you call SaveChanges
for your service. The batch option really speeds things up, but if one update fails,
they all fail. 
&lt;/li&gt;
&lt;/ul&gt;
&lt;img width="0" height="0" src="http://blog.salvoz.com/aggbug.ashx?id=a227c0a1-2c77-4356-b460-1c40de2d71b7" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.salvoz.com"&gt;Adam Salvo&lt;/a&gt;. </description>
      <comments>http://blog.salvoz.com/CommentView,guid,a227c0a1-2c77-4356-b460-1c40de2d71b7.aspx</comments>
      <category>Technology/Data Access</category>
      <category>Technology/Programming</category>
      <category>Technology/SharePoint</category>
    </item>
  </channel>
</rss>