<?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>Seree Woradechjamroen &#187; asp.net mvc</title>
	<atom:link href="http://www.iamseree.com/tag/asp-net-mvc/feed" rel="self" type="application/rss+xml" />
	<link>http://www.iamseree.com</link>
	<description>Keep learning everyday, willing to win and take action</description>
	<lastBuildDate>Tue, 15 May 2012 16:06:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Am I Moved to Open Source World of Application Development?</title>
		<link>http://www.iamseree.com/application-development/am-i-moved-to-open-source-world-of-application-development</link>
		<comments>http://www.iamseree.com/application-development/am-i-moved-to-open-source-world-of-application-development#comments</comments>
		<pubDate>Mon, 06 Jun 2011 04:57:24 +0000</pubDate>
		<dc:creator>Seree</dc:creator>
				<category><![CDATA[Application Development]]></category>
		<category><![CDATA[asp.net mvc]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[ror]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://www.iamseree.com/?p=416</guid>
		<description><![CDATA[<p>It is weird to say, but after I&#8217;ve employed myself and coding various projects.</p> <p>I found that I almost moved my resources from what all based on Microsoft technology to the world of open source.</p> <p>And I found the productivity level still acceptable with a good selection of technologies.</p> <p>I found the open source application [...]]]></description>
			<content:encoded><![CDATA[<p>It is weird to say, but after I&#8217;ve employed myself and coding various projects.</p>
<p>I found that I almost moved my resources from what all based on Microsoft technology to the world of open source.</p>
<p>And I found the productivity level still acceptable with a good selection of technologies.</p>
<p>I found the open source application development didn&#8217;t as bad as I think from the previous.</p>
<p>Even I&#8217;ve many high level of certification by Microsoft on application design, development. (MCPD, MCTS, MCSD, MCAD and so on&#8230;) I still quite happy to say that I&#8217;m happy entering into the world of open source today.</p>
<p>As my most projects are built as a web application, I mainly moved from ASP.NET MVC 3 to Rails 3.</p>
<p>Even I&#8217;ve spent some time learning Ruby, I&#8217;m very happy with it, I love Ruby on Rails 3 over ASP.NET MVC 3. Much.</p>
<p>Ruby on Rails was built for high level of productivity in every aspect of it, that&#8217;s why I love RoR over ASP.NET MVC.</p>
<p>What I love on ASP.NET MVC is just it gives me control on everything of my web application.</p>
<p>I can hook and customize almost everything in the pipeline with ASP.NET MVC while I can focus on business value more in RoR.</p>
<p>Source code control, while I&#8217;m working on Visual Studio 2010, I decide to ignore Visual Source Safe as it will load my time, I&#8217;ve to setup the server and else&#8230;</p>
<p>While in open source world, I choose Git, and I&#8217;m not setting up it myself as I decide to work with GitHub.com and pay them to get some number of private repositories.</p>
<p>It is cool and by far easy to use.</p>
<p>For the coding IDE, nothing can beat the experiences got from Visual Studio. I tried Aptana Studio 3, RubyMine and no one can beat Visual Studio 2010!</p>
<p>While I&#8217;ve chosen JetBrains RubyMine as my primary IDE for RoR, I still need to use command-line to complete various things on RoR.</p>
<p>Another note, I really love Ruby Gems, the Bundler things&#8230; as I don&#8217;t have to find and pay for 3rd party components to integrate into my app, it almost FREE in RoR while in ASP.NET, it have been charged! High price!</p>
<p>Wow, after 3 months of self employed, I found I moved to open source platform surprisingly. I think I should consider to move more on open source world.</p>
<p>Here is my current development environment</p>
<p>My primary machine</p>
<ul>
<li>PC with Windows 7 x64</li>
<li>Ruby</li>
<li>RubyGems + Rails 3</li>
<li>JetBrains RubyMine</li>
<li>Git</li>
</ul>
<p>My secondary machine</p>
<ul>
<li>Mac Mini with OS X Snow Leopard</li>
<li>Ruby</li>
<li>RubyGems + Rails 3</li>
<li>JetBrains RubyMine</li>
<li>Git</li>
</ul>
<p>I&#8217;m planning to give my primary PC to my son and getting new iMac with Macbook Pro 17&#8243; for further development.</p>
<p>Good bye to Windows?</p>
<p>- Absolutely no because some of my Internet marketing tools still rely on Windows OS. (Scrapebox &#8211; who can live without it?)</p>
<p>- At least, I should have a one copy of Windows on my virtual machine application.</p>
<p>Talk soon,</p>
<div align="left" style="float: ; padding: 5px 5px 0px 0px;"><a name="fb_share" type="button" share_url="http://www.iamseree.com/application-development/am-i-moved-to-open-source-world-of-application-development"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.iamseree.com/application-development/am-i-moved-to-open-source-world-of-application-development/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Complete Guide to use IoC with ASP.NET MVC (Using Castle Windsor and MVCContrib) Part #1</title>
		<link>http://www.iamseree.com/application-development/complete-guide-to-use-ioc-with-asp-net-mvc-using-castle-windsor-and-mvccontrib-part-1</link>
		<comments>http://www.iamseree.com/application-development/complete-guide-to-use-ioc-with-asp-net-mvc-using-castle-windsor-and-mvccontrib-part-1#comments</comments>
		<pubDate>Fri, 11 Dec 2009 05:14:44 +0000</pubDate>
		<dc:creator>Seree</dc:creator>
				<category><![CDATA[Application Development]]></category>
		<category><![CDATA[asp.net mvc]]></category>
		<category><![CDATA[castle windsor]]></category>
		<category><![CDATA[inversion of control]]></category>
		<category><![CDATA[ioc]]></category>
		<category><![CDATA[mvccontrib]]></category>

		<guid isPermaLink="false">http://www.iamseree.com/application-development/complete-guide-to-use-ioc-with-asp-net-mvc-using-castle-windsor-and-mvccontrib-part-1/</guid>
		<description><![CDATA[<p>Hi guys,</p> <p>Today I’m going to share with you if you get stuck trying to learn IoC and implement it into your own ASP.NET MVC application.</p> <p>I’ll not going to write a deep content about IoC but somehow I will share the short brief of the concept of IoC and how you can easily implement [...]]]></description>
			<content:encoded><![CDATA[<p>Hi guys,</p>
<p>Today I’m going to share with you if you get stuck trying to learn IoC and implement it into your own ASP.NET MVC application.</p>
<p>I’ll not going to write a deep content about IoC but somehow I will share the short brief of the concept of IoC and how you can easily implement IoC in your ASP.NET MVC application using MVCContrib.</p>
<p>First of all, let’s share together what is IoC? and what it is for?</p>
<p>IoC stands for “Inversion of Control” which sometime it had been named as DI or “Dependency Injection”.</p>
<p>Actually, both is the same, just a different name.</p>
<p>IoC or DI is the concept that looks like how you code your application to make it support for plug-in architecture.</p>
<p>Such as the old days WinAmp which it can output multiple result from audio files such as…</p>
<ul>
<li>Output a sound to speaker (playing music)</li>
<li>Output a sound to MP3 (encoding)</li>
<li>Output a sound to WAV (decoding)</li>
</ul>
<p>and blah blah blah…</p>
<p>There are several plug-ins for WinAmp as a DLL, when you need some new to make WinAmp to output to, you just coding a new DLL and implement what you want there.</p>
<p>This way, when you code the main app, you will never know or never care of what the output will do, it (main app) just output the sound stream to the output plug-in.</p>
<p>This is a good pattern and fit for ASP.NET MVC approach as it’s a real separation-of-concern.</p>
<p>And here is a snippet code of how you can implement this type of application. (plug-in enabled)</p>
<p>- Create an Interface for the output such as …</p>
<pre>

public interface IPlayerOutput
{
void Play(byte[] soundStream);

void Pause();

void Resume();

void Stop();
}
</pre>
<p>- In the main app, you should add reference to IPlayerOutput interface and using it like this…<br />
public void btnPlayClicked(object sender)</p>
<p>{</p>
<p>IPlayerOutput *output = new XXX; //Replace XXX with the code to create an instance of the chosen plug-in – usually populate from .DLL files within the output plug-in folder</p>
<p>output.Play(YYY); //Replace YYY with a stream of audio file</p>
<p>}<br />
- This way, the main app will never care of what the output plug-in will do, it just send the audio stream to.</p>
<p>- When you want to code for a send-to-speaker plug-in, you just implement the IPlayerOutput interface and write code to send-to-speak there such as…<br />
public class SpeakerOutput : IPlayerOutput</p>
<p>{</p>
<p>public void Play(byte[] stream)<br />
{</p>
<p>// 1. Decode the audio stream</p>
<p>// 2. Send RAW to speaker</p>
<p>}<br />
}<br />
- If you want to code for WAV output plug-in, just do the same thing but different in the Play function such as…</p>
<p>public class WavOutput : IPlayerOutput</p>
<p>{</p>
<p>public void Play(byte[] stream)</p>
<p>{</p>
<p>// 1. Decode the audio stream as WAV format</p>
<p>// 2. Save WAV data to disk</p>
<p>}<br />
}</p>
<p>- Then, you can let user choose which DLL to be used and load it into the IPlayerOutput interface within the main app. Voila!</p>
<p><strong>So… How it is related to IoC?</strong></p>
<p>Actually, it is the same concept as the plug-in architecture.</p>
<p>The main point is to make each components of application loosely coupled.</p>
<p>To make it simple, IoC is the concept to make your application’s layers independent as much as possible.</p>
<p>You can do IoC by coding like the above set of code in your application. However, it will take you sometime to do yourself.</p>
<p>And that’s why Castle Windsor come into place… They already created this type of things for you! <img src='http://www.iamseree.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Anyway, I will not show here how it is being used by generic application. Instead of, I will use Castle Windsor in combination with MVCContrib to do IoC in ASP.NET MVC application.</p>
<p>All I can say is… “It is very easy to do, not that hard like what the concept did”.</p>
<p>To be continued on Part #2…</p>
<div align="left" style="float: ; padding: 5px 5px 0px 0px;"><a name="fb_share" type="button" share_url="http://www.iamseree.com/application-development/complete-guide-to-use-ioc-with-asp-net-mvc-using-castle-windsor-and-mvccontrib-part-1"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.iamseree.com/application-development/complete-guide-to-use-ioc-with-asp-net-mvc-using-castle-windsor-and-mvccontrib-part-1/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The most easiest method to implement a SEO-friendly URL for ASP.NET application</title>
		<link>http://www.iamseree.com/application-development/the-most-easiest-method-to-implement-a-seo-friendly-url-for-asp-net-application</link>
		<comments>http://www.iamseree.com/application-development/the-most-easiest-method-to-implement-a-seo-friendly-url-for-asp-net-application#comments</comments>
		<pubDate>Tue, 06 Oct 2009 05:55:03 +0000</pubDate>
		<dc:creator>Seree</dc:creator>
				<category><![CDATA[Application Development]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[asp.net mvc]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[seo friendly url]]></category>

		<guid isPermaLink="false">http://www.iamseree.com/application-development/the-most-easiest-method-to-implement-a-seo-friendly-url-for-asp-net-application/</guid>
		<description><![CDATA[<p>Well, as a ASP.NET developer. You and me know that it’s a bit hard to apply what we called SEO-friendly URL for ASP.NET applications.</p> <p>What is SEO-friendly URL?</p> <p>It’s a URL that search engine love and will result in a better ranking for your web pages/site.</p> <p>Let’s say you have an accounting system software and [...]]]></description>
			<content:encoded><![CDATA[<p>Well, as a ASP.NET developer. You and me know that it’s a bit hard to apply what we called SEO-friendly URL for ASP.NET applications.</p>
<blockquote><p>What is SEO-friendly URL?</p>
<p>It’s a URL that search engine love and will result in a better ranking for your web pages/site.</p>
<p>Let’s say you have an accounting system software and your product URL is <a href="http://www.xxx.com/product.aspx?Id=432" onclick="pageTracker._trackPageview('/outgoing/www.xxx.com/product.aspx?Id=432&amp;referer=');">http://www.xxx.com/product.aspx?Id=432</a> //Search engine will never know what the product is all about. They just saw Id=432 which doesn’t make sense for them. Actually, it also doesn’t make sense for human as well.</p>
<p>The SEO-friendly URL is a ‘wrapped’ URL to let people/robot read and know what this URL is all about. Let’s say about the above Product which have a new URL as <a href="http://www.xxx.com/product/AccountingSoftware" onclick="pageTracker._trackPageview('/outgoing/www.xxx.com/product/AccountingSoftware?referer=');">http://www.xxx.com/product/AccountingSoftware</a> </p>
<p>Search engine will know that this URL is all about Accounting software, then they will forward some traffic to your site with the “Accounting software” keyword.</p>
</blockquote>
<p>&#160;</p>
<p>In the PHP/Apache platform, the developer will usually use URL rewrite module easily. Almost every web hosting support this.</p>
<p>Unlike ASP.NET/IIS which is less flexible for configuration. You have to enable some URL rewrite ISAPI libraries which almost every web hosting don’t allow you to do that.</p>
<p>The good news is after ASP.NET MVC was released, it has a built-in routing feature which let you implement a SEO-friendly URL easily without messing up with IIS ISAPI.</p>
<p>You can provide many samples on Google, or even on Microsoft ASP.NET MVC website as well. See –&gt; ASP.NET MVC –&gt; Learn –&gt; Routing and you will see how it’s easy to implement. <img src='http://www.iamseree.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I’ll not provide a sample code here as I just want to mention that now you can easily implement SEO-friendly URL with ASP.NET.</p>
<p>Just try and leave me some messages if you got a problem implement it.</p>
<p>See ya babe!</p>
<div align="left" style="float: ; padding: 5px 5px 0px 0px;"><a name="fb_share" type="button" share_url="http://www.iamseree.com/application-development/the-most-easiest-method-to-implement-a-seo-friendly-url-for-asp-net-application"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.iamseree.com/application-development/the-most-easiest-method-to-implement-a-seo-friendly-url-for-asp-net-application/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

