简体   繁体   中英

How can I expose my calendar data to outlook calendar?

I have an asp.net mvc app with SQL server backend and I have one page that stores calendar event info( database has calendar table and event table with foreign key to calendar table ). How can I expose that info for google calendar or outlook calendars users to subscribe to a calendar?

The best way to do this might be an ActionResult returning an .ical format calendar which can be subscribed in almost any mail client. You can use DDay.iCal for creating the iCalendar. Here is some example code about it. Good luck.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM