<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>WebLog of Ken Cox</title><link>http://weblogs.asp.net/kencox/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Fix: 'Unable to load one or more of the requested types' Errors</title><link>http://weblogs.asp.net/kencox/archive/2011/06/08/fix-unable-to-load-one-or-more-of-the-requested-types-errors.aspx</link><pubDate>Wed, 08 Jun 2011 19:44:42 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7823071</guid><dc:creator>Ken Cox [MVP]</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/kencox/rsscomments.aspx?PostID=7823071</wfw:commentRss><comments>http://weblogs.asp.net/kencox/archive/2011/06/08/fix-unable-to-load-one-or-more-of-the-requested-types-errors.aspx#comments</comments><description>&lt;p&gt;A long time ago, I reported on an &lt;a href="http://weblogs.asp.net/kencox/archive/2010/08/24/fed-up-with-system-data-metadata-edm-objectitemassemblyloader.aspx" target="_blank"&gt;intermittent ‘Could not load file or assembly‘ bug&lt;/a&gt; where ASP.NET 4 was encountering a bizarre error on start-up in System.Reflection.RuntimeModule.GetTypes(RuntimeModule module). I neglected to post a follow-up here.&lt;/p&gt;  &lt;p&gt;The workaround is to always set the &lt;em&gt;ContextTypeName&lt;/em&gt; property in your EntityDataSource. That is,&amp;#160; you should set the&amp;#160; ContextTypeName=&amp;quot;ProjectNameNameSpace.EntityContainerName&amp;quot; &lt;/p&gt;  &lt;p&gt;Here's an example of some mark-up:&lt;/p&gt; &lt;code&gt;   &lt;p&gt;&amp;lt;asp:EntityDataSource ID=&amp;quot;edsCategoryTypesFilter&amp;quot; runat=&amp;quot;server&amp;quot; ConnectionString=&amp;quot;name=OfficeBookDBEntities1&amp;quot;      &lt;br /&gt;&lt;strong&gt;&lt;font style="background-color: #ffff00"&gt;ContextTypeName&lt;/font&gt;&lt;/strong&gt;=&amp;quot;OfficeBook.OfficeBookDBEntities1&amp;quot; DefaultContainerName=&amp;quot;OfficeBookDBEntities1&amp;quot;       &lt;br /&gt;OrderBy=&amp;quot;it.CategoryName&amp;quot; EntitySetName=&amp;quot;AccountTypeCategories&amp;quot; EntityTypeFilter=&amp;quot;AccountTypeCategories&amp;quot;&amp;gt;       &lt;br /&gt;&amp;lt;/asp:EntityDataSource&amp;gt;&lt;/p&gt;    &lt;p&gt;&amp;#160;&lt;/p&gt; &lt;/code&gt;  &lt;p&gt;I hope this helps somebody.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Ken&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7823071" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/kencox/archive/tags/Community+News/default.aspx">Community News</category><category domain="http://weblogs.asp.net/kencox/archive/tags/.NET/default.aspx">.NET</category><category domain="http://weblogs.asp.net/kencox/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/kencox/archive/tags/General+Software+Development/default.aspx">General Software Development</category><category domain="http://weblogs.asp.net/kencox/archive/tags/Entity+Framework/default.aspx">Entity Framework</category><category domain="http://weblogs.asp.net/kencox/archive/tags/.NET+4.0/default.aspx">.NET 4.0</category><category domain="http://weblogs.asp.net/kencox/archive/tags/entitydatasource/default.aspx">entitydatasource</category><category domain="http://weblogs.asp.net/kencox/archive/tags/asp.net+4/default.aspx">asp.net 4</category></item><item><title>EULAs are Fun. Mock Them Mercilessly!</title><link>http://weblogs.asp.net/kencox/archive/2011/04/28/eulas-are-fun-mock-them-mercilessly.aspx</link><pubDate>Thu, 28 Apr 2011 20:43:33 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7772643</guid><dc:creator>Ken Cox [MVP]</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/kencox/rsscomments.aspx?PostID=7772643</wfw:commentRss><comments>http://weblogs.asp.net/kencox/archive/2011/04/28/eulas-are-fun-mock-them-mercilessly.aspx#comments</comments><description>&lt;p&gt;In my &lt;a href="http://weblogs.asp.net/kencox/archive/2011/04/27/telerik-s-free-decompiler-just-don-t-decompile-it.aspx" target="_blank"&gt;previous post&lt;/a&gt; about the new, free &lt;a href="http://www.telerik.com/products/decompiling.aspx" target="_blank"&gt;Telerik JustDecompile beta&lt;/a&gt;, I made fun of the license terms that specifically forbade you from decompiling their decompiler. As you might expect, this was a copy and paste oversight and has been fixed in the latest downloadable installer. Thanks Telerik!&lt;/p&gt;  &lt;p&gt;EULAs (speaking generally now) are a strange part of software distribution where the lawyers wield a club. For most consumers, the “I have read and agreed to the license conditions” checkbox is just a minor annoyance that they click through without a millisecond of concern. In fact, these agreements are fascinating and often laughable. You guys don’t know what you’re missing out there!&lt;/p&gt;  &lt;p&gt;The lawyers for some corporations are candidly upfront that they take no responsibility if their expensive software trashes your machine. They even have the nerve to put in (fine) print that the product may be so buggy as to be unsuitable for any purpose at all. (A morale booster for the QA team, no doubt.) Warning: You’re risking your life, liberty, and happiness by installing this code. Don’t say you weren’t warned! Some clauses focus on promises not to use Logo-based code in a nuclear power station or near anyone on life support. &lt;/p&gt;  &lt;p&gt;Do the CEOs and product managers read these things and push back? No. When challenged, powerful and highly-paid people cringe, cower, and dismiss the EULA as ‘a legal thing that we have no control over’.&lt;/p&gt;  &lt;p&gt;Debates have raged for years about whether EULAs (click or shrinkwrap) are enforceable.&amp;#160; Sure, you just agreed to hand over your first-born child by clicking “I Accept”. Now, what are the chances Company A’s corporate counsel would have the guts to seize your kid at school just because their stealth ‘phone home’ activation routine discovered that you installed their software on TWO VHDs?&lt;/p&gt;  &lt;p&gt;For my part, I don’t need the cost, stress, and ignominy of having my sorry butt hauled into court by a heartless corporate legal department – even if I’m 100% in the right. You lose even when you win against these guys. It’s far more fun (and safer) to read through the EULAs and then blog about their silliness. Show no mercy! &amp;lt;grin&amp;gt;&lt;/p&gt;  &lt;p&gt;Ken&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7772643" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/kencox/archive/tags/Community+News/default.aspx">Community News</category><category domain="http://weblogs.asp.net/kencox/archive/tags/.NET/default.aspx">.NET</category><category domain="http://weblogs.asp.net/kencox/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/kencox/archive/tags/General+Software+Development/default.aspx">General Software Development</category><category domain="http://weblogs.asp.net/kencox/archive/tags/Telerik/default.aspx">Telerik</category></item><item><title>Telerik’s Free Decompiler: Just Don’t Decompile It!*</title><link>http://weblogs.asp.net/kencox/archive/2011/04/27/telerik-s-free-decompiler-just-don-t-decompile-it.aspx</link><pubDate>Wed, 27 Apr 2011 17:43:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7771694</guid><dc:creator>Ken Cox [MVP]</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/kencox/rsscomments.aspx?PostID=7771694</wfw:commentRss><comments>http://weblogs.asp.net/kencox/archive/2011/04/27/telerik-s-free-decompiler-just-don-t-decompile-it.aspx#comments</comments><description>&lt;p&gt;Telerik has released a beta version of its new ‘always free’ .NET decompiler, &lt;a href="http://www.telerik.com/products/decompiling.aspx" target="_blank" mce_href="http://www.telerik.com/products/decompiling.aspx"&gt;JustDecompile&lt;/a&gt;. These guys really know their marketing and community support. (Redgate recently disappointed the community by moving the popular &lt;a href="http://reflector.red-gate.com/download.aspx?TreatAsUpdate=1" target="_blank" mce_href="http://reflector.red-gate.com/download.aspx?TreatAsUpdate=1"&gt;.NET Reflector&lt;/a&gt; to a $35 paid-for product.)&lt;/p&gt;  &lt;p&gt;I’m not sure if its a beta glitch *, oversight, or a wacko lawyer requirement, but Telerik’s licence mentions &lt;strong&gt;twice&lt;/strong&gt; that you must not decompile JustDecompile.&lt;/p&gt;  &lt;p&gt;&lt;em&gt;1.3.2 The Software and its constituent parts, such as any provided add-ons or other files, &lt;strong&gt;may not be reverse engineered, decompiled&lt;/strong&gt;, disassembled or separated for use, nor placed for distribution, sale, or resale as individual creations by you. &lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;2.6 &lt;strong&gt;You are not allowed to disassemble, decompile&lt;/strong&gt; or “unlock”, decode or otherwise reverse translate or engineer, or attempt in any manner to reconstruct or discover any source code or underlying algorithms of Software that is provided to you in object code form only.&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;Meanwhile,&amp;nbsp;JustDecompile doesn't generate VB.NET code yet - but &lt;a href="http://blogs.telerik.com/blogs/posts/11-04-27/introducing_justtrace_and_justdecompile.aspx" mce_href="http://blogs.telerik.com/blogs/posts/11-04-27/introducing_justtrace_and_justdecompile.aspx"&gt;according to the announcement&lt;/a&gt;, VB is coming 'in the near future'. Getting a quick VB version of a routine is one of my main uses for a decompiler and a .NET Reflector strong point.&lt;/p&gt;  &lt;p&gt;Ken&lt;/p&gt;&lt;p&gt;&amp;nbsp;Update April 28, 2011: Telerik has removed the offending terms from its installer.&amp;nbsp;See &lt;a href="http://weblogs.asp.net/kencox/archive/2011/04/28/eulas-are-fun-mock-them-mercilessly.aspx" mce_href="http://weblogs.asp.net/kencox/archive/2011/04/28/eulas-are-fun-mock-them-mercilessly.aspx"&gt;EULAs are Fun. Mock Them Mercilessly!&lt;/a&gt;&amp;nbsp;Ken.&lt;/p&gt;&amp;nbsp; &lt;p&gt;Full Disclosure: Telerik gives me (and other Developer MVPs) a free copy of their suite.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7771694" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/kencox/archive/tags/.NET/default.aspx">.NET</category><category domain="http://weblogs.asp.net/kencox/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/kencox/archive/tags/General+Software+Development/default.aspx">General Software Development</category><category domain="http://weblogs.asp.net/kencox/archive/tags/VB/default.aspx">VB</category><category domain="http://weblogs.asp.net/kencox/archive/tags/Telerik/default.aspx">Telerik</category></item><item><title>We Need a Capped Plan for MSDN Azure Benefits</title><link>http://weblogs.asp.net/kencox/archive/2011/04/20/we-need-a-capped-plan-for-msdn-azure-benefits.aspx</link><pubDate>Wed, 20 Apr 2011 21:46:02 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7765982</guid><dc:creator>Ken Cox [MVP]</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/kencox/rsscomments.aspx?PostID=7765982</wfw:commentRss><comments>http://weblogs.asp.net/kencox/archive/2011/04/20/we-need-a-capped-plan-for-msdn-azure-benefits.aspx#comments</comments><description>&lt;p&gt;Like many developers, I’d like to play more with Windows Azure.&amp;#160; Microsoft recently &lt;a href="http://msdn.microsoft.com/en-us/subscriptions/ee461076.aspx" target="_blank"&gt;improved the MSDN Azure benefits&lt;/a&gt; – extending them to MSDN Professional subscribers.&lt;/p&gt;  &lt;p&gt;The trouble is, the onus is on the subscriber to avoid hefty charges caused by exceeding the ‘free’ storage, compute hours, and bandwidth. Here’s the wording:&lt;/p&gt;  &lt;p&gt;“For all usage that exceeds the free allocation above, customers will be charged at standard rates. To avoid charges customers should closely monitor their usage.”&lt;/p&gt;  &lt;p&gt;For my part, I don’t intend to hand my credit card over to Microsoft for unpredictable, open-ended charges. Nor do I want to watch a meter day and night.&lt;/p&gt;  &lt;p&gt;Instead, there should be a Capped Plan option to the MSDN Azure benefit with &lt;strong&gt;no credit card required&lt;/strong&gt;. In this option, Microsoft simply pulls the Azure plug if my application somehow uses up its free allocation. &lt;/p&gt;  &lt;p&gt;Developers need reassurance that learning, experimenting, or doing something stupid on Azure won’t run up a bill that gets their credit card over-extended and even revoked.&lt;/p&gt;  &lt;p&gt;Ken&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7765982" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/kencox/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/kencox/archive/tags/MSDN/default.aspx">MSDN</category><category domain="http://weblogs.asp.net/kencox/archive/tags/Azure/default.aspx">Azure</category><category domain="http://weblogs.asp.net/kencox/archive/tags/Visual+Studio+2010/default.aspx">Visual Studio 2010</category><category domain="http://weblogs.asp.net/kencox/archive/tags/.NET+4.0/default.aspx">.NET 4.0</category><category domain="http://weblogs.asp.net/kencox/archive/tags/Windows+Azure/default.aspx">Windows Azure</category></item><item><title>Fix: ASP.NET 4 Page on IIS 7 Misbehaves When Browser URL Doesn’t Include Default Page</title><link>http://weblogs.asp.net/kencox/archive/2011/03/30/fix-asp-net-4-page-on-iis-7-misbehaves-when-browser-url-doesn-t-include-default-page.aspx</link><pubDate>Thu, 31 Mar 2011 02:37:28 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7739301</guid><dc:creator>Ken Cox [MVP]</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/kencox/rsscomments.aspx?PostID=7739301</wfw:commentRss><comments>http://weblogs.asp.net/kencox/archive/2011/03/30/fix-asp-net-4-page-on-iis-7-misbehaves-when-browser-url-doesn-t-include-default-page.aspx#comments</comments><description>&lt;p&gt;After deploying an ASP.NET 4 application to the production server, data submitted in a form on the default page went nowhere. I discovered that the page worked normally &lt;em&gt;if I included the name of the default document&lt;/em&gt; as in http://mydomain.com/default.aspx. When I navigated to the site as&amp;#160; http://mydomain.com the postback misbehaved to the extent that there was no SQL connection – as if it didn’t even try.&lt;/p&gt;  &lt;p&gt;All this worked fine on the development server which is IIS 6. The production server is IIS 7.&lt;/p&gt;  &lt;p&gt;The fix was to go into my site’s master page and set the action attribute to default.aspx in the form tag:&lt;/p&gt; &lt;code&gt;   &lt;p&gt;&amp;lt;form id=&amp;quot;form1&amp;quot; action=&amp;quot;&lt;font style="background-color: #ffff00"&gt;default.aspx&lt;/font&gt;&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;&lt;/p&gt; &lt;/code&gt;  &lt;p&gt;There’s a detailed &lt;a href="http://www.asp.net/learn/whitepapers/aspnet4/breaking-changes#0.1__Toc256770154" target="_blank"&gt;explanation&lt;/a&gt;&amp;#160; in the section “Event Handlers Might Not Be Not Raised in a Default Document in IIS 7 or IIS 7.5 Integrated Mode”&amp;#160; of the ASP.NET 4 Breaking Changes document.&lt;/p&gt;  &lt;p&gt;Am I the only one who loses time on stuff like this?&lt;/p&gt;  &lt;p&gt;Ken&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7739301" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/kencox/archive/tags/Community+News/default.aspx">Community News</category><category domain="http://weblogs.asp.net/kencox/archive/tags/.NET/default.aspx">.NET</category><category domain="http://weblogs.asp.net/kencox/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/kencox/archive/tags/IIS/default.aspx">IIS</category><category domain="http://weblogs.asp.net/kencox/archive/tags/General+Software+Development/default.aspx">General Software Development</category><category domain="http://weblogs.asp.net/kencox/archive/tags/Windows+Server+2008/default.aspx">Windows Server 2008</category><category domain="http://weblogs.asp.net/kencox/archive/tags/.NET+4.0/default.aspx">.NET 4.0</category><category domain="http://weblogs.asp.net/kencox/archive/tags/asp.net+4/default.aspx">asp.net 4</category></item><item><title>Extracting the Date from a DateTime in Entity Framework 4 and LINQ</title><link>http://weblogs.asp.net/kencox/archive/2011/03/14/extracting-the-date-from-a-datetime-in-entity-framework-4-and-linq.aspx</link><pubDate>Tue, 15 Mar 2011 00:28:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7723870</guid><dc:creator>Ken Cox [MVP]</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/kencox/rsscomments.aspx?PostID=7723870</wfw:commentRss><comments>http://weblogs.asp.net/kencox/archive/2011/03/14/extracting-the-date-from-a-datetime-in-entity-framework-4-and-linq.aspx#comments</comments><description>&lt;P&gt;In my current ASP.NET 4 project, I’m displaying dates in a GridDateTimeColumn of&lt;A href="http://www.telerik.com/products/aspnet-ajax/grid.aspx" mce_href="http://www.telerik.com/products/aspnet-ajax/grid.aspx"&gt; Telerik’s ASP.NET Radgrid&lt;/A&gt; control. I don’t care about the time stuff, so my DataFormatString shows only the date bits:&lt;/P&gt;&lt;CODE&gt;
&lt;P&gt;&amp;lt;telerik:GridDateTimeColumn FilterControlWidth="100px" &lt;BR&gt;&amp;nbsp; DataField="DateCreated" HeaderText="Created"&amp;nbsp; &lt;BR&gt;&amp;nbsp; SortExpression="DateCreated" ReadOnly="True"&amp;nbsp; &lt;BR&gt;&amp;nbsp; UniqueName="DateCreated" PickerType="DatePicker"&amp;nbsp; &lt;BR&gt;&amp;nbsp; &lt;STRONG&gt;DataFormatString="{0:dd MMM yy}"&lt;/STRONG&gt;&amp;gt;&lt;STRONG&gt; &lt;BR&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/CODE&gt;
&lt;P&gt;My problem was that I couldn’t get the built-in column filtering (it uses Telerik’s DatePicker control) to behave.&amp;nbsp; The DatePicker assumes that the time is 00:00:00 but the data would have times like 09:22:21. So, when you select a date and apply the EqualTo filter, you get no results. You would get results if all the time portions were 00:00:00.&lt;/P&gt;
&lt;P&gt;In essence, I wanted my Entity Framework query to give the DatePicker what it wanted… a Date without the Time portion. Fortunately, EF4 provides the &lt;A href="http://msdn.microsoft.com/en-us/library/dd395596.aspx" target=_blank mce_href="http://msdn.microsoft.com/en-us/library/dd395596.aspx"&gt;TruncateTime&lt;/A&gt;&amp;nbsp; function. After you include&lt;/P&gt;&lt;CODE&gt;
&lt;P&gt;Imports System.Data.Objects.EntityFunctions&lt;/P&gt;&lt;/CODE&gt;
&lt;P&gt;You’ll find that your EF queries will accept the TruncateTime function. Here’s my routine:&lt;/P&gt;&lt;CODE&gt;
&lt;P&gt;Protected Sub RadGrid1_NeedDataSource _ &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (ByVal source As Object, _ &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) _ &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Handles RadGrid1.NeedDataSource &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim ent As New OfficeBookDBEntities1 &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim TopBOMs = From t In ent.TopBom, i In ent.Items _ &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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Where t.BusActivityID = busActivityID _ &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; And i.BusActivityID And t.ItemID = i.RecordID _ &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Order By t.DateUpdated Descending _ &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Select New With {.TopBomID = t.TopBomID, .ItemID = t.ItemID, _ &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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .PartNumber = i.PartNumber, _ &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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .Description = i.Description, .Notes = t.Notes, _ &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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&lt;FONT style="BACKGROUND-COLOR: #ffff00"&gt;.DateCreated = TruncateTime(t.DateCreated),&lt;/FONT&gt;&lt;/STRONG&gt; _ &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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .DateUpdated = TruncateTime(t.DateUpdated)} &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RadGrid1.DataSource = TopBOMs &lt;BR&gt;End Sub &lt;BR&gt;&lt;/P&gt;&lt;/CODE&gt;
&lt;P&gt;Now when I select March 14, 2011 on the DatePicker, the filter doesn’t stumble on time values that don’t make sense.&lt;/P&gt;
&lt;P&gt;Full Disclosure: Telerik gives me (and other developer MVPs) free copies of their suite.&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7723870" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/kencox/archive/tags/Community+News/default.aspx">Community News</category><category domain="http://weblogs.asp.net/kencox/archive/tags/.NET/default.aspx">.NET</category><category domain="http://weblogs.asp.net/kencox/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/kencox/archive/tags/General+Software+Development/default.aspx">General Software Development</category><category domain="http://weblogs.asp.net/kencox/archive/tags/Entity+Framework/default.aspx">Entity Framework</category><category domain="http://weblogs.asp.net/kencox/archive/tags/RadGrid/default.aspx">RadGrid</category><category domain="http://weblogs.asp.net/kencox/archive/tags/Telerik/default.aspx">Telerik</category><category domain="http://weblogs.asp.net/kencox/archive/tags/Visual+Studio+2010/default.aspx">Visual Studio 2010</category><category domain="http://weblogs.asp.net/kencox/archive/tags/.NET+4.0/default.aspx">.NET 4.0</category><category domain="http://weblogs.asp.net/kencox/archive/tags/asp.net+4/default.aspx">asp.net 4</category></item><item><title>Fix: CSS Problems in IE 8 With Over 31 StyleSheets</title><link>http://weblogs.asp.net/kencox/archive/2011/01/24/fix-css-problems-in-ie-8-with-over-31-stylesheets.aspx</link><pubDate>Mon, 24 Jan 2011 17:25:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7689059</guid><dc:creator>Ken Cox [MVP]</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/kencox/rsscomments.aspx?PostID=7689059</wfw:commentRss><comments>http://weblogs.asp.net/kencox/archive/2011/01/24/fix-css-problems-in-ie-8-with-over-31-stylesheets.aspx#comments</comments><description>&lt;P&gt;In my latest Web application, I went crazy trying to&amp;nbsp;find out why a popup/overlay window style was acting up in IE 8 but was fine in the latest version of FireFox. After too many hours of frustration and dead ends, I took the issue to my friends at Telerik Support (the site I’m developing uses their excellent RadControls for ASP.NET AJAX suite).&lt;/P&gt;
&lt;P&gt;Telerik diagnosed the problem immediately as too many stylesheets for Internet Explorer to handle. Huh?&lt;/P&gt;
&lt;P&gt;I didn’t know about this limit (bug) of 31 stylesheets - but even if I had, I’d have wagered that I didn’t have that many. It turns out that many 3rd party controls generate styles as resources using an httphandler in the web.config file. Worse, even HTML&amp;nbsp; style &lt;EM&gt;tags&lt;/EM&gt; count as stylesheets to IE! &lt;/P&gt;
&lt;P&gt;In my case, the solution was to add Telerik’s RadStyleSheetManager&amp;nbsp; control to my master page. Suddenly, the troublesome style issue was gone.&lt;/P&gt;
&lt;P&gt;From what I read on the InterWeb, Microsoft doesn’t plan to do anything about this limitation in IE 9, so it’s going to be around for a long while. You think Internet Explorer&amp;nbsp; would at least give us a helpful error message such as “Sorry, there are too many stylesheets for me to handle. The page probably looks weird because I’m a wimp and have given up applying the excess styles.”&lt;/P&gt;
&lt;P&gt;For more info on the issue, check out this blog post on Internet Explorer CSS limits:&lt;/P&gt;
&lt;P&gt;&lt;A title=http://blogs.telerik.com/kamenbundev/posts/10-05-03/internet_explorer_css_limits.aspx href="http://blogs.telerik.com/kamenbundev/posts/10-05-03/internet_explorer_css_limits.aspx" mce_href="http://blogs.telerik.com/kamenbundev/posts/10-05-03/internet_explorer_css_limits.aspx"&gt;http://blogs.telerik.com/kamenbundev/posts/10-05-03/internet_explorer_css_limits.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Full Disclosure: As a Microsoft MVP for ASP.NET, Telerik gives me a free licence to its control suite.&lt;/P&gt;
&lt;P&gt;Ken&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7689059" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/kencox/archive/tags/Community+News/default.aspx">Community News</category><category domain="http://weblogs.asp.net/kencox/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/kencox/archive/tags/.NET+ASP.NET/default.aspx">.NET ASP.NET</category><category domain="http://weblogs.asp.net/kencox/archive/tags/General+Software+Development/default.aspx">General Software Development</category><category domain="http://weblogs.asp.net/kencox/archive/tags/Telerik/default.aspx">Telerik</category><category domain="http://weblogs.asp.net/kencox/archive/tags/Visual+Studio+2010/default.aspx">Visual Studio 2010</category><category domain="http://weblogs.asp.net/kencox/archive/tags/.NET+4.0/default.aspx">.NET 4.0</category><category domain="http://weblogs.asp.net/kencox/archive/tags/Errors/default.aspx">Errors</category></item><item><title>Entity Framework Code-First to Provide Replacement for ASP.NET Profile Provider</title><link>http://weblogs.asp.net/kencox/archive/2010/12/10/entity-framework-code-first-to-provide-replacement-for-asp-net-profile-provider.aspx</link><pubDate>Fri, 10 Dec 2010 17:15:18 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7659370</guid><dc:creator>Ken Cox [MVP]</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/kencox/rsscomments.aspx?PostID=7659370</wfw:commentRss><comments>http://weblogs.asp.net/kencox/archive/2010/12/10/entity-framework-code-first-to-provide-replacement-for-asp-net-profile-provider.aspx#comments</comments><description>&lt;p&gt;A while back, I coordinated a project to add &lt;a href="http://weblogs.asp.net/kencox/archive/2010/09/05/using-the-sql-table-profile-provider-in-asp-net-4-web-applications-c-amp-vb.aspx" target="_blank"&gt;support for the SQL Table Profile Provider&lt;/a&gt; in ASP.NET 4 Web Applications.&amp;#160; We urged Microsoft to improve ASP.NET’s built-in Profile support so our &lt;a href="http://code.msdn.microsoft.com/aspnet4profile" target="_blank"&gt;workaround&lt;/a&gt; wouldn’t be necessary. Instead, Microsoft plans to provide a &lt;em&gt;replacement&lt;/em&gt; for ASP.NET Profile in a forthcoming release.&lt;/p&gt;  &lt;p&gt;In response to &lt;a href="https://connect.microsoft.com/VisualStudio/feedback/details/595053/add-support-for-the-sql-table-profile-provider-in-asp-net-4-web-applications" target="_blank"&gt;my feature suggestion on Connect&lt;/a&gt;, Microsoft says we should look for something even better using Entity Framework: &lt;/p&gt;  &lt;p&gt;“When code-first is officially released the final piece of a full replacement of the ASP.NET Profile will have arrived. Once code-first for EF4 is released, developers will have a really easy and very approachable way to create any arbitrary class, and automatically have the .NET Framework create a table to provide storage for that class. Furthermore developer will also have full LINQ-query capabilities against code-first classes. “&lt;/p&gt;  &lt;p&gt;The downside is that there won’t be a way to retrofit this Profile replacement to pre- ASP.NET 4 Web applications. At least there’ll still be the &lt;a href="http://code.msdn.microsoft.com/aspnet4profile" target="_blank"&gt;MVP workaround code&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;It looks like it’s time for me to dig into a &lt;a href="http://weblogs.asp.net/scottgu/archive/2010/12/08/announcing-entity-framework-code-first-ctp5-release.aspx" target="_blank"&gt;CTP of EF Code-First&lt;/a&gt; to see what’s available.&amp;#160;&amp;#160; &lt;a href="http://weblogs.asp.net/scottgu/default.aspx" target="_blank"&gt;Scott Guthrie&lt;/a&gt; has been blogging about &lt;a href="http://weblogs.asp.net/scottgu/archive/2010/07/16/code-first-development-with-entity-framework-4.aspx" target="_blank"&gt;Code-First Development with Entity Framework 4&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;It’s not clear when the EF Code-First is coming, but my guess is that it’ll be part of the VS 2010/.NET 4 service pack.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7659370" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/kencox/archive/tags/Community+News/default.aspx">Community News</category><category domain="http://weblogs.asp.net/kencox/archive/tags/.NET/default.aspx">.NET</category><category domain="http://weblogs.asp.net/kencox/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/kencox/archive/tags/MVP/default.aspx">MVP</category><category domain="http://weblogs.asp.net/kencox/archive/tags/.NET+ASP.NET/default.aspx">.NET ASP.NET</category><category domain="http://weblogs.asp.net/kencox/archive/tags/LINQ/default.aspx">LINQ</category><category domain="http://weblogs.asp.net/kencox/archive/tags/General+Software+Development/default.aspx">General Software Development</category><category domain="http://weblogs.asp.net/kencox/archive/tags/asp.net+3.5/default.aspx">asp.net 3.5</category><category domain="http://weblogs.asp.net/kencox/archive/tags/Entity+Framework/default.aspx">Entity Framework</category><category domain="http://weblogs.asp.net/kencox/archive/tags/Visual+Studio+2010/default.aspx">Visual Studio 2010</category><category domain="http://weblogs.asp.net/kencox/archive/tags/.NET+4.0/default.aspx">.NET 4.0</category><category domain="http://weblogs.asp.net/kencox/archive/tags/SqlTableProfileProvider/default.aspx">SqlTableProfileProvider</category><category domain="http://weblogs.asp.net/kencox/archive/tags/asp.net+4/default.aspx">asp.net 4</category></item><item><title>Help A Hacker: Give ‘Em The Windows Source Code</title><link>http://weblogs.asp.net/kencox/archive/2010/12/09/help-a-hacker-give-em-the-windows-source-code.aspx</link><pubDate>Thu, 09 Dec 2010 22:32:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7658894</guid><dc:creator>Ken Cox [MVP]</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/kencox/rsscomments.aspx?PostID=7658894</wfw:commentRss><comments>http://weblogs.asp.net/kencox/archive/2010/12/09/help-a-hacker-give-em-the-windows-source-code.aspx#comments</comments><description>&lt;P&gt;The announcement of another &lt;A href="http://www.computerworld.com/s/article/9200642/Microsoft_slates_another_monster_Patch_Tuesday?taxonomyId=82" target=_blank mce_href="http://www.computerworld.com/s/article/9200642/Microsoft_slates_another_monster_Patch_Tuesday?taxonomyId=82"&gt;Windows megapatch&lt;/A&gt; reminded me of a WikiLeaks story about Microsoft Windows that hasn’t attracted much attention.&lt;/P&gt;
&lt;P&gt;Alarmingly, we learn that the &lt;A href="http://www.guardian.co.uk/world/us-embassy-cables-documents/214462" target=_blank mce_href="http://www.guardian.co.uk/world/us-embassy-cables-documents/214462"&gt;hackers have the Windows source code&lt;/A&gt; to study and test for vulnerabilities. Chinese hackers used the knowledge to breach Google’s accounts and servers:&lt;/P&gt;
&lt;P&gt;“In 2003, the CNITSEC signed a Government Security Program (GSP) international agreement with Microsoft that allowed select companies such as TOPSEC access to Microsoft source code in order to secure the Windows platform”&lt;/P&gt;
&lt;P&gt;“CNITSEC enterprises has recruited Chinese hackers in support of nationally-funded "network attack scientific research projects." From June 2002 to March 2003, TOPSEC employed a known Chinese hacker, Lin Yong (a.k.a. Lion and owner of the Honker Union of China), as senior security service engineer…”&lt;/P&gt;
&lt;P&gt;Windows is widely seen as unsecurable. It doesn’t help that Chinese government-funded hackers are probing the source code for vulnerabilities. It seems odd that people who didn’t write the code can find vulnerabilities faster than the owners of the code.&lt;/P&gt;
&lt;P&gt;Perhaps the U.S. government should hire its own hackers to go over the same Windows source code and then tell Microsoft how to secure its product?&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7658894" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/kencox/archive/tags/Community+News/default.aspx">Community News</category><category domain="http://weblogs.asp.net/kencox/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/kencox/archive/tags/.NET+4.0/default.aspx">.NET 4.0</category><category domain="http://weblogs.asp.net/kencox/archive/tags/Windows+7/default.aspx">Windows 7</category></item><item><title>Fix: The version of SQL Server in use does not support datatype 'datetime2'.</title><link>http://weblogs.asp.net/kencox/archive/2010/11/15/fix-the-version-of-sql-server-in-use-does-not-support-datatype-datetime2.aspx</link><pubDate>Tue, 16 Nov 2010 02:21:45 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7644757</guid><dc:creator>Ken Cox [MVP]</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/kencox/rsscomments.aspx?PostID=7644757</wfw:commentRss><comments>http://weblogs.asp.net/kencox/archive/2010/11/15/fix-the-version-of-sql-server-in-use-does-not-support-datatype-datetime2.aspx#comments</comments><description>This message appeared today after posting a new build to our ASP.NET 4 web app: The version of SQL Server in use does not support datatype 'datetime2'. The DBA doesn’t use datetime2 because it’s new in SQL Server 2008 and the site runs on 2005.&amp;#160;...(&lt;a href="http://weblogs.asp.net/kencox/archive/2010/11/15/fix-the-version-of-sql-server-in-use-does-not-support-datatype-datetime2.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7644757" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/kencox/archive/tags/.NET/default.aspx">.NET</category><category domain="http://weblogs.asp.net/kencox/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/kencox/archive/tags/.NET+ASP.NET/default.aspx">.NET ASP.NET</category><category domain="http://weblogs.asp.net/kencox/archive/tags/General+Software+Development/default.aspx">General Software Development</category><category domain="http://weblogs.asp.net/kencox/archive/tags/Entity+Framework/default.aspx">Entity Framework</category><category domain="http://weblogs.asp.net/kencox/archive/tags/.NET+4.0/default.aspx">.NET 4.0</category></item><item><title>Standout Component Vendor: Telerik</title><link>http://weblogs.asp.net/kencox/archive/2010/11/08/standout-component-vendor-telerik.aspx</link><pubDate>Tue, 09 Nov 2010 02:53:30 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7638325</guid><dc:creator>Ken Cox [MVP]</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/kencox/rsscomments.aspx?PostID=7638325</wfw:commentRss><comments>http://weblogs.asp.net/kencox/archive/2010/11/08/standout-component-vendor-telerik.aspx#comments</comments><description>I guess we all like it when others validate our opinions. I was part of Visual Studio Magazine’s “Editor’s Choice” panel this year. My choice for Top Component Vendor was Telerik and I added this: “Telerik produces a broad range of highly functional and...(&lt;a href="http://weblogs.asp.net/kencox/archive/2010/11/08/standout-component-vendor-telerik.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7638325" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/kencox/archive/tags/.NET/default.aspx">.NET</category><category domain="http://weblogs.asp.net/kencox/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/kencox/archive/tags/General+Software+Development/default.aspx">General Software Development</category><category domain="http://weblogs.asp.net/kencox/archive/tags/Telerik/default.aspx">Telerik</category></item><item><title>I’m a Windows Phone 7 Game Publisher!</title><link>http://weblogs.asp.net/kencox/archive/2010/11/04/i-m-a-windows-phone-7-game-publisher.aspx</link><pubDate>Fri, 05 Nov 2010 00:51:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7636805</guid><dc:creator>Ken Cox [MVP]</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/kencox/rsscomments.aspx?PostID=7636805</wfw:commentRss><comments>http://weblogs.asp.net/kencox/archive/2010/11/04/i-m-a-windows-phone-7-game-publisher.aspx#comments</comments><description>Windows Phone 7 isn’t widely available yet, but you can already buy quite a few apps for it. I’m proud to say that my little game, Classic Hits , has just been published in the Windows Phone 7 Marketplace. Although I don’t even own a Windows Phone (fellow...(&lt;a href="http://weblogs.asp.net/kencox/archive/2010/11/04/i-m-a-windows-phone-7-game-publisher.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7636805" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/kencox/archive/tags/Community+News/default.aspx">Community News</category><category domain="http://weblogs.asp.net/kencox/archive/tags/.NET/default.aspx">.NET</category><category domain="http://weblogs.asp.net/kencox/archive/tags/Silverlight/default.aspx">Silverlight</category><category domain="http://weblogs.asp.net/kencox/archive/tags/WP7/default.aspx">WP7</category><category domain="http://weblogs.asp.net/kencox/archive/tags/Windows+Phone+7/default.aspx">Windows Phone 7</category></item><item><title>Windows Phone 7 User Group in Greater Toronto</title><link>http://weblogs.asp.net/kencox/archive/2010/11/02/windows-phone-7-user-group-in-greater-toronto.aspx</link><pubDate>Tue, 02 Nov 2010 23:33:23 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7635935</guid><dc:creator>Ken Cox [MVP]</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/kencox/rsscomments.aspx?PostID=7635935</wfw:commentRss><comments>http://weblogs.asp.net/kencox/archive/2010/11/02/windows-phone-7-user-group-in-greater-toronto.aspx#comments</comments><description>With my own first Windows Phone 7 app ready for the marketplace, I receive word of the first meeting of the Windows Phone 7 Toronto User Group. It’s on November 16th, 6:30 pm at the Microsoft Canada headquarters in Mississauga. I’m planning to drive down...(&lt;a href="http://weblogs.asp.net/kencox/archive/2010/11/02/windows-phone-7-user-group-in-greater-toronto.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7635935" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/kencox/archive/tags/Community+News/default.aspx">Community News</category><category domain="http://weblogs.asp.net/kencox/archive/tags/.NET/default.aspx">.NET</category><category domain="http://weblogs.asp.net/kencox/archive/tags/WP7/default.aspx">WP7</category><category domain="http://weblogs.asp.net/kencox/archive/tags/Windows+Phone+7/default.aspx">Windows Phone 7</category></item><item><title>Fix: The argument types 'Edm.Guid' and 'Edm.String' are incompatible for this operation.</title><link>http://weblogs.asp.net/kencox/archive/2010/11/01/fix-the-argument-types-edm-guid-and-edm-string-are-incompatible-for-this-operation.aspx</link><pubDate>Mon, 01 Nov 2010 19:26:19 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7635420</guid><dc:creator>Ken Cox [MVP]</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/kencox/rsscomments.aspx?PostID=7635420</wfw:commentRss><comments>http://weblogs.asp.net/kencox/archive/2010/11/01/fix-the-argument-types-edm-guid-and-edm-string-are-incompatible-for-this-operation.aspx#comments</comments><description>This one had me going for a while until I found the tip in Julie Lerman’s essential book,&amp;#160; Programming Entity Framework, 2nd Edition . In my ASP.NET 4 project, I create an Entity SQL query to look up a GUID. I cast the GUID as a string and wrap it...(&lt;a href="http://weblogs.asp.net/kencox/archive/2010/11/01/fix-the-argument-types-edm-guid-and-edm-string-are-incompatible-for-this-operation.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7635420" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/kencox/archive/tags/Community+News/default.aspx">Community News</category><category domain="http://weblogs.asp.net/kencox/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/kencox/archive/tags/Entity+Framework/default.aspx">Entity Framework</category><category domain="http://weblogs.asp.net/kencox/archive/tags/.NET+4.0/default.aspx">.NET 4.0</category><category domain="http://weblogs.asp.net/kencox/archive/tags/asp.net+4/default.aspx">asp.net 4</category></item><item><title>Windows Phone 7 and Simulation Sickness</title><link>http://weblogs.asp.net/kencox/archive/2010/10/23/windows-phone-7-and-simulation-sickness.aspx</link><pubDate>Sun, 24 Oct 2010 03:43:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7631752</guid><dc:creator>Ken Cox [MVP]</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/kencox/rsscomments.aspx?PostID=7631752</wfw:commentRss><comments>http://weblogs.asp.net/kencox/archive/2010/10/23/windows-phone-7-and-simulation-sickness.aspx#comments</comments><description>From the reviews - and my experience developing a tiny app on the emulator - Windows Phone 7 is looking good as another .NET platform. Unfortunately, the touted WP7 interface exacerbates simulation (motion) sickness. It’s like (but not nearly as bad as...(&lt;a href="http://weblogs.asp.net/kencox/archive/2010/10/23/windows-phone-7-and-simulation-sickness.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7631752" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/kencox/archive/tags/Community+News/default.aspx">Community News</category><category domain="http://weblogs.asp.net/kencox/archive/tags/.NET/default.aspx">.NET</category><category domain="http://weblogs.asp.net/kencox/archive/tags/WP7/default.aspx">WP7</category><category domain="http://weblogs.asp.net/kencox/archive/tags/Windows+Phone+7/default.aspx">Windows Phone 7</category></item></channel></rss>
