Something I came across that I never knew was possible was that you can put c# code inline in a XAML file in a WPF app (I assume this would work in Silverlight as well). Not that you would ever want to do this, but sometimes you just need those geek points!
Make a WPF application, in the XAML file put the following…
<Grid>
<Button x:Name="button1" Click="button1_click">test</Button>
<x:Code>
void button1_click(object sender, RoutedEventArgs e)
{
button1.Content = "Inline Code Works!!";
}
</x:Code>
</Grid>
There you go, plain old code inline in a XAML file, I like to call this UTCC approach, better known as ultimately tightly coupled code.
It has been a while now since I moved over to Git. So far out of all the SCS’s that I have used, this has been the least painful and the most enjoyable. For those of you looking for a team approach for using Git, I suggest you read the following post…
http://nvie.com/posts/a-successful-git-branching-model/