Optimise Dynamics CRM 2011 using WCF Compression

IIS automatically compresses many types of content including script, images and css files to help improve network performance by minimizing the amount of data required to be transferred between the client and server. WCF responses which have a mimetype of ‘application/soap+xml;charset=utf-8’ are not compressed by default by IIS.

Dynamics CRM 2011 Outlook client uses WCF to retrieve data from the server and minimizing the network traffic across these clients especially when there are a large number of Dynamics CRM Outlook client users can have a positive impact on network load freeing up resource for other processes.

With WCF compression enabled you may see up to 30% reduction in response size and you can discover this by analyzing network traffic before and after it is enabled. The largest benefit that can be obtained from compression is by enabling SSL for your Dynamics CRM deployment, even for on-premise. Using SSL you may be able to gain an 80% reduction in the response size for your Dynamics CRM Outlook clients. The side effect to all of this is the impact on server resource in particular CPU when it performs the compression and with SSL, the encryption. Therefore it may not provide benefits in every scenario though weighing up the different aspects of your environment including the amount of users, and performance testing these features may show a positive increase in network performance.

Enable compression using a command line

  • Open the Command Prompt on the CRM Server.
  • Run the following command:

%SYSTEMROOT%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /+”dynamicTypes.[mimeType='application/soap+xml; charset=utf-8',enabled='true']” /commit:apphost

  •  Reset IIS for the setting to take effect.

Enable compression by manually updating the ApplicationHost.Config

  • On the CRM Server Navigate to: C:\Windows\System32\Inetsrv\Config\applicationHost.config and open it with notepad.
  • Locate the Section: “<httpCompression directory=” and in that section find a child node titled <dynamicsTypes> and an entry that looks like this:
    <add mimeType=”application/x-javascript” enabled=”true” />
  • Below that, add the following line:

<add mimeType=”application/soap+xml; charset=utf-8″ enabled=”true” />

  • Save the file and reset IIS for the setting to take effect.

Enable Compression in IIS using Configuration Editor

  • Open IIS on the CRM Server
  • Open Configuration Editor and navigate to the system.webServer/httpCompression Section

  • Choose dynamicTypes and open to add the new mimeType
  • Add a new item and enter application/soap+xml; charset=utf-8 as the mimeType.

  • Enable the mimeType and close the window.
  • Select Apply on the Configuration Editor and then reset IIS for the setting to take effect.

Note: Ensure you test this thoroughly in a test environment before configuring your production environment with this setting.

Dynamics CRM 2011 R8 Service Update News

Today Microsoft announced what’s going to be in their next service update for Microsoft Dynamics CRM 2011, codenamed “R8″, under the headline: CRM Anywhere.

The R8 service update is expected to be available Q2 2012 and promotes 6 areas of interest:

  • Mobility
  • Multi Browser Support
  • Social Improvements
  • Industry Templates
  • SQL Server 2012
  • Certifications

Mobility

The launch of a new product titled Microsoft Dynamics CRM Mobile, which will enable CRM Online, partner-hosted and on-premise customers with IFD to use CRM on up to three devices per user. There will be native clients, which means offline support, on all the main mobile platforms including.

  • Windows Phone 7.5
  • iPhone & iPad
  • Android
  • BlackBerry

This is a subscription service  for $30 per user per month.

Multi Browser Support

This feature has finaly arrived. R8 applied to your CRM server will priovide access to CRM using the following browsers

  • Internet Explorer 7 or above on Windows 7, Vista and XP
  • Safari 5.1.1 or above on Mac OS-X or iOS5
  • Firefox 6 or above on Windows 7, Vista and XP or Mac OS-X or iOS5
  • Chrome 13 or above on Windows 7, Vista and XP.

Social Improvements

Microsoft released the new Activity Feeds feature in November 2011 which provided Social features into CRM 2011. R8 introduces a series of enhancements to the Activity Feeds feature including.

  • like/dislike
  • enhanced filtering (e.g. @me, types of records I follow, record views)
  • an updated mobile activity feeds client for Windows Phone 7.5.

Industry Templates

Building on the work of Microsoft partners and its own consulting team, the Dynamics Labs will be releasing several industry templates into the Dynamics Marketplace. The first few templates will include.

  • Wealth Management
  • Non-Profit
  • Health

The templates will include data model customizations, dashboards, workflows and sample data. They’re designed to help customers in these specific  industries visualise how Dynamics CRM can help their business, and speed up an implementation without necessarily being a fully-packaged vertical industry product.

SQL Server 2012

Microsoft’s have already been upgraded their data centers to SQL Server 2012 and the R8 service update will bring official support for partners and customers wanting to upgrade their own deployments to SQL Server 2012. Additionally, there will be some new CRM features that make use of SQL Server 2012 new capabilities including

  • Performance improvements
  • Enhanced database recovery
  • Next generation BI (“Crescent”) such as pre-defined Power Pivot models, Power View reports, and time-animated reports.

Certifications

Certifications are critical to enterprise adoption and Microsoft has been working hard over the last year to ensure that its data centers and CRM Online service meets several important certification standards including.

  • ISO 27001
  • SAS 70 Type II
  • SOX
  • SSAE 16 SOC1
  • Safe Harbor
  • Data Processing Agreement
  • EU Model Clauses
  • HIPAA compliance (supported through Business Partner Agreements).

For More Information Download the R8 Release Preview Guide from the Microsoft Dynamics CRM website: http://crmpublish.blob.core.windows.net/docs/ReleasePreviewGuide.pdf

Read the CRM Anywhere blog article by new CRM General Manager Dennis Michalis: https://community.dynamics.com/product/crm/crmnontechnical/b/crmconnection/archive/2012/02/06/crm-anywhere.aspx

Join the discussion on Linked In http://www.linkedin.com/groupAnswers?viewQuestionAndAnswers=&discussionID=93388708&gid=21231&commentID=-1&trk=eml-anet_ancmt-b-0&ut=3XFzBGrunqTl41