Re: Web Interface for a c# Console Application

Tech-Archive recommends: Fix windows errors by optimizing your registry



Well, I couldn't use win service, because it would run also on Linux.

About web service, I found something (gooogling a lot), and was
thinking about it.

But I have a problem with both web services and remoting (that was
another option I found).

When I try to compile I get that it can't find the namespace "Services"
inside System.Web.
I downloaded different pieces of codes and always get the same error.
Also I "don't have" Channel.Tcp (for remoting)...

Do I need additional packages?
I have .Net v2.0.50727

Thank You for your answer.



Ignacio Machin ( .NET/ C# MVP ) ha scritto:

Hi

If this is the case then a console app is the wrong kind of app, you need
either a win service or a web service, the later is my suggested way to go.

Or simply you could implement a web app around it



--
Ignacio Machin
machin AT laceupsolutions com



<viashino@xxxxxxxx> wrote in message
news:1167738322.079341.96140@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

I have written a Console Application that is doing different things,
like checking the status of different network Hosts.

I would like to implement a WebInterface to show such status, and maybe
also send some commands to my app.

It is possible to do it in asp.net ? I though I only need to "pass" my
object reference to the ASP page, so I can access its proprieties...
But I don't know how to do it (and if it is possible).

I saw lots of threads about WinForms to WebForms, but none about
ConsoleApp to Web.

Any link would be very appreciated.
Thanks

Viashino


.



Relevant Pages

  • Re: Are ASP.NET user interfaces essentially dead now?
    ... it will be tight enough that you can't call SQL ... takes longer to develop ASP.NET interface than a windowsform app ... And communicating with a Web Service is not required the ... > I see Winforms doing the major amount of interface work and leaving the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: SSL for very simple security need in web service app
    ... There is only a single end point here, a web service ... app that simply takes order info, validates it and applies it to a database. ... this is a common scenario. ... >>> userID ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Going crazy trying to understand Web Services behaviour with static member fields, static classe
    ... is loaded for the life of the app domain (ASP.NET can recycle the app domain ... if I launch the exe 2 or more times each exe sees different things ... I think a web service is like a web page, so it lives only for the ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Cant find item in server side cache
    ... Then I used the url for web service when it was originally created which was ... So the web service and aspx ... page really were running in different instances of the web app. ... the web service returns the GUID back to the winform via the WS ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: The SA Mess
    ... The app is obfuscated. ... Shift to .NET talking to a SQL db on the local network, ... have a dog. ... Go through a web service on top of all of that, ...
    (microsoft.public.sqlserver.security)