BradVin's .Net Blog
Code, snippets, controls, utils, etc. Basically all things .net <p><a href="http://feeds.feedburner.com/BradVinsDotNetBlog"><img src="http://feeds.feedburner.com/~fc/BradVinsDotNetBlog?bg=660033&fg=FFFFFF&anim=0" height="26" width="88" style="border:0" alt="" /></a></p>
-
Squashing the asp.net MVC response - part 1
The goal of this post : reduce the total size of a simple asp.net MVC page response.
Our measuring tools : Firefox running Firebug and the YSlow plugin
Source Code : Download here -
LINQ Cheat Sheet
A while ago when I was learning LINQ I searched the web for a 'cheat sheet'. I needed a single document that covered most of the common scenarios w.r.t LINQ so that I would not need to google every time I was writing LINQ queries. I found one very good one : http://aspnetresources.com/blog/linq_sqo__cheat_sheet.aspx . But I wanted more (as usual) so I created my own. I was also new to lambda expressions and I wanted to learn the differences between syntax in a LINQ query written in 'query syntax' and 'lambda syntax' so I also included that as part of my cheat sheet. Every query is given in both syntaxes. Here is a screenshot:
-
C# 3.0 Code Snippets
A friend of mine found an excellent resource that I just had to share. It contains code snippets of examples of all the new features within C# 3.0. They are all taken from the book 'C# 3.0 in a Nutshell'. It looks like an excellent book for anyone wanting to learn the new features.
-
Helper Class : QueryString Builder (chainable)
If you are a web developer you would definately have worked with the querystring. Most of the time you are just getting values from the querystring or adding querystring values to url's, but in some cases the querystring can really become a hassle to work with. A simple example of this can be seen in the following scenario :
-
(Better) JQuery IntelliSense in VS2008
UPDATE : James Hart has an excellent post about jQuery 1.3 intellisense - you must check it out!
-
Creating vCalendars programmatically in C#
Have you ever wanted to send out meeting requests from your code? Well I wanted to do just that today. And I didnt want to reference the Outlook dll's. I simply wanted to send an email to an attendee's email address.
-
UberUtils - Part 5 : Configuration
ÜberUtils Series posts so far :
-
UberUtils - Part 4 : Collections
ÜberUtils Series posts so far :
-
Creating Extension Methods and Testing Them in VS2008
I wrote a beginners article on how to create your own extension methods in .NET 3.5 and then how to go about testing them using new built-in features in VS2008. Please go read the article at the Code Project : http://www.codeproject.com/useritems/ExtensionUnitTests.asp.
-
ÜberUtils - Part 3 : Strings
ÜberUtils Series posts so far :