This article transferred from: http://www.cnblogs.com/fzrain/p/3923727.htmlObjectiveLong time no update, before there are many things, so dragged for a long time, very sorry. Well, don't say much nonsense, let's start with the subject. This article still uses the previous season's project background (series address http://www.cnblogs.com/fzrain/p/3490137.html) to demonstrate the OData service, so we can directly use the previously built data access la
ObjectiveLong time no update, before there are many things, so dragged for a long time, very sorry. Well, don't say much nonsense, let's start with the subject. This article still uses the previous season's project background (series address http://www.cnblogs.com/fzrain/p/3490137.html) to demonstrate the OData service, so we can directly use the previously built data access layer. But not to be sure to see everything before, we just borrowed the data
Document directory
Content of this section:
Introduction
Install
Install the Nuget package
Set module Dependencies
Configure your entity
Create a controller
Example
Get Object List
Request
Response
Obtain a single object
Request
Response
Obtain a single object and navigation attributes
Request
Response
Query
Request
Response
Create a new object
Request
Response
Season 1 link and series navigation: http://www.cnblogs.com/fzrain/p/3490137.html
Here, I would like to thank Taiseer Joudeh for bringing us the latest technology sharing. The landlord liked web api technology and received support from many friends, therefore, it is inevitable to continue. After the previous phase of study, we should be no stranger to web APIs. From this article, we will start to introduce OData. I have just started learning, so I wi
To see what they do, I do what I do ~ even better than they do.------------------------------------------------------------Sina Science and technology Beijing time August 3 afternoon news, The U.S. cloud computing CRM software provider Salesforce is still a big acquisition to expand the category of cloud computing applications and services, the company has just announced the acquisition of cloud computing word processing application Quip.The deal is m
Assume that the current odata service address is
Http: // localhost: 9527/odataservice. SVC
The provided services are as follows (Wagerinformations)
Code
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> XML version = "1.0" encoding = "UTF-8" standalone = "yes" ?> Service XML: Base = "Http: // localhost: 9527/odataservice. svc /" Xmlns: Atom = "Http://www.w3.org/2005/Atom" Xml
Windows Authentication and odata
1. Server Side
1) Integrated Authentication
When IIS is used as the service host, you must enable integrated authentication to disable anonymous authentication.
Windows authentication requests contain the following HTTP headers)
WWW-Authenticate: NTLMWWW-Authenticate: negotiate
NTLM means that you need to use Windows authentication.
Negotiate means that the client can try Kerberos authentication.
2)
When you use oddata to obtain CRM data, the default query result contains only 50 records. You can use the "_ next" attribute in the object returned by JSON as a URL loop until the property is empty.
The sample code is as follows:
relatedAccounts = [];function onload() { var serverUrl = Xrm.Page.context.getServerUrl(); var oDataUri = serverUrl + "/xrmservices/2011/OrganizationData.svc/AccountSet?$select=AccountId,Name,$filter=StateCode/Value eq 0"; GetRecords(oDataUri); var totalRe
Salesforce.com started out as a cloud-ready sales Automation (Sale Force Automation, SFA) and CRM tool (Customer relationship Management, CRM), But after so many years of evolution, it has become a common platform to build any enterprise application. The name Salesforce is a legacy of history, although the Salesforce1 platform still offers SFA and CRM applications, but it is a fundamental platform for building modern enterprise systems.Prices and Feat
What is What–odata?Odata-open Data Protocal is a standard for designing and using restful APIs. Rest itself is just a thought and idea for building Web services, and it does not provide a unified standard to limit how developers can design restful APIs. In fact, our actual development did not follow a unified standard to design WEBAPI. Because in most scenarios, it is not necessary to follow a unified stand
Http://www.cnblogs.com/shanyou/archive/2013/06/11/3131583.htmlIn the SOA world, one of the most important concepts is the contract (contract). In the world of cloud computing, the most important concept of communication is the contract. XML has a strong ability to describe data, both atom format and atompub are built on XML, and have been standard driven by Google and Microsoft. However, compared with real data interaction protocols such as atom/atompub and Odbc/oledb, there is a fundamental def
During PDC09, the Microsoft WCF Data Services Team (formerly known as the Ado.net Data Services team) launched the first OData, the Open Data protocol. The news was announced in a keynote speech on the second day of the meeting, but in fact OData had already begun. Since providing ado.net data services in the Microsoft. NET Framework 3.5 SP1, users who are familiar with Ado.net data services have developed
[Boiled ASP. NET Web API2 methodology] (12-2) Functions and actions supported by OData, api2odata
Problem
Use OData functions and actions in Web APIs.
Solution
You can use ODataModelBuilder to construct a series of functions and actions provided in ASP. NET Web APIs, EntityCollectionConfiguration, and EnityTypeConfiguration to customize functions and actions.
When we create our own ODataModelBuilder, we ca
1. Download the WSDL file in the Salesforce platformOnce we have created the objects that we need to use in Salesforce, we want to read and write records to objects in other applications, the first thing we need is the permission of our Salesforce platform. Log in to your salesforce and download the WSDL file.In the to
Standardized open source data protocol for program database format in order to enhance data compatibility between various Web applications, Microsoft launched an open source data Protocol (OData) program designed to promote standardization of Web application database formats, and at the same time released a development tool for the OData protocol. To facilitate the use of Web-based program developers. Open
ASP. NET Web API 2.2 for OData v4.0 daily build version is now released. The Team also released OData core library version 6.1 on nuget, which contains several Bug fixes and new features, especially added support for OData v4 specifications. However, Microsoft's team said that WCF would not obtain the unique features of OData
In Thursday, Salesforce called on EU regulators to conduct a full investigation into Microsoft's deal to buy LinkedIn for $26 billion, foreign media reported. Microsoft is expected to seek EU antitrust approvals for the deal in the next few weeks. It's the biggest deal in Microsoft's history.650) this.width=650; "alt=" mutual pinch, salesforce calls on the EU to investigate Microsoft's acquisition of the Li
Http://www.alixixi.com/program/a/2015063094986.shtmlI. What is ODataOData is an Open Data protocol (open Protocol)In the ASP. NET Web API,Increased flexibility for CRUD (create, read, update, and delete) applications than traditional WEBAPIAs long as the appropriate use of the relevant protocol, can be in the same situationCan save a lot of development time for a crud application, thus improving development efficiencyTwo. How to BuildMake a simple example of order queryWe create two entity objec
Http://www.cnblogs.com/shanyou/archive/2010/03/26/1697316.html
Use the odata protocol to query windows logs
Odata open data protocol is launched by Microsoft for Google's gdata. It aims to promote the standardized open data protocol for Web application database formats. Microsoft defines odata as a protocol based on HTTP, atompub, and JSON, enhance data compatibi
2015-08-27 Zhang Xiaodong Oriental Cloud InsightClick on the link text above to quickly follow the "East Cloud Insights" public numberSalesforce.com 's appearance and interface are about to be greatly upgraded, and the new interface is a big change for the user's original usage habits. Salesforce Senior vice President Moxley introduction says: salesforce has designed a new user interface that we call " l
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.