OData v4 Web API

This is post 4 of 4 in the series “Microsoft OData” Microsoft OData stack ODataLib RESTier OData v4 Web API 原文来自: http://odata.github.io/WebApi/ 1. INTRODUCTION 1.1 Preface About This document aims to provide organized content about how to build a OData V4 service using ASP.NET Web API for OData. It’s more than just a getting started… Continue reading OData v4 Web API

RESTier

This is post 3 of 4 in the series “Microsoft OData” Microsoft OData stack ODataLib RESTier OData v4 Web API 原文来自: http://odata.github.io/RESTier/ 1. GETTING STARTED 1.1 Introduction OData stands for the Open Data Protocol. It was initiated by Microsoft and is now an ISO and OASIS standard. OData enables the creation and consumption of RESTful… Continue reading RESTier

ODataLib

This is post 2 of 4 in the series “Microsoft OData” Microsoft OData stack ODataLib RESTier OData v4 Web API 原文来自: http://odata.github.io/odata.net/ 1. CORE 1.1 Write OData Payload There are several kinds of OData payload, includes service document, model metadata, feed, entry, entity references(s), complex value(s), primitive value(s). OData Core library is designed to write… Continue reading ODataLib

Microsoft OData stack

This is post 1 of 4 in the series “Microsoft OData” Microsoft OData stack ODataLib RESTier OData v4 Web API 大概五个月前,我们需要将框架里的重要组件通过RESTful API的形式暴露出来,当时我们进行了技术选型,在.Net平台 下,毋庸置疑,我们选择了Asp.Net Web API。不过在实现的过程中,我们又进行了筛选,一种说法是使用原生的Web API框架,另一种说法是使用Web API OData Framework(会多出学习成本)。最终我们决定还是使用原生的Web API框架。不过后来,由于对OData比较感兴趣,私下里我又对其进行了一些了解。在这里,我将官方的一些目录贴出来,供备案。 Getting started OData is an OASIS standard for creating and consuming RESTful APIs. The OData .NET libraries help users to build and consume OData v4… Continue reading Microsoft OData stack