title: ASP.NET MVC Update Address Bar With Ajax Link
body: <p>I'm trying to create an ajax-driven gallery where each photo in a sequence is loaded with an <code>Ajax.Actionlink</code>.</p>
  
  <p>The user can get to any given photo by passing a parameter to the action method, eg: <code>Gallery/Index?photo=100</code></p>
  
  <p>The problem is that when the user is cycling through photos with the <code>Ajax.Actionlink</code>'s the URL is no longer being updated (the way it would be during normal post-backs) so they can't copy paste from the address bar to get back to a photo.</p>
  
  <hr>
  
  <p>My question is: what is the best way to solve this issue in ASP.NET MVC?  One thing I was thinking of was updating the address bar with hashtags, but frankly I don't know if this is a good approach.</p>
  
  <p>I could use some best-practice advice on how to solve this problem. Any suggestions would be much appreciated, thank you.</p>