<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Simply .Net - All about .Net development</title>
	<atom:link href="http://simplydotnet.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://simplydotnet.wordpress.com</link>
	<description>All about .Net development</description>
	<lastBuildDate>Mon, 28 Feb 2011 09:35:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='simplydotnet.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Simply .Net - All about .Net development</title>
		<link>http://simplydotnet.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://simplydotnet.wordpress.com/osd.xml" title="Simply .Net - All about .Net development" />
	<atom:link rel='hub' href='http://simplydotnet.wordpress.com/?pushpress=hub'/>
		<item>
		<title>SQL Server Full Text Search</title>
		<link>http://simplydotnet.wordpress.com/2011/02/28/sql-server-full-text-search/</link>
		<comments>http://simplydotnet.wordpress.com/2011/02/28/sql-server-full-text-search/#comments</comments>
		<pubDate>Mon, 28 Feb 2011 09:35:03 +0000</pubDate>
		<dc:creator>zhenglinet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://simplydotnet.wordpress.com/?p=273</guid>
		<description><![CDATA[[-] LIKE search &#8216;Search%&#8217; can use an index. LIKE search &#8216;%Search&#8217; and &#8216;%Search%&#8217; can not use an index, instead, it will cause a full table scan; [-] CONTAINS is used to search for a particular word, phrase or prefix of word or phrase. [-] FREETEXT is used to search the meaning of the keyword rather [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simplydotnet.wordpress.com&amp;blog=7291195&amp;post=273&amp;subd=simplydotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>[-] LIKE search &#8216;Search%&#8217; can use an index. LIKE search &#8216;%Search&#8217; and &#8216;%Search%&#8217; can not use an index, instead, it will cause a full table scan; </p>
<p>[-] CONTAINS is used to search for a particular word, phrase or prefix of word or phrase.<br />
<pre class="brush: sql;">
CONTAINS(Name, 'Mountain'); -- search a word
CONTAINS(Name, '&quot;Mountain Road&quot;'); -- search a phrase
CONTAINS(Name, 'Mountain*'); -- search a prefix of a word
</pre></p>
<p>[-] FREETEXT is used to search the meaning of the keyword rather than the exact word</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/simplydotnet.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/simplydotnet.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/simplydotnet.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/simplydotnet.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/simplydotnet.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/simplydotnet.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/simplydotnet.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/simplydotnet.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/simplydotnet.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/simplydotnet.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/simplydotnet.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/simplydotnet.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/simplydotnet.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/simplydotnet.wordpress.com/273/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simplydotnet.wordpress.com&amp;blog=7291195&amp;post=273&amp;subd=simplydotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://simplydotnet.wordpress.com/2011/02/28/sql-server-full-text-search/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/43a19b71f0701e19119845c89648dfd0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhenglinet</media:title>
		</media:content>
	</item>
		<item>
		<title>ASP.Net MVC View Summary</title>
		<link>http://simplydotnet.wordpress.com/2011/02/17/asp-net-mvc-view-summary/</link>
		<comments>http://simplydotnet.wordpress.com/2011/02/17/asp-net-mvc-view-summary/#comments</comments>
		<pubDate>Wed, 16 Feb 2011 13:22:04 +0000</pubDate>
		<dc:creator>zhenglinet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://simplydotnet.wordpress.com/?p=265</guid>
		<description><![CDATA[[-] View is responsible for take data from controller and produce HTML [-] Five Ways to Add Dynamic Content to a View: Inline code, HTML helpers, Server controls, Partial views, Child actions [-] Keep view as simple as possible to reduce incline code [-] HTML-Encode user input. HTML Encode means replacing each special character in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simplydotnet.wordpress.com&amp;blog=7291195&amp;post=265&amp;subd=simplydotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>[-] View is responsible for take data from controller and produce HTML<br />
[-] Five Ways to Add Dynamic Content to a View: Inline code, HTML helpers, Server controls, Partial views, Child actions<br />
[-] Keep view as simple as possible to reduce incline code<br />
[-] HTML-Encode user input. HTML Encode means replacing each special character in the text (e.g., &lt;) with its HTML entity equivalent (e.g., &amp; l t ; ), which means it translate the original test into a HTML-Encoded format so that browser will display the original text, rather than render then into HTML elements.<br />
[-] Use  syntax on .Net 4 render value to HTML, framework will encode HTML for you if necessary.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/simplydotnet.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/simplydotnet.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/simplydotnet.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/simplydotnet.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/simplydotnet.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/simplydotnet.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/simplydotnet.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/simplydotnet.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/simplydotnet.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/simplydotnet.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/simplydotnet.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/simplydotnet.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/simplydotnet.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/simplydotnet.wordpress.com/265/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simplydotnet.wordpress.com&amp;blog=7291195&amp;post=265&amp;subd=simplydotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://simplydotnet.wordpress.com/2011/02/17/asp-net-mvc-view-summary/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/43a19b71f0701e19119845c89648dfd0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhenglinet</media:title>
		</media:content>
	</item>
		<item>
		<title>Avoid Resubmit Issue Caused by Page Refresh(F5)</title>
		<link>http://simplydotnet.wordpress.com/2011/02/10/avoid-resubmit-from-f5/</link>
		<comments>http://simplydotnet.wordpress.com/2011/02/10/avoid-resubmit-from-f5/#comments</comments>
		<pubDate>Thu, 10 Feb 2011 11:46:41 +0000</pubDate>
		<dc:creator>zhenglinet</dc:creator>
				<category><![CDATA[ASP.Net]]></category>

		<guid isPermaLink="false">http://simplydotnet.wordpress.com/?p=259</guid>
		<description><![CDATA[use Post/Redirect/Get pattern http://en.wikipedia.org/wiki/Post/Redirect/Get<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simplydotnet.wordpress.com&amp;blog=7291195&amp;post=259&amp;subd=simplydotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>use Post/Redirect/Get pattern</p>
<p>http://en.wikipedia.org/wiki/Post/Redirect/Get</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/simplydotnet.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/simplydotnet.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/simplydotnet.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/simplydotnet.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/simplydotnet.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/simplydotnet.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/simplydotnet.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/simplydotnet.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/simplydotnet.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/simplydotnet.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/simplydotnet.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/simplydotnet.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/simplydotnet.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/simplydotnet.wordpress.com/259/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simplydotnet.wordpress.com&amp;blog=7291195&amp;post=259&amp;subd=simplydotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://simplydotnet.wordpress.com/2011/02/10/avoid-resubmit-from-f5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/43a19b71f0701e19119845c89648dfd0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhenglinet</media:title>
		</media:content>
	</item>
		<item>
		<title>ASP.Net MVC Controller Summary</title>
		<link>http://simplydotnet.wordpress.com/2011/02/06/asp-net-mvc-controller-summary/</link>
		<comments>http://simplydotnet.wordpress.com/2011/02/06/asp-net-mvc-controller-summary/#comments</comments>
		<pubDate>Sun, 06 Feb 2011 11:54:47 +0000</pubDate>
		<dc:creator>zhenglinet</dc:creator>
				<category><![CDATA[ASP.Net MVC]]></category>

		<guid isPermaLink="false">http://simplydotnet.wordpress.com/?p=254</guid>
		<description><![CDATA[[-] Controller contains application logic. Servers as a bridge between the Web and your domain model. [-] All controllers inherited from System.Web.Mvc.Controller, which implemet IController interface. [-] Public method is called action method, which is mapped and can be invoked by a public URL. [-] Action method is invoked with parameters extracted from the incoming [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simplydotnet.wordpress.com&amp;blog=7291195&amp;post=254&amp;subd=simplydotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>[-] Controller contains application logic. Servers as a bridge between the Web and your domain model.<br />
[-] All controllers inherited from System.Web.Mvc.Controller, which implemet IController interface.<br />
[-] Public method is called action method, which is mapped and can be invoked by a public URL.<br />
[-] Action method is invoked with parameters extracted from the incoming request, including HTTP Get/Post data, route data&#8230;<br />
[-] Action method returns Action results, which are objects describing the intended result of an action (e.g., rendering a view, or redirecting to a different URL oraction method).<br />
[-] Get user input<br />
- Directly from context Objects: Request.QueryString["paraName"] for HTTP Get data; Request.Form["paraName"] for HTTP Post Data<br />
- Using Action Method Parameters: framework will use the parameter name (case sensitive) as key to search Request.QueryString, Request.Form, and RouteData.Values key-value dictionary and populate the value.<br />
- Model Binding: the action parameter is an object. MVC will populate the object property using the context data with the same name.<br />
[-] If the framework can’t find any match for a particular parameter, it will try to supply null for that parameter, which will cause exception for value type like int. Value-type parameters are inherently compulsory. Reference-type parameters are inherently optional.<br />
[-] Pass data to view<br />
- ViewData, key-value(any object) pair dictionary.<br />
- ViewData.Model object<br />
[-] Performing Redirections using RedirectToAction, Redirect<br />
[-] Using TempData to Preserve Data Across a Redirection. TempData automatically removes themselves from the collection after you read them back.<br />
[-] Returning Textual Data: XML, JSON, CSV, Plain text, JavaScript Commands using ContentResult type.<br />
[-] Return Files and Binary Data<br />
[-] using Filters(.net attributes) to Attach Reusable Behaviors: Authorization filter, Action filter, Result filter, Exception filter<br />
[-] use Asynchronous Controllers to boost Server Capacity</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/simplydotnet.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/simplydotnet.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/simplydotnet.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/simplydotnet.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/simplydotnet.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/simplydotnet.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/simplydotnet.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/simplydotnet.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/simplydotnet.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/simplydotnet.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/simplydotnet.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/simplydotnet.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/simplydotnet.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/simplydotnet.wordpress.com/254/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simplydotnet.wordpress.com&amp;blog=7291195&amp;post=254&amp;subd=simplydotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://simplydotnet.wordpress.com/2011/02/06/asp-net-mvc-controller-summary/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/43a19b71f0701e19119845c89648dfd0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhenglinet</media:title>
		</media:content>
	</item>
		<item>
		<title>VSS 2005 Branch and File Merge</title>
		<link>http://simplydotnet.wordpress.com/2010/12/24/vss-2005-branch-and-file-merge/</link>
		<comments>http://simplydotnet.wordpress.com/2010/12/24/vss-2005-branch-and-file-merge/#comments</comments>
		<pubDate>Thu, 23 Dec 2010 23:17:35 +0000</pubDate>
		<dc:creator>zhenglinet</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://simplydotnet.wordpress.com/?p=251</guid>
		<description><![CDATA[VSS &#8211; Branch 1. Select the destination folder where branch will be created. 2. Right click and select &#8220;share to &#8230;&#8221; 3. In the dialog, select the source trunk project, and check &#8220;Branch after share&#8221;. VSS &#8211; Merge File 1. Select the trunk/mainline file file you want to merge into. Then click menu &#8220;Version&#8221; &#8211; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simplydotnet.wordpress.com&amp;blog=7291195&amp;post=251&amp;subd=simplydotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>VSS &#8211; Branch</strong><br />
1. Select the destination folder where branch will be created.<br />
2. Right click and select &#8220;share to &#8230;&#8221;<br />
3. In the dialog, select the source trunk project, and check &#8220;Branch after share&#8221;.</p>
<p><strong>VSS &#8211; Merge File</strong><br />
1. Select the trunk/mainline file file you want to merge into.  Then click menu &#8220;Version&#8221; &#8211; &#8220;Merge Branch&#8221;.<br />
2. In the dialog, select the file you want to merge from, i.e. the branch file.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/simplydotnet.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/simplydotnet.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/simplydotnet.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/simplydotnet.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/simplydotnet.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/simplydotnet.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/simplydotnet.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/simplydotnet.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/simplydotnet.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/simplydotnet.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/simplydotnet.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/simplydotnet.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/simplydotnet.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/simplydotnet.wordpress.com/251/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simplydotnet.wordpress.com&amp;blog=7291195&amp;post=251&amp;subd=simplydotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://simplydotnet.wordpress.com/2010/12/24/vss-2005-branch-and-file-merge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/43a19b71f0701e19119845c89648dfd0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhenglinet</media:title>
		</media:content>
	</item>
		<item>
		<title>Truncate and Shrink Database Log File (SQL Server 2005)</title>
		<link>http://simplydotnet.wordpress.com/2010/10/24/truncate-and-shrink-database-log-file-sql-server-2005/</link>
		<comments>http://simplydotnet.wordpress.com/2010/10/24/truncate-and-shrink-database-log-file-sql-server-2005/#comments</comments>
		<pubDate>Sun, 24 Oct 2010 11:37:35 +0000</pubDate>
		<dc:creator>zhenglinet</dc:creator>
				<category><![CDATA[SQL, Database]]></category>

		<guid isPermaLink="false">http://simplydotnet.wordpress.com/?p=241</guid>
		<description><![CDATA[The following script only works on SQL Server 2005. &#8220;TRUNCATE_ONLY&#8221; option is discontinued on SQL Server 2008.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simplydotnet.wordpress.com&amp;blog=7291195&amp;post=241&amp;subd=simplydotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The following script only works on SQL Server 2005. &#8220;TRUNCATE_ONLY&#8221; option is discontinued on SQL Server 2008.<br />
<pre class="brush: sql;">
BACKUP LOG &lt;DatabaseName&gt; WITH TRUNCATE_ONLY -- Truncate all inactive log space, this will not reduce the size of log file
DBCC SHRINKFILE('Logical_Log_Name') -- Reduce log file size
-- Do a full backup immediately after running the above command!!
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/simplydotnet.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/simplydotnet.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/simplydotnet.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/simplydotnet.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/simplydotnet.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/simplydotnet.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/simplydotnet.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/simplydotnet.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/simplydotnet.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/simplydotnet.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/simplydotnet.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/simplydotnet.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/simplydotnet.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/simplydotnet.wordpress.com/241/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simplydotnet.wordpress.com&amp;blog=7291195&amp;post=241&amp;subd=simplydotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://simplydotnet.wordpress.com/2010/10/24/truncate-and-shrink-database-log-file-sql-server-2005/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/43a19b71f0701e19119845c89648dfd0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhenglinet</media:title>
		</media:content>
	</item>
		<item>
		<title>Memory Limits for Windows Releases</title>
		<link>http://simplydotnet.wordpress.com/2010/10/22/memory-limits-for-windows-releases/</link>
		<comments>http://simplydotnet.wordpress.com/2010/10/22/memory-limits-for-windows-releases/#comments</comments>
		<pubDate>Fri, 22 Oct 2010 01:22:57 +0000</pubDate>
		<dc:creator>zhenglinet</dc:creator>
				<category><![CDATA[Computer System]]></category>

		<guid isPermaLink="false">http://simplydotnet.wordpress.com/?p=239</guid>
		<description><![CDATA[http://msdn.microsoft.com/en-us/library/aa366778%28VS.85%29.aspx<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simplydotnet.wordpress.com&amp;blog=7291195&amp;post=239&amp;subd=simplydotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>http://msdn.microsoft.com/en-us/library/aa366778%28VS.85%29.aspx</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/simplydotnet.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/simplydotnet.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/simplydotnet.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/simplydotnet.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/simplydotnet.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/simplydotnet.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/simplydotnet.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/simplydotnet.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/simplydotnet.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/simplydotnet.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/simplydotnet.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/simplydotnet.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/simplydotnet.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/simplydotnet.wordpress.com/239/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simplydotnet.wordpress.com&amp;blog=7291195&amp;post=239&amp;subd=simplydotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://simplydotnet.wordpress.com/2010/10/22/memory-limits-for-windows-releases/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/43a19b71f0701e19119845c89648dfd0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhenglinet</media:title>
		</media:content>
	</item>
		<item>
		<title>ASP.Net MVC ULR Routing</title>
		<link>http://simplydotnet.wordpress.com/2010/10/17/asp-net-mvc-ulr-routing/</link>
		<comments>http://simplydotnet.wordpress.com/2010/10/17/asp-net-mvc-ulr-routing/#comments</comments>
		<pubDate>Sun, 17 Oct 2010 11:49:47 +0000</pubDate>
		<dc:creator>zhenglinet</dc:creator>
				<category><![CDATA[ASP.Net MVC]]></category>

		<guid isPermaLink="false">http://simplydotnet.wordpress.com/?p=237</guid>
		<description><![CDATA[[-] In ASP.Net MVC, URL is not mapped to physical files on the disk, they are mapped to controllers (classes in assembly) and action methods defined in the controller class. [-] When you use MvcRouteHandler (default in ASP.NET MVC), you must provide value for routing parameter “controller” and “action”. [-] routes.MapRoute: use routes.MapRoute method to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simplydotnet.wordpress.com&amp;blog=7291195&amp;post=237&amp;subd=simplydotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>[-] In ASP.Net MVC, URL is not mapped to physical files on the disk, they are mapped to controllers (classes in assembly) and action methods defined in the controller class.<br />
[-] When you use MvcRouteHandler (default in ASP.NET MVC), you must provide value for routing parameter “controller” and “action”.<br />
[-] routes.MapRoute: use routes.MapRoute method to register routes in RegisterRoutes method in Global.asax.cs. It’s better not to give name to route mappings.<br />
[-] model binding: when an action method has a parameter with the same name of route parameter, the value of route parameter is automatically assigned to the action method parameter.<br />
[-] Default parameter value and optional parameters<br />
[-] URL pattern constraints: regular expression, HTTP methods<br />
[-] Prioritizing Controller classes by namespace<br />
[-] URL Pattern Wild Card<br />
[-] URL pointing to static files on the file system will bypass the routing engine. But this can be changed by setting the RouteExistingFiles property flag.<br />
[-] Using IgnoreRoute to define ULRs that will not go through route engine.<br />
[-] Generating Hyperlinks (HTML a element) with Html.ActionLink(), the method taks controller and action name as parameter, and generates URLs based on the route collection.<br />
[-] Performing Redirections to Generated URLs using RedirectToAction or RedirectToRoute<br />
[-] Use Area to divide website into different sections.<br />
[-] Generate Linking to an Action in same area, different area and root area.<br />
[-] avoid Ambiguous Controller by add namespace to the root route entry.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/simplydotnet.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/simplydotnet.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/simplydotnet.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/simplydotnet.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/simplydotnet.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/simplydotnet.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/simplydotnet.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/simplydotnet.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/simplydotnet.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/simplydotnet.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/simplydotnet.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/simplydotnet.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/simplydotnet.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/simplydotnet.wordpress.com/237/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simplydotnet.wordpress.com&amp;blog=7291195&amp;post=237&amp;subd=simplydotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://simplydotnet.wordpress.com/2010/10/17/asp-net-mvc-ulr-routing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/43a19b71f0701e19119845c89648dfd0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhenglinet</media:title>
		</media:content>
	</item>
		<item>
		<title>ASP.Net MVC Request Processing Pipeline</title>
		<link>http://simplydotnet.wordpress.com/2010/09/16/asp-net-mvc-request-processing-pipeline/</link>
		<comments>http://simplydotnet.wordpress.com/2010/09/16/asp-net-mvc-request-processing-pipeline/#comments</comments>
		<pubDate>Thu, 16 Sep 2010 13:26:08 +0000</pubDate>
		<dc:creator>zhenglinet</dc:creator>
				<category><![CDATA[ASP.Net MVC]]></category>

		<guid isPermaLink="false">http://simplydotnet.wordpress.com/?p=234</guid>
		<description><![CDATA[1. IIS - IIS route HTTP request to the right web application (website or virtual directory). - Web application invoke the ASP.Net module if the url type is registed with ASP.Net - ASP.Net receives the request, invoke all the HTTP module in sequence to process the request 2. Core Routing - HTTP Module UrlRoutingModule invoke [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simplydotnet.wordpress.com&amp;blog=7291195&amp;post=234&amp;subd=simplydotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>1. IIS</strong><br />
- IIS route HTTP request to the right web application (website or virtual directory).<br />
- Web application invoke the ASP.Net module if the url type is registed with ASP.Net<br />
- ASP.Net receives the request, invoke all the HTTP module in sequence to process the request</p>
<p><strong>2. Core Routing</strong><br />
- HTTP Module UrlRoutingModule invoke System.Web.Routing to route the request.<br />
- If the URL is mapped to a static file on disk (e.g. .jpg .css .js), core routing bails out, leaving IIS to handle that request natively. ASP.NET Web Forms .aspx pages will be executed in the normal way (page life cycle)<br />
- If the incoming URL doesn&#8217;t correspond to a file on disk (e.g., requests for MVC controllers, which are .NET types), core routing will try to find the matching route handler based on the active Routing Configurations (System.Web.Routing.RouteTable.Routes entries, search from top to bottom)</p>
<p><strong>3: Controllers and Actions</strong><br />
- If core routing find the controller, it parse the request parameters from URL and prepare the request data package, and create controller instance by MvcRouteHandler using a controller factory object.<br />
- The action method in the controller is invoked based on the URL pattern.<br />
- Action method will return a ActionResult, which can be ViewResult (render HTML page), RedirectToRouteResult (redirect to another URL) or others.<br />
- Filters may be applied to inject extra logic that runs before or after action methods, or before or after action results are executed.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/simplydotnet.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/simplydotnet.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/simplydotnet.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/simplydotnet.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/simplydotnet.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/simplydotnet.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/simplydotnet.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/simplydotnet.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/simplydotnet.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/simplydotnet.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/simplydotnet.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/simplydotnet.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/simplydotnet.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/simplydotnet.wordpress.com/234/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simplydotnet.wordpress.com&amp;blog=7291195&amp;post=234&amp;subd=simplydotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://simplydotnet.wordpress.com/2010/09/16/asp-net-mvc-request-processing-pipeline/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/43a19b71f0701e19119845c89648dfd0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhenglinet</media:title>
		</media:content>
	</item>
		<item>
		<title>[jQuery] Frequently used jQuery functions</title>
		<link>http://simplydotnet.wordpress.com/2010/08/31/jquery-frequently-used-jquery-functions/</link>
		<comments>http://simplydotnet.wordpress.com/2010/08/31/jquery-frequently-used-jquery-functions/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 00:37:01 +0000</pubDate>
		<dc:creator>zhenglinet</dc:creator>
				<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://simplydotnet.wordpress.com/?p=227</guid>
		<description><![CDATA[Selectors - Attribute Contains Selector [name*=value] - Attribute Ends With Selector [name$=value] - Attribute Equals Selector [name=value]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simplydotnet.wordpress.com&amp;blog=7291195&amp;post=227&amp;subd=simplydotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Selectors</strong><br />
- Attribute Contains Selector [name*=value]<br />
- Attribute Ends With Selector [name$=value]<br />
- Attribute Equals Selector [name=value]</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/simplydotnet.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/simplydotnet.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/simplydotnet.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/simplydotnet.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/simplydotnet.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/simplydotnet.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/simplydotnet.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/simplydotnet.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/simplydotnet.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/simplydotnet.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/simplydotnet.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/simplydotnet.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/simplydotnet.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/simplydotnet.wordpress.com/227/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simplydotnet.wordpress.com&amp;blog=7291195&amp;post=227&amp;subd=simplydotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://simplydotnet.wordpress.com/2010/08/31/jquery-frequently-used-jquery-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/43a19b71f0701e19119845c89648dfd0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhenglinet</media:title>
		</media:content>
	</item>
	</channel>
</rss>
