KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to post some questions about ASP.Net MVC . I am not familiar with web developing, But I was assigned to the web part of a project. We are doing the following: first, we create get & set properties for the person data: public class Person { public int personID {get;set;} public string personName {get;set;} public string nric {get;set;} } and after login, we put the data in a class Person object and we use RedirectToAction like this: return RedirectToAction("profile","person",new { personID = Person.personID}); It's working normally, but the parameter are shown in the URL. How can I hide them and also can I hide the action name? Guide me the right way with some examples, please.
Tags (comma-separated)
Save Edits
Cancel