Objectmix
Tags Register Mark Forums Read

Using HttpListener to host ASP.NET web application : DOTNET

This is a discussion on Using HttpListener to host ASP.NET web application within the DOTNET forums in Framework and Interface Programming category; Hi Group, I've created a (very simple) ASP.NET web application with a single *.aspx page and an *.aspx.cs CodeBehind file: By clicking an HTML form button, a text control value is written into a label below using a click handler and a server roundtrip. Pretty nifty, I know... Now I want to run this app hosted by an own web server, an HttpListener based C# application I've created with Visual Studio 2005 - what doesn't work. The *.aspx page gets published but obviously the actual server operation/click handler is not executed, the label stays blank and after the server roundtrip ...


Object Mix > Framework and Interface Programming > DOTNET > Using HttpListener to host ASP.NET web application

DOTNET Discussion forums related to Microsoft Dot net technologies, CSharp and other related items

Reply

 

LinkBack Thread Tools
  #1  
Old 12-10-2007, 12:12 PM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default Using HttpListener to host ASP.NET web application

Hi Group,

I've created a (very simple) ASP.NET web application with a single *.aspx
page and an *.aspx.cs CodeBehind file: By clicking an HTML form button, a
text control value is written into a label below using a click handler and a
server roundtrip.
Pretty nifty, I know...

Now I want to run this app hosted by an own web server, an HttpListener
based C# application I've created with Visual Studio 2005 - what doesn't
work. The *.aspx page gets published but obviously the actual server
operation/click handler is not executed, the label stays blank and after the
server roundtrip the text control is empty again, no session seems to be
managed although the corresponding hidden form values are there.

Any idea what may be different when the web application runs fine with the
ASP.NET development server launched by Visual Studio? What to look for to
have a web application hosted by an own HttpListener based approach?

Thanks in advance + greetings,
Hans


Reply With Quote
Reply

Thread Tools


Similar Threads

Thread Thread Starter Forum Replies Last Post
Using HttpListener to host ASP.NET web application usenet CSharp 3 12-14-2007 08:54 AM
Where to host a Seaside application? usenet Smalltalk 2 10-03-2007 02:58 AM
Host .NET user controls in my C++ application usenet DOTNET 1 05-21-2007 07:06 AM
How to host web service methods in your windows application? usenet DOTNET 3 02-05-2007 06:46 AM
Host a secure web application and OWA, use as many servers and resources as necessary. usenet Inetserver 5 05-10-2006 01:41 PM


All times are GMT -5. The time now is 04:27 AM.