RavenDB identity strategy in ASP.NET Web API
Read OriginalThis 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.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser