Add Web API support to existing Asp.Net MVC application

TXTextControl.Web.MVC is using the ASP.NET Web API framework to synchronize the edited document with the server in order to render the output in a true WYSIWYG manner. From Microsoft MSDN: ASP.NET Web API is a framework that makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices. ASP.NET…

Continue reading

ASP.NET Web API 2 action method return types

A Web API 2 action method return types can be any of the following : Void HttpResponseMessage IHttpActionResult Other type or Complex type   Void When an ASP.NET Web API return type is void, it will return an empty HTTP response. In the following example a web API with void return: Example public class SampleController…

Continue reading