How to respond without html in asp.net
<p>Easy question perhaps.</p>

<p>Okay, I have a post to my page and need to respond with one string. </p>

<p>in php, you could simply do something like this:</p>

<pre><code>&lt;?php
die ("test");
</code></pre>

<p>then you can place this page on a webserver and access it like this:</p>

<pre><code>localhost/test.php
</code></pre>

<p>so, I need to do exact same thing in c#.</p>

<p>When I try to respond with:</p>

<pre><code> protected void Page_Load(object sender, EventArgs e)
    {
        Response.Write("test");
        Response.End();
    }
</code></pre>

<p>I'm getting: <code>"&lt;html&gt;&lt;head&gt;&lt;style type="text/css"&gt;&lt;/style&gt;&lt;/head&gt;&lt;body&gt;test&lt;/body&gt;&lt;/html&gt;"</code>
as a response.</p>

<p>How can I make asp.net to just return exact response, without html?</p>

<p>I know that I probably missing some basic knowledge, but cannot find anything online.</p>
