dimanche 19 février 2017

Getting full request url - ASP.NET MVC

I have request to server like : "http://localhost/?asdhkjashdaskjdhqwehw".

And my Action :

public ActionResult Index()
{
     stringUrl = ;
     return RedirectToAction("Index","Home");
}

I want to get string : "asdhkjashdaskjdhqwehw" in Action Index.

Aucun commentaire:

Enregistrer un commentaire