<?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>李保存 &#187; English &#8211; 英文</title>
	<atom:link href="http://libaocun.com/category/enlish-articles/feed" rel="self" type="application/rss+xml" />
	<link>http://libaocun.com</link>
	<description>Think globally, act locally.</description>
	<lastBuildDate>Fri, 02 Jul 2010 07:27:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Fedora12 下配置 SVN 服务器</title>
		<link>http://libaocun.com/fedora12-setup-svn</link>
		<comments>http://libaocun.com/fedora12-setup-svn#comments</comments>
		<pubDate>Thu, 08 Apr 2010 17:46:16 +0000</pubDate>
		<dc:creator>lennydou</dc:creator>
				<category><![CDATA[English - 英文]]></category>
		<category><![CDATA[fedora12]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://balionweb.com/?p=403</guid>
		<description><![CDATA[assume the following dummy IP addresses and port of the server for the rest of the article: (replace these with your own IP, and port values)
  external IP: 55.444.444.55
  internal lan IP: 192.168.1.200
  svn port: 8080
Most of the operations here will require that you have access to the root account, as always.
I like to use [...]]]></description>
			<content:encoded><![CDATA[<p>assume the following dummy IP addresses and port of the server for the rest of the article: (replace these with your own IP, and port values)</p>
<p>  <span style="color: #33cccc">external IP: 55.444.444.55<br />
  internal lan IP: 192.168.1.200<br />
  svn port: 8080</span></p>
<p>Most of the operations here will require that you have access to the root account, as always.</p>
<p>I like to use the yum extender and an http gui to manipulate apache&#8217;s settings, so those need to be installed:</p>
<p>  &gt; yum -y install yumex</p>
<p>This installs a gui for yum, which can be found, after a successful install on the desktop at:</p>
<p>  <span style="color: #33cccc">Applications &gt; Yum Extender</span></p>
<p>Using the yum extender, we can see what has already been installed or not, on the linux machine. So, we should make sure that the Apache server is installed, and also install the Apache configuration tool (the http gui):</p>
<p>  <span style="color: #33cccc">httpd<br />
  system-config-httpd</span></p>
<p>We also need to install the Apache server module for the subversion server:</p>
<p><span style="color: #33cccc">  mod_dav_svn</span></p>
<p>Next, to install SVN subversion we can go back to the command line, and install it using yum:</p>
<p>  &gt; <span style="color: #33cccc">yum install subversion</span></p>
<p>With these installations complete we can begin to create the necessary directories and modifying the various configuration files.</p>
<p>As root, create the following directory:</p>
<p>  &gt; <span style="color: #33cccc">mkdir -p /var/www/svn/repository</span></p>
<p>change to that directory,</p>
<p>  &gt; <span style="color: #33cccc">cd /var/www/svn/repository</span></p>
<p>and create a test repository,</p>
<p>  &gt; <span style="color: #33cccc">svnadmin create test_svn</span></p>
<p>Notice: use svnadmin command maybe get an error: SQLite编译为3.6.20,但是运行于3.6.17。然后会发现repository目录下面并没有生成任何东西。此时需要在Yum Extender里面找到两个sqlite开头的包，然后升级这两个包就可以了。</p>
<p>Actually, these SVN directories can be placed anywhere, as long as you keep track of the correct path for the modifications that will need to be added later to the configuration files.</p>
<p>Next, change directory, and set the ownership so that Apache can access the SVN directories.</p>
<p><span style="color: #33cccc">  &gt; cd /var/www<br />
  &gt; chown -R apache.apache svn</span></p>
<p>Next, we modify Apache&#8217;s settings.</p>
<p>Before modifying Apache&#8217;s settings it would be a good idea to make a backup of the configuration file, in case the Apache server won&#8217;t restart, we can always restore the configuration file and try again.</p>
<p> <span style="color: #33cccc"> &gt; cd   /etc/httpd/conf.d<br />
  &gt; cp  system-config-httpd.conf   system-config-httpd.conf.backup</span></p>
<p>Start the httpd configuration gui:</p>
<p><span style="color: #33cccc">  &gt; /usr/bin/system-config-httpd &amp;</span></p>
<p>In this window set the server name to:<br />
<span style="color: #33cccc">  192.168.1.200</span><br />
Add to Available Addresses :</p>
<p><span style="color: #33cccc">  listen to all addresses<br />
  port: 8080</span></p>
<p>Then to save these settings, hit OK. These changes will modify the file:</p>
<p> <span style="color: #33cccc"> /etc/httpd/conf.d/system-config-httpd.conf</span></p>
<p>Restart the Apache server. There are operating system line commands for restarting the http daemon, but a GUI is just as easy, and we can keep the GUI open since we will need to restart Apache a few more times.</p>
<p> <span style="color: #33cccc"> /usr/bin/system-config-services &amp;</span></p>
<p>Scroll down, select the daemon labeled httpd, and hit restart. Hopefully Apache restarts successfully, if not, then you may need to reload the original configuration file and try again.</p>
<p>Next, we will need to modify subversion&#8217;s configuration files.</p>
<p>To modify subversion&#8217;s configuration files we need to edit the following:</p>
<p>  <span style="color: #33cccc">/etc/httpd/conf.d/subversion.conf</span></p>
<p>This file was created with the installation of subversion.</p>
<p>The first two lines of the file should contain:</p>
<p><span style="color: #33cccc">  LoadModule dav_svn_module modules/mod_dav_svn.so<br />
  LoadModule authz_svn_module modules/mod_authz_svn.so</span></p>
<p>&#8230; if not, then those modules need to be installed.</p>
<p>First create a backup of the configuration file:</p>
<p><span style="color: #33cccc">  &gt; cp subversion.conf subversion.conf.backup</span></p>
<p>Modify the Location section of the file to the following:</p>
<p>  n  </p>
<p>Notice here how the directory for the repository we created earlier using the svnadmin command is not listed above. The above settings only point to the root location of the repository, or rather its parent path.</p>
<p>Save these settings, and restart the Apache server.</p>
<p>At this point we can test the SVN server from another PC on the private LAN. We can use our favorite web browser on a windows, linux, or mac PC, and enter the following URL:</p>
<p>  <a href="http://192.168.1.200:8080/svn/test_svn/">http://192.168.1.200:8080/svn/test_svn/</a></p>
<p>We should get a response page that looks like the following:</p>
<p><span style="color: #33cccc">  Revision 0: /</span></p>
<p><span style="color: #33cccc">  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
  Powered by Subversion version 1.4.4 (r25188).</span></p>
<p>If you can see this, then the SVN server is running.<br />
Next, we need to add some password protection.</p>
<p>Here we add some password protection to the new SVN server.<br />
For this, lets assume a username of trill, and a password of towel42.<br />
Make the password directory:</p>
<p>  &gt; <span style="color: #33cccc">mkdir /etc/httpd/passwd</span></p>
<p>To create the initial password file, and add a user called &#8220;trill&#8221;:</p>
<p>  &gt; <span style="color: #33cccc">htpasswd -c /etc/httpd/passwd/svnpasswords trill</span></p>
<p>When the program asks, enter the password:</p>
<p>  towel42</p>
<p>Other command line options to htpasswd will allow you to add or delete more users.</p>
<p>For example, to add another user, called &#8220;asmith&#8221;:</p>
<p>  &gt; <span style="color: #33cccc">htpasswd /etc/httpd/passwd/svnpasswords asmith</span></p>
<p>When the program asks, enter the password:</p>
<p><span style="color: #33cccc">  neo22</span></p>
<p>This will append the user &#8220;asmith&#8221; to the passwords file, with the above password.</p>
<p>Edit the subversion configuration file to turn on the SVN authorization. We found that commenting out the &lt;LimitExcept lines allowed the SVN password authorization to work. So the final subversion configuration file:</p>
<p><span style="color: #33cccc"> /etc/httpd/conf.d/subversion.conf</span></p>
<p>&#8230; can look like this:<br />
LoadModule dav_svn_module modules/mod_dav_svn.so<br />
LoadModule authz_svn_module modules/mod_authz_svn.so</p>
<p><span style="color: #33cccc">&lt;Location /svn&gt;<br />
   DAV svn<br />
   SVNParentPath /var/www/svn/repository<br />
&lt;/Location&gt;</span></p>
<p><span style="color: #33cccc">&lt;Location /svn&gt;<br />
   DAV svn<br />
   SVNParentPath /var/www/svn/repository</span><br />
<span style="color: #33cccc">   # Limit write permission to list of valid users.<br />
   #&lt;LimitExcept GET PROPFIND OPTIONS REPORT&gt;<br />
      # Require SSL connection for password protection.<br />
      # SSLRequireSSL</span></p>
<p><span style="color: #33cccc">      AuthType Basic<br />
      AuthName &#8220;Authorization Realm&#8221;<br />
      AuthUserFile /etc/httpd/passwd/svnpasswords<br />
      Require valid-user<br />
   #&lt;/LimitExcept&gt;<br />
&lt;/Location&gt;</span></p>
<p>After having made these changes, restart the Apache server as above. Now, if we go back to the PC with the web browser, we can test the password authentication. Restart the web browser and enter into the URL:</p>
<p>  <a href="http://192.168.1.200:8080/svn/test_svn/">http://192.168.1.200:8080/svn/test_svn/</a></p>
<p>We should see a window pop up, prompting for a user&#8217;s name and a corresponding password.</p>
<p>Enter trill for the user name, and towel42 for the password. This should let us see the svn server&#8217;s response page as before.</p>
]]></content:encoded>
			<wfw:commentRss>http://libaocun.com/fedora12-setup-svn/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install MySQL from source in a Linux box</title>
		<link>http://libaocun.com/install-mysql-from-source-in-a-linux-box</link>
		<comments>http://libaocun.com/install-mysql-from-source-in-a-linux-box#comments</comments>
		<pubDate>Sat, 20 Feb 2010 06:32:42 +0000</pubDate>
		<dc:creator>Bali</dc:creator>
				<category><![CDATA[English - 英文]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://balionweb.com/?p=384</guid>
		<description><![CDATA[I had a CentOS Linux box bundled with a MySQL with Latin as default charset. As time goes by, I need
a) utf-8 everywhere(client, server, collation, everywhere) to support Chinese.
b) Innodb as default engine
Here is what I did:
1) Download latest source(mysql-5.1.44) from MySQL site
2) rpm -i xxx.src.rpm to install the source. By default, the source will [...]]]></description>
			<content:encoded><![CDATA[<p>I had a CentOS Linux box bundled with a MySQL with Latin as default charset. As time goes by, I need</p>
<p>a) utf-8 everywhere(client, server, collation, everywhere) to support Chinese.</p>
<p>b) Innodb as default engine</p>
<p>Here is what I did:</p>
<p>1) Download latest source(mysql-5.1.44) from MySQL site</p>
<p>2) <strong>rpm -i xxx.src.rpm</strong> to install the source. By default, the source will be installed to /usr/src/redhat/SOURCES/mysql-5.1.44.</p>
<p>3) Go the root dir of source, run:</p>
<blockquote><p>CFLAGS=&#8221;-O3&#8243; CXX=gcc CXXFLAGS=&#8221;-O3 -felide-constructors \<br />
-fno-exceptions -fno-rtti&#8221; ./configure \<br />
&#8211;prefix=/usr/local/mysql &#8211;enable-assembler \<br />
&#8211;with-mysqld-ldflags=-all-static \<br />
&#8211;with-charset=utf8 \<br />
&#8211;with-collation=utf8_general_ci \<br />
&#8211;with-plugins=all</p></blockquote>
<p>Explain: use gcc as compiler; install mysql to /usr/local/mysql; utf8 as default char set; install all plugins including innodb.</p>
<p>During this process, you may see errors saying &#8220;I need this, I need that&#8221;, use &#8216;<strong>yum</strong>&#8216; to install them.</p>
<p>And <strong>./configure &#8211;help</strong> will show all possible options.</p>
<p>4) <strong>make</strong></p>
<p>5) <strong>make install</strong></p>
<p>And /usr/local/mysql will be the rool dir of new mysql installation.</p>
<p>6) Modify /etc/my.cnf. /usr/src/redhat/SOURCES/mysql-5.1.44/support-files/ contains sample configuration files. Note to set below:</p>
<blockquote><p>[mysqld]</p>
<p>default-storage-engine = INNODB</p></blockquote>
<p>7) Modify /etc/init.d/mysqld. You may need sym-link to new mysql installation.</p>
<p>Done. Below message should prove the installation is fine:</p>
<blockquote><p>mysql&gt; show engines;<br />
+&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;+<br />
| Engine     | Support | Comment                                                        | Transactions | XA   | Savepoints |<br />
+&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;+<br />
| ndbcluster | NO      | Clustered, fault-tolerant tables                               | NULL         | NULL | NULL       |<br />
| MRG_MYISAM | YES     | Collection of identical MyISAM tables                          | NO           | NO   | NO         |<br />
| BLACKHOLE  | YES     | /dev/null storage engine (anything you write to it disappears) | NO           | NO   | NO         |<br />
| CSV        | YES     | CSV storage engine                                             | NO           | NO   | NO         |<br />
| MEMORY     | YES     | Hash based, stored in memory, useful for temporary tables      | NO           | NO   | NO         |<br />
| FEDERATED  | NO      | Federated MySQL storage engine                                 | NULL         | NULL | NULL       |<br />
| ARCHIVE    | YES     | Archive storage engine                                         | NO           | NO   | NO         |<br />
| InnoDB     | DEFAULT | Supports transactions, row-level locking, and foreign keys     | YES          | YES  | YES        |<br />
| MyISAM     | YES     | Default engine as of MySQL 3.23 with great performance         | NO           | NO   | NO         |<br />
+&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;+<br />
9 rows in set (0.00 sec)</p>
<p>mysql&gt; show variables like &#8216;%char%&#8217;;<br />
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+<br />
| Variable_name            | Value                                  |<br />
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+<br />
| character_set_client     | utf8                                   |<br />
| character_set_connection | utf8                                   |<br />
| character_set_database   | utf8                                   |<br />
| character_set_filesystem | binary                                 |<br />
| character_set_results    | utf8                                   |<br />
| character_set_server     | utf8                                   |<br />
| character_set_system     | utf8                                   |<br />
| character_sets_dir       | /usr/local/mysql/share/mysql/charsets/ |<br />
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+<br />
8 rows in set (0.00 sec)</p>
<p>mysql&gt; show variables like &#8216;%colla%&#8217;;<br />
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+<br />
| Variable_name        | Value           |<br />
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+<br />
| collation_connection | utf8_general_ci |<br />
| collation_database   | utf8_general_ci |<br />
| collation_server     | utf8_general_ci |<br />
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+<br />
3 rows in set (0.00 sec)</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://libaocun.com/install-mysql-from-source-in-a-linux-box/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Graduate from Microsoft</title>
		<link>http://libaocun.com/graduate-from-microsoft</link>
		<comments>http://libaocun.com/graduate-from-microsoft#comments</comments>
		<pubDate>Fri, 08 Jan 2010 09:23:08 +0000</pubDate>
		<dc:creator>Bali</dc:creator>
				<category><![CDATA[English - 英文]]></category>
		<category><![CDATA[THINK]]></category>

		<guid isPermaLink="false">http://balionweb.com/?p=346</guid>
		<description><![CDATA[(Keep in touch. My msn: baocun_hld AT hotmail DOT com, email: bill.z.li AT gmail DOT com)
My dear friends,
Today is my last working day in Microsoft, and it is time for me to start a long-awaited adventure. During past 3 years, many folks impressed me deeply and I hope have a slice of knowledge/skills you have.  [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>(Keep in touch. My msn: baocun_hld AT hotmail DOT com, email: bill.z.li AT gmail DOT com)</p></blockquote>
<p>My dear friends,</p>
<p>Today is my last working day in Microsoft, and it is time for me to start a long-awaited adventure. During past 3 years, many folks impressed me deeply and I hope have a slice of knowledge/skills you have.  After working in such a wonderful place, I possessed enough confidence to face any subtle difficulties ahead. What I got are much more than what I contributed to this company.</p>
<h2>What I learned</h2>
<ul>
<li>How to tackle the most complex problems in the world as a team.</li>
<li>How to attract most smart people</li>
<li>How to inspire people</li>
<li>How to make a great place to work</li>
<li>How to build the right software right as a team</li>
<li>How to deliver good news</li>
<li>How to deliver bad news(This one is harder)</li>
<li>How to deliver good/bad reviews(One of hardest part of people management)</li>
<li>How to deliver a speech</li>
<li>How to handle *angry* customers</li>
<li>How to educate customers</li>
<li>How to learn what customers want</li>
<li>How to sit down with customers and close a deal</li>
<li>How to run a team of different size in different stage with different goals</li>
<li>How to make friends(Pop quiz: Do ICs need friends? Are they all about diagram and code?)</li>
<li>How to approach people and win their support</li>
<li>How to win an email argument</li>
<li>How to response to the competition news</li>
<li>How to beat competitors</li>
<li>How to build ecosystem</li>
<li>How to build up a giant company from scratch (If I can say)</li>
<li>The way how MSFT encourages knowledge sharing &#8211; Discussion loop, brown bag, online learning center, in-person training, marc polo, silk road, mentorship, mentor ring, code review, spec review &#8230;</li>
<li>Share ideas &#8211; think week paper, idea exchange, &#8230;</li>
<li>The most easy one &#8211; How to reply to all with a &#8220;good job&#8221; message after a product ship <img src='http://libaocun.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
<li>And many more&#8230;</li>
</ul>
<p>I won&#8217;t claim I am a guru in any of areas above because I see what the highest standards are in this company. And I just reach the good(to me) level of combination of these ingredients.</p>
<h2>People</h2>
<ul>
<li>So many great folks including leadership, developer, tester, PM, marketing, sales, support&#8230; I can&#8217;t say your names since this is public post, but I will memorize how you changed my mind.</li>
</ul>
<h2>and also something unique about me&#8230;</h2>
<p>In addition to taking part in shipping 3 products&#8230;</p>
<ul>
<li>Win FOOL(group alias &#8216;FOOL&#8217;) award. I am probably the only person who has this award in greater Asia.(If not, let me know. Maybe we can talk about that.)</li>
<li>Win Best Business Value award in a startup team</li>
<li>Win largest number of valid bugs in first team wide bug bash</li>
<li>Deliver a presentation to the whole STBC in all hands meeting. (Enwei is even listening to me:-)</li>
<li>Enter final list with a mobile phone innovation idea(Finally it is so smart that one team in US is on the way of building it quietly.)</li>
<li>Board number of of STBC citizenship committee</li>
<li>Organizer of <a href="www.ja.org/">Junior Achievement</a> program in STBC</li>
<li>Posted a question which a technical fellow answered(MSFT have less than 20 technical fellows which are highest technical title one can achieve.)</li>
<li>Regular guest speaker of SJTU software institution</li>
<li>Probably the best Java learner in a .NET world</li>
<li>Probably the developer with most deep business minds, or business man with strong technical background(I call it &#8220;Think globally, act locally&#8221; as my blog slogan.)</li>
</ul>
<p>Almost everyone asked about where I am going. This world is undertaking dramatic changes, especially this country. I can&#8217;t stay in this huge market to build software for anywhere else except here forever. Life is short, and I won&#8217;t forgive myself if time just passes by as &#8220;yet another year&#8221; way. Pursuing a fair ROI is another factor which won&#8217;t be achieved by working for any company. I am happy to complete engagement with Microsoft roughly on schedule.</p>
<p>2010 will be a new exciting start. I will enjoy in any event.</p>
<p>Good luck to us all! (And luck is actually where preparations meet opportunities.)</p>
<p>Bill</p>
]]></content:encoded>
			<wfw:commentRss>http://libaocun.com/graduate-from-microsoft/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Win7那些事儿(3) &#8211; Hesitate to reinstall?</title>
		<link>http://libaocun.com/myapps-eases-reinstallationn</link>
		<comments>http://libaocun.com/myapps-eases-reinstallationn#comments</comments>
		<pubDate>Fri, 06 Nov 2009 16:18:13 +0000</pubDate>
		<dc:creator>Bali</dc:creator>
				<category><![CDATA[English - 英文]]></category>
		<category><![CDATA[Product/Feature-Design]]></category>
		<category><![CDATA[THINK]]></category>
		<category><![CDATA[Win7]]></category>

		<guid isPermaLink="false">http://www.balionweb.com/?p=289</guid>
		<description><![CDATA[I am lazy, as many folks are. One of compelling reasons for personal user not installing Win7 is as following,
&#8220;Win7 requires a clean install, which mean I will lost 2 days to back to full productivity. I have to reinstall my applications one by one, and set setting, and restore my data.&#8221;
If you agree with [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #993300;">I am lazy, as many folks are. One of compelling reasons for personal user not installing Win7 is as following,</span></p>
<blockquote><p><span style="color: #993300;">&#8220;Win7 requires a clean install, which mean I will lost 2 days to back to full productivity. I have to reinstall my applications one by one, and set setting, and restore my data.&#8221;</span></p></blockquote>
<p><span style="color: #993300;">If you agree with above claim. This post is for you. Read along.</span></p>
<p><span style="color: #993300;">&#8212;</span></p>
<h2><a name="_Toc211851986"><span style="mso-fareast-font-family: Arial"><span style="mso-list: Ignore"><span style="font-size: large;">1</span><span style="FONT: 7pt 'Times New Roman'"> </span></span></span><span style="font-size: large;">Introduction</span></a></h2>
<p class="MsoNormal" style="MARGIN: 6pt 0in 0pt"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; "><strong>MyApps </strong>is a suite of technologies which allow users easily manage and distribute all their Windows applications in most convenient way than before.</span> <strong>MyAapps </strong>is the name.</p>
<h2><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><a name="_Toc211851987"><span style="mso-fareast-font-family: Arial"><span style="mso-list: Ignore"><span style="font-size: large;">2</span><span style="FONT: 7pt 'Times New Roman'"> </span></span></span><span style="font-size: large;">Problem</span></a></span></span></h2>
<p class="MsoNormal" style="MARGIN: 6pt 0in 0pt"><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; ">Have you ever hesitated rebuilding your dev machine to clean up an instability issue after looking at installed about 200 programs? </span></span></span></p>
<p class="MsoNormal" style="MARGIN: 6pt 0in 0pt"><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; ">Have you ever help new members in your team setup and configure his development environment per strict team-acorss guidelines?</span></span></span></p>
<p class="MsoNormal" style="MARGIN: 6pt 0in 0pt"><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; ">Have you ever had to exit setup dialog to install bunch of prerequisites?</span></span></span></p>
<p class="MsoNormal" style="MARGIN: 6pt 0in 0pt"><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; ">Do you have to remember a long list of license key or file?</span></span></span></p>
<p class="MsoNormal" style="MARGIN: 6pt 0in 0pt"><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; ">…</span></span></span></p>
<p class="MsoNormal" style="MARGIN: 6pt 0in 0pt"><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; ">You may notice that existing processes that maintain applications and their settings in users’ computer are painful and time-consuming. The explosive growth of applications makes users be tired of finding software, waiting for download, playing with options, accepting defaults, inputting license key or file, clicking through and waiting reboot, especially when they are forced to repeat similar steps again and again. MyApps are technologies which change the way people distribute, access and manage various applications in their computer. </span></span></span></p>
<h2><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><a name="_Toc211851988"><span style="mso-fareast-font-family: Arial"><span style="mso-list: Ignore"><span style="font-size: large;">3</span><span style="FONT: 7pt 'Times New Roman'"> </span></span></span><span style="font-size: large;">Solution</span></a></span></span></h2>
<h3><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><a name="_Toc211851989"><span style="mso-fareast-font-family: Arial"><span style="mso-list: Ignore"><em>3.1</em><span style="FONT: 7pt 'Times New Roman'"> </span></span></span><em>Unique Values</em></a></span></span></h3>
<p class="MsoNormal" style="MARGIN: 6pt 0in 0pt"><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; ">The unique values MyApps offer can be expressed as followings.</span></span></span></p>
<p><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="position: relative; font-family: Wingdings; color: #9cd629; top: 1pt;"><span style="mso-list: Ignore"><span style="FONT: 7pt 'Times New Roman'"> </span></span></span></span></span></p>
<ul>
<li><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="color: #595959;"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;"><strong style="mso-bidi-font-weight: normal">Easy installation</strong> – Users can install any application with one click.</span></span></span></span></li>
<li><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="position: relative; font-family: Wingdings; color: #9cd629; top: 1pt;"><span style="mso-list: Ignore"><span style="FONT: 7pt 'Times New Roman'"> </span></span></span><span style="color: #595959;"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;"><strong style="mso-bidi-font-weight: normal">App bag support </strong>– App list is a list of applications with customized options. Rebuild becomes never easier. You can kick off the installation of hundreds of applications within minutes, and go away to have a cup of coffee.</span></span></span></span></li>
<li><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="position: relative; font-family: Wingdings; color: #9cd629; top: 1pt;"><span style="mso-list: Ignore"><span style="FONT: 7pt 'Times New Roman'"> </span></span></span><span style="color: #595959;"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;"><strong style="mso-bidi-font-weight: normal">App bag sharing </strong>– You can share your application list to your team member or friends, and they can easily repro your environment.</span></span></span></span></li>
<li><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="position: relative; font-family: Wingdings; color: #9cd629; top: 1pt;"><span style="mso-list: Ignore"> </span></span><span style="color: #595959;"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;"><strong style="mso-bidi-font-weight: normal">Automatic dependency management </strong>– MyApps is aware of app dependency and will install all dependent apps for users automatically.</span></span></span></span></li>
<li><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="position: relative; font-family: Wingdings; color: #9cd629; top: 1pt;"><span style="mso-list: Ignore"> </span></span><span style="color: #595959;"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;"><strong style="mso-bidi-font-weight: normal">License management </strong>– do not need save license key/file locally any more. MyApps does that for users.</span></span></span></span></li>
</ul>
<h3><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><a name="_Toc211851990"><span style="mso-fareast-font-family: Arial"><span style="mso-list: Ignore"><em>3.2</em><span style="FONT: 7pt 'Times New Roman'"> </span></span></span><em>Core Scenarios</em></a></span></span></h3>
<p class="MsoNormal" style="LINE-HEIGHT: 115%; MARGIN: 0in 0in 10pt"><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; ">Key scenarios that MyApps addresses include:</span></span></span></p>
<ul>
<li><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="position: relative; font-family: Wingdings; color: #9cd629; top: 1pt;"> </span><span style="color: #595959;"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;"><strong style="mso-bidi-font-weight: normal">One-stop install</strong> – <em style="mso-bidi-font-style: normal">Frank</em> needs building his dev machine containing about 120 various apps as the first dev of team COOL5. He logs onto MyApps site and set his preferences (e.g., install all apps onto D:\frankapps\) as the first time visitor. He browses/search the software and put them into <strong style="mso-bidi-font-weight: normal">MyCart</strong> of MyApps site. Finally, he accepts all EULAs and clicks <strong style="mso-bidi-font-weight: normal">Install,</strong> and then goes away for half-day training. When he returns, he finds that his computer is installed with latest software and ready to go.</span></span></span></span></li>
<li><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="position: relative; font-family: Wingdings; color: #9cd629; top: 1pt;"> </span><span style="color: #595959;"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;"><strong style="mso-bidi-font-weight: normal">Dependency awareness and license handling</strong> – .NET 3.5 is required by one of <em style="mso-bidi-font-style: normal">Frank’s</em> selected app &#8211; SpeedLaunch, and is installed automatically along with SpeedLaunch. MyApps is also smart enough to handle license at the background for Frank.</span></span></span></span></li>
<li><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="color: #595959;"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;"><strong style="mso-bidi-font-weight: normal">Share app bag</strong> – <em style="mso-bidi-font-style: normal">Frank</em> starts customizing his apps. <em style="mso-bidi-font-style: normal">Frank</em> points a debugging tool to an internal team testing DB.<span style="mso-spacerun: yes"> </span>The setting is uploaded to public section in CuteInstall site. Frank sets font size to 12 in his VS2008 and uploads this to the private section. Finally <em style="mso-bidi-font-style: normal">Frank</em> published his current app bag as “COOL5_dev_bag” in the MyApps site.</span></span></span></span></li>
<li><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="color: #595959;"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;"><strong style="mso-bidi-font-weight: normal">No need re-invent the wheel</strong> &#8211; <em style="mso-bidi-font-style: normal">Joanne</em>, the second dev of COOl5 team, install all apps same with <em style="mso-bidi-font-style: normal">Frank</em></span></span></span></span><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="color: #595959;"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;"> by clicking the link in his onboard email:</span></span></span></span></li>
</ul>
<p class="MsoListParagraphCxSpFirst" style="MARGIN: 0in 0in 0pt 0.25in; mso-add-space: auto"><span style="mso-bookmark: _Toc97633751"> </span><a href="http://myapps/install.aspx?bid=COOL5_dev_bag"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;"><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027">http://MyApps/install.aspx?bid=COOL5_dev_bag</span></span><span style="mso-bookmark: _Toc97633751"> </span></span></a></p>
<p class="MsoListParagraphCxSpLast" style="MARGIN: 0in 0in 0pt 0.25in; mso-add-space: auto"><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="color: #595959;"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;"><em style="mso-bidi-font-style: normal"> Joanne</em> also finds out that the debugging tool points to the team testing DB.</span></span></span></span></p>
<ul>
<li><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="color: #595959;"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;"><strong style="mso-bidi-font-weight: normal">Easy repro</strong> – Months later, <em style="mso-bidi-font-style: normal">Frank</em> has to rebuild his computer to clean out certain instability issues although he is facing tight schedule. <em style="mso-bidi-font-style: normal">Frank</em> logs onto CuteInstall site and with his account and clicks “<strong style="mso-bidi-font-weight: normal">Restore to latest</strong>” button before he leaves office. The second day, <em style="mso-bidi-font-style: normal">Frank</em> gets a fresh working machine with all his favorite private settings (e.g., font is 12 in VS2008) and continue working for his deadline without any delay.</span></span></span></span></li>
<li><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="color: #595959;"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;"><strong style="mso-bidi-font-weight: normal">Software shopping </strong>– <em style="mso-bidi-font-style: normal">Sara</em>, a regular computer user, logs onto a MyApps technology enabled online software shop with her Live ID. She decides to buy Office2007 and pays the bill using PayPal. After clicking “<strong style="mso-bidi-font-weight: normal">Install</strong>”, Office2007 is delivered/installed/Configured to her computer through a CDN network within 1/2 hour. She is very happy because she no long needs wait for DVD delivered by UPS again.</span></span></span></span></li>
</ul>
<h3><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><a name="_Toc211851991"><span style="mso-fareast-font-family: Arial"><span style="mso-list: Ignore"><em>3.3</em><span style="FONT: 7pt 'Times New Roman'"> </span></span></span><em>Value Proposition</em></a></span></span></h3>
<p class="MsoNormal" style="MARGIN: 6pt 0in 0pt"><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; ">For customers, the value propostion is pretty obvious if you look at the above scenarios carefully. It save man hours in every application installation and migration, increase productivity and improve across-team capabilities to meet business goals.</span></span></span></p>
<p class="MsoNormal" style="MARGIN: 6pt 0in 0pt"><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; ">For Microsoft, it is also a “must have”. MyApps makes Windows platform more accessible and easy to manage. MyApps technologies bright customers’ unique values by leveraging our Windows platform leadership and global presence of Live platform. It also provides special value to our S+S strategy. More and more people turn to web app mostly because web app is:</span></span></span></p>
<ol>
<li><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="FONT-WEIGHT: normal"><span style="color: #595959;"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;">Easy available</span></span></span></span></span></li>
<li><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="FONT-WEIGHT: normal"><span style="color: #595959;"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;">No download(s) and installation(s) required</span></span></span></span></span></li>
<li><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="FONT-WEIGHT: normal"><span style="color: #595959;"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;">Your settings always go with you</span></span></span></span></span></li>
</ol>
<p class="MsoNormal" style="MARGIN: 6pt 0in 0pt"><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; ">MyApps technologies solve above 3 problems altogether. Software installation and maintenance are no longer headache for users. As a result, this ensures the success of Microsoft S+S strategy and strengthens our long term value. It is beneficial to the whole industry and any and every software users.</span></span></span></p>
<h2><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><a name="_Toc211851992"><span style="mso-fareast-font-family: Arial"><span style="mso-list: Ignore"><span style="font-size: large;">4</span><span style="FONT: 7pt 'Times New Roman'"> </span></span></span><span style="font-size: large;">Logical Architecture</span></a></span></span></h2>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; ">The diagram below shows the logical architecture of MyApps platform.</span></span></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; "> </span></span></span></p>
<div id="attachment_292" class="wp-caption aligncenter" style="width: 638px"><a href="http://www.balionweb.com/wp-content/uploads/2009/11/MyApps.png"><img class="size-full wp-image-292" title="MyApps" src="http://www.balionweb.com/wp-content/uploads/2009/11/MyApps.png" alt="Arch of MyApps" width="628" height="362" /></a><p class="wp-caption-text">Arch of MyApps</p></div>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="mso-no-proof: yes; mso-fareast-language: ZH-CN"><span style="color: #595959;"> </span></span></span></span></p>
<p class="MsoNormal" style="MARGIN: 6pt 0in 0pt"><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; ">Two innovative concepts MyApps introduces are as follows: </span></span></span></p>
<ul>
<li><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; ">Split of static and dynamic bits of apps which will be stored in App bits DB and App settings/bags DB respectively</span></span></span></li>
<li><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; ">App release description script</span></span></span></li>
</ul>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; ">To achieve these goals, MyApps technology contains a suite of software component and standard. </span></span></span></p>
<ul>
<li><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="color: #595959;"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;"><strong style="mso-bidi-font-weight: normal">MRT</strong> (<strong style="mso-bidi-font-weight: normal">M</strong>yApps <strong style="mso-bidi-font-weight: normal">R</strong>eleasing <strong style="mso-bidi-font-weight: normal">T</strong>oolkit) – software vendors use this tool to write installer code. MRT is based on WSI.</span></span></span></span></li>
<li><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="color: #595959;"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;"><strong style="mso-bidi-font-weight: normal">MP</strong> (<strong style="mso-bidi-font-weight: normal">M</strong>yApps <strong style="mso-bidi-font-weight: normal">P</strong>ortal) – it is centralized place which stores all configurable settings of all apps. And it is also responsible for managing software installation, licensing and user configurations. </span></span></span></span></li>
<li><span style="mso-bookmark: _Toc97633751"><span style="mso-bookmark: _Toc176326027"><span style="color: #595959;"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;"><strong style="mso-bidi-font-weight: normal">MC</strong> (<strong style="mso-bidi-font-weight: normal">M</strong>yApps <strong style="mso-bidi-font-weight: normal">C</strong>lient) – MC will be running on software users side to manage installation and settings. </span></span></span></span></li>
</ul>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; ">Next we will discuss components one by one.</span></p>
<h3><a name="_Toc211851993"><span style="mso-fareast-font-family: Arial"><span style="mso-list: Ignore"><em>4.1</em><span style="FONT: 7pt 'Times New Roman'"> </span></span></span><em>MyApps Releasing Toolkit</em></a></h3>
<p class="MsoNormal" style="MARGIN: 6pt 0in 0pt"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; ">Every software release should provide a XML file like below. </span></p>
<table class="MsoTableGrid" style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; BORDER-COLLAPSE: collapse; BORDER-TOP: medium none; BORDER-RIGHT: medium none; mso-yfti-tbllook: 1184; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-border-themecolor: text1; mso-border-alt: solid black .5pt" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
<td style="border: 1pt solid black; padding: 0in 5.4pt; background-color: transparent; width: 6.15in;" width="590" valign="top">
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&lt;?</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">xml</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"> </span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 8pt; mso-no-proof: yes">version</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">=</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">&#8220;</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">1.0</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">&#8220;</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"> </span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 8pt; mso-no-proof: yes">encoding</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">=</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">&#8220;</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">utf-8</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">&#8220;</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">?&gt;</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&lt;</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">App</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; padding-left: 30px;"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="mso-spacerun: yes"> </span>&lt;</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">Name</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">Microsoft.OfficeLabs.PeerMail</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&lt;/</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">Name</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; padding-left: 30px;"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="mso-spacerun: yes"> </span>&lt;</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">Version</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">1.1.0.0</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&lt;/</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">Version</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; padding-left: 30px;"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="mso-spacerun: yes"> </span>&lt;</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">DependencyManagement</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; padding-left: 60px;"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="mso-spacerun: yes"> </span>&lt;</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">Dependency</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; padding-left: 90px;"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="mso-spacerun: yes"> </span>&lt;</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">App</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; padding-left: 120px;"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="mso-spacerun: yes"> </span>&lt;</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">Name</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">Microsoft.DotNet</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&lt;/</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">Name</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; padding-left: 120px;"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="mso-spacerun: yes"> </span>&lt;</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">Version</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">2.0</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&lt;/</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">Version</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; padding-left: 90px;"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="mso-spacerun: yes"> </span>&lt;/</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">App</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; padding-left: 90px;"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="mso-spacerun: yes"> </span>&lt;</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">App</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; padding-left: 120px;"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="mso-spacerun: yes"> </span>&lt;</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">Name</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">Microsoft.Office.Outlook</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&lt;/</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">Name</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; padding-left: 120px;"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="mso-spacerun: yes"> </span>&lt;</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">Version</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">12.0.6213.1000</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&lt;/</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">Version</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; padding-left: 90px;"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="mso-spacerun: yes"> </span>&lt;/</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">App</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; padding-left: 60px;"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="mso-spacerun: yes"> </span>&lt;/</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">Dependency</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; padding-left: 30px;"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="mso-spacerun: yes"> </span>&lt;/</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">DependencyManagement</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; padding-left: 30px;"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="mso-spacerun: yes"> </span>&lt;</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">InstallSteps</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; padding-left: 60px;"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="mso-spacerun: yes"> </span>&lt;</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">step_by_step_install_guide_by_XML</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">&#8230;</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&lt;/</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">step_by_step_install_guide_by_XML</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; padding-left: 30px;"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="mso-spacerun: yes"> </span>&lt;/</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">InstallSteps</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span></p>
<p class="MsoNormal" style="PAGE-BREAK-AFTER: avoid; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&lt;/</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">App</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="MARGIN: 6pt 0in 0pt"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; ">This file makes sure that (1) the app gets globally unique name with Name and Version, (2) Dependency is clearly defined, (3) InstallSteps will reuse certain tasks pre-defined by MRT. The tasks sample provided by MRT will be to create folder, register COM component, start certain services, copy files, etc.<span style="mso-spacerun: yes"> </span>MRT will read this file and generate releasing package.</span></p>
<h3><a name="_Toc211851994"><span style="mso-fareast-font-family: Arial"><span style="mso-list: Ignore"><em>4.2</em><span style="FONT: 7pt 'Times New Roman'"> </span></span></span><em>MyApps Portal</em></a></h3>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; ">MyApps Portal is the only place where users browse, search, install, configure, manage and share their apps across all their computers.</span></p>
<h3><a name="_Toc211851995"><span style="mso-fareast-font-family: Arial"><span style="mso-list: Ignore"><em>4.3</em><span style="FONT: 7pt 'Times New Roman'"> </span></span></span><em>MyApps Client</em></a></h3>
<p class="MsoNormal" style="MARGIN: 6pt 0in 0pt"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; ">MyApps will be running in software users as ActiveX IE plugin. Every app defines its config DB as following:</span></p>
<table class="MsoTableGrid" style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; BORDER-COLLAPSE: collapse; BORDER-TOP: medium none; BORDER-RIGHT: medium none; mso-yfti-tbllook: 1184; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-border-themecolor: text1; mso-border-alt: solid black .5pt" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
<td style="border: 1pt solid black; padding: 0in 5.4pt; background-color: transparent; width: 6.15in;" width="590" valign="top">
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&lt;?</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">xml</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"> </span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 8pt; mso-no-proof: yes">version</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">=</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">&#8220;</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">1.0</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">&#8220;</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"> </span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 8pt; mso-no-proof: yes">encoding</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">=</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">&#8220;</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">utf-8</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">&#8220;</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">?&gt;</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&lt;</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">Configs</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; padding-left: 30px;"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="mso-spacerun: yes"> </span>&lt;</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">Section1</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; padding-left: 60px;"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="mso-spacerun: yes"> </span>&lt;</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">Property</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"> </span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 8pt; mso-no-proof: yes">Key</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">=</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">&#8220;</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">key1</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">&#8220;</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"> </span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 8pt; mso-no-proof: yes">Value</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">=</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">&#8220;</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">value1</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">&#8220;</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"> /&gt;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; padding-left: 60px;"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="mso-spacerun: yes"> </span>&lt;</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">Property</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"> </span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 8pt; mso-no-proof: yes">Key</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">=</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">&#8220;</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">key2</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">&#8220;</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"> </span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 8pt; mso-no-proof: yes">Value</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">=</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">&#8220;</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">value2</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">&#8220;</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"> /&gt;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; padding-left: 30px;"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="mso-spacerun: yes"> </span>&lt;/</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">Section1</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; padding-left: 30px;"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="mso-spacerun: yes"> </span>&lt;</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">Section2</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; padding-left: 60px;"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="mso-spacerun: yes"> </span>&lt;</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">Property</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"> </span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 8pt; mso-no-proof: yes">Key</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">=</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">&#8220;</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">key3</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">&#8220;</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"> </span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 8pt; mso-no-proof: yes">Value</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">=</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">&#8220;</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">value3</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">&#8220;</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"> /&gt;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; padding-left: 60px;"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="mso-spacerun: yes"> </span>&lt;</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">Property</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"> </span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 8pt; mso-no-proof: yes">Key</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">=</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">&#8220;</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">key4</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">&#8220;</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"> </span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: red; FONT-SIZE: 8pt; mso-no-proof: yes">Value</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">=</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">&#8220;</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">value4</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="color: #595959;">&#8220;</span></span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"> /&gt;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; padding-left: 30px;"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes"><span style="mso-spacerun: yes"> </span>&lt;/</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">Section2</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span></p>
<p class="MsoNormal" style="PAGE-BREAK-AFTER: avoid; MARGIN: 0in 0in 0pt"><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&lt;/</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: #a31515; FONT-SIZE: 8pt; mso-no-proof: yes">Configs</span><span style="LINE-HEIGHT: 110%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 8pt; mso-no-proof: yes">&gt;</span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="MARGIN: 6pt 0in 0pt"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; ">We can use lightweight DB component(e.g., </span><a href="http://www.sqlite.org/"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;">SQLite</span></a><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; ">, or SQL Express) to achieve that.</span></p>
<h2><a name="_Toc211851996"><span style="mso-fareast-font-family: Arial"><span style="mso-list: Ignore"><span style="font-size: large;">5</span><span style="FONT: 7pt 'Times New Roman'"> </span></span></span><span style="font-size: large;">Go TO Market Strategy</span></a></h2>
<p class="MsoNormal" style="MARGIN: 6pt 0in 0pt"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; ">Business model would be software licensing.</span></p>
<p class="MsoNormal" style="margin: 6pt 0in 0pt;"><span style="color: #993300;"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;">&#8212;</span></span></p>
<p class="MsoNormal" style="MARGIN: 6pt 0in 0pt"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; "><span style="color: #993300;">MyApps is not just for resintalling the whole software stack. It actually allows users to maintain streamlined application and settings across the computer overtime. I will probably to start a project in CodePlex for this.</span></span></p>
<p class="MsoNormal" style="MARGIN: 6pt 0in 0pt"><span style="color: #993300;"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;">Acknowledgment: MyApps is inspired by <a href="http://maven.apache.org/" target="_blank">Maven</a> for Java, </span><a href="http://docs.rubygems.org/" target="_blank">RubyGems</a> for Ruby, <a href="www.cpan.org" target="_blank">CAPN</a> for Perl, <a href="en.wikipedia.org/wiki/Yellowdog_Updater,_Modified" target="_blank">YUM</a> for Linux, etc. I am actually surprised that Windows don&#8217;t have this till today. <a href="http://ninite.com/" target="_blank">Ninite</a> is likely, but far from solving the problem entirely. </span></p>
]]></content:encoded>
			<wfw:commentRss>http://libaocun.com/myapps-eases-reinstallationn/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Calling SQL Server Stored Procedures with ADO.NET in 5 minutes</title>
		<link>http://libaocun.com/calling-sql-server-stored-procedures-with-ado-net-in-5-minutes</link>
		<comments>http://libaocun.com/calling-sql-server-stored-procedures-with-ado-net-in-5-minutes#comments</comments>
		<pubDate>Sun, 02 Aug 2009 02:35:01 +0000</pubDate>
		<dc:creator>Bali</dc:creator>
				<category><![CDATA[English - 英文]]></category>
		<category><![CDATA[ACT]]></category>
		<category><![CDATA[db]]></category>

		<guid isPermaLink="false">http://www.balionweb.com/?p=12</guid>
		<description><![CDATA[A stored procedure is an already written SQL statement that is saved in the database. It can take parameters; return objects you specified, just like what happens in any other programming languages you are familiar with.
 
Why stored procedures instead of random SQL? For me:
1. Modular Programming- Stored procedures allow developers to encapsulate business functionality [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="font-family: 'Verdana','sans-serif'; font-size: 10pt;" lang="EN-US"><span style="font-family: Calibri; font-size: small;">A stored procedure is an already written SQL statement that is saved in the database. It can take parameters; return objects you specified, just like what happens in any other programming languages you are familiar with.</span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span lang="EN-US"><span style="font-family: Calibri; font-size: small;"><span style="font-family: Calibri; font-size: small;"> </span></span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="font-family: 'Verdana','sans-serif'; font-size: 10pt;" lang="EN-US"><span style="font-family: Calibri; font-size: small;">Why stored procedures instead of random SQL? For me:</span></span></p>
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 18pt; text-indent: -18pt;"><span style="font-family: 'Verdana','sans-serif'; font-size: 10pt;" lang="EN-US"><span><span style="font-family: Calibri; font-size: small;">1.<span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;"> </span></span></span></span><span style="font-family: 'Verdana','sans-serif'; font-size: 10pt;" lang="EN-US"><span style="font-family: Calibri; font-size: small;">Modular Programming- <em>Stored procedures</em> allow developers to encapsulate business functionality and provide callers with a simple interface. Once interfaces are settled down, caller and callee coding work can be assigned to different team/persons.</span></span></p>
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 18pt; text-indent: -18pt;"><span style="font-family: 'Verdana','sans-serif'; font-size: 10pt;" lang="EN-US"><span><span style="font-family: Calibri; font-size: small;">2.<span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;"> </span></span></span></span><span style="font-family: 'Verdana','sans-serif'; font-size: 10pt;" lang="EN-US"><span style="font-family: Calibri; font-size: small;">Security Enhancement- Users can be granted permission to execute a stored procedure. Use parameterized queries—not string concatenation—to build queries.</span></span></p>
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 18pt; text-indent: -18pt;"><span style="font-family: 'Verdana','sans-serif'; font-size: 10pt;" lang="EN-US"><span><span style="font-family: Calibri; font-size: small;">3.<span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;"> </span></span></span></span><span style="font-family: 'Verdana','sans-serif'; font-size: 10pt;" lang="EN-US"><span style="font-family: Calibri; font-size: small;">Reduce network traffic – Benefits can be easily noticed if you have frequently called T-SQL code of hundreds of lines.</span></span></p>
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 18pt; text-indent: -18pt;"><span style="font-family: 'Verdana','sans-serif';" lang="EN-US"><span><span style="font-family: Calibri; font-size: small;"><span style="font-size: small;">4.</span><span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;"> </span></span></span></span><span style="font-family: 'Verdana','sans-serif'; font-size: 10pt;" lang="EN-US"><span style="font-family: Calibri; font-size: small;">Performance – Stored procedures are registered at servers, and as a result DBAs/servers get more change to optimize them.</span></span><span style="font-family: 'Verdana','sans-serif';" lang="EN-US"> </span></p>
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 18pt; text-indent: -18pt;"><span lang="EN-US"> </span></p>
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 18pt; text-indent: -18pt;"><span lang="EN-US"><span style="font-family: Calibri; font-size: small;">Coding time now. </span></span><span lang="EN-US"><span style="font-family: Calibri; font-size: small;">Firstly, you need run below SQL script in SQL2005. </span></span></p>
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 18pt; text-indent: -18pt;">
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 18pt; text-indent: -18pt;"><span lang="EN-US"><span style="font-family: Calibri; font-size: small;"><strong><span style="text-decoration: underline;">SQL Script</span></strong></span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: left;" align="left"><span style="font-family: 'Courier New'; font-size: 10pt;" lang="EN-US"><strong> </strong></span></p>
<table class="MsoTableGrid" style="border: medium none ; background: #eeece1 none repeat scroll 0% 0%; border-collapse: collapse; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="border: medium none black; padding: 0in 5.4pt; background-color: transparent; width: 6.15in;" width="900" valign="top">
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; color: green; font-size: 8pt;">&#8211; Create a test DB</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; color: blue; font-size: 8pt;">USE</span><span style="font-family: 'Courier New'; font-size: 8pt;"> [master] </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;">GO</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; color: blue; font-size: 8pt;">CREATE</span><span style="font-family: 'Courier New'; font-size: 8pt;"> <span style="color: blue;">DATABASE</span> SpTestDB</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;">GO</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; color: blue; font-size: 8pt;">USE</span><span style="font-family: 'Courier New'; font-size: 8pt;"> SpTestDB</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;">GO</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; color: green; font-size: 8pt;">&#8211; Create a test Table</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; color: blue; font-size: 8pt;">CREATE</span><span style="font-family: 'Courier New'; font-size: 8pt;"> <span style="color: blue;">TABLE</span> dbo<span style="color: gray;">.</span>TestTable <span style="color: gray;">(</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span>id [nvarchar]<span style="color: gray;">(</span>50<span style="color: gray;">)</span> <span style="color: gray;">NULL,</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span>SomeValue [int] <span style="color: gray;">NULL</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; color: gray; font-size: 8pt;">)</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;">GO</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; color: green; font-size: 8pt;">&#8211; Create read SP</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; color: blue; font-size: 8pt;">CREATE</span><span style="font-family: 'Courier New'; font-size: 8pt;"> <span style="color: blue;">PROCEDURE</span> dbo<span style="color: gray;">.</span>ReadData</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span>@id <span style="color: blue;">nvarchar</span> <span style="color: gray;">(</span>50<span style="color: gray;">)</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; color: blue; font-size: 8pt;">AS</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; color: blue; font-size: 8pt;">BEGIN</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: blue;">SELECT</span> <span style="color: gray;">*</span> <span style="color: blue;">FROM</span> dbo<span style="color: gray;">.</span>TestTable</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: blue;">WHERE</span> id <span style="color: gray;">=</span> @id<span style="color: gray;">;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span style="color: gray;"><span style="color: #0000ff;">END</span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;">GO</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; color: green; font-size: 8pt;">&#8211; Create write SP</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; color: blue; font-size: 8pt;">CREATE</span><span style="font-family: 'Courier New'; font-size: 8pt;"> <span style="color: blue;">PROCEDURE</span> dbo<span style="color: gray;">.</span>WriteData</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span>@id <span style="color: blue;">nvarchar</span> <span style="color: gray;">(</span>50<span style="color: gray;">),</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span>@SomeValue <span style="color: blue;">int</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; color: blue; font-size: 8pt;">AS</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; color: blue; font-size: 8pt;">BEGIN</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: blue;">INSERT</span> <span style="color: blue;">INTO</span> dbo<span style="color: gray;">.</span>TestTable <span style="color: gray;">(</span>id<span style="color: gray;">,</span> SomeValue<span style="color: gray;">)</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: blue;">VALUES</span> <span style="color: gray;">(</span>@id<span style="color: gray;">,</span> @SomeValue<span style="color: gray;">);</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span style="color: gray;"><span style="color: #0000ff;">END</span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;">GO</span></p>
</td>
</tr>
</tbody>
</table>
<p><strong> </strong></p>
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 18pt; text-indent: -18pt;"><span lang="EN-US"><span style="font-family: Calibri; font-size: small;">Next, you can call in ADO.NET. </span></span></p>
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 18pt; text-indent: -18pt;">
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 18pt; text-indent: -18pt;"><span lang="EN-US"><span style="font-family: Calibri; font-size: small;"><strong><span style="text-decoration: underline;">ADO.NET C# code</span></strong></span></span></p>
<table class="MsoTableGrid" style="border: medium none ; background: #eeece1 none repeat scroll 0% 0%; border-collapse: collapse; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="border: medium none black; padding: 0in 5.4pt; background-color: transparent; width: 6.15in;" width="900" valign="top">
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; color: blue; font-size: 8pt;">using</span><span style="font-family: 'Courier New'; font-size: 8pt;"> System;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; color: blue; font-size: 8pt;">using</span><span style="font-family: 'Courier New'; font-size: 8pt;"> System.Collections.Generic;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; color: blue; font-size: 8pt;">using</span><span style="font-family: 'Courier New'; font-size: 8pt;"> System.Text;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; color: blue; font-size: 8pt;">using</span><span style="font-family: 'Courier New'; font-size: 8pt;"> System.Data.SqlClient;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; color: blue; font-size: 8pt;">namespace</span><span style="font-family: 'Courier New'; font-size: 8pt;"> ConsoleApplication4</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;">{</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: blue;">class</span> <span style="color: #2b91af;">Program</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span>{</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: green;">// NOTICE: You MUST replace &#8216;localhost\baligoal&#8217; with your own DB instance name</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: blue;">const</span> <span style="color: blue;">string</span> ConnString = <span style="color: #a31515;">@&#8221;Data Source=localhost\baligoal;Initial Catalog=SpTestDB;Integrated Security=True&#8221;</span>;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: gray;">///</span><span style="color: green;"> </span><span style="color: gray;">&lt;summary&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: gray;">///</span><span style="color: green;"> Write a record to DB with stored procedure &#8220;WriteData&#8221;,</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: gray;">///</span><span style="color: green;"> and then read it out with stored procedure &#8220;ReadData&#8221;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: gray;">///</span><span style="color: green;"> </span><span style="color: gray;">&lt;/summary&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: gray;">///</span><span style="color: green;"> </span><span style="color: gray;">&lt;param name=&#8221;args&#8221;&gt;&lt;/param&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: blue;">static</span> <span style="color: blue;">void</span> Main(<span style="color: blue;">string</span>[] args)</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span>{</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: blue;">const</span> <span style="color: blue;">string</span> TestID = <span style="color: #a31515;">&#8220;firstid&#8221;</span>;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: blue;">const</span> <span style="color: blue;">int</span> TestValue = 500;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: green;">// Firstly, write a record with store procedure</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span> </span><span style="color: blue;">using</span> (<span style="color: #2b91af;">SqlConnection</span> conn = <span style="color: blue;">new</span> <span style="color: #2b91af;">SqlConnection</span>(ConnString))</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span>{</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: green;">// Specify &#8216;WriteData&#8217; procedure in the params</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: blue;">using</span> (<span style="color: #2b91af;">SqlCommand</span> cmd = <span style="color: blue;">new</span> <span style="color: #2b91af;">SqlCommand</span>(<span style="color: #a31515;">&#8220;WriteData&#8221;</span>, conn))</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span>{</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span>cmd.CommandType = System.Data.<span style="color: #2b91af;">CommandType</span>.StoredProcedure;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: green;">// The param names are exactly the same with SP WriteData&#8217;s</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span>cmd.Parameters.AddWithValue(<span style="color: #a31515;">&#8220;@id&#8221;</span>, TestID);</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span>cmd.Parameters.AddWithValue(<span style="color: #a31515;">&#8220;@SomeValue&#8221;</span>, TestValue);</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span>cmd.Connection.Open();</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span>cmd.ExecuteNonQuery();</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span>}</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span>}</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: green;">// If you set BP here, and check you DB table, you should find &#8216;firstid, 500&#8242; there</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: #2b91af;">Console</span>.WriteLine(<span style="color: #a31515;">&#8220;Write: done.&#8221;</span>);</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: green;">// Next, read it out with store procedure</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: blue;">using</span> (<span style="color: #2b91af;">SqlConnection</span> conn = <span style="color: blue;">new</span> <span style="color: #2b91af;">SqlConnection</span>(ConnString)) {</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: green;">// Specify &#8216;ReadData&#8217; procedure in the params</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: blue;">using</span> (<span style="color: #2b91af;">SqlCommand</span> cmd = <span style="color: blue;">new</span> <span style="color: #2b91af;">SqlCommand</span>(<span style="color: #a31515;">&#8220;ReadData&#8221;</span>, conn)) {</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span>cmd.CommandType = System.Data.<span style="color: #2b91af;">CommandType</span>.StoredProcedure;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: green;">// The param names is exactly the same with SP ReadData&#8217;s</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span>cmd.Parameters.AddWithValue(<span style="color: #a31515;">&#8220;@id&#8221;</span>, TestID);</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span>cmd.Connection.Open();</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: blue;">using</span> (<span style="color: #2b91af;">SqlDataReader</span> reader = cmd.ExecuteReader())</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span>{</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: blue;">if</span> (reader.Read()) {</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: #2b91af;">Console</span>.WriteLine(<span style="color: #a31515;">&#8220;read: id &#8211; &#8220;</span> + <span style="color: #2b91af;">Convert</span>.ToString(reader[0]));</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: #2b91af;">Console</span>.WriteLine(<span style="color: #a31515;">&#8220;read: SomeValue &#8211; &#8220;</span> + <span style="color: #2b91af;">Convert</span>.ToInt32(reader[1]));</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span>}</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span>}</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span>}</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span>}</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span style="color: green;">// End for bp</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span><span> </span><span style="color: #2b91af;">Console</span>.WriteLine(<span style="color: #a31515;">&#8220;exit&#8221;</span>);</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span>}</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;"><span> </span>}</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 8pt;">}</span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt; line-height: normal;"><span style="font-family: 'Courier New'; font-size: 10pt;"> </span></p>
</td>
</tr>
</tbody>
</table>
<p>That is it.</p>
]]></content:encoded>
			<wfw:commentRss>http://libaocun.com/calling-sql-server-stored-procedures-with-ado-net-in-5-minutes/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
