WebApi
This page was created by Hans.karlsen@mdriven.net on 2019-01-21. Last edited by Edgar on 2025-01-20.

The central communication between a MDriven application and its Remote Persistence Layer is handled by PersistenceProvider. During the many iterations of development this has been implemented with RPC, WCF(until recently the current) and the new implementation is WebApi.

To use WebAPI communication instead of WCF you use the new PersistenceMapperWEBAPIClient (MDriven.Net.Http.dll) instead of PersistenceMapperWCFClient. And on the server you subclass the public abstract class MDrivenPersistenceController<T> : ApiController (MDriven.Persistence.WebApi.dll).

MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments