<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/c-sharp/tags/aspnet</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 23 May 2013 09:10:00 GMT</pubDate>
<item>
<title>(C#) different class for alternating item - samilce</title>
<link>http://snipplr.com/view/70055/different-class-for-alternating-item/</link>
<description><![CDATA[ <p>To use a different class for alternating item of asp.net repeater control</p> ]]></description>
<pubDate>Fri, 22 Feb 2013 19:06:47 GMT</pubDate>
<guid>http://snipplr.com/view/70055/different-class-for-alternating-item/</guid>
</item>
<item>
<title>(C#) Access a Method in a Master Page with Code-Behind - kfiil</title>
<link>http://snipplr.com/view/66303/access-a-method-in-a-master-page-with-codebehind/</link>
<description><![CDATA[ <p>Access a Method in a Master Page with Code-Behind</p> ]]></description>
<pubDate>Tue, 24 Jul 2012 17:01:59 GMT</pubDate>
<guid>http://snipplr.com/view/66303/access-a-method-in-a-master-page-with-codebehind/</guid>
</item>
<item>
<title>(C#) ASP.NET MVC Controllers in subfolder - dancerjude</title>
<link>http://snipplr.com/view/65466/aspnet-mvc-controllers-in-subfolder/</link>
<description><![CDATA[ <p>Per gestire le situazioni in cui è necessario avere dei controller in una subfolder (ad esempio /api/v1/{controller}/{action}/{id}, utilizzare il seguente codice nella "global.asax.cs" nel metodo "RegisterRoutes".</p> ]]></description>
<pubDate>Fri, 08 Jun 2012 00:03:43 GMT</pubDate>
<guid>http://snipplr.com/view/65466/aspnet-mvc-controllers-in-subfolder/</guid>
</item>
<item>
<title>(C#) Dropdown list ASP.NET MVC - praveensewak</title>
<link>http://snipplr.com/view/65285/dropdown-list-aspnet-mvc/</link>
<description><![CDATA[ <p>Dropdown list bound in MVC using Entity Framework</p> ]]></description>
<pubDate>Thu, 31 May 2012 09:04:37 GMT</pubDate>
<guid>http://snipplr.com/view/65285/dropdown-list-aspnet-mvc/</guid>
</item>
<item>
<title>(C#) IsPageRefresh in ASP .NET - Preventing previously submitted - satie83</title>
<link>http://snipplr.com/view/64908/ispagerefresh-in-asp-net--preventing-previously-submitted/</link>
<description><![CDATA[ <p>How do I prevent previously submitted form data from being reinserted into the database when the user presses the browser's Refresh button?
Although it is not possible due to unique key constraint available in tables but it is unnecessary go to other layer (data access, business layer).</p> ]]></description>
<pubDate>Thu, 17 May 2012 22:35:19 GMT</pubDate>
<guid>http://snipplr.com/view/64908/ispagerefresh-in-asp-net--preventing-previously-submitted/</guid>
</item>
<item>
<title>(C#) static ResolveUrl  and ResolveServerUrl - plugables</title>
<link>http://snipplr.com/view/58557/static-resolveurl--and-resolveserverurl/</link>
<description><![CDATA[ <p>You do not have Page object available everywhere to use Page.ResolveUrl. Here is an alternate.</p> ]]></description>
<pubDate>Fri, 09 Sep 2011 20:11:09 GMT</pubDate>
<guid>http://snipplr.com/view/58557/static-resolveurl--and-resolveserverurl/</guid>
</item>
<item>
<title>(C#) Sending different Email types  with ASP.Net - derebus</title>
<link>http://snipplr.com/view/57068/sending-different-email-types--with-aspnet/</link>
<description><![CDATA[ <p>Como insertar imgenes en un envio via email en ASP.NET</p> ]]></description>
<pubDate>Sat, 23 Jul 2011 09:29:25 GMT</pubDate>
<guid>http://snipplr.com/view/57068/sending-different-email-types--with-aspnet/</guid>
</item>
<item>
<title>(C#) Get the Host Name in ASP.NET C# - jasonseney</title>
<link>http://snipplr.com/view/50795/get-the-host-name-in-aspnet-c/</link>
<description><![CDATA[ <p>Will return the host name that the site is running on. Example:

`http://mysite.com` or `http://myspecialsite.com:102`</p> ]]></description>
<pubDate>Fri, 18 Mar 2011 07:33:58 GMT</pubDate>
<guid>http://snipplr.com/view/50795/get-the-host-name-in-aspnet-c/</guid>
</item>
<item>
<title>(C#) Null check for razor in line text display - AndewAllison</title>
<link>http://snipplr.com/view/50333/null-check-for-razor-in-line-text-display/</link>
<description><![CDATA[ <p>This is far from ground breaking but I forget it all the time so thought this might be a useful place to keep a reference of it</p> ]]></description>
<pubDate>Wed, 09 Mar 2011 04:22:05 GMT</pubDate>
<guid>http://snipplr.com/view/50333/null-check-for-razor-in-line-text-display/</guid>
</item>
<item>
<title>(C#) ASP.NET Image Upload and Resize - vedgiee</title>
<link>http://snipplr.com/view/43917/aspnet-image-upload-and-resize/</link>
<description><![CDATA[ <p>Image Upload and Resize</p> ]]></description>
<pubDate>Thu, 11 Nov 2010 05:13:03 GMT</pubDate>
<guid>http://snipplr.com/view/43917/aspnet-image-upload-and-resize/</guid>
</item>
<item>
<title>(C#) Server-side Cookie Helper Methods - mecha</title>
<link>http://snipplr.com/view/43108/serverside-cookie-helper-methods/</link>
<description><![CDATA[ <p>You should include these Cookie helpers in your base page class. Enjoy!</p> ]]></description>
<pubDate>Thu, 28 Oct 2010 08:52:31 GMT</pubDate>
<guid>http://snipplr.com/view/43108/serverside-cookie-helper-methods/</guid>
</item>
<item>
<title>(C#) create aspnet db in sql from .net tools - hairajeshk</title>
<link>http://snipplr.com/view/42539/create-aspnet-db-in-sql-from-net-tools/</link>
<description><![CDATA[ <p>create aspnet db in sql from .net tools</p> ]]></description>
<pubDate>Tue, 19 Oct 2010 13:13:24 GMT</pubDate>
<guid>http://snipplr.com/view/42539/create-aspnet-db-in-sql-from-net-tools/</guid>
</item>
<item>
<title>(C#) MVCContrib Grid Usage - rogalski</title>
<link>http://snipplr.com/view/42229/mvccontrib-grid-usage/</link>
<description><![CDATA[ <p>Example usage</p> ]]></description>
<pubDate>Thu, 14 Oct 2010 05:37:52 GMT</pubDate>
<guid>http://snipplr.com/view/42229/mvccontrib-grid-usage/</guid>
</item>
<item>
<title>(C#) ASP.NET Query from codebehind (Old School) - myke</title>
<link>http://snipplr.com/view/40435/aspnet-query-from-codebehind-old-school/</link>
<description><![CDATA[ <p>Old school or simple way of querying data without a DAL.</p> ]]></description>
<pubDate>Tue, 14 Sep 2010 02:16:39 GMT</pubDate>
<guid>http://snipplr.com/view/40435/aspnet-query-from-codebehind-old-school/</guid>
</item>
<item>
<title>(C#) Shorten text class - Fogh</title>
<link>http://snipplr.com/view/39651/shorten-text-class/</link>
<description><![CDATA[ <p>Class to shorten text. For example for an article where people can click read more to read the whole article.</p> ]]></description>
<pubDate>Sat, 28 Aug 2010 22:08:55 GMT</pubDate>
<guid>http://snipplr.com/view/39651/shorten-text-class/</guid>
</item>
<item>
<title>(C#) Redirect to website without www. - Fogh</title>
<link>http://snipplr.com/view/39650/redirect-to-website-without-www/</link>
<description><![CDATA[ <p>Add this code to your Global.asax in your ASP.NET project, in the \"Application_BeginRequest\" event.</p> ]]></description>
<pubDate>Sat, 28 Aug 2010 22:02:04 GMT</pubDate>
<guid>http://snipplr.com/view/39650/redirect-to-website-without-www/</guid>
</item>
<item>
<title>(C#) ASP.NET URL RESOLVER - emmanuelbuah</title>
<link>http://snipplr.com/view/38903/aspnet-url-resolver/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 11 Aug 2010 07:03:42 GMT</pubDate>
<guid>http://snipplr.com/view/38903/aspnet-url-resolver/</guid>
</item>
<item>
<title>(C#) Sorting Gridview Control ASP.NET - mpcircuitry</title>
<link>http://snipplr.com/view/36549/sorting-gridview-control-aspnet/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 01 Jul 2010 01:47:44 GMT</pubDate>
<guid>http://snipplr.com/view/36549/sorting-gridview-control-aspnet/</guid>
</item>
<item>
<title>(C#) ASP.NET Membership Provider - Remove Unwanted Profile Properties - mmfusion</title>
<link>http://snipplr.com/view/36547/aspnet-membership-provider--remove-unwanted-profile-properties/</link>
<description><![CDATA[ <p>I removed several properties from my custom Profile class, and wanted to clean out the data from the aspnet\_Profile table. This code will remove all unwanted data from the PropertyNames and PropertyValuesString columns of aspnet\_Profile. Note this assumes PropertyValuesBinary is not used, though it wouldn't be hard to support that too.</p> ]]></description>
<pubDate>Thu, 01 Jul 2010 00:15:48 GMT</pubDate>
<guid>http://snipplr.com/view/36547/aspnet-membership-provider--remove-unwanted-profile-properties/</guid>
</item>
<item>
<title>(C#) GetRESTData - JohnAgan</title>
<link>http://snipplr.com/view/35821/getrestdata/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 17 Jun 2010 11:49:59 GMT</pubDate>
<guid>http://snipplr.com/view/35821/getrestdata/</guid>
</item>
</channel>
</rss>