Can anyone take time to convert this into ASP.NET?Please..
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());
}
I didn’t test this out but it should look something like this…