I can add any additional parameters to every ASP.NET MVC Method and MVC just ignore this parameters. The problem is that Google mark such pages as duplicate content. For example:
public ActionResult Index()
if I add link this this page like http://example.com/?abc=123 it is a duplicate content for Google. Is there any way to avoid this with ASP.NET MVC and allow only existing parameters?
Well you could use the Request object to cycle through the query string and throw an error if there is something there that you don’t want like so:
However, that this happens is really just a fact of the web and I don’t think you should worry about it. If you are concerned about it then just don’t create links to pages on your site with invalid parameters.