*****This is a tutorial that will not take more than 30 mins*****
I need a C# expert to explain me C# encoding.
For example I have a variable that a controller receives i.e "Cannon" if a user passes "Cann\\" this becomes "Cann\\\\" or "Cann//" becomes "Cann%2F%2F" I need the \\ or // slashes to be removed and should and this should be just "cann".
Current code block
public async Task<IActionResult> DoLocationLookup(string keyword)
keyword = [login to view URL]([login to view URL]());
Help me understand this and how to handle the above test cases and what is the best form on encoding or do I even need encoding.
This will be a ongoing engagement as I will pay you for each tutorial as I need them.
9 freelancere byder i gennemsnit $22 på dette job