Monthly Archives: June 2012

Modifying SSRS Report on Export

Recently a client asked to add a logo and disclamer to all reports. Well, reports are hosted in a custom portal, which already displays a logo and disclamer takes too much space.  Without thinking of consequences I expressed this oppenion and got stuck with implementing it. I thought that Export button in the ReportViewer toolbar [...]

Posted in Uncategorized | Leave a comment

Asynchronous

[DebuggerStepThrough] public static Task SimpleBodyAsync() { <SimpleBodyAsync>d__0 d__ = new <SimpleBodyAsync>d__0(); d__.<>t__builder = AsyncTaskMethodBuilder.Create(); d__.MoveNext(); return d__.<>t__builder.Task; } [CompilerGenerated] [StructLayout(LayoutKind.Sequential)] private struct <SimpleBodyAsync>d__0 : <>t__IStateMachine { private int <>1__state; public AsyncTaskMethodBuilder <>t__builder; public Action <>t__MoveNextDelegate;   public void MoveNext() { try { if (this.<>1__state == -1) return; Console.WriteLine(“Hello, Async World!”); } catch (Exception e) { [...]

Posted in Uncategorized | Leave a comment