Blog

C# Generic Extension function to check if an item is in the list of values

Michael Roma on Jul 23, 2013

The following is a C# Generic Extension function that checks if an item is in the given list of values.

  • C#

Useful Umbraco Links

Michael Roma on Jul 16, 2013

Helpful Umbraco links/resources

  • Umbraco

How to force WWW in your URL using ASP.NET Web.config URL Rewrite

Michael Roma on Jul 13, 2013

This article shows how to force your site to have WWW in the URL using the IIS URL rewrite module.

  • ASP.NET

Connecting to a SQL Compact database using Entity Framwork in ASP.NET

Michael Roma on Apr 3, 2013

The following shows how to setup a proper connection string and DbContext in Entity Framework in order to connect to a SQL Compact database in ASP.NET.

  • ASP.NET
  • C#
  • Entity Framework

C# Helper functions to map a DataTable or DataRow to a class object

Michael Roma on Mar 30, 2013

The following methods will allow you to map your DataTable, DataRow results to a class object.

  • C#
  • SQL

Using the LIKE filter in Entity Framework

Michael Roma on Mar 19, 2013

Example on how to use the LIKE functionality in T-SQL in Entity Framework

  • C#
  • Entity Framework

How to display the x++ stack trace using the InfoLog in Dynamics AX

Michael Roma on Mar 16, 2013

Displaying the x++ stack trace in Dynamics AX 2009

  • Dynamics AX
  • x++

Using Contains in Entity Framework for WHERE IN clause

Michael Roma on Mar 16, 2013

A common problem with parameterized queries is when you have the need for a WHERE IN clause and the IN list is variable. This is solved with Entity Framework using the Contains methods of the list.

  • C#
  • Entity Framework

iOS Examples project on Bitbucket

Michael Roma on Mar 9, 2013

I posted an Xcode project on bitbucket that shows different examples I'm been working on.

  • iOS
  • Objective-C

How to join a table-valued function in T-SQL

Michael Roma on Jan 30, 2013

Example on how to join a table-valued function in a T-SQL query

  • SQL