<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7118099742392702035</id><updated>2026-10-08T04:38:45.690-07:00</updated><category term=".net"/><category term="AP.NET MVC3"/><category term="ASP.NET"/><category term="C#"/><category term="android"/><category term="cordova"/><category term="mobile app"/><category term="phonegap"/><category term="Async CTP"/><category term="CodeFirst"/><category term="Controller"/><category term="Editor"/><category term="Entity Framework"/><category term="Excel"/><category term="Flent API"/><category term="HTML 5"/><category term="Hybrid app"/><category term="IOS"/><category term="Interview."/><category term="MVC 3"/><category term="Macro"/><category term="Mobile"/><category term="Parameter"/><category term="Shortcut"/><category term="Static Method"/><category term="Structure Map"/><category term="VS 2010"/><category term="VS 2012"/><category term="Visual Studio 2010"/><category term="Visual Studio 2012"/><category term="adt plugin"/><category term="android_ndk_path"/><category term="ant"/><category term="cross platform"/><category term="foreign Key"/><category term="image"/><category term="install"/><category term="ionic"/><category term="jQuery"/><category term="key shortcut"/><category term="local storeage"/><category term="multiple foreign key"/><category term="nodejs"/><category term="razor view"/><category term="sqlite"/><category term="upload"/><title type='text'>C#Wave.NET</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://csharpwavenet.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://csharpwavenet.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Desa</name><uri>http://www.blogger.com/profile/13580908981899104531</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQS-1QCkei9HK1gK8whosQM7n-j5VNqbeaCVBYcYQnr7fjcZZcp-Wd_ok-b6Ua_Jx-_IDRG7HNyrQMUPvXk8yZ42WjGq2kD_evpfjdUQ4yFjsFEom-5D3d9v5Htjl82w/s220/Image012.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7118099742392702035.post-5902362918858568091</id><published>2015-05-24T01:05:00.000-07:00</published><updated>2015-05-24T01:05:58.351-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="cordova"/><category scheme="http://www.blogger.com/atom/ns#" term="Hybrid app"/><category scheme="http://www.blogger.com/atom/ns#" term="ionic"/><category scheme="http://www.blogger.com/atom/ns#" term="IOS"/><category scheme="http://www.blogger.com/atom/ns#" term="local storeage"/><category scheme="http://www.blogger.com/atom/ns#" term="Mobile"/><category scheme="http://www.blogger.com/atom/ns#" term="mobile app"/><category scheme="http://www.blogger.com/atom/ns#" term="phonegap"/><category scheme="http://www.blogger.com/atom/ns#" term="sqlite"/><title type='text'>Local storage with SQLite for Hybrid Mobile App with IONIC, Cordova and sqlite</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;After hours of search on google there was no proper documentation on how to implement step by step instructions to implement local storage for hybrid mobile application.&lt;/span&gt;&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;This post will help you implement the feature without searching multiple locations for instructions.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;1) Create a IONIC or Cordova basic application using command line&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; Cordova based app&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Cordova create localStoreApp&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;







&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;font-size: large;&quot;&gt;IONIC based app&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ionic start localStoreApp&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;2) Add the ios platform to the application&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cd localStoreApp&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; cordova platform add ios&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; ioinc platform add ios&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;3) Build the basic app to check cli is correctly building&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cordova build ios&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; ionic build ios&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;4) Add sqlite plugin&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;cordova plugin add https://github.com/litehelpers/cordova-sqlite-common&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;5) Add the plugin to the config.xml file in the current directory,&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;under the setting&amp;nbsp;&amp;lt;access origin=&quot;*&quot;/&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;







