Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Application Development   (RSS)

SYSK 365: How to get your unit tests (test project in Visual Studio 2008, a.k.a. MSTest) run multithreaded

If you want to test code that requires an MTA threading model (e.g. the code being tested uses WaitHandle.WaitAll), you need to change the .testrunconfig file manually and change the threading model from STA to MTA. There are other posts that say for
Posted by irenak | 2 Comments

SYSK 363: ‘Software is not made of bricks’ by Ragan Wald

I recently came across this gem http://weblog.raganwald.com/2007/08/bricks.html -- strongly recommended! Here are the section titles to whet your appetite: · Software is not made of bricks · Assumption: it’s all about moving bricks · Software is more
Posted by irenak | 2 Comments

SYSK 362: The cost of try/catch

Since I’m still coming across a lot of conflicting recommendations on the “best practices for structure exception handling” (including those coming from different folks from Microsoft), I decided to write a blog post on the topic. So, what are the benefits
Posted by irenak | 4 Comments

SYSK 361: On the importance of signing assemblies from the versioning perspective

There are many reasons for signing your assemblies (security being at the top of my list), but in this post I’d like to address the importance of using a key to sign your assemblies from the versioning point of view. Now, let’s assume for the sake of
Posted by irenak | 1 Comments

SYSK 359: How to Purge Workflow Tracking Data Inserted By SqlTrackingService

To my great surprise, after doing a search for a script that would delete the events logged by the almighty SqlTrackingService service, I didn’t find one… So, I quickly created it (see below), and it seems to do the job just fine given the current table
Posted by irenak | 1 Comments

SYSK 358: Run Rules Automatically When an Event Is Triggered

Imagine this: you’re writing a custom user control and you’d like to execute a WWF ruleset when a certain event happens, e.g. a data context changes. Of course, you could create a delegate for the event and write a few lines of code to validate and execute
Posted by irenak | 1 Comments

SYSK 356: How To Execute A Workflow Synchronously Without waitHandle.WaitOne()

Consider the following code snippet frequently found in sample applications, code snippets and published articles: using ( WorkflowRuntime wr = new WorkflowRuntime ( "WorkflowRuntimeConfig" )) { wr.StartRuntime(); using (System.Threading. AutoResetEvent
Posted by irenak | 2 Comments

SYSK 355: Design and Coding Guidelines for Better User Interfaces

If you’re developing the front end, the user tier of applications, you may be interested in the following 81 rules for better user interfaces published by SSW -- http://www.ssw.com.au/ssw/Standards/Rules/RulesToBetterInterfaces.aspx . Special thanks to
Posted by irenak | 1 Comments

SYSK 353: What’s New in "Orcas" (next version of Visual Studio)

This is first in the series of small posts about new features in Orcas… 1. Orcas can be installed and will run side-by-side with Visual Studio 2005 (even with the beta 1 release currently available) 2. You can use Orcas to create projects (i.e. target)
Posted by irenak | 6 Comments

SYSK 352: Windows Workflow Foundation Runtime Footprint

After seeing presentations that assert that “Workflow runtime is lightweight” and not finding any concrete numbers to support that claim I decided to do some of my own profiling. Here is what I’ve done, measuring memory utilization after every step (the
Posted by irenak | 1 Comments

SYSK 351: "Agile Development: Fact or Fiction" by Matthew Hotle

While this article is not new (was published in October 2006), and you can purchase it from http://www.gartner.com/DisplayDocument?id=497386&ref=g_sitelink , I thought it might be of value to quote (and paraphrase) a few key points: 1. “In most successful
Posted by irenak | 0 Comments

SYSK 348: InvokeRequired No More…

By now, we all have learned to call Control.InvokeRequired to avoid the following error when updating UI from another thread or calling other apartment threaded objects that expect to be called on a thread they were created on: The calling thread cannot
Posted by irenak | 2 Comments

SYSK 346: How WPF Commands Make Programmer’s Life Easier

Yesterday, I came across the following example demonstrating the power of WPF commands written by Adam Nathan and published in his book “Windows Presentation Foundation Unleashed” (I’ve made some small formatting changes): < Window x:Class = " WPFWinApp.Window1
Posted by irenak | 0 Comments

SYSK 344: Learning WPF – What Are All These PreviewX Events?

Did you notices that there are a lot of events that start with word ‘Preview’, and all of them seem to have a “buddy” event with same name but without the ‘Preview’ prefix? For example, the following paired events are defined by the System.Windows.Window
Posted by irenak | 0 Comments

SYSK 342: Learning WPF – Logical and Visual Element Tree

Whether you’re dealing with routed events or trying to figure out why your styling is not working quite as expected, you’ll need to understand these two new concepts in WPF… So, here it goes… Consider the following XAML: < Window x:Class = " WPFWinApp.Window1
Posted by irenak | 0 Comments
More Posts Next page »
 
Page view tracker