Home All Groups Group Topic Archive Search About

Launching ASP.NET from a Windows Form

Author
15 Jun 2006 3:35 PM
Mike
Hello,

I need to start an ASP.NET 2.0 web from within a Windows Form. I also need
to pass a username and password, but I would like to "hide" them so that they
do not appear in the URL.

Any idea how to do that?

Tahnks.
Mike

Author
15 Jun 2006 4:54 PM
Vadym Stetsyak
Hello, Mike!

M> I need to start an ASP.NET 2.0 web from within a Windows Form. I also
M> need to pass a username and password, but I would like to "hide" them so
M> that they do not appear in the URL.

M> Any idea how to do that?

You can utilize WebBrowser control to show the page in the Win Forms
( http://www.codeproject.com/csharp/webbrowser.asp )

Another quesiton is if that ASP.NET form ( web application ) must be hosted also on that winforms application.
If so, then ( http://www.west-wind.com/presentations/aspnetruntime/aspnetruntime.asp )

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
Author
15 Jun 2006 5:31 PM
Mike
Hello Vadym,

No, I need to start the default browser installed on the machine and pass
the user name and password to the page that I am calling.

It has to be a process not related to the win form that started it.

Mike



Show quote
"Vadym Stetsyak" wrote:

> Hello, Mike!
>
>  M> I need to start an ASP.NET 2.0 web from within a Windows Form. I also
>  M> need to pass a username and password, but I would like to "hide" them so
>  M> that they do not appear in the URL.
>
>  M> Any idea how to do that?
>
> You can utilize WebBrowser control to show the page in the Win Forms
> ( http://www.codeproject.com/csharp/webbrowser.asp )
>
> Another quesiton is if that ASP.NET form ( web application ) must be hosted also on that winforms application.
> If so, then ( http://www.west-wind.com/presentations/aspnetruntime/aspnetruntime.asp )
>
> --
> Regards, Vadym Stetsyak
> www: http://vadmyst.blogspot

AddThis Social Bookmark Button