encode string in Windows service

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Bar Elimelech (bar_elimelech_news_at_hotmail.com)
Date: 02/24/04


Date: Tue, 24 Feb 2004 10:00:53 +0200

Hi,

I'm trying to encode a string in a windows service that should be past to a
asp.net web application in the querystring.

I know that in order to do it in asp.net I should use the Server.HtmlEncode
from the system.web namespace but I can't find a way to do it in a windows
service or windows application.

Any ideas how can I do it?

Thanks
Bar



Relevant Pages

  • RE: Installing WindowsService to system without Visual Studio Tool
    ... So, for my production machine, which is a Windows 2003 Server, it worked well. ... you've built a .NET windows service project and can ... What you need is an additional Setup project for your service projecct's ... project and use installer class for install. ...
    (microsoft.public.vsnet.setup)
  • Re: FileNotFound exception- Solved
    ... debugging which assembly your app was hitting before throwing the exception. ... I immediately realized that somethings must be wrong with the name because the probing NEVER even cared to look in the GAC!! ... By generic, I mean, the Windows service has only one line of code in the onStartevent. ...
    (microsoft.public.dotnet.framework.remoting)
  • RE: Help me choose setup method
    ... projectand windows service application... ... setup package via platform installer sdk utilities: ... ** For setup projects, Visual Studio 2005 provide both setup project types ... You can also create a dedicated setup project for windows service: ...
    (microsoft.public.vsnet.general)
  • windows service installation error trying to create new app event
    ... I have a windows service msi created from a setup project. ... I can use this msi and it will install OK on a computer with windows server ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Windows Service soll Access-DB lesen/schreiben können
    ... Bin am Entwickeln eines Windows Service. ... Soweit tut die Praxis was das Design geplant hat. ... Wie kann man aus einem Windows Service in eine Access-Datenbank schreiben ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)