Using MicroLite with ASP.NET WebApi

An extension package has been released to help integrate MicroLite with ASP.NET WebApi even more easily. Version 1 is essentially a port of the MicroLite MVC Extension.

To use it, install the NuGet package Install-Package MicroLite.Extensions.WebApi.

The key difference is that the base controller is called MicroLiteApiController to adhere to the conventions used by WebApi.

At present, there is no support for OData queries since MicroLite does not have an IQueryable provider. An update will be released in the near future which will add support for OData queries by translating them into SqlQuery instances.

Advertisements

3 thoughts on “Using MicroLite with ASP.NET WebApi

  1. Pingback: Read Only Session | MicroLite ORM

  2. Pingback: MVC and WebApi extensions | MicroLite ORM

  3. Pingback: New Infrastructure Interfaces | MicroLite ORM

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s