ASP.NET MVC Route Validation and SEO

Recently I have been using the ASP.NET MVC framework for a project at work. And one of the requirements was that certain data inputed in to the URL be tightly verified. I originally thought that data was verified by the type specified in the ControllerAction, however I came to find out that it wasn’t. So if you have say a page number and the user enters a letter in the URL the application just proceeds on it’s marry way. For example on the Kigg site: ...

February 27, 2008 · 3 min · 621 words · Nick Berardi

What I Learned About MVC On Day One

I am really blown back about how fast and easy MVC is to develop with. I know the guys at Microsoft do a good job with their .NET coding, but I am really impressed by the forethought they put in to MVC. It builds on top of the standard ASP.NET package, but does it in such a way that makes it lean on top of the already feature-rich (read bloated) ASP.NET Page object. It really doesn’t feel like I have all that baggage anymore. ...

February 25, 2008 · 1 min · 165 words · Nick Berardi

Google Lets You "Chatback" With Your Visitors

As many of you may know I love Google Talk. I love it because of its light foot print both on my hard drive and when running in memory. I love the integration with all my Google services. And I love the flexibility that it provides. If you would like a copy of it, you can download it as part of the Google Pack. Or by it self from http://www.google.com/talk. However the Google Talk team just gave me another reason to love Google Talk. It now allows me to have direct conversations with my visitors with a simple click of the mouse on the chat bubble you see to your left. ...

February 25, 2008 · 2 min · 330 words · Nick Berardi

Nick Berardi's Essential Software for 2008

Every developer has their favorite tool collection that they must have in order to survive while developing software. The list below is indispensable in my day-to-day activities and that is why I am sharing it with my readers. My list was inspired by Scott Hanselman’s own list of tools that he uses. However I would be really interested to see what Scott’s actual list is since it would be almost impossible to touch each and every tool once a week as he claims. Because many of them serve the same purpose. ...

February 24, 2008 · 7 min · 1410 words · Nick Berardi

Best Practices for Production ASP.NET Applications

I would like to thank Kyle Beyer of Daptivate for putting this post together. This is a great resource for developers as well as server administrators. Some of what I think are the most critical steps for any production server I have pulled out below for your browsing pleasure. 1. Generate new encryption keys When moving an application to production for the first time it is a good idea to generate new encryption keys. This includes the machine validation key and decryption key as well as any other custom keys your application may be using. There is an article on CodeProject that talks about generating machineKeys specifically that should be helpful with this. ...

February 13, 2008 · 3 min · 596 words · Nick Berardi

Lotus Notes, AOL for the Corporate World

So today I was reading Jeff’s Post on The Dramatic Password Reveal, and I had a flash back, to about a year or more ago, when I was working for a large bank based out of Pittsburgh who shale remain nameless. The flash back was to the usability nightmare that Lotus Notes and Lotus Sametime provided to anybody that had to do a simple task such as sending an e-mail (or Memo in Lotus Notes terminology). I think Jeff summed it up nicely and probably let Lotus Notes off a little easy by calling it a a massive train wreck. ...

February 12, 2008 · 4 min · 767 words · Nick Berardi

LINQ Cheat Sheet

This cheat sheet was compiled by Milan Negovan at http://www.aspnetresources.com/. It is very handy and I recommend everybody download it and print it out. Download: LINQ Cheat Sheet Document

February 11, 2008 · 1 min · 29 words · Nick Berardi

How To: Change Instance Name Of SQL Server

Recently I change the network name of one of my servers at work, because the box changed its job from a virtual machine server to the database server. Everything was going great until I decided to setup the server for replication and received the following error message. New Publication Wizard SQL Server replication requires the actual server name to make a connection to the server. Connections through a server alias, IP address, or any other alternate name are not supported. Specify the actual server name, ‘old_name’. (Replication.Utilities) OK So with a little hunting and SQL queries I found out that SQL Server doesn’t use the network name, it only excepts that as an alias. My SQL Server instance was still named “old_name”. I found that out by running these two queries: ...

February 11, 2008 · 2 min · 288 words · Nick Berardi

How to use the .NET URL Rewriter and Reverse Proxy to run WordPress on IIS

First off I would like to say that many of my readers are very intelligent, they picked up on a one line sentence in my last post about my new design and Coder Journal switching from Linux to Windows. I also moved hosts from GoDaddy’s shared Linux hosting. To GoDaddy’s virtual dedicated hosting on Windows. This proved difficult since URL Rewriting isn’t currently built in to IIS 6.0 like it is in Apache. I will talk a little about this setup in a later post. ...

February 10, 2008 · 6 min · 1137 words · Nick Berardi

Allow More Than One Remote Desktop Login Connection On GoDaddy's Virtual Dedicated Server's

Ever have one of those days where you are so eager to get home and watch Lost that you totally forget to log out of your Remote Desktop instance? Well I have, and usually it is not a big deal, because Windows Server Terminal Services allows you to have multiple logins with the same user account. Unless you are running on GoDaddy Virtual Dedicated server, where the default configuration only allows one connection. ...

February 7, 2008 · 2 min · 348 words · Nick Berardi