Archive for the '.Net' Category

Visual Studio Doesn’t Auto-Generate Code-Behind for XAML file

If you have a XAML file in a Visual Studio project, but for some reason, Visual Studio won’t auto-generate the code-behind for the XAML then make sure that the following line is in inside the <Project> tag of your project file:

<Import Project=”$(MSBuildBinPath)\Microsoft.WinFX.targets” />

The C# versus VB.Net debate in a Slightly Different Light (I Hope)

The C# versus Visual Basic.Net debate has been an ongoing one since the inception of the .Net languages.

Let me start off by saying that I am not so much concerned with the language/syntax itself as with how quickly I can finish my project using that language, and how good the code is afterward. I recently read a great quote: “Programmers don’t like to code, they like problem solving.” I could not agree more.
From a purely language/syntactical perspective, I can save you the trouble of reading this and tell you that it’s purely