Недавно сдал экзамен MB2-876 Extending Microsoft Dynamics CRM 2011.
Те кому лень могут сразу качать дамп здесь и зубрить а дальше я, в кратце расскажу, что надо знать и по чему я готовился.
Дамп, имеет комментарии почти к каждому ответу, хотя не все мне понятны. Я брал каждый вопрос из дампа и старался прорабатывать каждый вариант ответа правильный и неправильный.
Очень помогли заметки при подготовке MB2-876 Exam Study Notes некоего Jason Weibel, которые он выложил в своем блоге Microsoft CRM Geek.
Что покрывает экзамен описано на странице экзамена в разделе Skills Measured.
Вот некоторые вещи, которые я выделил для себя на отдельном листе когда готовился к экзамену.
Библиотеки
Для работы с Microsoft Dynamics CRM 2011 есть несколько библиотек: Microsoft.Crm.Sdk.Proxy.dll, Microsoft.Xrm.Sdk.dll, Microsoft.Xrm.Sdk.Workflow.dll, Microsoft.Crm.Tools.EmailProviders.dll, Microsoft.Xrm.Sdk.Deployment.dll, все остальное неймспейсы, поэтому когда спрашивают файл надо указывать файл.
Assembly name | Description | |
---|---|---|
Microsoft.Crm.Sdk.Proxy.dll | Defines requests and responses for messages business data model specific (non-core) messages as well as enumerations required for working with organization data. | |
Microsoft.Crm.Sdk | Contains enumerations of possible picklists and integer values for some attributes. The naming convention of the classes is <EntityName><AttributeName> to make it easier to locate the specific attribute. | |
Microsoft.Crm.Sdk.Messages | Contains request and responses for business data model specific (non-core) messages. | |
Microsoft.Xrm.Sdk.dll | Defines the core xRM methods and types, including proxy classes to make the connection to Microsoft Dynamics CRM simpler, authentication methods, and the service contracts. | |
Microsoft.Xrm.Sdk | Defines the data contracts for attribute types, interfaces for authoring plug-ins, and other general purpose xRM types and methods. | |
Microsoft.Xrm.Sdk.Client | Defines classes for use by client-code, including a data context, proxy classes to ease the connection to Microsoft Dynamics CRM, and the LINQ provider. | |
Microsoft.Xrm.Sdk.Discovery | Defines all classes required to communicate with the Discovery Service, including the service contract, all request/responses and supporting classes. | |
Microsoft.Xrm.Sdk.Messages | Defines request/response classes for Create, Retrieve, Update, Delete, Associate , Disassociate, and the metadata classes. | |
Microsoft.Xrm.Sdk.Metadata | Defines the data contracts for Microsoft Dynamics CRM metadata. | |
Microsoft.Xrm.Sdk.Query | Defines query classes required to connect to Microsoft Dynamics CRM. | |
Microsoft.Xrm.Sdk.Workflow.dll | Defines types and methods required to author a custom workflow activity. | |
Microsoft.Xrm.Sdk.Workflow | Defines the attribute and dependency property classes required to author a custom workflow activity. | |
Microsoft.Xrm.Sdk.Workflow.Activities | Defines the workflow activities that are used by the Microsoft Dynamics CRM workflow designer. | |
Microsoft.Xrm.Sdk.Workflow.Designers | Defines a Microsoft Visual Studio designer for displaying a Microsoft Dynamics CRM workflow in Visual Studio. | |
Microsoft.Crm.Tools.EmailProviders.dll | Defines methods and types needed for developing a custom email provider component for the Microsoft Dynamics CRM Email Router. | |
Microsoft.Crm.Tools.Email.Management | Defines the email provider management types. | |
Microsoft.Crm.Tools.Email.Providers | Defines the base class for a custom email provider and supporting types. | |
Microsoft.Xrm.Sdk.Deployment.dll | Defines types and methods for interacting with the Deployment Web Service. | |
Microsoft.Xrm.Sdk.Deployment | Defines the data contracts necessary to communicate with the Deployment Web Service. | |
Microsoft.Xrm.Sdk.Deployment.Proxy |
Defines a helper class to generate a proxy for the Deployment Web Service.
|
Плагины
Event
|
Stage name
|
Stage number
|
Description
|
Pre-Event
|
Pre-validation
|
10 |
Stage in the pipeline for plug-ins that are to execute before the main system operation.
Plug-ins registered in this stage may execute outside the database transaction.
|
Pre-Event
|
Pre-operation
|
20 |
Stage in the pipeline for plug-ins that are to execute before the main system operation.
Plug-ins registered in this stage are executed within the database transaction.
|
Post-Event
|
Post-operation
|
40 |
Stage in the pipeline for plug-ins which are to execute after the main operation.
Plug-ins registered in this stage are executed within the database transaction.
|
Отличие REST и SOAP
Create, Retrieve, Update and Delete records. | REST Endpoint |
Associate and Disassociate records | REST Endpoint |
Assign Records | SOAP Endpoint |
Retrieve Metadata | SOAP Endpoint |
Execute Messages | SOAP Endpoint |
Both Web services rely on the authentication provided by the Microsoft Dynamics CRM application. They cannot be used by code that executes outside the context of the application and they are effectively limited to use within Silverlight, JScript libraries, or JScript that is included in Web Page (HTML)
Веб-ресурсы
File | File extensions | Type |
---|---|---|
Webpage (HTML) | .htm, .html | 1 |
Style Sheet (CSS) | .css | 2 |
Script (JScript) | .js | 3 |
Data (XML) | .xml | 4 |
Image (PNG) | .png | 5 |
Image (JPG) | .jpg | 6 |
Image (GIF) | .gif | 7 |
Silverlight (XAP) | .xap | 8 |
StyleSheet (XSL) | .xsl, .xslt | 9 |
Image (ICO) | .ico | 10 |
Типы полей
Роли безопасности
Privilege
|
Description
|
Create
|
Create an entity instance.
|
Write
|
Change entities instances.
|
Delete
|
Remove an entity instance.
|
Read
|
View entities.
|
Append
|
Associate a selected entity instance to another entity instance.
|
Append To
|
Associate another entity instance to this entity instance.
|
Assign
|
Give ownership of an entity instance to another user.
|
Share
|
Give access to entity instances to another user and maintain ownership.
|
Reparent
|
Assign a different parent to an entity instance.
|
Windows Azure
Что касается вопросов по Windows Azure то мы можем использовать AppFabric Service Bus для связи с облачными приложениями, соединяться можно с помощью Access Control Services (ACS) или Active Directory Federation Services 2.0 (ADFS) и это все.