RCSI is not something you get from typing too much, it's a setting in MS SQL Server that is disabled by default. Arguably it shouldn't be. It stands for Read Committed Snapshot Isolation and when enabled means that you can select data from the database with less risk of locks and also know that the data you're getting was accurate when you started the request.
I enabled it after we we started to see a lot of failed transactions in the logs due to timeouts on requests for locked resources. The thing that confused me was the locks were being taken out for transactions that were only doing … more
I went to visit my friend Zoë at her stained glass studio in Leeds. Zoë designs and makes beautiful stained glass windows and has done installations in Leeds and all over Yorkshire.
She was running a glass fusing workshop teaching you how to design and make a glass placemat. My design is of a duck (I'm a bit obsessed with ducks at the moment, but I'll probably get over it). I spent some time getting my design right on paper first before tracing that onto the glass. There are two laters of glass that get melted together in the kiln. There are lots of options of which layer of glass … more
As a developer I have a lot of different types of Windows Services installed on my computer for the different projects I work on. Services like MS SQL Server Express, MS SQL Server, IIS, MSMQ and MySQl.
I don't use all of them all of the time, but I would normally leave them running because I couldn't be bothered trawling through all of the services in Services Manager to stop and start them. Having them running all the time made my computer take longer to startup and I felt like it was slowing it down generally and stealing battery power.
So I created My Windows Services Panel as a way to … more
NHibernate Search is an extension to NHibernate that uses Lucene to give you full text search using Lucene under the hood. It also makes using Lucene in your .NET app easier than using Lucene.NET directly.
Lucene only indexes text on a document in a flat key-value structure. Bridges are used to turn properties on your indexed documents into text.
NHibernate Search comes with bridges for common types such as enum, but you can also write your own. This is an example of a bridge that turns a Dictionary property on your indexed objects into a set of properties on the lucene document. It only … more
When submitting your awesome app to the iOS App Store you need to provide screenshots for all the iPhone/iPod/iPad screen sizes. In itunes connect they're labeled by the inch size of the screen, but this doesn't help you know which simulator to fire up. So, here's a handy table of all the portrait screen sizes:
3.5 inch (4s) 640×960
4 inch (5, 5s) 640×1136
4.7 inch (6) 750×1334
5.5 inch (6+) 1242×2208
It's also worth knowing that although you can update your app description after submitting the app, you can only update your screenshots with a full new app … more
The Xamarin.Forms Application base class has a Resources property that you can use to share a resource dictionary accross all pages of your app. If your app was created before Xamarin.Forms 1.4 you'll need to make sure you update and make your main App class inherit from the new Application class.
If you like to do everything in code rather than XAML then you can create a ResourceDictionary in the constructor of you App class:
public class App : Application
Resources = new ResourceDictionary();
Resources.Add("ForegroundThemeColor", … more
If you're interested in finding out more about Xamarin Forms you may find the following interesting:
Free eBook: Creating Mobile Apps with Xamarin.Forms by Charles Petzold (Preview edition)
Video: Creating your first Xamarin.Forms App (Xamarin Evolve 2014)
Video: Xamarin.Forms is Even Cooler Than You Think (Xamarin Evolve 2014)
Video: XAML for Xamarin.Forms (Xamarin Evolve 2014)
Video: Extending Xamarin.Forms with Custom Controls (Xamarin Evolve 2014)
As a fun Christmasy project I've made a simple Advent Calendar for Windows 8. It comes with awesome illustrations from my good friend Hexjibber and is the prefect way to count down the days till Christmas.
Get this awesome Advent Calender now from the Windows Store.
Enjoy and have a happy Christmas! more
The DDD North Agenda App using Xamarin.Forms. The same UI and backend code is shared accross all versions. The design is inspired by the Xamarin Evolve App. The app checks when it starts to see if it has the latest agenda, so it will always be ready for DDD.
You can find the app here:
Windows Phone DDD North Agenda App
iOS DDD North Agenda App
Android DDD Agenda App
The source code for this app is available online on GitHub: Xamarin.Forms Agenda App Source Code. Suggestions, Forks and Pull Requests welcome.
Kevin Costner’s film ‘Field of Dreams’ is responsible for more startup failures than any other Holywood film ever created. In this film Ray Kinsella, a farmer played by Kevin Costner has a vision (AKA great idea), digs up his crop of corn and builds a baseball field in the middle of nowhere on the promise that ‘if he builds it, he will come’. Low and behold after some tense moments a famous dead baseball player turns up and eventually car loads of people turn up to watch baseball. So, it turns out, that if you build it, they will come. What the film fails to show … more