LINQ "Take" Discrepancy (Equivalent to Select Top N From Table)

Today I was looking to reduce the number of records returned in a Database call that looks for User Activity.  My original code looked like this             Dim Activity = (From al In user.ActivityLogs                         ... [More]

Currently rated 5.0 by 6 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: rockinthesixstring
Posted on: September 06, 2010 at 5:08 PM
Tags:
Categories: Database, LINQ, 4.0 Framework , Visual Basic

Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

DotNetShoutOut WebDevVote DotNetKicks ReddIt
shout it on DotNetShoutOut.com vote it on WebDevVote.com kick it on DotNetKicks.com submit to reddit

MVC ActionFilterAttribute for managing web crawlers (Google, Bing, Yahoo!)

I was perusing StackOverflow's source markup today when I came across a genius "feature" that I just had to add to my own project. If you make your way over to the http://stackoverflow.com/robots.txt file, you'll see that their sitemap is located at http://stackoverflow.com/sitemap.xml, how... [More]

Currently rated 5.0 by 6 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: rockinthesixstring
Posted on: August 23, 2010 at 1:30 AM
Tags:
Categories: 4.0 Framework , AspNet, MVC

Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

DotNetShoutOut WebDevVote DotNetKicks ReddIt
shout it on DotNetShoutOut.com vote it on WebDevVote.com kick it on DotNetKicks.com submit to reddit

(Visual Studio Macro) - Add Copyright Header to all .cs or .vb code files

Today I decided that I wanted to add a "copyright" header to all of my code files automatically.  After a little bit of digging around I came up with a pretty simple solution. The first step is to create a Macro        Tools  >>  Macros&nb... [More]

Currently rated 5.0 by 6 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: rockinthesixstring
Posted on: July 05, 2010 at 7:29 PM
Tags: , ,
Categories: Macro, Visual Studio

Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

DotNetShoutOut WebDevVote DotNetKicks ReddIt
shout it on DotNetShoutOut.com vote it on WebDevVote.com kick it on DotNetKicks.com submit to reddit

MVC2 - Separating Concerns with Service and Repository Layers

So after another bout of neglect on this blog, I've decided it's about time for an update.  I've just recently taken the leap into MVC on my latest project, and I have to say that I'll never EVER go back to Web Forms.  The cleanliness and separation on concerns is so sweet that it ma... [More]

Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: rockinthesixstring
Posted on: July 04, 2010 at 6:56 PM
Tags: ,
Categories: Database, LINQ, 3.5 Framework, 4.0 Framework , MVC

Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

DotNetShoutOut WebDevVote DotNetKicks ReddIt
shout it on DotNetShoutOut.com vote it on WebDevVote.com kick it on DotNetKicks.com submit to reddit

Easiest Mobile Browser Detection EVER!

I was trying to do browser detection today, and came across the easiest tool ever.  Thanks to MDBF on Codeplex, mobile browser detection is as easy as 1,2,3. Download the ZIP Drop the "mobile.browser" into your "~/App_Browsers/Mobile/" directory Use the code below to ch... [More]

Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: rockinthesixstring
Posted on: March 12, 2010 at 4:57 PM
Tags: ,
Categories: Platforms, iPhone iTouch

Post Information: Permalink | Comments (11) | Post RSSRSS comment feed

DotNetShoutOut WebDevVote DotNetKicks ReddIt
shout it on DotNetShoutOut.com vote it on WebDevVote.com kick it on DotNetKicks.com submit to reddit

RadGrid with Custom Paging / Sorting / Filtering

I've been looking at this task for some time now, thinking that it's going to be a challenge to implement.  I needed to be able to utilize Custom Paging on my RadGrid while still being able to enable sorting and filtering. Now that my HealthMonitor table is grown to 1000's of records (... [More]

Currently rated 3.9 by 12 people

  • Currently 3.916667/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: rockinthesixstring
Posted on: March 07, 2010 at 9:05 PM
Tags: ,
Categories: Telerik

Post Information: Permalink | Comments (5) | Post RSSRSS comment feed

DotNetShoutOut WebDevVote DotNetKicks ReddIt
shout it on DotNetShoutOut.com vote it on WebDevVote.com kick it on DotNetKicks.com submit to reddit

ASP.NET Membership "Remember Me" That Actually Works

For those of you who have come up against this problem in the past, I have discovered a pretty simple solution on how to make the "Remember Me" feature in the ASP.NET Membership Provider actually work. For quite some time I have been simply dragging and dropping the "Login" control onto a page an... [More]

Currently rated 3.8 by 4 people

  • Currently 3.75/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: rockinthesixstring
Posted on: January 11, 2010 at 4:16 PM
Tags: , ,
Categories: DotNet, AspNet, General, Membership

Post Information: Permalink | Comments (12) | Post RSSRSS comment feed

DotNetShoutOut WebDevVote DotNetKicks ReddIt
shout it on DotNetShoutOut.com vote it on WebDevVote.com kick it on DotNetKicks.com submit to reddit

Just For Fun - Robots.txt from IHttpHandler

 I don't know if this much matters to you, but I prefer to not clutter my root directory with a whole tree of files. So today, just for fun, I decided to move my Robots.txt file over to an IHttpHandler. If you're like me and you don't like staring at unnecessary files...OR for some reason you ... [More]

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: rockinthesixstring
Posted on: October 03, 2009 at 11:30 PM
Tags: , ,
Categories: AspNet, XHTML, HttpHandlers

Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

DotNetShoutOut WebDevVote DotNetKicks ReddIt
shout it on DotNetShoutOut.com vote it on WebDevVote.com kick it on DotNetKicks.com submit to reddit

Great project designs for developers who don't design - 99designs.com

If you're anything like me, you would prefer to stare at a Visual Studio screen over a Photoshop screen.  I admit that I have done some design work, and I'd even go as far as to say that I'm probably not all that bad... That being said, there are other people out there who dedicate their professiona... [More]

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: rockinthesixstring
Posted on: August 18, 2009 at 9:33 AM
Tags: ,
Categories: Design

Post Information: Permalink | Comments (2) | Post RSSRSS comment feed

DotNetShoutOut WebDevVote DotNetKicks ReddIt
shout it on DotNetShoutOut.com vote it on WebDevVote.com kick it on DotNetKicks.com submit to reddit

URL Rewriting Made Easy Part 2 (Extensionless URL's IIS7 and URLReWritingNet)

Hey Everyone. It's been a while since I have posted, so I though I would post another URLRewriting blog for those of you who want to use Extensionless URL's without any hastle. I was "playing" with a client's site today cause I had already implemented URL Rewriting, but I felt like trying t... [More]

Currently rated 5.0 by 3 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: rockinthesixstring
Posted on: August 05, 2009 at 11:35 PM
Tags: , , , , , , , , ,
Categories: IIS7

Post Information: Permalink | Comments (20) | Post RSSRSS comment feed

DotNetShoutOut WebDevVote DotNetKicks ReddIt
shout it on DotNetShoutOut.com vote it on WebDevVote.com kick it on DotNetKicks.com submit to reddit