Windows Live Writer + Code Snippet Plug-in = Happy blogging
If you are a avid blogger, and haven’t heard of Windows Live Writer (WLW) then you are living in a cave, can you think of any of those Geico ads :)
For example think of an email editor, where you longer need to connect to email provider site, depend on internet connectivity to write email (offline support) and work with the WYISIWYG editors.
WLW allows you to write blog posts which can be seamlessly published, updated and deleted from the blog and has lots of options for formatting
The true power of the WLW comes from the support for Plug-ins and I totally love this code snippet downloadable from CodePlex.
Code sample (c#)
public static void ValidateLoss(LossEntity loss, Result result)
{
if(!HasChildCollections(loss,result))
{
return;
}
CheckHeader(loss, result);
}
Nice isn’t it !!