I need HttpUtility for encoding strings, but it seems it was supported, but no longer. Actually, the whole System.Web is gone.
Is there an alternative? I need to Javascript Escape some strings.
I need HttpUtility for encoding strings, but it seems it was supported, but no longer. Actually, the whole System.Web is gone.
Is there an alternative? I need to Javascript Escape some strings.
The HttpUtility class lives in the System.Web.Services assembly, just make sure that you are referencing that assembly.
.dll
, i.e. you still need using System.Web
and not using System.Web.Services
. –
Crumpton I am using Xamarin Studio with Mono 3.0.10 and in there, you need to reference the System.Web dll and include it with
using System.Web;
Then you will have the HTTPUtility and encode/decode functionality available
© 2022 - 2024 — McMap. All rights reserved.