Hi i want to create mvc routing, i have seen some routing concept . can any one say how to implemnt

for example :1) http://sitename.com/controllername?paramname -invoke index method

2) http://sitename.com/controllername/method/paramname - invoke same controller having anohter method with the parameters pass tothe method.


we can use ? for getting parameter values else /(Slash) for the parameter values. i m confused with it , for seo we can use / ,if i use /(slash) how can i identify which is method and which is parameter. if the user call method in controller instead of the default method(index). how could i identify the parameter value.