ASP.NET equivalent of the java code
<p>Can anyone take time to convert this into ASP.NET?Please..</p>

<pre><code>protected void doGet(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
    String content = request.getParameter("content");
    response.setHeader("Content-type", "text/calendar"); 
    response.setHeader("Content-length", String.valueOf(content.length())); 
    response.setHeader("Content-disposition", "attachment; filename=event.ics");
    response.getOutputStream().write(content.getBytes());
}
</code></pre>
