Welcome to MSDN Blogs Sign in | Join | Help

UK Application Development Consulting

Your dev. Our passion.

Browse by Tags

All Tags » Josh Twist   (RSS)
Silverlight out-of-browser and initParams
Silverlight 3 supports a very cool 'deployment model' where you can run the Silverlight Application 'out-of-browser' (OOB) and kick it off from your start menu. It even works offline. This is the future, get to like it. However, because the plug-in is Read More...
.NET Naming Conventions
I often get asked about the Naming Conventions I adhere to when writing code (C#, naturally). It made sense to share these in a blog post so I can refer to it in future. Some of these guidelines (well, one, the underscore on private fields) are negotiable Read More...
Improving Performance of images used with 3D
I've been working on some 3D using WPF and was making heavy use of some largish (around 1 megapixel) images with ImageBrushes applied to DiffuseMaterials. Naturally, being WPF there was some animation thrown in for good measure to make sure I'm working Read More...
And now for something completely crazy: Binding without WPF
I was struggling with a rather complex ViewModel (from Model-View-ViewModel or MVVM) that was actually composed of a number of ViewModels. Most of the problems was internal notification of change - i.e one ViewModel wanted to know when another ViewModel Read More...
ADC Josh Twist announced as a finalist in the UK IT Industry’s Developer of the Year Awards
Our very own Josh Twist has been announced as a finalist in the British Computer Society  (BCS) and Computing magazine’s annual UK  IT Industries awards . Nominated in the System Developer of the Year category Josh has been selected as one of Read More...
Using base types in WCF
I was recently asked if it's possible to expose a base type (maybe an abstract class or interface) as a parameter in a WCF operation and allow different types to be specified when invoked. Unsurprisingly, the WCF guys thought of this and included some Read More...
Microsoft Tag
The idea of reading a 'bar code' using your camera phone isn't entirely new, but the capabilities of Microsoft Tag blew me away when I saw a colleague had embedded their contact details into a tag itself that he used in the signature of his e-mail. I Read More...
Measuring the x,y distance between two elements in Silverlight
This is a useful thing to know if you ever want to do anything funky with Silverlight layout (for example, create an HtmlHost control that floats an iframe in exactly the right place over the plug-in): Point point = element2.TransformToVisual(element1).Transform( Read More...
Development Foundation Assessment at Devweek
I've been working with some colleagues in my team on something we're calling the Development Foundation Assessment, or DFA . The DFA is a short test that takes about 10 minutes or so and aims to assess your 'basic health' as a software development team Read More...
WPF Quick Tip: Converters as MarkupExtensions
Everybody's gotta love their IValueConverters, right? And not forgetting IMultiValueConverters too. However, they're a bit of a pain when it comes to Xaml. I hate having to wonder all the way up to the resources section(!), create my converter, think Read More...
Cracking an XPS in WPF
I recently pondered on the best way to convert a page into word document into a high-res image (don't ask). Some colleagues suggested a bunch of print based solutions that act as printers and write to an image ( FinePrint is one such example). However, Read More...
Using .Select() instead of foreach
As astute colleague noticed something funny in my recent post . Specifically, this piece of code: postsWithCount.AsEnumerable().Select(pd => Rebuild(pd)); private void Rebuild(PostData postData) { Post post = postData.Post; post.User = postData.User; Read More...
Creating reusable Entity Framework queries thanks to deferred execution
With all the shenanigans that are now going on in my queries (see Sub-selects in code with the Entity Framework , Projection blows includes in Entity Framework and Sorting associations in the Entity Framework ) it became important to follow the DRY (Don't Read More...
Introducing Ukadc.Diagnostics
"Great logging, terrible name" Long time readers of this blog are probably aware that I'm a big fan of logging and instrumentation. The keen eyed of you may have even spotted the subject of this post in my recent post Xaml for config . The clue was the Read More...
My new favourite Resharper features
I've always known Resharper could improve my productivity but I've just not found the time to invest using it properly yet. I blogged recently about Explore Stack Trace and I'm starting to think of Resharper as an essential piece of kit rather than a Read More...
More Posts Next page »
Page view tracker