Search code examples
c#servicequery-stringnamevaluecollection

NameValueCollection to string? Help


The service I've written waits for requests and when one arrives it extracts the querystring, parses it and saves the values in database. However, for some odd reason I cannot use the System.Web.HttpUtility class with windows service. I've tried some of the examples i've managed to find on the net but all of them included HttpUtility class.

Any help or suggestion is greatly appreciated! Thank you!


Solution

  • Have you included the System.Web.dll assembly in your project?