-
I had a scenario the other day where I need to use the CRM SDK to do a query simlar to this 'WHERE column1 = value AND (column2=value1 OR column2=value2)' , this was pretty easy to accomplish once I understood difference between Filters and Conditions on the QueryExpression object. Here is how...
-
With the new language features in the .Net framework this has become much simpler. I had to implement sorting on a custom collection in two projects last week, one being .net 1.1 and one being .net 3.5. Let me tell you it was much easier in 3.5 and much more flexible as you can order by multiple fields...
-
It took me a little time to figure out how set the state/status of a Opportunity to a win. Other times I've had to set states/status on a CRM object I've only had to use the corresponding SetStateRequest object which does exist for Opportunity but fails to do what I needed. The following code...
-
I came across a new rich text editor in a project recently where I just needed some simple lists/bolding/color capabilities. Its super easy to use, you just reference the .dll and add it like any other server control to your page. The nice part is everything is compiled into the .dll, you don't have...
-
Just kidding. For anyone who had the pleasure of coding against the Microsoft CRM 1.0 web services you probably remember that cumbersome FetchXML you had to write to query against the CRM object model. Well with CRM 3.0 and the strongly typed object model it exposes I thought I was in the clear from...
-
When implementing a custom Feature in SharePoint 2007, you may rely on custom configuration data (in a custom configuration section) stored in a SharePoint site's web.config file. When activating and deactivating your feature through the SharePoint site settings user interface, this works just fine....
-
Pair programming is an important part of modern-day, agile software development processes. It helps developers write better software. Pair programming is a good thing. However, I usually can't stand watching someone else write code, or watch someone else do anything on a keyboard for that matter. It...
-
I recently maintained an ASP .Net application where Xml Serialization was used to read and persist configuration data during page requests. When site traffic increased, users encountered System.IO.IOExceptions with the message "The process cannot access the file "c:\SomeFolder\SomeFile.xml" because it...
-
The ASP .Net web caching API is a powerful and useful tool at your disposal. Here are a few tips and suggestions that will help make your code more flexible and maintainable when using the caching API: Define unique keys for cached items in your domain Store expiration durations or times in a configuration...
-
I haven't posted in a while because things have been pretty busy in the office. I haven't had much time at all to continue my WPF research, but there are some other interesting things happening that I hope to write about in the near future. VS .Net Solution Re-structuring - My development team that works...