问题
I'm trying to figure out the best way take a ics file and convert it into a format I can put into a database. Can anyone recommend how to do this?
回答1:
The commercial .NET library Aspose.iCal does the job
http://www.aspose.com/community/blogs/salman.sarfraz/archive/2008/11/21/where-is-aspose-icalendar.aspx (used to be http://www.aspose.com/categories/file-format-components/aspose.network-for-.net/default.aspx)
Or this open source parser (didn't try it)
http://sourceforge.net/projects/icalparser/
And this online iCal validator comes in handy
http://severinghaus.org/projects/icv/
Regards, tamberg
回答2:
There's an example of parsing iCalendar files. It is based on the DDay.iCal library.
回答3:
I used https://github.com/der-Daniel/ical.NET which is also available on Nuget.
来源:https://stackoverflow.com/questions/498938/parser-for-ics-files-in-net