System.InvalidOperationException'

Using Dispatcher to update values in GUI elements from a background thread

If you’re developing something like a WPF app and you need to update values on the User Interface based on a long-running operation that runs in a background thread (like depicted in my other blog post right here – that post is for a full-trust SharePoint solution, but the basic principle is the same!). yOU probably need to use Dispatcher, or otherwise, you’ll run into issues with the GUI elements being…Continue reading Using Dispatcher to update values in GUI elements from a background thread

Stock photo from pixabay.com

The simplest way to create a thread on SharePoint

This post describes the easiest (probably) and most straightforward way of creating a new Thread in your SharePoint (or any other .NET) server-side/desktop code. Solution Let’s face it – one should not create new Threads lightly when developing SharePoint solutions, but sometimes it is difficult to avoid. Or sometimes it’s just the simplest way to get around weird framework limitations. Posts Related to “The simplest way to create a thread…Continue reading The simplest way to create a thread on SharePoint