&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;plugin name=&quot;SQLitePlugin&quot; value=&quot;SQLitePlugin&quot; /&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;6) If local storage is not required to be backed up on iCloud,&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;Under the settings &amp;lt;platform name=&quot;ios&quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&amp;lt;preference name=&quot;BackupWebStorage&quot; value=&quot;local&quot;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;7) Copy the SQLitePlugin.js file under the directory&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;plugins / cordova-sqlite-common/www/&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; SQLitePlugin.js&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;8) &amp;nbsp;Past the copied file into the current locations www/js directory&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;9) &amp;nbsp;Refer the SQLitePlugin.js file from the index.html file.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Reference should be below cordova.js file&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;10) Access the databased on where it needs to be used.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;sqlite should be accessed after the deviceready event in Cordova and &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$ionicPlatform.ready call back in IONIC.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;var db = window.sqlitePlugin.openDatabase(&quot;Database&quot;, &quot;1.0&quot;, &quot;Demo&quot;, -1);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; db.transaction(function(tx) {&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; tx.executeSql(&#39;DROP TABLE IF EXISTS test_table&#39;);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; tx.executeSql(&#39;CREATE TABLE IF NOT EXISTS test_table (id integer primary key, data text, data_num integer)&#39;);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; alert(&quot;DB droped&quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; tx.executeSql(&quot;INSERT INTO test_table (data, data_num) VALUES (?,?)&quot;, [&quot;test&quot;, 100], function(tx, res) {&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; console.log(&quot;insertId: &quot; + res.insertId + &quot; -- probably 1&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //alert(&quot;rowsAffected: &quot; + res.rowsAffected + &quot; -- should be 1&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; alert(&quot;Data Inserted&quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tx.executeSql(&quot;select count(id) as cnt from test_table;&quot;, [], function(tx, res) {&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;console.log(&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;(&quot;res.rows.length: &quot; + res.rows.length + &quot; -- should be 1&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;console.log(&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;(&quot;res.rows.item(0).cnt: &quot; + res.rows.item(0).cnt + &quot; -- should be&amp;nbsp;1&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; alert(&quot;Data Selected&quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; });&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; tx.executeSql(&quot;select data from test_table;&quot;, [], function(tx, res) {&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;console.log(&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;(&quot;res.rows.length: &quot; + res.rows.length + &quot; -- should be 1&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; alert(&quot;res.rows.item(0) :&quot; + res.rows.item(0).data );&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; alert(&quot;Data Selected&quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; });&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; }, function(e) {&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; alert(&quot;ERROR: &quot; + e.message);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; });&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; });&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;11) &amp;nbsp;Build and Prepare the application for platform&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt; cordova build ios&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; ionic build ios&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;12) run the application using the cli command or via the xcode&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&lt;/span&gt; &amp;nbsp; &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cli - cordova run ios --device&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ionic run ios --device&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;xcode - navigate the the folder&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;platforms / ios&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;open the file localstoreapp.xcodeproj&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;run the application by clicking on play button or product menu &amp;gt; run&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;Kindly let me know if you encounter any build error or if the application does not get deployed correctly.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;Suppose if the application does get built but not correctly gets deployed then remove the platform and add it. remember to run the prepare ios command which will download the necessary files needed for ios.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Happy coding&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://csharpwavenet.blogspot.com/feeds/5902362918858568091/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7118099742392702035/5902362918858568091' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/5902362918858568091'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/5902362918858568091'/><link rel='alternate' type='text/html' href='http://csharpwavenet.blogspot.com/2015/05/local-storage-with-sqlite-for-hybrid.html' title='Local storage with SQLite for Hybrid Mobile App with IONIC, Cordova and sqlite'/><author><name>Desa</name><uri>http://www.blogger.com/profile/13580908981899104531</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQS-1QCkei9HK1gK8whosQM7n-j5VNqbeaCVBYcYQnr7fjcZZcp-Wd_ok-b6Ua_Jx-_IDRG7HNyrQMUPvXk8yZ42WjGq2kD_evpfjdUQ4yFjsFEom-5D3d9v5Htjl82w/s220/Image012.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7118099742392702035.post-822164447028336140</id><published>2014-04-08T21:05:00.000-07:00</published><updated>2014-04-08T21:08:47.418-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="adt plugin"/><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="android_ndk_path"/><category scheme="http://www.blogger.com/atom/ns#" term="ant"/><category scheme="http://www.blogger.com/atom/ns#" term="cordova"/><category scheme="http://www.blogger.com/atom/ns#" term="cross platform"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML 5"/><category scheme="http://www.blogger.com/atom/ns#" term="install"/><category scheme="http://www.blogger.com/atom/ns#" term="mobile app"/><category scheme="http://www.blogger.com/atom/ns#" term="nodejs"/><category scheme="http://www.blogger.com/atom/ns#" term="phonegap"/><title type='text'>Creating HTML 5 based android Mobile App with cordova (PhoneGap)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;This article covers the steps followed to successfully create the first PhoneGap based Android Application.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Follow the steps as per the given order bellow&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Pre-requests&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Installing Apache ANT&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Installing Eclipse&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Adding Android ADT Plugin&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Installing NodeJS&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Installing Cordova&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Setting up Environment Variable&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Creating Cordova App&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;1. Pre-requests&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Confirm Java is installed on your machine.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;eg: Open command prompt and type Java. You should see a screen similar to bellow.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6Vph3hieModWL9qhNruotEGxfED6TlrWeYuzwS5aD205ms9sbJrnKR-E0yq6ScCodfTiZjyhsHKpZbJPWO_xyJn8ogOuh5bftQ1I6gXs2Aa4uvirLx0FKdxtf8ps7rYKXc91STKneUSE/s1600/Java_Installation.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6Vph3hieModWL9qhNruotEGxfED6TlrWeYuzwS5aD205ms9sbJrnKR-E0yq6ScCodfTiZjyhsHKpZbJPWO_xyJn8ogOuh5bftQ1I6gXs2Aa4uvirLx0FKdxtf8ps7rYKXc91STKneUSE/s1600/Java_Installation.PNG&quot; height=&quot;201&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;If Java is not installed you should be able to download from below location.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://www.java.com/en/download/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;https://www.java.com/en/download/&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;2. Installing Apache ANT&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Apache ANT can be found in below location&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://ant.apache.org/bindownload.cgi&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;https://ant.apache.org/bindownload.cgi&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZYVkke5e1p1pyeylkEF1HujSNwyiKYYSKnH3QM_OCHFollzSH4AYoEsc6Jswc_bMCnxY2vRBZsanHtZHMWpm1kNPMUD30Sdp8NVaSAyZjxN62tk37xM5xthIoz-JsjJIjsmAnbooLeTU/s1600/apache_ant.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZYVkke5e1p1pyeylkEF1HujSNwyiKYYSKnH3QM_OCHFollzSH4AYoEsc6Jswc_bMCnxY2vRBZsanHtZHMWpm1kNPMUD30Sdp8NVaSAyZjxN62tk37xM5xthIoz-JsjJIjsmAnbooLeTU/s1600/apache_ant.PNG&quot; height=&quot;267&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;download the highlighted file and open the zip file. Open the extracted folder and copy the &lt;b&gt;ant &lt;/b&gt;folder to c:/ folder.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;3. Installing Eclipse&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Download Eclipse from below location.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://www.eclipse.org/downloads/packages/eclipse-standard-432/keplersr2&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;https://www.eclipse.org/downloads/packages/eclipse-standard-432/keplersr2&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Extract the ZIP file and copy the Eclipse to &lt;b&gt;c:/Program Files &lt;/b&gt;location&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;4. Adding Android ADT Plugin&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Steps to add Plugin&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; Open Eclipse&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; Click on Help&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Follow as per the screen shots&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGQdk_b5EHr4_wXo2i8VuRSSZW9mywR6x8D3Z2H5i2mZVdXGV-ERvKQbenB47vdxsV9qf4rHGI41eyvU6xpveNp3U3WzJwCk9JAN-eOs97MMAONIyHbxLE_3_ASFw7sbdc_tpSsTksUgU/s1600/eclips-adt_1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGQdk_b5EHr4_wXo2i8VuRSSZW9mywR6x8D3Z2H5i2mZVdXGV-ERvKQbenB47vdxsV9qf4rHGI41eyvU6xpveNp3U3WzJwCk9JAN-eOs97MMAONIyHbxLE_3_ASFw7sbdc_tpSsTksUgU/s1600/eclips-adt_1.PNG&quot; height=&quot;187&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
Click on Add&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHFyQ-xAwhrZlZsFPLRjxK8elFcMLupsvADmi5lfE7egkqOOAGxHcNZ-KzbYakzLwcWGQIHAEPs2lXauHltspyAKucEZKV2-HAZSuZvWLTNWh9jifNDSuRbtFrezvJuqiDw9i-Mk_ypjI/s1600/eclips-adt_2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHFyQ-xAwhrZlZsFPLRjxK8elFcMLupsvADmi5lfE7egkqOOAGxHcNZ-KzbYakzLwcWGQIHAEPs2lXauHltspyAKucEZKV2-HAZSuZvWLTNWh9jifNDSuRbtFrezvJuqiDw9i-Mk_ypjI/s1600/eclips-adt_2.PNG&quot; height=&quot;136&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;Type as per the screen.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Name :&lt;/b&gt; ADT Plugin&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Location:&lt;/b&gt;&amp;nbsp;https://dl-ssl.google.com/android/eclipse/&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKhhqa7qbsZUkj2Gx9klq4v8shyI7B2axu7QZk5W03-LUM0onTEmuUZrPvXUZEeSjXFC_FOE6x7JH82tfmxlLSa6gpn2OaNufjB6_hIwoE_uy-VC8itY2dS8CQ4-78ab8YjmOD1nUXWJU/s1600/eclips-adt_3.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKhhqa7qbsZUkj2Gx9klq4v8shyI7B2axu7QZk5W03-LUM0onTEmuUZrPvXUZEeSjXFC_FOE6x7JH82tfmxlLSa6gpn2OaNufjB6_hIwoE_uy-VC8itY2dS8CQ4-78ab8YjmOD1nUXWJU/s1600/eclips-adt_3.PNG&quot; height=&quot;132&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;Select the check boxes as per the screen&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxhyphenhyphenVR7qMm9KwcRNv-d27JXv4uMKQXKMM9Cgy4aT-3EE00oV6iCwVUuUD49TMMh00aDh_RmjHjpJUgVwSnZ0WCohsDi6PRfFHlqUdSbhuoHjzK2ym9-lA9Whnedz27FV-jVpI1riqe92k/s1600/eclips-adt_4.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxhyphenhyphenVR7qMm9KwcRNv-d27JXv4uMKQXKMM9Cgy4aT-3EE00oV6iCwVUuUD49TMMh00aDh_RmjHjpJUgVwSnZ0WCohsDi6PRfFHlqUdSbhuoHjzK2ym9-lA9Whnedz27FV-jVpI1riqe92k/s1600/eclips-adt_4.PNG&quot; height=&quot;313&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzsBrNLDWJaEoLqgbps5mjkk-HhhbTrq89XEk6-SWQUk_DYmqyjv6h2-bLjzKib2w_74Z7tEdS-1KK66GRJJ32EdusEcm08OTsC58Qrh7ZTnmT46YfsXgE7_2eCZV-dPA34D-iAqk8ZDw/s1600/eclips-adt_5.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzsBrNLDWJaEoLqgbps5mjkk-HhhbTrq89XEk6-SWQUk_DYmqyjv6h2-bLjzKib2w_74Z7tEdS-1KK66GRJJ32EdusEcm08OTsC58Qrh7ZTnmT46YfsXgE7_2eCZV-dPA34D-iAqk8ZDw/s1600/eclips-adt_5.PNG&quot; height=&quot;312&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;Agree the licences for all and click on finish.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG39ikuYgWrxiwcKfFofXVHwgadSGLhXm4cm-PV62ZET-tu67_7SJNaL_HEaAymZXk-m3IpirrwtQnml_nfYwZQ0rR-krQ4B4bHdskug8nyvQs81Wul9bLX8TP0VFBKXADOhHfqRWeUbk/s1600/eclips-adt_6.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG39ikuYgWrxiwcKfFofXVHwgadSGLhXm4cm-PV62ZET-tu67_7SJNaL_HEaAymZXk-m3IpirrwtQnml_nfYwZQ0rR-krQ4B4bHdskug8nyvQs81Wul9bLX8TP0VFBKXADOhHfqRWeUbk/s1600/eclips-adt_6.PNG&quot; height=&quot;313&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;It would take quite a long time to download and install the ADT.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;5. Installing NodeJS&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Download NodeJS from below location.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;http://nodejs.org/download/&quot; target=&quot;_blank&quot;&gt;http://nodejs.org/download/&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;6. Installing cordova&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Open NodeJS command prompt which is in All Programs as shown below.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoZvMpe3v4phcvvr90NL_ibZctLjBmL0puc0a-DyyLUOBoreLvk-0n44Tw1vlJfBygMYER6nAFE0ViXkl0nYTtu2GQYn3fFVRwLn5bLUhMudi5fgnp5_6M6yfTPW4G6PKfPPa-hMpFh-0/s1600/Cordova_Installation_1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoZvMpe3v4phcvvr90NL_ibZctLjBmL0puc0a-DyyLUOBoreLvk-0n44Tw1vlJfBygMYER6nAFE0ViXkl0nYTtu2GQYn3fFVRwLn5bLUhMudi5fgnp5_6M6yfTPW4G6PKfPPa-hMpFh-0/s1600/Cordova_Installation_1.PNG&quot; height=&quot;400&quot; width=&quot;263&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;Once the command prompt is open type below command&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;i&gt;npm install cordova&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp2gW9LlFkc6a83ot_z90ccoRkwiEyGQ11vYgYpgbr6-g_nbTUCwyJi1Bgca_lvJjE_o_841hivRGQF3TSkUX9zCWfuuVm57DtJaVLxEqUUf0p8sUamNSEiidNMCtJpO5eldU6OjIhTOA/s1600/Cordova_Installation_2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp2gW9LlFkc6a83ot_z90ccoRkwiEyGQ11vYgYpgbr6-g_nbTUCwyJi1Bgca_lvJjE_o_841hivRGQF3TSkUX9zCWfuuVm57DtJaVLxEqUUf0p8sUamNSEiidNMCtJpO5eldU6OjIhTOA/s1600/Cordova_Installation_2.PNG&quot; height=&quot;161&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;7.Setting up Environment Variables&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;All the system environment variables are listed below with name and value pair. If you find any of them are missing create them under system environment variables.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The locations are as per my machine and you need to find the correct location as per your installation.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Set up ANT_HOME path in user variables&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhT4Kkghg-NwVPSSGY0bu334y71LHS5alCy_AzzE4XiV3U0DjDqWZp65c9G0-FLaHh8lHnXzQ3iW2aU2mv5aUIG4bV8ZM1XPgNC5lJs5Q0QHtA7sttLl_f0YY74w-Y3C3vHhE8kvcmLerw/s1600/ev_settup_1_ant.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhT4Kkghg-NwVPSSGY0bu334y71LHS5alCy_AzzE4XiV3U0DjDqWZp65c9G0-FLaHh8lHnXzQ3iW2aU2mv5aUIG4bV8ZM1XPgNC5lJs5Q0QHtA7sttLl_f0YY74w-Y3C3vHhE8kvcmLerw/s1600/ev_settup_1_ant.PNG&quot; height=&quot;320&quot; width=&quot;287&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;If you don&#39;t find ANT_HOME in your user variables create New one as per instructions below&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Click on NEW button under user variables and type these values.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Variable &lt;/b&gt;: ANT_HOME&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Value &lt;/b&gt;&amp;nbsp; &amp;nbsp;: c:\ant (&lt;i&gt;&lt;span style=&quot;color: red;&quot;&gt;remember ant was extracted and copied to c: root directory&lt;/span&gt;&lt;/i&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Set up ANDROID_ADT_PATH in system variable&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgi5xS308fk86V1kJfSJ9t_dHi4MDCDfwPFPBUiJNLuAA04gZVm-_FOXCPjSorPS_dmWv5f9hlKOLZeMsIXoAoJrfkYBzOp251Z8tNuL0k9lufxlZhnotU0ESVfWMGXFwFxAZ75OybtnLk/s1600/ev_setup_2_android_ndk_path.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgi5xS308fk86V1kJfSJ9t_dHi4MDCDfwPFPBUiJNLuAA04gZVm-_FOXCPjSorPS_dmWv5f9hlKOLZeMsIXoAoJrfkYBzOp251Z8tNuL0k9lufxlZhnotU0ESVfWMGXFwFxAZ75OybtnLk/s1600/ev_setup_2_android_ndk_path.PNG&quot; height=&quot;320&quot; width=&quot;286&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;If you don&#39;t find&amp;nbsp;ANDROID_NDK_PATH&amp;nbsp;in your system variables create New one as per instructions&amp;nbsp;below&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Click on NEW button under system variables and type these values.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Variable&amp;nbsp;&lt;/b&gt;:&amp;nbsp;ANDROID_NDK_PATH&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Value&amp;nbsp;&lt;/b&gt;&amp;nbsp; &amp;nbsp;:&amp;nbsp;C:\Users\&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;UDXF001&lt;/b&gt;&lt;/span&gt;\Documents\Android\ndk\android-ndk-r8d&amp;nbsp;(&lt;i&gt;&lt;span style=&quot;color: red;&quot;&gt;by default when the ADT Plugin is installed via eclipse it will put under the users documents.&lt;/span&gt;&lt;/i&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Set up PATH in system variable&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbck3KkuPBRB1H9Cp-itAW8zkzKAssRN63hCPne2FRm8Y35mNt28OS0F5APNzyQWRiBY3lC2ttHAOmJDX1jz30hqvl9vA-iq0vTU8sBzhdFGRAqyNYWRAzL94eM7Ogp8FmKvVMl9UAFU8/s1600/ev_setup_3_path.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbck3KkuPBRB1H9Cp-itAW8zkzKAssRN63hCPne2FRm8Y35mNt28OS0F5APNzyQWRiBY3lC2ttHAOmJDX1jz30hqvl9vA-iq0vTU8sBzhdFGRAqyNYWRAzL94eM7Ogp8FmKvVMl9UAFU8/s1600/ev_setup_3_path.PNG&quot; height=&quot;280&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Select path under the system variables. Click on Edit and copy the variable content in Variable value.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Past the content in a new notepad.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Check if nodejs is correctly installed by searching for nodeJS in the content. If it does not exist then you need to install the nodejs as per the instructions given on top. Expected path should be&amp;nbsp;&lt;b&gt;C:\Program Files\nodejs\;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Add the ANT bin path by typing&amp;nbsp;&lt;b&gt;C:\ant\bin\; &lt;/b&gt;(&lt;span style=&quot;color: red;&quot;&gt;again location based on where it is...&lt;/span&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Add android sdk paths as per below given values.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;C:\Software\adt-bundle-windows-x86_64-20131030\sdk\platform-tools;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;
&lt;/b&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;C:\Software\adt-bundle-windows-x86_64-20131030\sdk\tools;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;to find the location search for&amp;nbsp;&lt;span style=&quot;background-color: #eeeeee; font-size: 14px; line-height: 17.804800033569336px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;adt-bundle-windows&lt;/b&gt; in the file explorer and replace it with your own location.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee; font-size: 14px; line-height: 17.804800033569336px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee; font-size: 14px; line-height: 17.804800033569336px; white-space: pre-wrap;&quot;&gt;Once the above settings are changed copy the hole content, delete the content in variable value and past it there.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee; font-size: 14px; line-height: 17.804800033569336px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee; font-size: 14px; line-height: 17.804800033569336px; white-space: pre-wrap;&quot;&gt;Next restart the PC and since all are good to go.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee; font-size: 14px; line-height: 17.804800033569336px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee; font-size: 14px; line-height: 17.804800033569336px; white-space: pre-wrap;&quot;&gt;We will create our first application in the next step and emulate it.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee; font-size: 14px; line-height: 17.804800033569336px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee; font-size: 14px; line-height: 17.804800033569336px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;8. Creating cordova android based app&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee; font-size: 14px; line-height: 17.804800033569336px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 17.804800033569336px; white-space: pre-wrap;&quot;&gt;follow the instructions highlighted in yellow step by step&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrtWWAYOYl6jUcgmNnBOP8J4FRig-LnLbxkI3hJ9FrnvGdPt0NJwZGRD1Qb1K0eirk8t1iHtXd8priZ_cTuA0ZnkJuVDcphdeN20CbNoEPDd3Gr8NYXud5L-3PZtHGyZVdR9_Npu9tLZE/s1600/cordova_create_project.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrtWWAYOYl6jUcgmNnBOP8J4FRig-LnLbxkI3hJ9FrnvGdPt0NJwZGRD1Qb1K0eirk8t1iHtXd8priZ_cTuA0ZnkJuVDcphdeN20CbNoEPDd3Gr8NYXud5L-3PZtHGyZVdR9_Npu9tLZE/s1600/cordova_create_project.PNG&quot; height=&quot;640&quot; width=&quot;553&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 17.804800033569336px; white-space: pre-wrap;&quot;&gt; Once the Build Success is displayed the android emulator will prompt and this would take quite a while.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 17.804800033569336px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 17.804800033569336px; white-space: pre-wrap;&quot;&gt;You will be able to see an app similar to this which means you are good to go to the next steps.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiak6V-JkHOX0njVxQPfd12o2gXOaT-Nrg24p1UJJrbZEINam1eJ8vcksZV9S0GPQaFPH0BedBOGHPQoaMiCrlbdKHOYK9g1whbqDu6bO_OgItB20zBxSmF5k3AO4pWAon5-47fbsXj9_g/s1600/cordova_app.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiak6V-JkHOX0njVxQPfd12o2gXOaT-Nrg24p1UJJrbZEINam1eJ8vcksZV9S0GPQaFPH0BedBOGHPQoaMiCrlbdKHOYK9g1whbqDu6bO_OgItB20zBxSmF5k3AO4pWAon5-47fbsXj9_g/s1600/cordova_app.PNG&quot; height=&quot;320&quot; width=&quot;278&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 17.804800033569336px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 17.804800033569336px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 17.804800033569336px; white-space: pre-wrap;&quot;&gt;I will be writing my next Blog on how to work with Aptana Studio to create apps which is more user friendly to work with HTML apps. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 17.804800033569336px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 17.804800033569336px; white-space: pre-wrap;&quot;&gt;Please give your feedback on this so that it would help me and others to improve. Raise your questions if you find any steps failing. Most likely on step 8 you will encounter some issue like &lt;a href=&quot;http://stackoverflow.com/questions/22626338/unable-to-resolve-phone-gap-error-cmd-command-failed-with-exit-code-enoent-3&quot; target=&quot;_blank&quot;&gt;http://stackoverflow.com/questions/22626338/unable-to-resolve-phone-gap-error-cmd-command-failed-with-exit-code-enoent-3&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;and my answer to that is&amp;nbsp;&lt;a href=&quot;http://stackoverflow.com/questions/22312332/phone-gap-error-cmd-command-failed-with-exit-code-enoent/22952259#22952259&quot; target=&quot;_blank&quot;&gt;http://stackoverflow.com/questions/22312332/phone-gap-error-cmd-command-failed-with-exit-code-enoent/22952259#22952259&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Happy Codeing &lt;b&gt;:)&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://csharpwavenet.blogspot.com/feeds/822164447028336140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7118099742392702035/822164447028336140' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/822164447028336140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/822164447028336140'/><link rel='alternate' type='text/html' href='http://csharpwavenet.blogspot.com/2014/04/creating-phonegap-project-with-android.html' title='Creating HTML 5 based android Mobile App with cordova (PhoneGap)'/><author><name>Desa</name><uri>http://www.blogger.com/profile/13580908981899104531</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQS-1QCkei9HK1gK8whosQM7n-j5VNqbeaCVBYcYQnr7fjcZZcp-Wd_ok-b6Ua_Jx-_IDRG7HNyrQMUPvXk8yZ42WjGq2kD_evpfjdUQ4yFjsFEom-5D3d9v5Htjl82w/s220/Image012.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6Vph3hieModWL9qhNruotEGxfED6TlrWeYuzwS5aD205ms9sbJrnKR-E0yq6ScCodfTiZjyhsHKpZbJPWO_xyJn8ogOuh5bftQ1I6gXs2Aa4uvirLx0FKdxtf8ps7rYKXc91STKneUSE/s72-c/Java_Installation.PNG" height="72" width="72"/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7118099742392702035.post-7761292985989881186</id><published>2013-12-08T19:50:00.000-08:00</published><updated>2013-12-08T19:50:12.678-08:00</updated><title type='text'>C# Searching Data form DataTable does not work as expected</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;An XML file was loaded &lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;ae24ccd5-4ea9-4764-ac6f-094870ff79a2&quot; id=&quot;63cf3bda-6db2-4bfc-9e7f-7bdb88f3ebf3&quot;&gt;to&lt;/span&gt; the &lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;ae24ccd5-4ea9-4764-ac6f-094870ff79a2&quot; id=&quot;67b5ca1c-375c-43c7-9039-459d5e5966f5&quot;&gt;datatable&lt;/span&gt;&amp;nbsp;and performed&amp;nbsp;a search for the member id as shown bellow. For a few it was returning records and for the few while the data exists it did not return the data.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;b9be0e28-da61-4a05-b98f-5be33d0e3018&quot; id=&quot;bcfe5c06-f6a6-4fad-8203-ef4317c6c61f&quot;&gt;string&lt;/span&gt; path = WebConfigurationManager&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;b9be0e28-da61-4a05-b98f-5be33d0e3018&quot; id=&quot;abfb2d4f-5ef6-4a29-9a70-2a419a3cfe53&quot;&gt;.&lt;/span&gt;AppSettings&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;b9be0e28-da61-4a05-b98f-5be33d0e3018&quot; id=&quot;e1933852-bea2-4c9a-a94b-b64c4a2bb3e8&quot;&gt;.&lt;/span&gt;Get&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;b9be0e28-da61-4a05-b98f-5be33d0e3018&quot; id=&quot;1ab0da2d-a8ad-48b2-adae-1897ed3ffe3f&quot;&gt;(&lt;/span&gt;&quot;&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;b9be0e28-da61-4a05-b98f-5be33d0e3018&quot; id=&quot;79f13b3a-954f-464e-81b3-a4fa03795784&quot;&gt;xmlFilePath&lt;/span&gt;&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;0e3b3a1e-0a78-4c0c-bc23-1169d13c58d8&quot; id=&quot;69d47ab7-b4a4-4c01-84e0-ee63a2933d1f&quot;&gt;if&lt;/span&gt; (path&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;0e3b3a1e-0a78-4c0c-bc23-1169d13c58d8&quot; id=&quot;074f0a22-1470-4961-b15a-33be956937a9&quot;&gt;.&lt;/span&gt;Length &amp;gt; 0)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;9c902102-033c-46e8-8c50-ad70c2c9d2fa&quot; id=&quot;1b8f2952-ebc3-4caa-8add-e058932d0652&quot;&gt;ds&lt;/span&gt;&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;9c902102-033c-46e8-8c50-ad70c2c9d2fa&quot; id=&quot;47881fdd-885b-4207-8b2e-9b016d4edba5&quot;&gt;.&lt;/span&gt;ReadXml&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;9c902102-033c-46e8-8c50-ad70c2c9d2fa&quot; id=&quot;12764123-8f76-406c-9ceb-75fca17107e5&quot;&gt;(&lt;/span&gt;path);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;84ae394c-b80c-4453-bac5-fdb40b65f846&quot; id=&quot;93904997-97e4-4b42-91d9-ffc64f8db864&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;84ae394c-b80c-4453-bac5-fdb40b65f846&quot; id=&quot;13cf210d-884a-46c3-9bce-a35fd9adf061&quot;&gt;ds&lt;/span&gt;&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;84ae394c-b80c-4453-bac5-fdb40b65f846&quot; id=&quot;255039b3-a54a-4bc6-bed5-cd135e118742&quot;&gt;.&lt;/span&gt;Tables&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;84ae394c-b80c-4453-bac5-fdb40b65f846&quot; id=&quot;f2fe9e59-b180-498e-991e-de0ced570aa2&quot;&gt;.&lt;/span&gt;Count &amp;gt; 0)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange; font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DataRow&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;62dae085-11a3-40d7-8e01-2737f58bb377&quot; id=&quot;5c25acf0-13c7-4284-b6fa-815299d7f470&quot;&gt;[&lt;/span&gt;] result = &lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;62dae085-11a3-40d7-8e01-2737f58bb377&quot; id=&quot;1cba7b92-2b54-4d29-8e8b-2dd319e29fd3&quot;&gt;ds&lt;/span&gt;&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;62dae085-11a3-40d7-8e01-2737f58bb377&quot; id=&quot;a4f030e7-1147-481b-87d2-2029f9265270&quot;&gt;.&lt;/span&gt;Tables&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;62dae085-11a3-40d7-8e01-2737f58bb377&quot; id=&quot;e62f7b26-a1ab-4feb-b0d1-0c92afcc4507&quot;&gt;[&lt;/span&gt;0]&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;62dae085-11a3-40d7-8e01-2737f58bb377&quot; id=&quot;ec95d17e-c760-42c6-91f8-f8c5ccfbfa20&quot;&gt;.&lt;/span&gt;Select&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;62dae085-11a3-40d7-8e01-2737f58bb377&quot; id=&quot;977f8701-2736-46c0-8fe1-9011e9dd5ee4&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange; font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;d6e1f0eb-83d6-4c13-ab0f-673bab9d0eb6&quot; id=&quot;9c4b9767-8138-40a3-8680-57fbd1fbc5d4&quot;&gt;string&lt;/span&gt;&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;d6e1f0eb-83d6-4c13-ab0f-673bab9d0eb6&quot; id=&quot;7ab6f2c2-8264-46a6-9caa-eb45b0e902f7&quot;&gt;.&lt;/span&gt;Format&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;d6e1f0eb-83d6-4c13-ab0f-673bab9d0eb6&quot; id=&quot;8bfc5d01-1a00-40d7-a7fb-a54435e2e22d&quot;&gt;(&lt;/span&gt;&quot;member_id=&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;d6e1f0eb-83d6-4c13-ab0f-673bab9d0eb6&quot; id=&quot;611b1596-076a-4168-9271-b75e602816ae&quot;&gt;{&lt;/span&gt;0}&quot;, &lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;d6e1f0eb-83d6-4c13-ab0f-673bab9d0eb6&quot; id=&quot;87a94dc5-f16d-4c1b-8b6f-ac8bfd6856df&quot;&gt;memberID&lt;/span&gt;));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;328b7e79-95b6-4624-a6fc-ea3c82f48882&quot; id=&quot;f4798af3-db5f-4939-8674-5357a83d6202&quot;&gt;if&lt;/span&gt; (result&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;328b7e79-95b6-4624-a6fc-ea3c82f48882&quot; id=&quot;5f8a259a-2029-4441-8b0e-ca70c0bf36f8&quot;&gt;.&lt;/span&gt;Length &amp;gt; 0)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;e5724c49-2f17-41ab-bce9-dcc44e125192&quot; id=&quot;ec164180-48f5-4086-8cf1-a12abee7732e&quot;&gt;&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;0afaee98-b7d3-4061-9df9-f446fe767bce&quot; id=&quot;922a6ea4-862e-46cd-a80c-974c964acb68&quot;&gt;lblCardNumber&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;e5724c49-2f17-41ab-bce9-dcc44e125192&quot; id=&quot;4d6c5fc3-5f3a-4395-93da-90188ed3af25&quot;&gt;&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;0afaee98-b7d3-4061-9df9-f446fe767bce&quot; id=&quot;062b3ba0-19ad-459e-b8a1-a8d597816ede&quot;&gt;.&lt;/span&gt;&lt;/span&gt;Text = result&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;e5724c49-2f17-41ab-bce9-dcc44e125192&quot; id=&quot;346874a9-5471-4a7e-963a-ec54987301d1&quot;&gt;&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;0afaee98-b7d3-4061-9df9-f446fe767bce&quot; id=&quot;ceb6df24-fd95-4b15-90e2-c6300b891c07&quot;&gt;[&lt;/span&gt;&lt;/span&gt;0&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;e5724c49-2f17-41ab-bce9-dcc44e125192&quot; id=&quot;913cabb8-1bb6-4b64-83a6-092c389b02cb&quot;&gt;&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;0afaee98-b7d3-4061-9df9-f446fe767bce&quot; id=&quot;c0a733f3-7d9d-4e52-ba92-c67713c167ee&quot;&gt;]&lt;/span&gt;&lt;/span&gt;[&quot;card_no&quot;]&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;e5724c49-2f17-41ab-bce9-dcc44e125192&quot; id=&quot;0e97016d-389d-41b1-8685-5f93be0dfc19&quot;&gt;&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;0afaee98-b7d3-4061-9df9-f446fe767bce&quot; id=&quot;4c39ddf3-e406-4093-b839-56bd9e50888a&quot;&gt;.&lt;/span&gt;&lt;/span&gt;ToString&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;e5724c49-2f17-41ab-bce9-dcc44e125192&quot; id=&quot;f2d8ca2f-c6b3-48ef-b0d9-1b69306c08ba&quot;&gt;&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;0afaee98-b7d3-4061-9df9-f446fe767bce&quot; id=&quot;efd71bd8-8ccd-4018-882f-01da704c7878&quot;&gt;(&lt;/span&gt;&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;818fd7d5-19e2-4fc4-9950-aefd08e6bc61&quot; id=&quot;dd02ddb5-967d-484b-ab88-b3ff0df09106&quot;&gt;lblPointsBalance&lt;/span&gt;&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;818fd7d5-19e2-4fc4-9950-aefd08e6bc61&quot; id=&quot;3b5a8548-b6bb-4e70-b87c-d4eeb1180acb&quot;&gt;.&lt;/span&gt;Text = result&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;818fd7d5-19e2-4fc4-9950-aefd08e6bc61&quot; id=&quot;98a8f268-4d2c-483b-aa7b-42665a53a239&quot;&gt;[&lt;/span&gt;0&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;818fd7d5-19e2-4fc4-9950-aefd08e6bc61&quot; id=&quot;4f8ae383-cd7c-416b-b8cb-624b5d7f96cd&quot;&gt;]&lt;/span&gt;[&quot;closing_balance&quot;]&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;818fd7d5-19e2-4fc4-9950-aefd08e6bc61&quot; id=&quot;3b148888-0bc5-4a6c-b681-ac6d2a471f94&quot;&gt;.&lt;/span&gt;ToString&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;818fd7d5-19e2-4fc4-9950-aefd08e6bc61&quot; id=&quot;5167e5f3-b6cc-41bb-9d13-c81a27be5606&quot;&gt;(&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The reason being member_id column was a string column and if the change was as shown below it did return&amp;nbsp;the data.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: orange; font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DataRow&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;51e22afd-abe4-4d87-aae3-a2b72890ac92&quot; id=&quot;c6f09677-d26b-47fb-8516-b3182c8ca825&quot;&gt;[&lt;/span&gt;] result =&amp;nbsp;&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;51e22afd-abe4-4d87-aae3-a2b72890ac92&quot; id=&quot;8a879b47-2449-462e-8952-7b290880cea0&quot;&gt;ds&lt;/span&gt;&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;51e22afd-abe4-4d87-aae3-a2b72890ac92&quot; id=&quot;11111499-9b3a-4ffa-b2a6-4c054adf981f&quot;&gt;.&lt;/span&gt;Tables&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;51e22afd-abe4-4d87-aae3-a2b72890ac92&quot; id=&quot;00cd5665-e4a2-4e8e-b6fd-871ee2a57184&quot;&gt;[&lt;/span&gt;0]&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;51e22afd-abe4-4d87-aae3-a2b72890ac92&quot; id=&quot;27106882-622c-4c8a-ab5e-e422fbfd6b1a&quot;&gt;.&lt;/span&gt;Select&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;51e22afd-abe4-4d87-aae3-a2b72890ac92&quot; id=&quot;069a7cd8-cf5b-45e0-abca-d99ff6b66d95&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange; font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;0d48644b-85f6-41d6-9bd3-b08d77893577&quot; id=&quot;a8361070-068a-41fd-9684-5f5d51c63fd0&quot;&gt;string&lt;/span&gt;&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;0d48644b-85f6-41d6-9bd3-b08d77893577&quot; id=&quot;5e6bff01-557b-4fbd-877b-17d3a4eee1bf&quot;&gt;.&lt;/span&gt;Format&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;0d48644b-85f6-41d6-9bd3-b08d77893577&quot; id=&quot;89989a65-a559-4dd9-9ee2-6807064fc237&quot;&gt;(&lt;/span&gt;&quot;member_id=&#39;{0}&#39;&quot;,&amp;nbsp;&lt;span class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;0d48644b-85f6-41d6-9bd3-b08d77893577&quot; id=&quot;2de80088-058c-4343-bcd7-90d89869cbdf&quot;&gt;memberID&lt;/span&gt;));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;I am yet to find the reason for this issue. The correct way to find the string value is to add (&#39;) before and after the value.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://csharpwavenet.blogspot.com/feeds/7761292985989881186/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7118099742392702035/7761292985989881186' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/7761292985989881186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/7761292985989881186'/><link rel='alternate' type='text/html' href='http://csharpwavenet.blogspot.com/2013/12/c-searching-data-form-datatable-does.html' title='C# Searching Data form DataTable does not work as expected'/><author><name>Desa</name><uri>http://www.blogger.com/profile/13580908981899104531</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQS-1QCkei9HK1gK8whosQM7n-j5VNqbeaCVBYcYQnr7fjcZZcp-Wd_ok-b6Ua_Jx-_IDRG7HNyrQMUPvXk8yZ42WjGq2kD_evpfjdUQ4yFjsFEom-5D3d9v5Htjl82w/s220/Image012.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7118099742392702035.post-1938899239633011214</id><published>2013-10-27T03:20:00.000-07:00</published><updated>2013-10-27T03:20:30.895-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AP.NET MVC3"/><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="Controller"/><category scheme="http://www.blogger.com/atom/ns#" term="Parameter"/><category scheme="http://www.blogger.com/atom/ns#" term="Structure Map"/><title type='text'>ASP.NET MVC Structure Map, No parameter less constructor defined for this object. </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;While using Structure Map with ASP.NET MVC there was a error &quot;No parameter less constructor defined for this object&quot; for the already working controller.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;span style=&quot;font-size: small;&quot;&gt;[HttpPost]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public ActionResult CreateBranch(mBranch branch)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _service.CreateBranch(branch);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return new JsonResult { Data = &quot;Registered&quot;, JsonRequestBehavior = JsonRequestBehavior.AllowGet };&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;The Structure map Controller factory were configured properly and once this method is commented everything working except when this post method was called the error was thrown.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;b&gt;Reason why it threw the exception w&lt;/b&gt;as that the class mBranch had only once&amp;nbsp;constructor &lt;/span&gt;with a &lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;parameter when the method is called &lt;b&gt;mBranch is instantiated it there was no constructor without parameter and resulted in this error&lt;/b&gt;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;public class mBranch&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public mBranch(int companyId)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CompanyID = companyId;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;BranchContact = new mContactInfo();&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //error thrown due to this constructor was missing&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;public mBranch()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BranchContact = new mContactInfo();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://csharpwavenet.blogspot.com/feeds/1938899239633011214/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7118099742392702035/1938899239633011214' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/1938899239633011214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/1938899239633011214'/><link rel='alternate' type='text/html' href='http://csharpwavenet.blogspot.com/2013/10/aspnet-mvc-structure-map-no-parameter.html' title='ASP.NET MVC Structure Map, No parameter less constructor defined for this object. '/><author><name>Desa</name><uri>http://www.blogger.com/profile/13580908981899104531</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQS-1QCkei9HK1gK8whosQM7n-j5VNqbeaCVBYcYQnr7fjcZZcp-Wd_ok-b6Ua_Jx-_IDRG7HNyrQMUPvXk8yZ42WjGq2kD_evpfjdUQ4yFjsFEom-5D3d9v5Htjl82w/s220/Image012.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7118099742392702035.post-5754615442202936448</id><published>2013-10-01T05:53:00.003-07:00</published><updated>2013-10-01T05:53:58.282-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Excel"/><category scheme="http://www.blogger.com/atom/ns#" term="Macro"/><title type='text'>Editing a macro which automatically open and close after the macro runs</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;I spend hours trying to edit my macro which when opened it will run the macro and create a&amp;nbsp;separate&amp;nbsp;file and then closes by it self.&lt;/span&gt;&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Thanks for this post to same my time.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://www.excelforum.com/excel-new-users-basics/881031-cant-edit-macro-with-auto-open-and-auto-close.html&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;http://www.excelforum.com/excel-new-users-basics/881031-cant-edit-macro-with-auto-open-and-auto-close.html&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;All you need to do is to&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Open the excel application&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Go to File&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Go to Open&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Pres on Shift Button&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Then select the macro file&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Go to view&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Select the view macro to see the code&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;:)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://csharpwavenet.blogspot.com/feeds/5754615442202936448/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7118099742392702035/5754615442202936448' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/5754615442202936448'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/5754615442202936448'/><link rel='alternate' type='text/html' href='http://csharpwavenet.blogspot.com/2013/10/editing-macro-which-automatically-open.html' title='Editing a macro which automatically open and close after the macro runs'/><author><name>Desa</name><uri>http://www.blogger.com/profile/13580908981899104531</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQS-1QCkei9HK1gK8whosQM7n-j5VNqbeaCVBYcYQnr7fjcZZcp-Wd_ok-b6Ua_Jx-_IDRG7HNyrQMUPvXk8yZ42WjGq2kD_evpfjdUQ4yFjsFEom-5D3d9v5Htjl82w/s220/Image012.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7118099742392702035.post-7339524754889609392</id><published>2013-06-07T20:42:00.003-07:00</published><updated>2013-06-10T20:06:41.574-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".net"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="CodeFirst"/><category scheme="http://www.blogger.com/atom/ns#" term="Entity Framework"/><category scheme="http://www.blogger.com/atom/ns#" term="Flent API"/><category scheme="http://www.blogger.com/atom/ns#" term="foreign Key"/><category scheme="http://www.blogger.com/atom/ns#" term="multiple foreign key"/><title type='text'>Multiple foreign keys within same table using CodeFrist Enitty Framework and Fluent API</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;GingerNoCheckStart&quot;&gt;&lt;/span&gt;This example shows how to work with multiple foreign key referred&amp;nbsp;to the same table using &lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;aadbd45a-62cb-446a-a7b1-311720c21aed&quot; ginger_sofatware_uiphraseguid=&quot;6c2189b5-d698-4904-91c6-5bf8e01563c4&quot; grcontextid=&quot;CodeFirst:0&quot;&gt;CodeFirst&lt;/span&gt; Entity Framework (&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Inverse Navigation Properties&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Parent Table &lt;/b&gt;(&lt;u&gt;&lt;i&gt;Branch&lt;/i&gt;&lt;/u&gt;) has two &lt;b&gt;foreign&amp;nbsp;keys&lt;/b&gt;&amp;nbsp;(&lt;i&gt;&lt;u&gt;Primary Contact and &lt;/u&gt;&lt;u&gt;Secondary Contact&lt;/u&gt;) &lt;/i&gt;referring&amp;nbsp;to the &lt;b&gt;Child Table&lt;/b&gt; (&lt;u&gt;Contact&lt;/u&gt;)&lt;i&gt;.&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;b&gt;Branch&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;8cfd666c-b571-44dc-8950-e71b41325900&quot; ginger_sofatware_uiphraseguid=&quot;e6f55d0c-c92d-4ac7-ae3d-f38fa50eb468&quot; grcontextid=&quot;BranchID:0&quot;&gt;BranchID&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;ba20d1ea-e9b5-4087-a6bc-bfb176499c60&quot; ginger_sofatware_uiphraseguid=&quot;1549f5a0-9282-496c-865c-9351c4c07e7e&quot; grcontextid=&quot;guid:0&quot;&gt;guid&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Branch Name&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;2ece1535-9f8d-4cbc-b80f-e7f93bf77c4d&quot; ginger_sofatware_uiphraseguid=&quot;14683ab7-d9bb-4c40-9e29-4c9b24f7f2f9&quot; grcontextid=&quot;varchar:0&quot;&gt;varchar&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span class=&quot;GINGER_SOFATWARE_noSuggestion GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;6d8fbd49-4d0a-4d2e-a2ee-5162121d9dc8&quot; ginger_sofatware_uiphraseguid=&quot;39efc70d-0905-49fe-8481-74039d550bf1&quot; grcontextid=&quot;PrimaryContactID:0&quot;&gt;&lt;i&gt;&lt;span class=&quot;GINGER_SOFATWARE_noSuggestion GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;6d8fbd49-4d0a-4d2e-a2ee-5162121d9dc8&quot; ginger_sofatware_uiphraseguid=&quot;39efc70d-0905-49fe-8481-74039d550bf1&quot; grcontextid=&quot;PrimaryContactID:0&quot;&gt;PrimaryContactID&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;ad18b037-1d45-4c0e-ab19-f316b5613d07&quot; ginger_sofatware_uiphraseguid=&quot;1be3f202-e78d-4336-b3ab-0de42638ddac&quot; grcontextid=&quot;guid:0&quot;&gt;guid&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;11741141-d481-4a58-927e-de10411fe03b&quot; ginger_sofatware_uiphraseguid=&quot;1be3f202-e78d-4336-b3ab-0de42638ddac&quot; grcontextid=&quot;,:1&quot;&gt;,&lt;/span&gt;null&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span class=&quot;GINGER_SOFATWARE_noSuggestion GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;eca0eb6a-b15e-4a48-a753-859705134740&quot; ginger_sofatware_uiphraseguid=&quot;1e8964ff-ed28-418c-85ef-31f4fce75827&quot; grcontextid=&quot;SecondaryContatID:0&quot;&gt;&lt;i&gt;&lt;span class=&quot;GINGER_SOFATWARE_noSuggestion GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;eca0eb6a-b15e-4a48-a753-859705134740&quot; ginger_sofatware_uiphraseguid=&quot;1e8964ff-ed28-418c-85ef-31f4fce75827&quot; grcontextid=&quot;SecondaryContatID:0&quot;&gt;SecondaryContatID&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;9153ca8a-0d68-4fca-90eb-962433f7e913&quot; ginger_sofatware_uiphraseguid=&quot;5fe1bd91-cb41-43ef-87a1-7f95ea294a18&quot; grcontextid=&quot;guid:0&quot;&gt;guid&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;948e6849-8a83-4c3e-88d9-cd887c1d07ed&quot; ginger_sofatware_uiphraseguid=&quot;5fe1bd91-cb41-43ef-87a1-7f95ea294a18&quot; grcontextid=&quot;,:1&quot;&gt;,&lt;/span&gt;null&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;b&gt;Contact&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;b029e387-711c-4a3e-b164-3ec820297ea5&quot; ginger_sofatware_uiphraseguid=&quot;23c3a740-afe6-42f1-bcc1-02f775b7af26&quot; grcontextid=&quot;ContactID:0&quot;&gt;ContactID&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;89e32713-27ca-4257-a73a-3c7b3ad331ce&quot; ginger_sofatware_uiphraseguid=&quot;6608754c-b9df-4e77-a089-42712cbda957&quot; grcontextid=&quot;guid:0&quot;&gt;guid&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span class=&quot;GINGER_SOFATWARE_noSuggestion GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;6e9d290e-581d-40f0-b7ba-b74fd1e8dbb8&quot; ginger_sofatware_uiphraseguid=&quot;673cc725-a3ba-4408-b75e-7701e594124a&quot; grcontextid=&quot;Firstname:0&quot;&gt;Firstname&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;55af851b-f618-46ed-9481-1d253923b175&quot; ginger_sofatware_uiphraseguid=&quot;f0da9c60-de2d-4040-8fb7-32602cb26d72&quot; grcontextid=&quot;varchar:0&quot;&gt;varchar&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span class=&quot;GINGER_SOFATWARE_noSuggestion GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;7e6ad571-45bd-4a53-b7e1-eb6bd6eba796&quot; ginger_sofatware_uiphraseguid=&quot;c9093957-3a8c-4444-8796-78c071377adc&quot; grcontextid=&quot;LastName:0&quot;&gt;LastName&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;8e4cd466-32ca-4513-be2c-0aa2cf693b91&quot; ginger_sofatware_uiphraseguid=&quot;f2339963-0d1c-4e4d-979b-9ea462d83e3e&quot; grcontextid=&quot;varchar:0&quot;&gt;varchar&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Address&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;4a911b34-2582-441f-bf4b-efadd88db9ee&quot; ginger_sofatware_uiphraseguid=&quot;c7aedb15-57a5-4588-8572-59f6a570d305&quot; grcontextid=&quot;varchar:0&quot;&gt;varchar&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Gender&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;b36d9bb9-edee-49e0-a4ff-e6b1b605b10c&quot; ginger_sofatware_uiphraseguid=&quot;e6e144ea-c196-48b5-a731-3fb38ce67a46&quot; grcontextid=&quot;char:0&quot;&gt;char&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;First of all we need to create the &lt;span style=&quot;color: purple;&quot;&gt;&lt;b&gt;Branch Class&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;c210b279-b37b-4f22-89e1-2bd54099f2d3&quot; ginger_sofatware_uiphraseguid=&quot;6fd52bc5-5b50-4d7f-90ff-a9bd0086ca35&quot; grcontextid=&quot;public:0&quot;&gt;public&lt;/span&gt; class &lt;/span&gt;Branch&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #073763;&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;f1d9fc2d-a9e6-4303-aa62-9f0f3fb8961d&quot; ginger_sofatware_uiphraseguid=&quot;d6764d55-4acf-44fa-b2b8-285e8c5a824a&quot; grcontextid=&quot;public:0&quot;&gt;public&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;7fceb1d0-06a8-44a9-a621-6e9007a11009&quot; ginger_sofatware_uiphraseguid=&quot;d6764d55-4acf-44fa-b2b8-285e8c5a824a&quot; grcontextid=&quot;Guid:1&quot;&gt;Guid&lt;/span&gt; &lt;/span&gt;BranchID { &lt;span style=&quot;color: #073763;&quot;&gt;get; set;&lt;/span&gt; }&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;b4a65beb-a59b-4563-98d1-8e472a81eb89&quot; ginger_sofatware_uiphraseguid=&quot;1959237c-dcb8-4818-8ad6-a7ce546c07e1&quot; grcontextid=&quot;public:0&quot;&gt;public&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;string &lt;/span&gt;BranchName { &lt;span style=&quot;color: #073763;&quot;&gt;get; set;&lt;/span&gt; }&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #073763;&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;00b52f3d-f451-44c1-a364-924785bbeeed&quot; ginger_sofatware_uiphraseguid=&quot;5976a987-e9b9-454b-9646-3f350bf76917&quot; grcontextid=&quot;public:0&quot;&gt;public&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;Nullable&amp;lt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;ce4ef142-deca-4cb5-9161-fb5f4e525f82&quot; ginger_sofatware_uiphraseguid=&quot;5976a987-e9b9-454b-9646-3f350bf76917&quot; grcontextid=&quot;Guid:1&quot;&gt;Guid&lt;/span&gt;&amp;gt;&lt;/span&gt; PrimaryContactID { &lt;span style=&quot;color: #073763;&quot;&gt;get; set;&lt;/span&gt; }&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #073763;&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;31128102-b89d-40a7-955c-8309dffae675&quot; ginger_sofatware_uiphraseguid=&quot;0da17a70-80e6-4f49-8416-65efb2ed0cd8&quot; grcontextid=&quot;public:0&quot;&gt;public&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;Nullable&amp;lt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;2dcec74c-5d0b-48a6-920f-5c1a90a465a1&quot; ginger_sofatware_uiphraseguid=&quot;0da17a70-80e6-4f49-8416-65efb2ed0cd8&quot; grcontextid=&quot;Guid:1&quot;&gt;Guid&lt;/span&gt;&amp;gt;&lt;/span&gt; ScondaryContactID&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;360c76a4-1b70-45e7-bfb3-bc294b0573c9&quot; ginger_sofatware_uiphraseguid=&quot;ecd396fb-e93d-4740-a9df-fd8e7f5b8b66&quot; grcontextid=&quot;{:2&quot;&gt;{&lt;/span&gt; &lt;span style=&quot;color: #073763;&quot;&gt;get; set;&lt;/span&gt; }&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #073763;&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;bb9a3818-92f8-4a5b-af64-9604567029c5&quot; ginger_sofatware_uiphraseguid=&quot;6f6aa695-7361-4a64-ade9-de42a6f434d6&quot; grcontextid=&quot;public:0&quot;&gt;public&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;Contact&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;b21049fa-3e38-4a6f-9291-fea5ee32d5c4&quot; ginger_sofatware_uiphraseguid=&quot;6f6aa695-7361-4a64-ade9-de42a6f434d6&quot; grcontextid=&quot;BillingAddress:1&quot;&gt;PrimaryContact&lt;/span&gt;&amp;nbsp;{ &lt;span style=&quot;color: #073763;&quot;&gt;get; set;&lt;/span&gt; }&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #073763;&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;9aeab7af-a636-430c-a1c1-15c63d7409be&quot; ginger_sofatware_uiphraseguid=&quot;f3313431-ac7a-4840-9c8d-163ef3040e28&quot; grcontextid=&quot;public:0&quot;&gt;public&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;Contact&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;37f422de-3b79-427d-82d0-06033aab25f0&quot; ginger_sofatware_uiphraseguid=&quot;f3313431-ac7a-4840-9c8d-163ef3040e28&quot; grcontextid=&quot;BranchAddress:1&quot;&gt;SecondaryContact&lt;/span&gt;&amp;nbsp;{ &lt;span style=&quot;color: #073763;&quot;&gt;get; set;&lt;/span&gt; }&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Then creating the &lt;b&gt;&lt;span style=&quot;color: purple;&quot;&gt;Contact Class&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;c210b279-b37b-4f22-89e1-2bd54099f2d3&quot; ginger_sofatware_uiphraseguid=&quot;6fd52bc5-5b50-4d7f-90ff-a9bd0086ca35&quot; grcontextid=&quot;public:0&quot;&gt;public&lt;/span&gt;&amp;nbsp;class &lt;/span&gt;Contact&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;f1d9fc2d-a9e6-4303-aa62-9f0f3fb8961d&quot; ginger_sofatware_uiphraseguid=&quot;d6764d55-4acf-44fa-b2b8-285e8c5a824a&quot; grcontextid=&quot;public:0&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;7fceb1d0-06a8-44a9-a621-6e9007a11009&quot; ginger_sofatware_uiphraseguid=&quot;d6764d55-4acf-44fa-b2b8-285e8c5a824a&quot; grcontextid=&quot;Guid:1&quot;&gt;Guid&lt;/span&gt;&amp;nbsp;&lt;/span&gt;ContactID {&amp;nbsp;&lt;span style=&quot;color: #073763;&quot;&gt;get; set;&lt;/span&gt;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;b4a65beb-a59b-4563-98d1-8e472a81eb89&quot; ginger_sofatware_uiphraseguid=&quot;1959237c-dcb8-4818-8ad6-a7ce546c07e1&quot; grcontextid=&quot;public:0&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;string&amp;nbsp;&lt;/span&gt;Firstname {&amp;nbsp;&lt;span style=&quot;color: #073763;&quot;&gt;get; set;&lt;/span&gt;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #073763; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;b4a65beb-a59b-4563-98d1-8e472a81eb89&quot; ginger_sofatware_uiphraseguid=&quot;1959237c-dcb8-4818-8ad6-a7ce546c07e1&quot; grcontextid=&quot;public:0&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #6fa8dc; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;string&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Lastname {&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #073763; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;get; set;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;}&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;00b52f3d-f451-44c1-a364-924785bbeeed&quot; ginger_sofatware_uiphraseguid=&quot;5976a987-e9b9-454b-9646-3f350bf76917&quot; grcontextid=&quot;public:0&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;c77edf65-3a6e-47b0-b882-65a1c273f6c5&quot; ginger_sofatware_uiphraseguid=&quot;5ae3fbb6-37d1-460b-81a3-1cfd0432f786&quot; grcontextid=&quot;ICollection:1&quot;&gt;ICollection&lt;/span&gt;&amp;lt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;ce4ef142-deca-4cb5-9161-fb5f4e525f82&quot; ginger_sofatware_uiphraseguid=&quot;5976a987-e9b9-454b-9646-3f350bf76917&quot; grcontextid=&quot;Guid:1&quot;&gt;Branch&lt;/span&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;PrimaryContactFor {&amp;nbsp;&lt;span style=&quot;color: #073763;&quot;&gt;get; set;&lt;/span&gt;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;31128102-b89d-40a7-955c-8309dffae675&quot; ginger_sofatware_uiphraseguid=&quot;0da17a70-80e6-4f49-8416-65efb2ed0cd8&quot; grcontextid=&quot;public:0&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;0dddffa3-85ff-4368-92f7-e495db780af7&quot; ginger_sofatware_uiphraseguid=&quot;790b2598-92df-432d-b182-df4e6cb9c717&quot; grcontextid=&quot;ICollection:1&quot;&gt;ICollection&lt;/span&gt;&amp;lt;B&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;2dcec74c-5d0b-48a6-920f-5c1a90a465a1&quot; ginger_sofatware_uiphraseguid=&quot;0da17a70-80e6-4f49-8416-65efb2ed0cd8&quot; grcontextid=&quot;Guid:1&quot;&gt;ranch&lt;/span&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;ScondaryContactFor&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;bd37cfe0-79e9-4bf4-8c72-15a2e6fe30b9&quot; ginger_sofatware_uiphraseguid=&quot;790b2598-92df-432d-b182-df4e6cb9c717&quot; grcontextid=&quot;{:2&quot;&gt;{&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #073763;&quot;&gt;get; set;&lt;/span&gt;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;When configuring in the &lt;span style=&quot;color: purple;&quot;&gt;&lt;b&gt;fluent API&lt;/b&gt;&lt;/span&gt; below shown coding is used.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;8717b0fc-e6e2-4601-8a5f-01d0969dd66d&quot; ginger_sofatware_uiphraseguid=&quot;4a82c8b4-a77f-44ed-ac43-018b328032c2&quot; grcontextid=&quot;protected:0&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;8717b0fc-e6e2-4601-8a5f-01d0969dd66d&quot; ginger_sofatware_uiphraseguid=&quot;4a82c8b4-a77f-44ed-ac43-018b328032c2&quot; grcontextid=&quot;protected:0&quot; style=&quot;color: #073763; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;protected&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt; override void&lt;/span&gt; OnModelCreating&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;59cc9cf2-b298-43d9-bf7d-f9cc981f7b7f&quot; ginger_sofatware_uiphraseguid=&quot;4a82c8b4-a77f-44ed-ac43-018b328032c2&quot; grcontextid=&quot;(:1&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;DbModelBuilder &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_noSuggestion GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;7d2721cb-6f79-43a3-a91d-d4a9c30c8783&quot; ginger_sofatware_uiphraseguid=&quot;4a82c8b4-a77f-44ed-ac43-018b328032c2&quot; grcontextid=&quot;modelBuilder:2&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;modelBuilder&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;b687e288-7564-4921-ad96-37e8058ee729&quot; ginger_sofatware_uiphraseguid=&quot;7bf1dc33-d28d-4695-97ba-783183713c66&quot; grcontextid=&quot;base:0&quot;&gt;base&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;9ed0d9d4-7845-4aa9-99bd-469ce30c3bdc&quot; ginger_sofatware_uiphraseguid=&quot;7bf1dc33-d28d-4695-97ba-783183713c66&quot; grcontextid=&quot;.:1&quot;&gt;.&lt;/span&gt;OnModelCreating&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;ce708247-7742-4bc1-91be-f571c8e07ac9&quot; ginger_sofatware_uiphraseguid=&quot;7bf1dc33-d28d-4695-97ba-783183713c66&quot; grcontextid=&quot;(:2&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_noSuggestion GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;282e845a-873d-47d7-8770-af2f13e06c64&quot; ginger_sofatware_uiphraseguid=&quot;7bf1dc33-d28d-4695-97ba-783183713c66&quot; grcontextid=&quot;modelBuilder:3&quot;&gt;modelBuilder&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;4a75cb0a-a4da-4ed2-943d-608afbe031ee&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;4a75cb0a-a4da-4ed2-943d-608afbe031ee&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;4a75cb0a-a4da-4ed2-943d-608afbe031ee&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;4a75cb0a-a4da-4ed2-943d-608afbe031ee&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;4a75cb0a-a4da-4ed2-943d-608afbe031ee&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;4a75cb0a-a4da-4ed2-943d-608afbe031ee&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;4a75cb0a-a4da-4ed2-943d-608afbe031ee&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;4a75cb0a-a4da-4ed2-943d-608afbe031ee&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;4a75cb0a-a4da-4ed2-943d-608afbe031ee&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;4a75cb0a-a4da-4ed2-943d-608afbe031ee&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;4a75cb0a-a4da-4ed2-943d-608afbe031ee&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;4a75cb0a-a4da-4ed2-943d-608afbe031ee&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;4a75cb0a-a4da-4ed2-943d-608afbe031ee&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;4a75cb0a-a4da-4ed2-943d-608afbe031ee&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;4a75cb0a-a4da-4ed2-943d-608afbe031ee&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;4a75cb0a-a4da-4ed2-943d-608afbe031ee&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;4a75cb0a-a4da-4ed2-943d-608afbe031ee&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;4a75cb0a-a4da-4ed2-943d-608afbe031ee&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;4a75cb0a-a4da-4ed2-943d-608afbe031ee&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;4a75cb0a-a4da-4ed2-943d-608afbe031ee&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;4a75cb0a-a4da-4ed2-943d-608afbe031ee&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;4a75cb0a-a4da-4ed2-943d-608afbe031ee&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_SpellingCorrect&quot; ginger_sofatware_markguid=&quot;4a75cb0a-a4da-4ed2-943d-608afbe031ee&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;4a75cb0a-a4da-4ed2-943d-608afbe031ee&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;modelBuilder&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;dc7fe8f4-063b-49c3-b70f-b59fd7a63f09&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;.:1&quot;&gt;.&lt;/span&gt;Entity&amp;lt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;Branch&lt;/span&gt;&amp;gt;()&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;5cb25b61-dbbd-41ea-9fd1-d61c04b60346&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;.:2&quot;&gt;.&lt;/span&gt;HasOptional&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;789fb02d-2e7b-4b34-8681-a7c405eaf891&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;(:3&quot;&gt;(&lt;/span&gt;b =&amp;gt; &lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;6be49951-1b4b-411e-8bac-a7f26a57cfd9&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;b.:4&quot;&gt;b.&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;d30eb39e-c79f-4e36-86d6-1cb6f38d6dc4&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;BillingAddress:5&quot;&gt;PrimaryContact&lt;/span&gt;)&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;c16cd9ed-563b-4a6c-b5b1-d381d0b31e1f&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;.:6&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;cf6082b9-ce18-463c-9611-52c8efa17383&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;WithMany:7&quot;&gt;WithMany&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;60e1c7ac-1bbd-41f9-9618-0ad00caed320&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;(:8&quot;&gt;(&lt;/span&gt;a =&amp;gt; &lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;cd9777d5-8c37-478a-b602-6e5f0b52c0ab&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;a.:9&quot;&gt;a.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;PrimaryContactFor&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;)&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;085fe24d-dd53-423e-a9d6-15083a47fb58&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;.:10&quot;&gt;.&lt;/span&gt;HasForeignKey&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;817e5c84-cc8e-4d02-ac85-9f0b034b1036&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;(:11&quot;&gt;(&lt;/span&gt;b=&amp;gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;7af77bd2-2576-47db-ac38-0ec4d2c14fba&quot; ginger_sofatware_uiphraseguid=&quot;706dcce7-97b6-4dfb-894b-aa6314a1b7cd&quot; grcontextid=&quot;b.:12&quot;&gt;b.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;PrimaryContactID&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;b073997b-3245-4cce-a5df-ffc0a252dedf&quot; ginger_sofatware_uiphraseguid=&quot;c3314792-ed15-43fc-8225-f551f83d4553&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;b073997b-3245-4cce-a5df-ffc0a252dedf&quot; ginger_sofatware_uiphraseguid=&quot;c3314792-ed15-43fc-8225-f551f83d4553&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;b073997b-3245-4cce-a5df-ffc0a252dedf&quot; ginger_sofatware_uiphraseguid=&quot;c3314792-ed15-43fc-8225-f551f83d4553&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;b073997b-3245-4cce-a5df-ffc0a252dedf&quot; ginger_sofatware_uiphraseguid=&quot;c3314792-ed15-43fc-8225-f551f83d4553&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;b073997b-3245-4cce-a5df-ffc0a252dedf&quot; ginger_sofatware_uiphraseguid=&quot;c3314792-ed15-43fc-8225-f551f83d4553&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;b073997b-3245-4cce-a5df-ffc0a252dedf&quot; ginger_sofatware_uiphraseguid=&quot;c3314792-ed15-43fc-8225-f551f83d4553&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;b073997b-3245-4cce-a5df-ffc0a252dedf&quot; ginger_sofatware_uiphraseguid=&quot;c3314792-ed15-43fc-8225-f551f83d4553&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;b073997b-3245-4cce-a5df-ffc0a252dedf&quot; ginger_sofatware_uiphraseguid=&quot;c3314792-ed15-43fc-8225-f551f83d4553&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;b073997b-3245-4cce-a5df-ffc0a252dedf&quot; ginger_sofatware_uiphraseguid=&quot;c3314792-ed15-43fc-8225-f551f83d4553&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;b073997b-3245-4cce-a5df-ffc0a252dedf&quot; ginger_sofatware_uiphraseguid=&quot;c3314792-ed15-43fc-8225-f551f83d4553&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;b073997b-3245-4cce-a5df-ffc0a252dedf&quot; ginger_sofatware_uiphraseguid=&quot;c3314792-ed15-43fc-8225-f551f83d4553&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;b073997b-3245-4cce-a5df-ffc0a252dedf&quot; ginger_sofatware_uiphraseguid=&quot;c3314792-ed15-43fc-8225-f551f83d4553&quot; grcontextid=&quot;modelBuilder:0&quot;&gt;modelBuilder&lt;/span&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;e98354b5-d400-4d44-8025-7bb5dfd17a07&quot; ginger_sofatware_uiphraseguid=&quot;c3314792-ed15-43fc-8225-f551f83d4553&quot; grcontextid=&quot;.:1&quot;&gt;.&lt;/span&gt;Entity&amp;lt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;Branch&lt;/span&gt;&amp;gt;()&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;a735fb7a-760b-4892-bb32-3a5778e53bc7&quot; ginger_sofatware_uiphraseguid=&quot;c3314792-ed15-43fc-8225-f551f83d4553&quot; grcontextid=&quot;.:2&quot;&gt;.&lt;/span&gt;HasOptional&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;888ca36b-21a0-4a09-9b5d-95909296b95a&quot; ginger_sofatware_uiphraseguid=&quot;c3314792-ed15-43fc-8225-f551f83d4553&quot; grcontextid=&quot;(:3&quot;&gt;(&lt;/span&gt;b =&amp;gt; &lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;1214c6b1-53dd-440f-8695-91e2b9ac1827&quot; ginger_sofatware_uiphraseguid=&quot;c3314792-ed15-43fc-8225-f551f83d4553&quot; grcontextid=&quot;b.:4&quot;&gt;b.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;a0d4d150-e147-45a8-9479-65618b9f1b68&quot; ginger_sofatware_uiphraseguid=&quot;e80c7c8e-9cec-4fb4-9c36-4114e78433d1&quot; grcontextid=&quot;SecondaryContact:5&quot;&gt;SecondaryContact&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;)&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;73994be8-49b5-403f-af3b-35f3fef203ae&quot; ginger_sofatware_uiphraseguid=&quot;c3314792-ed15-43fc-8225-f551f83d4553&quot; grcontextid=&quot;.:6&quot;&gt;.&lt;/span&gt;With Many (a =&amp;gt; &lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;c9a1a9b2-7bd3-4883-972b-f03ea953ba94&quot; ginger_sofatware_uiphraseguid=&quot;c3314792-ed15-43fc-8225-f551f83d4553&quot; grcontextid=&quot;a.:9&quot;&gt;a.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ScondaryContactFor&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;)&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;8f21e703-3948-430f-bd57-32df6c5f8e69&quot; ginger_sofatware_uiphraseguid=&quot;c3314792-ed15-43fc-8225-f551f83d4553&quot; grcontextid=&quot;.:10&quot;&gt;.&lt;/span&gt;HasForeignKey&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;f08e9188-9ff2-4696-b056-fd3dcadab8d1&quot; ginger_sofatware_uiphraseguid=&quot;c3314792-ed15-43fc-8225-f551f83d4553&quot; grcontextid=&quot;(:11&quot;&gt;(&lt;/span&gt;b=&amp;gt;&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;5e3228b3-1ab5-4fac-8c3e-7dc2e28262f0&quot; ginger_sofatware_uiphraseguid=&quot;c3314792-ed15-43fc-8225-f551f83d4553&quot; grcontextid=&quot;b.:12&quot;&gt;b.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ScondaryContactID&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: lime; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b&gt;Happy Coding :)&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;GingerNoCheckEnd&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://csharpwavenet.blogspot.com/feeds/7339524754889609392/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7118099742392702035/7339524754889609392' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/7339524754889609392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/7339524754889609392'/><link rel='alternate' type='text/html' href='http://csharpwavenet.blogspot.com/2013/06/multiple-foreign-keys-with-same-table.html' title='Multiple foreign keys within same table using CodeFrist Enitty Framework and Fluent API'/><author><name>Desa</name><uri>http://www.blogger.com/profile/13580908981899104531</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQS-1QCkei9HK1gK8whosQM7n-j5VNqbeaCVBYcYQnr7fjcZZcp-Wd_ok-b6Ua_Jx-_IDRG7HNyrQMUPvXk8yZ42WjGq2kD_evpfjdUQ4yFjsFEom-5D3d9v5Htjl82w/s220/Image012.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7118099742392702035.post-1746724881663620336</id><published>2013-05-08T20:25:00.000-07:00</published><updated>2013-05-08T20:25:16.920-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Editor"/><category scheme="http://www.blogger.com/atom/ns#" term="key shortcut"/><category scheme="http://www.blogger.com/atom/ns#" term="Shortcut"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio 2012"/><category scheme="http://www.blogger.com/atom/ns#" term="VS 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="VS 2012"/><title type='text'>Shortcut Keys in Visual Studio Editor</title><content type='html'>&lt;h2&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; font-size: x-large;&quot;&gt;Some Useful &lt;span style=&quot;color: #674ea7;&quot;&gt;Visual Studio&lt;/span&gt; shortcut keys&lt;/span&gt;&lt;/h2&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;I would like to share some &lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;529046ae-7fc2-41b1-bf78-be9402ab7b9e&quot; ginger_sofatware_uiphraseguid=&quot;704c2b77-2639-4bc0-955a-eb371c0d7767&quot; grcontextid=&quot;on:0&quot;&gt;on&lt;/span&gt; the shortcut keys that are available&amp;nbsp;in visual studio that will be very useful for the developers for fast &lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;2ccda152-ddd1-4b3b-99f5-f5336a979670&quot; ginger_sofatware_uiphraseguid=&quot;704c2b77-2639-4bc0-955a-eb371c0d7767&quot; grcontextid=&quot;codeing:1&quot;&gt;codeing&lt;/span&gt;. I have segregated&amp;nbsp;them into different parts.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;color: #9fc5e8; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;VS Tools and Explore Bars (Windows) Related&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;table style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;Solution Explorer&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;b&gt;Ctrl +W, S&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Server Explorer&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;b&gt;Ctrl + W, L&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Error List&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Ctrl + W, E&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Out&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;2b12824c-2b55-4374-b31f-efef81231f7a&quot; ginger_sofatware_uiphraseguid=&quot;025742f2-af97-4ab1-9d1c-0cea1aed3acd&quot; grcontextid=&quot;put:0&quot;&gt;put Window&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Ctrl + W, O&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Property Window&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Ctrl + W, P&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Tool Box&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;Ctrl + W, X&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;color: #674ea7; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;Code File Related&lt;/span&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;table style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Comment Selection&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;b&gt;Ctrl +E, C or Ctrl + K, C&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;GINGER_SOFATWARE_noSuggestion GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;deeeb281-fa23-4286-96d3-52a83889219e&quot; ginger_sofatware_uiphraseguid=&quot;29893565-d417-41a1-aea3-abf8781d2dab&quot; grcontextid=&quot;Uncomment:0&quot;&gt;Uncomment&lt;/span&gt; Selection&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;color: #cc0000; font-size: small;&quot;&gt;&lt;b&gt;Ctrl + E, U or Ctrl + K, U&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Format Document&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style=&quot;color: red; font-size: small;&quot;&gt;Ctrl + E, D&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Make UPPERCASE&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style=&quot;color: red; font-size: small;&quot;&gt;Ctrl + Shit, U&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Make &lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;67a7293b-53c8-4031-a1a4-12014df91850&quot; ginger_sofatware_uiphraseguid=&quot;50764b44-3247-42c0-865a-2913c06654d3&quot; grcontextid=&quot;lowercase:0&quot;&gt;lowercase&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style=&quot;color: red; font-size: small;&quot;&gt;Ctrl + U&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Place Bookmark&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style=&quot;color: red; font-size: small;&quot;&gt;Ctrl + B + E&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Clear&amp;nbsp;Bookmark&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style=&quot;color: red; font-size: small;&quot;&gt;Ctrl + B + C&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Toggle Bookmark&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style=&quot;color: red; font-size: small;&quot;&gt;Ctrl + B + T&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Previous Bookmark&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style=&quot;color: red; font-size: small;&quot;&gt;Ctrl + B + P&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Next Bookmark&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style=&quot;color: red; font-size: small;&quot;&gt;Ctrl + B + N&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;color: #38761d; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Project Related&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;table style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;Add New Class&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Shift + &lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;ae38b533-8c21-4283-9602-edfadc059f18&quot; ginger_sofatware_uiphraseguid=&quot;3ebf3f03-7f7b-43d3-aa3a-7edce3efd866&quot; grcontextid=&quot;Alt:0&quot;&gt;Alt&lt;/span&gt; + C&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Add New Item&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Ctrl + Shift + A&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Add Existing Item&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Shift + &lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;64146571-f707-4c32-b43b-d8db9858f806&quot; ginger_sofatware_uiphraseguid=&quot;17d07c7b-f7db-4602-b7ff-9e07d4b4ebf5&quot; grcontextid=&quot;Alt:0&quot;&gt;Alt&lt;/span&gt; + A&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;I use these shortcuts&amp;nbsp;daily in my coding life and makes my life easy and fast to code. Hope this will &lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;fafc9b07-1a79-4dd3-908d-9150409f4586&quot; ginger_sofatware_uiphraseguid=&quot;223fac94-cfc7-4536-9fb7-8e457f9d4413&quot; grcontextid=&quot;effect:0&quot;&gt;effect&lt;/span&gt;&amp;nbsp;your coding life and &lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;50c69302-814f-4442-b843-ae761a5e3ceb&quot; ginger_sofatware_uiphraseguid=&quot;223fac94-cfc7-4536-9fb7-8e457f9d4413&quot; grcontextid=&quot;i:1&quot;&gt;i&lt;/span&gt;&amp;nbsp;would like to hear your feedback on this and please suggest if you have any.&amp;nbsp;&lt;/span&gt;&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Your feedbacks are warmly welcomed.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Happy Coding :)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;GingerNoCheckEnd&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://csharpwavenet.blogspot.com/feeds/1746724881663620336/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7118099742392702035/1746724881663620336' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/1746724881663620336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/1746724881663620336'/><link rel='alternate' type='text/html' href='http://csharpwavenet.blogspot.com/2013/05/shortcut-keys-in-visual-studio-editor.html' title='Shortcut Keys in Visual Studio Editor'/><author><name>Desa</name><uri>http://www.blogger.com/profile/13580908981899104531</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQS-1QCkei9HK1gK8whosQM7n-j5VNqbeaCVBYcYQnr7fjcZZcp-Wd_ok-b6Ua_Jx-_IDRG7HNyrQMUPvXk8yZ42WjGq2kD_evpfjdUQ4yFjsFEom-5D3d9v5Htjl82w/s220/Image012.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7118099742392702035.post-4150275807491202239</id><published>2013-04-05T01:23:00.002-07:00</published><updated>2013-04-05T01:23:28.305-07:00</updated><title type='text'>ASP.NET MVC Call multiple collection parameter action method from AJAX </title><content type='html'>&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;Ca&lt;span style=&quot;font-size: x-large;&quot;&gt;ll&lt;span style=&quot;font-size: x-large;&quot;&gt; multiple collection parameter action method &lt;span style=&quot;font-size: x-large;&quot;&gt;using AJ&lt;span style=&quot;font-size: x-large;&quot;&gt;AX&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;This example is used to demonstrate how to send multiple collection data to a action method in MVC.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;First i have defined the &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;View Model&lt;/b&gt; &lt;/span&gt;which is the type of the collection that is used as the parameter of the action method. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;Second the &lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;Controller Action Method&lt;/span&gt;&lt;/b&gt; is defined to show that it takes to List&amp;lt;Employee&amp;gt; collections.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;Third listing explains the &lt;span style=&quot;color: #38761d;&quot;&gt;&lt;b&gt;View - javascript&lt;/b&gt; &lt;/span&gt;which stringify the object and send a AJAX request to the server. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;View Model&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;public &lt;span style=&quot;font-size: small;&quot;&gt;class Employee&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp; public int ID{get;set;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp; public string Name{get;set;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp; public string Age{get;set;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;} &lt;/span&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;Controller Action Method&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;public ActionResult SaveData(List&amp;lt;Employee&amp;gt; updateEmployee, &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;List&amp;lt;Employee&amp;gt; deleteEmployee&lt;/span&gt;)&lt;br /&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;try&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; //Do your processing &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;}&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;catch(exception)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; // do your loggin&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;}&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;View - javascript&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;$(document)&lt;/span&gt;.ready(function(){&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;// Here i would like to simulate the collections by adding them statically for simplicity&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;var uEmployee = new Object();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;var dEmployee = new Object();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;//Create update employees &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;var ut1Emp = new Object();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;ut1Emp.ID = 1; ut1Emp.Name=&quot;Desmond&quot;; ut1Emp.Age=&quot;27&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;var ut2Emp = new Object();&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;ut2Emp.ID = 2; ut2Emp.Name=&quot;Maria&quot;; ut2Emp.Age=&quot;1&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;uEmployee.Push(&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;ut1Emp &lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;uEmployee.Push(&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;ut2Emp &lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;//Create delete employees&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;var dt1Emp = new Object();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;dt1Emp.ID = 3; dt1Emp.Name=&quot;Jacintha&quot;; dt1Emp.Age=&quot;25&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;var dt2Emp = new Object();&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;dt2Emp.ID = 4; dt2Emp.Name=&quot;Angel&quot;; dt2Emp.Age=&quot;1&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;dEmployee&lt;/span&gt;.Push(&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;dt1Emp &lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;dEmployee&lt;/span&gt;.Push(&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;dt2Emp &lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;var param = { &#39;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;updateEmployee&lt;/span&gt;&#39;: &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;uEmployee&lt;/span&gt;, &#39;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;deleteEmployee&lt;/span&gt;&lt;/span&gt;&#39;: &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;dEmployee&lt;/span&gt;&lt;/span&gt;};&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;$.ajax({ url: &quot;SaveData&quot;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type: &#39;POST&#39;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; contentType: &quot;application/json; charset=utf-8&quot; , // this is important&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data: JSON.stringify(param), // This is important &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; failure: function (errorMSG){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert(&#39;Error occurred on saving data&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; success: function (data) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; alert(&#39;Successfully saved&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;});&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://csharpwavenet.blogspot.com/feeds/4150275807491202239/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7118099742392702035/4150275807491202239' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/4150275807491202239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/4150275807491202239'/><link rel='alternate' type='text/html' href='http://csharpwavenet.blogspot.com/2013/04/aspnet-mvc-call-multiple-collection.html' title='ASP.NET MVC Call multiple collection parameter action method from AJAX '/><author><name>Desa</name><uri>http://www.blogger.com/profile/13580908981899104531</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQS-1QCkei9HK1gK8whosQM7n-j5VNqbeaCVBYcYQnr7fjcZZcp-Wd_ok-b6Ua_Jx-_IDRG7HNyrQMUPvXk8yZ42WjGq2kD_evpfjdUQ4yFjsFEom-5D3d9v5Htjl82w/s220/Image012.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7118099742392702035.post-6005437403442858838</id><published>2012-07-08T19:30:00.000-07:00</published><updated>2012-07-08T19:34:34.814-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".net"/><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Static Method"/><title type='text'>Keyword &#39;this&#39; is not valid in a static property, static method, or static field initializer this.Page.User.Identity.Name</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;GingerNoCheckStart&quot;&gt;&lt;/span&gt;[WebMethod] is static and if the &lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;User&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;019d5b92daed8181496cd355071e3c7cc0504a83&quot; grtype=&quot;null&quot; id=&quot;GRmark_019d5b92daed8181496cd355071e3c7cc0504a83_.:0&quot;&gt;.&lt;/span&gt;Identity&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;019d5b92daed8181496cd355071e3c7cc0504a83&quot; grtype=&quot;null&quot; id=&quot;GRmark_019d5b92daed8181496cd355071e3c7cc0504a83_.:1&quot;&gt;.&lt;/span&gt;Name&lt;/span&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt; is used this error &quot;&lt;span style=&quot;color: red;&quot;&gt;Keyword &#39;this&#39; is not valid in a static property, static method, or static field initializer&lt;/span&gt;&quot; &lt;/span&gt;&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;019d5b92daed8181496cd355071e3c7cc0504a83&quot; grtype=&quot;null&quot; id=&quot;GRmark_019d5b92daed8181496cd355071e3c7cc0504a83_is thrown:2&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;is thrown&lt;/span&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Reason being&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt; this&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;23dd18694c7c2e7e61f7e68018b77c3a5710cd85&quot; grtype=&quot;null&quot; id=&quot;GRmark_23dd18694c7c2e7e61f7e68018b77c3a5710cd85_.:0&quot;&gt;.&lt;/span&gt;Page&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;23dd18694c7c2e7e61f7e68018b77c3a5710cd85&quot; grtype=&quot;null&quot; id=&quot;GRmark_23dd18694c7c2e7e61f7e68018b77c3a5710cd85_.:1&quot;&gt;.&lt;/span&gt;User&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;23dd18694c7c2e7e61f7e68018b77c3a5710cd85&quot; grtype=&quot;null&quot; id=&quot;GRmark_23dd18694c7c2e7e61f7e68018b77c3a5710cd85_.:2&quot;&gt;.&lt;/span&gt;Identity &lt;/span&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;is &lt;b&gt;non static&lt;/b&gt; and usage is not valid.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Instead using &quot;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt; &lt;span style=&quot;color: #38761d;&quot;&gt;&lt;b&gt;HttpContext&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;b619f827090c5a6a703e0a45d899560c03ac07e3&quot; grtype=&quot;null&quot; id=&quot;GRmark_5217eb77d16a07defad3b9827f06e273c6ca6880_.:1&quot;&gt;.&lt;/span&gt;Current&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;b619f827090c5a6a703e0a45d899560c03ac07e3&quot; grtype=&quot;null&quot; id=&quot;GRmark_5217eb77d16a07defad3b9827f06e273c6ca6880_.:2&quot;&gt;.&lt;/span&gt;User&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;b619f827090c5a6a703e0a45d899560c03ac07e3&quot; grtype=&quot;null&quot; id=&quot;GRmark_5217eb77d16a07defad3b9827f06e273c6ca6880_.:3&quot;&gt;.&lt;/span&gt;Identity&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;b619f827090c5a6a703e0a45d899560c03ac07e3&quot; grtype=&quot;null&quot; id=&quot;GRmark_5217eb77d16a07defad3b9827f06e273c6ca6880_.:4&quot;&gt;.&lt;/span&gt;Name&lt;/b&gt;&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&quot; will resolve the error since current is static.&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;6c7e858d5563dd4fa578a48e76a596f3b8ec4876&quot; grtype=&quot;null&quot; id=&quot;GRmark_6c7e858d5563dd4fa578a48e76a596f3b8ec4876_ex:0&quot;&gt;ex&lt;/span&gt;:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;74de3b11b246eb0809df579368d8c811e9f424e3&quot; grtype=&quot;null&quot; id=&quot;GRmark_74de3b11b246eb0809df579368d8c811e9f424e3_someVariable:0&quot;&gt;someVariable&lt;/span&gt;&amp;nbsp;=&amp;nbsp;&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;74de3b11b246eb0809df579368d8c811e9f424e3&quot; grtype=&quot;null&quot; id=&quot;GRmark_74de3b11b246eb0809df579368d8c811e9f424e3_someMethodArgument:1&quot;&gt;someMethodArgument&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;74de3b11b246eb0809df579368d8c811e9f424e3&quot; grtype=&quot;null&quot; id=&quot;GRmark_74de3b11b246eb0809df579368d8c811e9f424e3_(:2&quot;&gt;(&lt;/span&gt;HttpContext&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;74de3b11b246eb0809df579368d8c811e9f424e3&quot; grtype=&quot;null&quot; id=&quot;GRmark_74de3b11b246eb0809df579368d8c811e9f424e3_.:3&quot;&gt;.&lt;/span&gt;Current&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;74de3b11b246eb0809df579368d8c811e9f424e3&quot; grtype=&quot;null&quot; id=&quot;GRmark_74de3b11b246eb0809df579368d8c811e9f424e3_.:4&quot;&gt;.&lt;/span&gt;User&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;74de3b11b246eb0809df579368d8c811e9f424e3&quot; grtype=&quot;null&quot; id=&quot;GRmark_74de3b11b246eb0809df579368d8c811e9f424e3_.:5&quot;&gt;.&lt;/span&gt;Identity&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;74de3b11b246eb0809df579368d8c811e9f424e3&quot; grtype=&quot;null&quot; id=&quot;GRmark_74de3b11b246eb0809df579368d8c811e9f424e3_.:6&quot;&gt;.&lt;/span&gt;Name);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;GingerNoCheckEnd&quot;&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://csharpwavenet.blogspot.com/feeds/6005437403442858838/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7118099742392702035/6005437403442858838' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/6005437403442858838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/6005437403442858838'/><link rel='alternate' type='text/html' href='http://csharpwavenet.blogspot.com/2012/07/keyword-this-is-not-valid-in-static.html' title='Keyword &#39;this&#39; is not valid in a static property, static method, or static field initializer this.Page.User.Identity.Name'/><author><name>Desa</name><uri>http://www.blogger.com/profile/13580908981899104531</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQS-1QCkei9HK1gK8whosQM7n-j5VNqbeaCVBYcYQnr7fjcZZcp-Wd_ok-b6Ua_Jx-_IDRG7HNyrQMUPvXk8yZ42WjGq2kD_evpfjdUQ4yFjsFEom-5D3d9v5Htjl82w/s220/Image012.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7118099742392702035.post-5118906450360935212</id><published>2012-02-10T17:32:00.000-08:00</published><updated>2012-02-10T17:33:41.858-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".net"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview."/><title type='text'>How to win Interviews</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I would like to share my experience to those who face the interviews.&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Look at the roles and responsibility of the job&lt;/li&gt;
&lt;li&gt; Basic overview of the employer on what is their main business, achievements and products or service they provide&lt;/li&gt;
&lt;li&gt;Be there at least 20 minutes earlier&lt;/li&gt;
&lt;li&gt;While facing the interview be open and honest&lt;/li&gt;
&lt;li&gt;If&amp;nbsp; you don&#39;t know the straight answer say you don&#39;t know but think logically and try to find possible way, tell your interviewer this way it should happen (Reason we are not born in this world with full of knowledge, important is to think instantly what could be the possible solution)&lt;/li&gt;
&lt;li&gt;When you are asked about some coding solution, think about the solution and while explaining tell them the answer and the steps to achieve the answer. Very important if you have implemented smiler solution in the past please refer&amp;nbsp; &lt;/li&gt;
&lt;li&gt; Be friendly and don&#39;t get panic if you dont know the answer.&lt;/li&gt;
&lt;/ul&gt;
When you learn new technology learn the basic concepts through an ebook or product web site like MSDN&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
Good luck guys i will update this when things get into my memory. Best luck for your future...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://csharpwavenet.blogspot.com/feeds/5118906450360935212/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7118099742392702035/5118906450360935212' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/5118906450360935212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/5118906450360935212'/><link rel='alternate' type='text/html' href='http://csharpwavenet.blogspot.com/2012/02/how-to-win-interviews.html' title='How to win Interviews'/><author><name>Desa</name><uri>http://www.blogger.com/profile/13580908981899104531</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQS-1QCkei9HK1gK8whosQM7n-j5VNqbeaCVBYcYQnr7fjcZZcp-Wd_ok-b6Ua_Jx-_IDRG7HNyrQMUPvXk8yZ42WjGq2kD_evpfjdUQ4yFjsFEom-5D3d9v5Htjl82w/s220/Image012.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7118099742392702035.post-27327762990472993</id><published>2012-01-13T16:37:00.000-08:00</published><updated>2012-01-13T16:38:48.430-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AP.NET MVC3"/><category scheme="http://www.blogger.com/atom/ns#" term="image"/><category scheme="http://www.blogger.com/atom/ns#" term="jQuery"/><category scheme="http://www.blogger.com/atom/ns#" term="razor view"/><category scheme="http://www.blogger.com/atom/ns#" term="upload"/><title type='text'>Single or multiple Image upload on ASP.NET MVC3</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I spent a great time searching for an example of Upload Image on ASP.NET MVC3 web site.&lt;br /&gt;
&lt;br /&gt;
These are the two simple steps you need to do. (single image)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Create the view&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
---------------------&lt;br /&gt;
&lt;br /&gt;
&amp;lt;form action=&quot;&quot; method=&quot;post&quot; enctype=&quot;multipart/form-data&quot;&amp;gt;&lt;br /&gt;
&amp;lt;input type=&quot;text&quot; name=&quot;firstName&quot; id=&quot;firstName&quot; /&amp;gt;&lt;br /&gt;
&amp;lt;input type=&quot;file&quot;&lt;span style=&quot;color: red;&quot;&gt; name=&quot;file&quot;&lt;/span&gt; id=&quot;file1&quot; /&amp;gt; &lt;br /&gt;
&amp;lt;input type=&quot;submit&quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;*Note - Make sure the&lt;/span&gt;&lt;span style=&quot;color: lime;&quot;&gt; name &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;that you give for the &lt;/span&gt;&lt;span style=&quot;color: lime;&quot;&gt;input type file&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt; is&amp;nbsp;important&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
or If u are using html helper to create the form&lt;br /&gt;
&lt;br /&gt;
@using (Html.BeginForm(&quot;Upload&quot;, &quot;Home&quot;, FormMethod.Post, new { enctype = &quot;multipart/form-data&quot; }))&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;input type=&quot;text&quot; name=&quot;firstName&quot; id=&quot;firstName&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;input type=&quot;file&quot; &lt;span style=&quot;color: red;&quot;&gt;name=&quot;file&quot;&lt;/span&gt; id=&quot;file1&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;input type=&quot;submit&quot; /&amp;gt;&lt;br /&gt;
}&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Create the&lt;/span&gt;&lt;/b&gt; &lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;controller&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
[HttpPost]&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public ActionResult Upload(string firstName, HttpPostedFileBase&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;file&lt;/span&gt;)&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (file.ContentLength &amp;gt; 0)&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; using(Image img= Image.FromStream(file.InputStream))&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //--Initialize the size of the array&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; byte[] imgData = new byte[file.InputStream.Length];&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //--Create a new BinaryReader and set the InputStream&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //-- for the Images InputStream to the&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //--beginning, as we create the img using a stream.&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BinaryReader reader = new BinaryReader(file.InputStream);&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; file.InputStream.Seek(0, SeekOrigin.Begin);&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //--Load the image binary.&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; imgData = reader.ReadBytes((int)file.InputStream.Length);&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //--Create a new image to be added to the database&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return RedirectToAction(&quot;Index&quot;);&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;For multiple Image upload&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;The View&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&amp;lt;form action=&quot;&quot; method=&quot;post&quot; enctype=&quot;multipart/form-data&quot;&amp;gt;&lt;br /&gt;
&amp;lt;input type=&quot;text&quot; name=&quot;firstName&quot; id=&quot;firstName&quot; /&amp;gt;&lt;br /&gt;
&amp;lt;input type=&quot;file&quot;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp;name=&quot;files&quot;&lt;/span&gt;&amp;nbsp;id=&quot;file1&quot; /&amp;gt; &lt;br /&gt;
&amp;lt;input type=&quot;file&quot;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp;name=&quot;files&quot;&lt;/span&gt;&amp;nbsp;id=&quot;file2&quot; /&amp;gt; &amp;nbsp;&amp;nbsp;
&lt;br /&gt;
&amp;lt;input type=&quot;submit&quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
or If u are using html helper to create the form&lt;br /&gt;
&lt;br /&gt;
@using (Html.BeginForm(&quot;Upload&quot;, &quot;Home&quot;, FormMethod.Post, new { enctype = &quot;multipart/form-data&quot; }))&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;input type=&quot;text&quot; name=&quot;firstName&quot; id=&quot;firstName&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;input type=&quot;file&quot;&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;name=&quot;files&quot;&lt;/span&gt;&amp;nbsp;id=&quot;file1&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;file&quot;&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;name=&quot;files&quot;&lt;/span&gt;&amp;nbsp;id=&quot;file2&quot; /&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;input type=&quot;submit&quot; /&amp;gt;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;The Controller&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
[HttpPost]&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public ActionResult Upload(string firstName, IEnumerable&amp;lt;HttpPostedFileBase&amp;gt;&lt;span style=&quot;color: red;&quot;&gt; files&lt;/span&gt;)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; foreach (var file in files)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (file.ContentLength &amp;gt; 0)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; using(Image img= Image.FromStream(file.InputStream))&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //--Initialize the size of the array&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; byte[] imgData = new byte[file.InputStream.Length];&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //--Create a new BinaryReader and set the InputStream&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //-- for the Images InputStream to the&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //--beginning, as we create the img using a stream.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BinaryReader reader = new BinaryReader(file.InputStream);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; file.InputStream.Seek(0, SeekOrigin.Begin);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //--Load the image binary.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; imgData = reader.ReadBytes((int)file.InputStream.Length);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //--Create a new image to be added to the database&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return RedirectToAction(&quot;Index&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Reference&lt;br /&gt;
&lt;a href=&quot;http://garfbradazweb.wordpress.com/2011/08/16/mvc-3-upload-sql-server-entity-framework/&quot;&gt;http://garfbradazweb.wordpress.com/2011/08/16/mvc-3-upload-sql-server-entity-framework/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://csharpwavenet.blogspot.com/feeds/27327762990472993/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7118099742392702035/27327762990472993' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/27327762990472993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/27327762990472993'/><link rel='alternate' type='text/html' href='http://csharpwavenet.blogspot.com/2012/01/single-or-multiple-image-upload-on.html' title='Single or multiple Image upload on ASP.NET MVC3'/><author><name>Desa</name><uri>http://www.blogger.com/profile/13580908981899104531</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQS-1QCkei9HK1gK8whosQM7n-j5VNqbeaCVBYcYQnr7fjcZZcp-Wd_ok-b6Ua_Jx-_IDRG7HNyrQMUPvXk8yZ42WjGq2kD_evpfjdUQ4yFjsFEom-5D3d9v5Htjl82w/s220/Image012.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7118099742392702035.post-9073562059092419894</id><published>2011-12-11T16:51:00.001-08:00</published><updated>2012-01-13T16:39:32.934-08:00</updated><title type='text'>Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Problem :&lt;/b&gt;&lt;br /&gt;
When i created the MVC3 project while having the Domain on a&amp;nbsp;separate&amp;nbsp;project and&amp;nbsp;reffed&amp;nbsp;the dll to the web project i came&amp;nbsp;across this error &quot;Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Solution:&lt;/b&gt;&lt;br /&gt;
Remove the reference to the Entity Framework dll and add the Entity Framework dll on the domain bin project again.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Reason :&lt;/b&gt;&lt;br /&gt;
When i started the web project i added reference to EF 4.1 but while&amp;nbsp;completing&amp;nbsp;the domain i&amp;nbsp;refereed&amp;nbsp;to EF 4.2. This was the cause to the problem.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;:)&amp;nbsp;coding&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://csharpwavenet.blogspot.com/feeds/9073562059092419894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7118099742392702035/9073562059092419894' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/9073562059092419894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/9073562059092419894'/><link rel='alternate' type='text/html' href='http://csharpwavenet.blogspot.com/2011/12/unable-to-load-one-or-more-of-requested.html' title='Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.'/><author><name>Desa</name><uri>http://www.blogger.com/profile/13580908981899104531</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQS-1QCkei9HK1gK8whosQM7n-j5VNqbeaCVBYcYQnr7fjcZZcp-Wd_ok-b6Ua_Jx-_IDRG7HNyrQMUPvXk8yZ42WjGq2kD_evpfjdUQ4yFjsFEom-5D3d9v5Htjl82w/s220/Image012.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7118099742392702035.post-7591532965990073282</id><published>2011-10-10T09:46:00.000-07:00</published><updated>2011-10-10T09:53:13.005-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".net"/><category scheme="http://www.blogger.com/atom/ns#" term="Async CTP"/><category scheme="http://www.blogger.com/atom/ns#" term="MVC 3"/><title type='text'>Problem Installing MVC 3</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b&gt;Warning Message&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&quot;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;This product is incompatible with the Microsoft Visual Studio Async CTP. Please uninstall the component, then try to install this product again&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 16px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; line-height: 16px;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Solution&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 16px;&quot;&gt;Go to Control&amp;nbsp;Panel -&amp;gt; Click on View Installed Updates -&amp;gt; Under Microsoft Visual Studio 2010&amp;nbsp;Ultimate&amp;nbsp;or type Async in search box and then -&amp;gt; select the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;Microsoft Visual Studio Async CTP and Uninstall.&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://csharpwavenet.blogspot.com/feeds/7591532965990073282/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7118099742392702035/7591532965990073282' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/7591532965990073282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/7591532965990073282'/><link rel='alternate' type='text/html' href='http://csharpwavenet.blogspot.com/2011/10/problem-installing-mvc-3.html' title='Problem Installing MVC 3'/><author><name>Desa</name><uri>http://www.blogger.com/profile/13580908981899104531</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQS-1QCkei9HK1gK8whosQM7n-j5VNqbeaCVBYcYQnr7fjcZZcp-Wd_ok-b6Ua_Jx-_IDRG7HNyrQMUPvXk8yZ42WjGq2kD_evpfjdUQ4yFjsFEom-5D3d9v5Htjl82w/s220/Image012.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7118099742392702035.post-5180700211293850418</id><published>2011-10-10T09:38:00.000-07:00</published><updated>2011-10-10T09:38:05.988-07:00</updated><title type='text'>About Me</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: x-small;&quot;&gt;Dear Readers,&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;I welcome you all to my very first blog with a
warm welcome.&amp;nbsp;&lt;/span&gt; I would like to give you brief introduction about myself
so that it I can stay one step closer to you. I am from Sri Lanka the beautiful
isle of the Indian Ocean. I have completed my &lt;i&gt;Masters Degree in Computer
Science&lt;/i&gt; and I have more than 5 years of experience in Software Development. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: x-small;&quot;&gt;I started with classic ASP, developed a &lt;i&gt;web based
CRM&lt;/i&gt; for call center after one year I moved to another company where I worked
for another year on ASP.net and Oracle 9i and developed an &lt;i&gt;ERP system&lt;/i&gt;. I could
not find what I was looking for there as well, but the moment I went to the
Interview at Duo Software, I was much happy and excited to join them. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: x-small;&quot;&gt;At Duo I developed the CRM with customized
fields, Campaign Manager, Soft Phone using Microsoft RTC, Quality Management System
for Call Center, Predictive Dialer and Advanced Request Distribution Server
(generalized version of Automated Call Distribution System &lt;b&gt;&lt;i&gt;ACD&lt;/i&gt;&lt;/b&gt;). &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: x-small;&quot;&gt;I started with .net 1.1 and gradually moved to .net
2.0, .net 3.0 and .net 4.0 along with WCF and SQL Server 2005 and 2008. I was
able to reengineer my own products at Duo by applying proper design pattern to
cater extendibility, maintainability and reusability. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: x-small;&quot;&gt;I am always glad to share my experience with you
and to answer your questions with my own experience. Looking forward to blog
with you all we will share each other with what we know.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: x-small;&quot;&gt;As Steve Jobs mentioned lets “&lt;b&gt;&lt;i&gt;be hunger be
foolish&lt;/i&gt;&lt;/b&gt;”..&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://csharpwavenet.blogspot.com/feeds/5180700211293850418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7118099742392702035/5180700211293850418' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/5180700211293850418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7118099742392702035/posts/default/5180700211293850418'/><link rel='alternate' type='text/html' href='http://csharpwavenet.blogspot.com/2011/10/about-me.html' title='About Me'/><author><name>Desa</name><uri>http://www.blogger.com/profile/13580908981899104531</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQS-1QCkei9HK1gK8whosQM7n-j5VNqbeaCVBYcYQnr7fjcZZcp-Wd_ok-b6Ua_Jx-_IDRG7HNyrQMUPvXk8yZ42WjGq2kD_evpfjdUQ4yFjsFEom-5D3d9v5Htjl82w/s220/Image012.jpg'/></author><thr:total>0</thr:total></entry></feed>