I am looking for a tool to create an iCalendar channel using .Net, atm I use the DDay library to create an iCal file and write it in the response.
The problem with this is that I am passing the URL to Outlook, it says this is an invalid ics file.
I tried various routes, including:
Using MVC routing so that the link contains the .ics extension. Change the Mime type to be Text / Calendar.
One of the observations I discovered is that if I go to the URL in the browser, a valid iCal file will be created and correctly imported into Outlook. Secondly, if I take the file and place it through IIS as static content, Outlook selects it as a valid file.
The problem is that I need to create a dynamic feed and it seems to have ended to try and get this to work.
source share