JoshBlack

JoshBlack JoshBlack

Niner since 2009

Comments

  • 10-4 Episode 11: Bi-​Directional Routing with ASP.NET WebForms 4.0

    Do the new route tools help in moving from a site with identity keys (int) to text values. 

    products.aspx?pid=1
    becomes
    products/chairs/

    I guess it would be difficult to map all the number / string pairs as routes in a config file.  I assume they could be added programatically on application start.  They would have to be recreated if something was later added to the database?

    Or do you suggest moving away from passing the primary keys of database related objects and instead passing a unique string?