December 2010 archive

Dec 03

How to Post code to WordPress

To accomplish the above, just wrap your code in these tags: [sourcecode language=”css”] your code here [/sourcecode] The language parameter controls how the code is syntax highlighted. The following languages are supported: actionscript3 bash coldfusion cpp csharp css delphi erlang fsharp diff groovy javascript java javafx matlab (keywords only) objc perl php text powershell python …

Continue reading »

Dec 03

How to make DevExpress work on your Sharepoint 2010 Application Page

After reading many posts I can say it is very hard to find information on how to get Custom Controls created by third parties working properly in SharePoint 2010 Application Pages (I guess a lot of people are not doing them yet). The solution actually turned out to be a bit simpler than one would …

Continue reading »

Dec 02

Entity Framework 4: Any way to know the plural form of an Entity Type?

While working on a project I came across the need to identify what the entity set name is so I can use that to add an updated entity to the set. In order to identify the plural I came up with two options: Use the Pluralization service to figure out the entity set name: The …

Continue reading »

Dec 02

Pluralization Services

Recently as part of my work with the Entity Framework (EF) I came across a very interesting feature that could be leveraged in many other areas beyond the EF: The Pluralization Services. As you may be aware of, the EF has a feature that pluralizes the name of an entity when making entity sets. In …

Continue reading »