Microsoft.WindowsAzure.Mobile.Service.Content Namespace

Classes

ContentProvider

A default implementation of IContentProvider which gets the content from embedded resources within a provided set of assemblies.

EmbeddedResourcesInfo

This class is used to provide information about embedded resources to the ContentProvider implementation. It contains two pieces of information: the assembly which to search for embedded resources, and the resource prefix to prepend to the name of the resources to look up. The resource prefix is typically the default CLR namespace of the assembly.

HtmlActionResult

Generates an HTML-formatted System.Web.Http.IHttpActionResult from a view which is compiled using Razor.

MediaTypeProvider

A default implementation of IMediaTypeProvider which gets the media type from an minimalistic in-memory collection without any external dependencies.

TemplateServiceProvider

Provides a default ITemplateServiceProvider which resolves template views using the registered IContentProvider.

Interfaces

IContentProvider

Provides an abstraction for getting content from storage. This is used by the ContentController and HelpController to serve content.

IMediaTypeProvider

Provides an abstraction for getting the media type mapping for a given file name extension.

ITemplateServiceProvider

Provides an abstraction for providing a fully initialized RazorEngine.Templating.ITemplateService instance for generating Razor views using Razor Engine.