Browse by Tags
All Tags »
C# (
RSS)
I’ve learned from a fellow GASP er of the release of Microsoft Source Analysis for C# (aka StyleCop) . It’s still a work in progress but it’s already very useful.
Note: Code in italics is not actual C# 3.0 syntax. Local Variable Type Inference C# 3.0 brought us local variable type inference mainly because of LINQ . The output of a query can vary from an IEnumerable<T> or an IQueryable<T> to a single...
Like I said before , this as been on the back of my mind for a while. A while back I introduced a way to get the MethodInfo of a method in a strongly typed way using LINQ , and that's how I'm going to make Reflective Mocks more Natural . Well, it's as...
With IIS7 a new transfer method is available in the HttpServerUtility class . It's the TransferRequest method . What this method is intended to do is behave like the HttpResponse.Redirect method without the penalty of traveling to the client and back...
If you want to see how you can use Page Modules and its benefits, read this .
From my article on Page Modules some people might have gotten the wrong impression that this would be the only way to get a reference to the page given its path, but it isn't. You can use the System.Web.UI.PageParser.GetCompiledPageInstance method to...
From the need to handle events in every rendered page and not wanting to pay the penalties (network usage and server load) of frequent client redirects, I came up with the concept of Page Modules. Read all about it.
More Posts