Blazor: Launch the Default Calendar App in the device with an ICalendar file

391 Views Asked by At

I am developing a web app to manage events using the Blazor server-side framework. One of the requirements is a button that allows the users to add events to a calendar of choice, mainly google calendar, outlook calendar, and the local calendar of the device they are using. I managed the google and outlook calendars using tag with the appropriate links and parameters, now the last thing I want is to have a button that when clicked opens the default calendar app and displays the event info. I managed to convert the event model into an appropriate icalendar standard format file, but couldn't figure out how to open the calendar app and send it the event file.

0

There are 0 best solutions below