Unveiling Microsoft LightSwitch

Microsoft has just unveiled LightSwitch, a tool for developing business applications without having to touch the code. Jason Zander provides an excellent introduction on his site.

There will be a template for C# and VB. At first glance, the generated application seems to run on WPF for the Desktop version, and probably Silverlight or XBAP for the web version.

The beta will be available on August 23rd.

Stay tuned

How to Create Your StyleCop Rules

StyleCop is a free tool from Microsoft that allows you to check the style of your code (or others’). Additionally, StyleCop is now available as Open Source (on Codeplex), so I strongly recommend looking at the default rule implementations to help you create your own.

Create Your Rules

Here are some steps to create your custom StyleCop rules:

  • Install the latest version of StyleCop
  • Download the SDK of StyleCop (documentation .chm file)
  • Start Visual Studio
  • Create a new project of type “Class Library”
  • Add the following references - Microsoft.StyleCop - Microsoft.StyleCop.CSharp - Microsoft.StyleCop.CSharp.Rules

StyleCop_SolutionExplorer

[Read More]