I render an ActionLink like this:
@Html.ActionLink(techName, "Details","Home", new { TopicID = item.TechID },null)
I would like to encrypt the query string, something like this: Home/Details?TopicID=Ek7vP1YwVhc=
I searched on this topic and found a piece of code to encrypt and decrypt the data:
(new MvcSerializer()).Serialize(<Your data here>, SerializationMode.EncryptedAndSigned)
And then to reverse the process...
(new MvcSerializer()).Deserialize(<Serialized data here>, SerializationMode.EncryptedAndSigned)
How to use the above approach to encrypt and decrypt my query string?