Ben Foster 8/30/2012

RavenDB identity strategy in ASP.NET Web API

Read Original

This technical article details a strategy for integrating RavenDB's recommended string-based identifiers with ASP.NET Web API routing. It explains the routing conflict caused by the 'doctype/id' format, proposes exposing integer IDs to clients while using strings server-side, and provides code examples using AutoMapper type converters to automatically translate between identifier types.

RavenDB identity strategy in ASP.NET Web API

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week