For a new intranet application, I would like to let the user add a calendar to their Outlook so it can be easily looked at. The calendar would be read-only. How do I go about creating this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should create an iCal feed which most clients can subscribe to. Use a
FileStreamResultin your controller to post it down to clients. Get familiar with the ICS specification, it starts like thisand ends with
END:VCALENDAR. And here are eventsNow I don’t know the ICS format really well so you should get more acquainted with it. Alternatively you can use an open-source library. When you create your feed write it as a file result.