Creating an iCalendar Dynamic Channel

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.

+4
source share
1 answer

It seems that the problem in my case was that by default asp.net auth blocked the appearance because it did not authenticate, as soon as the exception was added to web.config, the URL was loaded correctly in Outlook

0
source

All Articles