title: Need system.web for httputility.urlencode in CLR?
body: <p>I have created a CLR database project and I would like to use httputility.urlencode. However, when I tried to add reference to my project, I could not find system.web any where. I googled and some suggested that I change the framework to full .net 4.0. </p>
  
  <p>However, the problem is I can't deploy it using 4.0 as it was pointed out by microsoft through this link (<a href="http://msdn.microsoft.com/en-us/library/dd193408.aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/dd193408.aspx</a>). So I need to use 3.5. And even if I tried to change it to 4.0 or 3.5 to see if I can find system.web, I still can't see the reference in the list. </p>
  
  <p>My problem is very similar to this one <a href="https://stackoverflow.com/questions/4967051/why-cant-i-find-or-use-urlencode-in-visual-studio-2010">Why can&#39;t I find or use UrlEncode in Visual Studio 2010?</a></p>
  
  <p><strong>All System.Web gives me are: AspNetHostingPermission, AspNetHostingPermissionAttribute, and AspNetHostingPermissionLevel</strong> </p>
  
  <p>I followed the suggested solution, but no luck at all. Any suggestion please? Really need your help. </p>
  
  <p>Thanks. </p>