Posts by mgiurni • 36 points
2 posts
-
0
votes1
answer119
viewsA: Get public site user IP
To get the public IP of your application visitors, you can use the server variables, which is what you’re doing but not in the optimal way. The variable REMOTE_HOST, which is the one you are…
-
2
votes1
answer341
viewsA: How to remove space from the JSON (String) value in C#?
The character you are trying to replace is not a space, but a hard space (non-breaking space). So just replace your Unicode code ( u00A0): var newJson = json.Replace(":\"\u00A0", ":\""); To find the…