I'm currently developing an ASP.NET MVC application with a ton of PK-FK relationships in the database. In the beginning of development, the team I WAS working with voted against my recommendation to use INTs for all PKs... they decided to use GUIDs.
Long story long... the team has split ways, and now I have control to change things... I switched from WebForms to MVC and I would like to convert all of the Guids to Ints... I hate the ugly URL's like "Http://MyApp.com/Controller/Action/13cd6abc-8555-498a-ad7d-f060aace6d76 YUCK!! Plus the overhead involved in indexing guids... plus it probably doesn't help my Linq to Entities model.
Using SQLServer 2008, ASP.NET MVC 2, Linq to Entities (Entity Framework)
Anyone know a quick way to convert those pesky guids into ints?