This post is using the CSAH Visual Studio plugin. I like it for the following reasons:
Lets try it, select some code in Visual Studio, right click Copy as HTML. ALT-TAB to Live Writer, right click select Paste Special. Select Keep Formatting, OK. It keeps all the formatting info inline, so it should work in RSS aggregators.
/// <summary>
/// Gets or sets the data dictionary reference.
/// </summary>
/// <value>The data.</value>
protected IDictionary Data
{
get
if (IsWeb)
return HttpContext.Current.Items;
}
else
LocalDataStoreSlot slot = Thread.GetNamedDataSlot(DataKey);
return (IDictionary) Thread.GetData(slot);
Powered by: newtelligence dasBlog 2.1.8102.813
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2012, Shawn Neal
E-mail