<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Michael Merrell . com &#187; C# .NET</title>
	<atom:link href="http://michaelmerrell.com/category/web-development/c-net/feed/" rel="self" type="application/rss+xml" />
	<link>http://michaelmerrell.com</link>
	<description>This website is devoted to web development and my technology opinions.</description>
	<lastBuildDate>Fri, 14 May 2010 16:26:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Global Error logging in MVC or ASP .NET using C#</title>
		<link>http://michaelmerrell.com/2010/04/global-error-logging-in-mvc-or-asp-net-using-c/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://michaelmerrell.com/2010/04/global-error-logging-in-mvc-or-asp-net-using-c/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 04:00:04 +0000</pubDate>
		<dc:creator>Michael Merrell</dc:creator>
				<category><![CDATA[C# .NET]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Error Logging]]></category>
		<category><![CDATA[Global Error]]></category>
		<category><![CDATA[MVC]]></category>

		<guid isPermaLink="false">http://michaelmerrell.com/?p=280</guid>
		<description><![CDATA[With the implementation of MVC there is a lot more room for unhanded global exceptions because in MVC you are encouraged to write more in line code to accompany the back end code. So what happens when an exception is thrown within the front end code? Well you&#8217;ll have an exception that will bubble up to the global application class which if you don&#8217;t handle it there it will continue to bubble and be displayed to the user as specified in the web configuration file. This doesn&#8217;t do you much good, sure the user will know that there is an error, and you can squelch the amount of information that is displayed to your ordinary users, but if working through trouble shooting the issue this <a href='http://michaelmerrell.com/2010/04/global-error-logging-in-mvc-or-asp-net-using-c/'>[Read More...]</a>]]></description>
		<wfw:commentRss>http://michaelmerrell.com/2010/04/global-error-logging-in-mvc-or-asp-net-using-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Randomize Result Orders in T-SQL and LINQ to SQL</title>
		<link>http://michaelmerrell.com/2010/03/randomize-result-orders-in-t-sql-and-linq-to-sql/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://michaelmerrell.com/2010/03/randomize-result-orders-in-t-sql-and-linq-to-sql/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 05:49:28 +0000</pubDate>
		<dc:creator>Michael Merrell</dc:creator>
				<category><![CDATA[C# .NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[LINQ]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[TSQL]]></category>

		<guid isPermaLink="false">http://michaelmerrell.com/?p=273</guid>
		<description><![CDATA[There are a number of different reasons that you would want to get your database results in a random order. I&#8217;ve had a number of different reasons to do this so far throughout my career, the first of which was in a simple T-SQL statement that we were pulling up a list of items that we wanted in a random order. Turns out that with T-SQL there is a really simple way to get your results in a random order. All you have to do is add the following to the end of your SQL statement. &#8220;ORDER BY NewID()&#8221; Simple isn&#8217;t it? I thought so too. However, more recently I have been playing around more and more with LINQ and in specific LINQ to SQL. I <a href='http://michaelmerrell.com/2010/03/randomize-result-orders-in-t-sql-and-linq-to-sql/'>[Read More...]</a>]]></description>
		<wfw:commentRss>http://michaelmerrell.com/2010/03/randomize-result-orders-in-t-sql-and-linq-to-sql/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Dynamically modifying the ASP.NET GridView paging control.</title>
		<link>http://michaelmerrell.com/2010/01/dynamically-modifying-the-asp-net-gridview-paging-control/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://michaelmerrell.com/2010/01/dynamically-modifying-the-asp-net-gridview-paging-control/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 14:21:18 +0000</pubDate>
		<dc:creator>Michael Merrell</dc:creator>
				<category><![CDATA[C# .NET]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[GridView]]></category>
		<category><![CDATA[Paging]]></category>

		<guid isPermaLink="false">http://michaelmerrell.com/?p=231</guid>
		<description><![CDATA[Recently we had a client ask us to add a label in front of the paging control on an ASP.NET gridview numeric paging control so that users would know what the numbers meant. This seemed like a reasonable request as we were dealing with users who may not be the most tech savvy, plus it didn&#8217;t seem like there would be much work that would need to be put in to accomplish this goal. To understand the solution you need to understand the steps at which it took to get there. The first thing I tried was modifying the PagerTemplate, but little did I know that in ASP.NET when you modify this template on a GridView you overwrite the entire paging control. This obviously wasn&#8217;t <a href='http://michaelmerrell.com/2010/01/dynamically-modifying-the-asp-net-gridview-paging-control/'>[Read More...]</a>]]></description>
		<wfw:commentRss>http://michaelmerrell.com/2010/01/dynamically-modifying-the-asp-net-gridview-paging-control/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fun With Enumerations Part 2 &#8211; Converting a Value to an Enumeration</title>
		<link>http://michaelmerrell.com/2009/12/fun-with-enumerations-part-2/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://michaelmerrell.com/2009/12/fun-with-enumerations-part-2/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 14:18:02 +0000</pubDate>
		<dc:creator>Michael Merrell</dc:creator>
				<category><![CDATA[C# .NET]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[enumeration conversion]]></category>
		<category><![CDATA[enumerations]]></category>
		<category><![CDATA[type param]]></category>

		<guid isPermaLink="false">http://michaelmerrell.com/?p=187</guid>
		<description><![CDATA[I&#8217;ve finally gotten around to finishing this second post. The first part of the Post can be viewed here. In my first fun with enumerations post I went over how to use an enumeration as a data source. That is all good and dandy when you are working with enumerations and want to put them into the data base. But what happens when you need to pull that value out of the database and convert it back into an enumeration. This is a problem that I have been faced with in the past. Previously my method was to convert the value out of the database to an integer and then use a switch statement to compare it to all the integer values of the enumerations. <a href='http://michaelmerrell.com/2009/12/fun-with-enumerations-part-2/'>[Read More...]</a>]]></description>
		<wfw:commentRss>http://michaelmerrell.com/2009/12/fun-with-enumerations-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fun with Enumerations Part 1 &#8211; Using Enumerations as a Data Source</title>
		<link>http://michaelmerrell.com/2009/10/fun-with-enumerations/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://michaelmerrell.com/2009/10/fun-with-enumerations/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 10:49:07 +0000</pubDate>
		<dc:creator>Michael Merrell</dc:creator>
				<category><![CDATA[C# .NET]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[data source]]></category>
		<category><![CDATA[enum]]></category>
		<category><![CDATA[enumeration]]></category>

		<guid isPermaLink="false">http://michaelmerrell.com/?p=169</guid>
		<description><![CDATA[This is the beginning of a guide to enumerations that i&#8217;m working on for Code-Project. When dealing with data driven application design look up tables are something that have been used heavily to help express a value for something that can be cross referenced.  For instance if you want to store the alignment of text that you are storing in a database you wouldn&#8217;t want to store the full string representation of the alignment.   You also wouldn&#8217;t want to create a look up table as your alignment options are unlikely to change and it would only cause to create an extra unneeded table in your database structure. This is where enumerations come in. An enumeration is a fairly basic structure to grasp, in it&#8217;s most basic form <a href='http://michaelmerrell.com/2009/10/fun-with-enumerations/'>[Read More...]</a>]]></description>
		<wfw:commentRss>http://michaelmerrell.com/2009/10/fun-with-enumerations/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
