ASPX web page without html codes?

Discussion about the open-source Phalanger [?] project.

ASPX web page without html codes?

Postby fletchsod@codeplex » January 3rd, 2007, 7:52 pm

You know, on the PHP/Apache webserver on the AIX (Unix) machine. I can create a "*.php" webpage that is fully php only and at the end of the php script, it would spit out ascii information only or use the switch statement to use the choose the correct include file (html codes).

Can this one be done with Phalanger and ASPX webpage? I have never tried it with Phalanger. I did tried that kind of concept with the VB.NET and ASPX webpage and it doesn't work. I don't know if it is the Visual Studio that is preventing it from working or the ASP.NET that is preventing it from working.

I'm curious to hear your responses.

Thanks,
FletchSOD

P.S. The forum at www.php-compiler.net is broken. (.NET Error). Also, I'm not sure which forum should I post this topic to, "User Forum" or "Developer Forum".
fletchsod@codeplex
 
Posts: 6
Joined: January 7th, 2012, 8:54 pm

RE: ASPX web page without html codes?

Postby tomasp » January 7th, 2007, 4:43 pm

Hi,
if I understand you correctly, you need to specify content-type header (whether page should be displayed as text or html).

This can be done in ASP.NET using ContentType property: http://msdn2.microsoft.com/en-us/library/system.web.httpresponse.contenttype.aspx

When you use Phalanger with ASP.NET you'll get exactly the same behavior as with any other language (VB, etc.).
tomasp
 
Posts: 46
Joined: January 7th, 2012, 8:37 pm


Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 14 guests

User Control Panel

Login

Who is online

In total there are 14 users online :: 0 registered, 0 hidden and 14 guests (based on users active over the past 5 minutes)
Most users ever online was 511 on April 27th, 2024, 10:11 pm

Users browsing this forum: No registered users and 14 guests