Jim Jackson
<p>Character Counts.<br>Do the right thing.
-
New Blog
So if anyone is still following me (what the heck were YOU thinking?) you can continue to my new blog. It's a Wordpress site hosted with an ASP.NET provider so it's a little slow but I plan to transition it to Azure some time soon.
-
Entity Framework 4 and “New transaction is not allowed because there are other threads running in the session” Exception
I’ve been working through a server-side process with Entity Framework wherein an uploaded file must be updated after initial entry. I have a multi-stage process that goes out to multiple other affinity web services to get complimentary data. Here is code phase 1:
-
Uploading a File to SQL Server via Silverlight, WCF and EF
ü Upload individual large files to SQL Server 2008
-
SQL 2008 Geography - Combine Data Points into a Geography Line
I have encountered many instances where having the decimal values for coordinates in a line is more useful than the having the Geography value for that same line. Likewise, in some instances a Geography value is more appropriate. Here is what I mean:
-
Entity Framework ObservableCollection Add Method - Unexpected Behavior
The documentation for Collection<T>.Add specifically states that when calling the Add method, the new item is appended to the end of the collection. This is not necessarily true. I haven't tested it in all it's incarnations yet but it appears to be adding to the beginning (index 0) of my collection.
-
Using the BackgroundWorker in a Silverlight MVVM Application
With Silverlight 4 and the Entity Framework you get a lot of work done on your behalf in terms of standard UI CRUD-style operations. Validations and I/O are pretty easy to accommodate out of the box. But sometimes you need to perform some long running tasks either on the client or on the server via service calls. To prevent your UI from hanging and annoying your users, you should consider placing these operations on a background thread. The BackgroundWorker object is the perfect solution for this. It is easy to use and easy to debug. There are, however, a few things you should understand about where and when the BackgroundWorker can provide feedback and/or manipulate the UI. Spending a few minutes building out the sample listed here should give you the foundation you need to implement very complex, very responsive scenarios.
-
Silverlight Adventures - The Process So Far
I’m currently in the process of rebuilding my Silverlight application. The initial beta of this app was somewhat underwhelming in that the problems it solved were those I found most interesting, not necessarily those the beta testers were looking for resolutions to. So we head back to the drawing board, this time to build out something that benefits my users as well as provides me with exposure to real world problems that I may not encounter in my day job.
-
RIA Services - Iterate Items in EntityQuery Object
I’m trying to get EF working with SL3, SSL, RIA Services et al. It’s a long road and I know there are issues with any route you decide to take when building a business app in Silverlight 3. In building previous iterations of my little program I used straight WCF services and had issues with host headers when using SSL and the cross domain access file.
-
Good Documentation…
Getting nationalized health care:
-
Small Person, Big Life
My friends and a few work associates know some of the details of my last trip to China to adopt my second daughter. While there my first adopted daughter, then 4 years old, got mysteriously sick. Very very sick. My wife and I spent a lot of time and obscene amounts of money playing the Ugly American role and advocating for our child in a medical and political system not set up with any specific value placed on an individual life. I love the Chinese people (all of them) and the Chinese culture is a part of my life for the sake of my children but I’m still in 1969 when it comes to Communist governments…