WRITTEN BY Patrick Verbeeten - 12 January 2012
NuGet is an open source initiative that 'Makes it easy to install and update open source libraries in Visual Studio' or so it says on the website. Basically its a Visual Studio plugin that allows you to add packages to individual projects. These packages can contain different things such as assemblies, commonly source files etc. With support for both an online public repository as well as the ability to use local repositories it makes it a good way to save your libraries, even if it is only for your self or your team.
WRITTEN BY Patrick Verbeeten - 25 November 2010
When coding with early bound entities you still need the attribute names in some cases, for instance when you are building a query expression. You can just add the name as a string but then you run the risk of mistyping the name. I have created a solution for this problem.
WRITTEN BY Patrick Verbeeten - 12 September 2008
CRM support user working in multiple time zones by storing alle date time values as UTC. This way the time can be easily adjusted to the users time zone setting. This article explains this in a bit more detail. This also applies to date values, some dates such as a birth date can be fixed regardless of time zone. CRM will still adjust these to the time zone, this may show as a full day difference in the user interface.
WRITTEN BY Patrick Verbeeten - 29 April 2008
When you are developing with a virtual PC which is running in its own domain or want to debug any other system which is in a different domain than you own user remote debuggin will normally fail on authentication errors.
WRITTEN BY Patrick Verbeeten - 01 July 2007
This class is written for conversion of xml node values to a .NET type but can also be used to with plain strings. Accepts an XML node an returns strong type value of any convertible type
WRITTEN BY Patrick Verbeeten - 01 July 2007
The Crm 3.0 webservice is a great improvement on the 1.2 version but still due to the nature of webservices working with it can require some quite elaborate code. You need to instantiate the class, configure security, create a ColumnSet, add columns to the column set and finally execute the Retrieve method and cast its result. This results in about 10 lines of code for such a simple action. Using partial classes introduced in the .Net 2.0 framework you can extend the Webservice without lossing the easy of recreating the webproxy when you change or and a type. Using generics you can even enforce type safety at compiletime.
RSS Feed