No description, website, or topics provided.
JavaScript C#
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

MVC4 Microformats This a simple implementation for microformats . Now the calendar format , that are in those forms:

Microformats site for calendar
HTML5 microformat for calendar
Schema format
iCalendar format

Use with 

Model.Generate() - to can show data

and a form + action to save the calendar in outlook format

<input type="hidden"  name="resultHtml" value="@Model.GenerateICalendar().Replace("\"","'")" />
<input type="hidden" name="nameFile" value="cal.ics" />
<input type="hidden" name="eventName" value="MyEvent" />
<input type="submit" value="Download event" />
[HttpPost] public ActionResult ReturnFile(string resultHtml, string eventName, string nameFile) { return File(System.Text.UTF8Encoding.Default.GetBytes(resultHtml), "text/calendar", nameFile); }

See demo for the app on