Class ClientController
A WebAPI RESTful service that provide a 'no configuration required' java-script client ready for developers to use.
Inheritance
System.Object
System.Web.Http.ApiController
ClientController
Inherited Members
System.Web.Http.ApiController.ExecuteAsync(System.Web.Http.Controllers.HttpControllerContext, System.Threading.CancellationToken)
System.Web.Http.ApiController.Validate<TEntity>(TEntity)
System.Web.Http.ApiController.Validate<TEntity>(TEntity, System.String)
System.Web.Http.ApiController.BadRequest()
System.Web.Http.ApiController.BadRequest(System.String)
System.Web.Http.ApiController.BadRequest(System.Web.Http.ModelBinding.ModelStateDictionary)
System.Web.Http.ApiController.Conflict()
System.Web.Http.ApiController.Content<T>(System.Net.HttpStatusCode, T)
System.Web.Http.ApiController.Content<T>(System.Net.HttpStatusCode, T, System.Net.Http.Formatting.MediaTypeFormatter)
System.Web.Http.ApiController.Content<T>(System.Net.HttpStatusCode, T, System.Net.Http.Formatting.MediaTypeFormatter, System.String)
System.Web.Http.ApiController.Content<T>(System.Net.HttpStatusCode, T, System.Net.Http.Formatting.MediaTypeFormatter, System.Net.Http.Headers.MediaTypeHeaderValue)
System.Web.Http.ApiController.Created<T>(System.String, T)
System.Web.Http.ApiController.Created<T>(System.Uri, T)
System.Web.Http.ApiController.CreatedAtRoute<T>(System.String, System.Object, T)
System.Web.Http.ApiController.CreatedAtRoute<T>(System.String, System.Collections.Generic.IDictionary<System.String, System.Object>, T)
System.Web.Http.ApiController.InternalServerError()
System.Web.Http.ApiController.InternalServerError(System.Exception)
System.Web.Http.ApiController.Json<T>(T)
System.Web.Http.ApiController.Json<T>(T, Newtonsoft.Json.JsonSerializerSettings)
System.Web.Http.ApiController.Json<T>(T, Newtonsoft.Json.JsonSerializerSettings, System.Text.Encoding)
System.Web.Http.ApiController.NotFound()
System.Web.Http.ApiController.Ok()
System.Web.Http.ApiController.Ok<T>(T)
System.Web.Http.ApiController.Redirect(System.String)
System.Web.Http.ApiController.Redirect(System.Uri)
System.Web.Http.ApiController.RedirectToRoute(System.String, System.Object)
System.Web.Http.ApiController.RedirectToRoute(System.String, System.Collections.Generic.IDictionary<System.String, System.Object>)
System.Web.Http.ApiController.ResponseMessage(System.Net.Http.HttpResponseMessage)
System.Web.Http.ApiController.StatusCode(System.Net.HttpStatusCode)
System.Web.Http.ApiController.Unauthorized(System.Net.Http.Headers.AuthenticationHeaderValue[])
System.Web.Http.ApiController.Unauthorized(System.Collections.Generic.IEnumerable<System.Net.Http.Headers.AuthenticationHeaderValue>)
System.Web.Http.ApiController.Initialize(System.Web.Http.Controllers.HttpControllerContext)
System.Web.Http.ApiController.Dispose()
System.Web.Http.ApiController.Dispose(System.Boolean)
System.Web.Http.ApiController.Configuration
System.Web.Http.ApiController.ControllerContext
System.Web.Http.ApiController.ActionContext
System.Web.Http.ApiController.ModelState
System.Web.Http.ApiController.Request
System.Web.Http.ApiController.RequestContext
System.Web.Http.ApiController.Url
System.Web.Http.ApiController.User
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Cqrs.WebApi.Controllers
Assembly: Cqrs.WebApi.dll
Syntax
[RoutePrefix("Client")]
public class ClientController : ApiController, IHttpController, IDisposable
Methods
Index()
A java-script file with a 'no configuration required' java-script client
Declaration
[Route("")]
[HttpGet]
public virtual HttpResponseMessage Index()
Returns
Type | Description |
---|---|
System.Net.Http.HttpResponseMessage |