Skip to content
This repository has been archived by the owner on Oct 27, 2020. It is now read-only.

Releases: MicroLite-ORM/MicroLite.Extensions.WebApi

MicroLite.Extensions.WebApi 4.1.0

12 May 16:37
Compare
Choose a tag to compare

Updated the Controllers to accept an ISession via the constructor to make it easier to integrate with IOC containers.

view code changes

MicroLite.Extensions.WebApi 4.0.1

30 Apr 17:20
Compare
Choose a tag to compare

Contains a single change which is #28 change ODataValidationSettings back to being a class.

view code changes

MicroLite.Extensions.WebApi 4.0.0

29 Apr 21:31
Compare
Choose a tag to compare

Built against WebApi 4 and MicroLite 5.0.0

The main change is that the .WithWebApi() method no longer accepts a parameter.

Instead, add the attributes you need to your WebApiConfig to gain the behaviour you require. See the ReadMe for further details.

Also note that the transaction functionality of the MicroLiteSessionAttribute has been split out into a separate AutoManageTransactionAttribute. This allows you to still benefit from the auto transaction management on a per-action basis but use an IOC container to supply your controller with an ISession if you use one rather than using the MicroLiteSession attribute.

The other minor change is that we now only depend on Microsoft.AspNet.WebApi.Client instead of Microsoft.AspNet.WebApi.WebHost which allows you to use the extension in either WebHost or SelfHost.