ASP.NET’s APIs formatters. One of the best for a custom formatter is a Vcalendar data format that can used in calendar software such as Outlook.

After you build the custom media formatter, all of you have to do is it to the Web API configuration . The WebApiConfig.cs is found in the App_Start folder.

In the register , add the following line:

// CustomMediaTypeFormatter is the custom media type formatter created.
config.Formatters.Add(new CustomMediaTypeFormatter());

Source link
thanks you RSS link


Please enter your comment!
Please enter your name here