Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有 SQL 服务器后端的 asp.net mvc 应用程序,我有一个存储日历事件信息的页面(数据库有日历表和带有日历表外键的事件表)。如何为 google 日历或 Outlook 日历用户公开该信息以订阅日历?
做到这一点的最好方法可能是一个 ActionResult 返回一个 .ical 格式的日历,它可以在几乎任何邮件客户端中订阅。您可以使用DDay.iCal创建 iCalendar。这是一些关于它的示例代码。祝你好运。