<?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-1791789665881363725</id><updated>2026-03-30T01:29:21.026-07:00</updated><category term="C#"/><category term=".net"/><category term="MsSql Server"/><category term="asp.net"/><category term="web programming"/><category term="asp.net mvc"/><category term="sql"/><category term="Windows Forms"/><category term="controls"/><category term="events"/><category term="java script"/><category term="jquery"/><category term="mvc3"/><category term="oracle"/><category term="winforms"/><category term=".net framework 4.5"/><category term="HTML5"/><category term="Linux"/><category term="MKV"/><category term="Vi"/><category term="WebControl"/><category term="css"/><category term="git"/><category term="video html5"/><category term="visual studio 2008"/><category term="web control"/><category term="wm05"/><category term="wm06"/><category term="xml"/><category term="&#39;RestoreContainer::ValidateTargetForCreation&#39;"/><category term=".net cf"/><category term="5(Access is denied.)"/><category term="ContextMenu"/><category term="ContextMenu Problems"/><category term="ContextMenuStrip"/><category term="IOS"/><category term="Objective C"/><category term="Pattern"/><category term="TFS"/><category term="Team Foundation Server"/><category term="Thread Safe"/><category term="Turkish Character Problem"/><category term="UIImageView"/><category term="Visual Studio 11 Requirements"/><category term="WebBrowser"/><category term="WebBrowserControl"/><category term="ajax"/><category term="api"/><category term="apple"/><category term="arm"/><category term="asp.net web api"/><category term="audio"/><category term="audio html5"/><category term="azure"/><category term="bitbucket"/><category term="bootstrap"/><category term="chrome"/><category term="configuration"/><category term="connection string"/><category term="convert"/><category term="dropdownlistfor"/><category term="dynamic"/><category term="dynamic events"/><category term="eclipse"/><category term="elasticsearch"/><category term="express edition"/><category term="filter"/><category term="ie"/><category term="java"/><category term="js"/><category term="json"/><category term="logging"/><category term="mac"/><category term="mavericks"/><category term="mvc 5"/><category term="numeric textbox"/><category term="object"/><category term="ogg"/><category term="osx"/><category term="reflection"/><category term="restore"/><category term="security"/><category term="source control"/><category term="sql restore problems"/><category term="video"/><category term="visual studio"/><category term="visual studio 11"/><category term="web api"/><category term="xcode"/><title type='text'>DevExper</title><subtitle type='html'>Development Experience</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://devexper.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://devexper.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>50</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1791789665881363725.post-5450731559543502864</id><published>2020-08-04T02:15:00.003-07:00</published><updated>2020-08-04T02:27:22.059-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="elasticsearch"/><category scheme="http://www.blogger.com/atom/ns#" term="security"/><title type='text'>How to do secure Elasticsearch free with xpack security </title><content type='html'>Yesterday, I have invested a couple of hours to secure eleasticsearch.&amp;nbsp;
&lt;div&gt;Elasticserch comes with a couple of security features.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
  If you need advance elasticsearch security features you need to have a look
  elasticsearch subscription features.&amp;nbsp;
&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
  In this post, I would like to secure elasticsearch free with enabling basic
  authentication with the help of xpack security option.&amp;nbsp;
&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
  I will use Docker to run elasticserach. To create users and passwords I will
  user elasticsearch commands in the running docker image.&amp;nbsp;
&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
  I assume you have docker installed and running on your host machine and you
  know basics of docker. Here is the docker-compose file we will use :&amp;nbsp;
&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;script src=&quot;https://gist.github.com/cguldogan/1985baa546661f75b615ec5d192689ba.js&quot;&gt;&lt;/script&gt;
&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Then you need to run the following command to login your docker container.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;


&lt;code&gt;
docker exec -it your-elastic-container-id /bin/bash
&lt;/code&gt;


&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Then, we need to add a user with a password and role.&amp;nbsp;&lt;/div&gt;&lt;div&gt;Elasticsearch xpack comes with build-in roles.&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;I will create a user with superuser role just for demo purposes.&amp;nbsp;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;font face=&quot;monospace&quot;&gt;elasticsearch-users useradd myuser -p mypassword -r superuser&lt;/font&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;monospace&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;monospace&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;

&lt;div&gt;&lt;font face=&quot;inherit&quot;&gt;Since xpack is activated, now you can use this username and password&amp;nbsp;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;inherit&quot;&gt;with basic authentication to access elasticsearch api&amp;nbsp;&lt;/font&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://devexper.blogspot.com/feeds/5450731559543502864/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://devexper.blogspot.com/2020/08/how-to-do-secure-elasticsearch-free.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/5450731559543502864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/5450731559543502864'/><link rel='alternate' type='text/html' href='http://devexper.blogspot.com/2020/08/how-to-do-secure-elasticsearch-free.html' title='How to do secure Elasticsearch free with xpack security '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791789665881363725.post-2200294719499114060</id><published>2018-03-02T18:00:00.000-08:00</published><updated>2018-03-09T09:25:25.304-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="git"/><category scheme="http://www.blogger.com/atom/ns#" term="visual studio"/><title type='text'>How Clean Git Repository for Visual Studio Projects? </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Today I suddenly push a personal project of mine to a repository without .gitignore
.gitignore is very helpful if you don&#39;t want to mess your git repo with machine generated files like
compiled codes, build outputs, node_modules , node_modules , packages etc.&lt;br /&gt;
&lt;br /&gt;
There is an offical gitignore file from github &lt;a href=&quot;https://github.com/github/gitignore&quot;&gt;here&amp;nbsp;&lt;/a&gt;&lt;br /&gt;
Or you can copy from gist I created.
So I you want to clear your mess from your git repository with the help of .gitignore file or want to remove files that was tracked before new .gitignore

run the following code.

&lt;script src=&quot;https://gist.github.com/cguldogan/bbb616c342ba65189325d0912b077e13.js&quot;&gt;&lt;/script&gt;

.gitignore file sample

&lt;script src=&quot;https://gist.github.com/cguldogan/6a1703fec1df0ca30cf5ec7a4fa14a65.js&quot;&gt;&lt;/script&gt;


&lt;/div&gt;

&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiPoFYg25Tc2n628DDrSniOs9n3gYKQLh9M5bZi5VeuMFDvhyphenhyphenyiwz6YD85FT3VpA2wPZkmAEng76iWBmhNPpeuuKOW66J3iIFKnHIEIeX3OGhH1wvv52F_UZ3sj065f1By3sIp5wh49tB0/s1600/Git-Logo-2Color.png&quot; imageanchor=&quot;1&quot; &gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiPoFYg25Tc2n628DDrSniOs9n3gYKQLh9M5bZi5VeuMFDvhyphenhyphenyiwz6YD85FT3VpA2wPZkmAEng76iWBmhNPpeuuKOW66J3iIFKnHIEIeX3OGhH1wvv52F_UZ3sj065f1By3sIp5wh49tB0/s200/Git-Logo-2Color.png&quot; width=&quot;200&quot; height=&quot;84&quot; data-original-width=&quot;910&quot; data-original-height=&quot;380&quot; style=&quot;display:none&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://devexper.blogspot.com/feeds/2200294719499114060/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://devexper.blogspot.com/2018/03/how-clean-git-repository-for-visual.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/2200294719499114060'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/2200294719499114060'/><link rel='alternate' type='text/html' href='http://devexper.blogspot.com/2018/03/how-clean-git-repository-for-visual.html' title='How Clean Git Repository for Visual Studio Projects? '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiPoFYg25Tc2n628DDrSniOs9n3gYKQLh9M5bZi5VeuMFDvhyphenhyphenyiwz6YD85FT3VpA2wPZkmAEng76iWBmhNPpeuuKOW66J3iIFKnHIEIeX3OGhH1wvv52F_UZ3sj065f1By3sIp5wh49tB0/s72-c/Git-Logo-2Color.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791789665881363725.post-7803169126854835052</id><published>2018-02-27T06:53:00.000-08:00</published><updated>2018-02-27T06:55:25.202-08: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="convert"/><category scheme="http://www.blogger.com/atom/ns#" term="json"/><category scheme="http://www.blogger.com/atom/ns#" term="logging"/><title type='text'>Object to Json String C# </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Generally for logging purposes I&#39;m need to convert object to Json sting. It is very helpful to keep track of incoming or outgoing objects. It is very easy but some time hard to remember as well. So It is better to keep this object to json conversion code here.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;script src=&quot;https://gist.github.com/cguldogan/aa29d1758bd927d3dd58c6732dcfcd30.js&quot;&gt;&lt;/script&gt;

&lt;div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7TWy_BZD_oc_CkRppW4mfBJqxUc9XcmA-BmMdkAEJYJA3SS3kQgV1DIX8KDqTVNwhHvsIEzvWuT66M7tuAl6kP4ejVJJdI6hVlwv34fk3VPgZ7188C6SUEXCf1cMW0e8G5MhuW-Q6ll5N/s1600/csharp.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1122&quot; data-original-width=&quot;1044&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7TWy_BZD_oc_CkRppW4mfBJqxUc9XcmA-BmMdkAEJYJA3SS3kQgV1DIX8KDqTVNwhHvsIEzvWuT66M7tuAl6kP4ejVJJdI6hVlwv34fk3VPgZ7188C6SUEXCf1cMW0e8G5MhuW-Q6ll5N/s200/csharp.png&quot; style=&quot;display: none;&quot; width=&quot;186&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://devexper.blogspot.com/feeds/7803169126854835052/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://devexper.blogspot.com/2018/02/object-to-json-string-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/7803169126854835052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/7803169126854835052'/><link rel='alternate' type='text/html' href='http://devexper.blogspot.com/2018/02/object-to-json-string-c.html' title='Object to Json String C# '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7TWy_BZD_oc_CkRppW4mfBJqxUc9XcmA-BmMdkAEJYJA3SS3kQgV1DIX8KDqTVNwhHvsIEzvWuT66M7tuAl6kP4ejVJJdI6hVlwv34fk3VPgZ7188C6SUEXCf1cMW0e8G5MhuW-Q6ll5N/s72-c/csharp.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791789665881363725.post-9082566782870647371</id><published>2018-02-05T07:37:00.001-08:00</published><updated>2018-02-05T09:16:30.026-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".net"/><category scheme="http://www.blogger.com/atom/ns#" term="api"/><category scheme="http://www.blogger.com/atom/ns#" term="asp.net web api"/><category scheme="http://www.blogger.com/atom/ns#" term="filter"/><category scheme="http://www.blogger.com/atom/ns#" term="web api"/><title type='text'>ASP.NET Web API IP Filter</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;If you need to restrict an access to your some of the web controllers&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;it is safer to do with help of Asp.net web api filters.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;The web api filters allows you to do several operations at OnActionExecuting stage.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;You can block some requests and return 403 if you wish so.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;I found &lt;a href=&quot;http://randyburden.com/blog/2011/08/09/restrict-access-to-an-mvc-action-or-controller-by-ip-address-using-a-custom-action-filter/&quot; target=&quot;_blank&quot;&gt;RANDY BURDEN&#39;S blog&lt;/a&gt; he has a nice implementation of a IP Filter for MVC.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;I converted this code a bit which can be used in Asp.net Web API.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;

&lt;script src=&quot;https://gist.github.com/cguldogan/f3096d8fd7241a14ffd7020026a4e7b5.js&quot;&gt;&lt;/script&gt;

&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2-OSsjh0lpZPneDNh0eJaFjRYDhk-oydVkJ4n3uUby7PDW2AAJ1KbQ6mZN2MYqAUfgF7HyvCMXrSNZEH1Jtx4E3cRVlhutXD-oFSHUee_N_KW-h_Iixt0qNJLcJUA8eLfpaZE13sIJ9mo/s1600/asplogo-square.png&quot; imageanchor=&quot;1&quot; &gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2-OSsjh0lpZPneDNh0eJaFjRYDhk-oydVkJ4n3uUby7PDW2AAJ1KbQ6mZN2MYqAUfgF7HyvCMXrSNZEH1Jtx4E3cRVlhutXD-oFSHUee_N_KW-h_Iixt0qNJLcJUA8eLfpaZE13sIJ9mo/s320/asplogo-square.png&quot; width=&quot;320&quot; height=&quot;320&quot; data-original-width=&quot;248&quot; data-original-height=&quot;248&quot; style=&quot;display:none&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://devexper.blogspot.com/feeds/9082566782870647371/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://devexper.blogspot.com/2018/02/aspnet-web-api-ip-filter.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/9082566782870647371'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/9082566782870647371'/><link rel='alternate' type='text/html' href='http://devexper.blogspot.com/2018/02/aspnet-web-api-ip-filter.html' title='ASP.NET Web API IP Filter'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2-OSsjh0lpZPneDNh0eJaFjRYDhk-oydVkJ4n3uUby7PDW2AAJ1KbQ6mZN2MYqAUfgF7HyvCMXrSNZEH1Jtx4E3cRVlhutXD-oFSHUee_N_KW-h_Iixt0qNJLcJUA8eLfpaZE13sIJ9mo/s72-c/asplogo-square.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791789665881363725.post-4321393252315648743</id><published>2017-05-09T16:03:00.000-07:00</published><updated>2018-02-04T11:43:18.945-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="arm"/><category scheme="http://www.blogger.com/atom/ns#" term="azure"/><category scheme="http://www.blogger.com/atom/ns#" term="configuration"/><category scheme="http://www.blogger.com/atom/ns#" term="connection string"/><title type='text'>Azure ARM Template Connection String Settings</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
Search &quot;serverFarmId&quot; keyword in your template.&lt;br /&gt;
paste the following code for connection settings.&lt;br /&gt;
&lt;br /&gt;
By default db is mysql to set up other db types add &#39;&lt;span style=&quot;background-color: white; color: #373a3c; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px;&quot;&gt;type&lt;/span&gt;&#39; key word.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0MoS_mCODtD3AdlC4i8AoqL_OwiLMcD13OZLX5KEn3sL0SHR6Lj4zW_VL7QeASBUMoHDQpYy6erKQwRA3jJhmNa8hxYLqPRUHK7mfyOWcTfhgL7d8ikTLoOUdix6Ddl06N9Zv37axa9Ko/s1600/azure.1.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;501&quot; data-original-width=&quot;700&quot; height=&quot;228&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0MoS_mCODtD3AdlC4i8AoqL_OwiLMcD13OZLX5KEn3sL0SHR6Lj4zW_VL7QeASBUMoHDQpYy6erKQwRA3jJhmNa8hxYLqPRUHK7mfyOWcTfhgL7d8ikTLoOUdix6Ddl06N9Zv37axa9Ko/s320/azure.1.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
value=&quot;2&quot; SQL Database&lt;br /&gt;
value=&quot;1&quot; SQL Server&lt;br /&gt;
value=&quot;0&quot; MySQL&lt;br /&gt;
value=&quot;10&quot; PostgreSQL&lt;br /&gt;
value=&quot;4&quot; Notification Hub&lt;br /&gt;
value=&quot;5&quot; Service Bus&lt;br /&gt;
value=&quot;6&quot; Event Hub&lt;br /&gt;
value=&quot;7&quot; Api Hub&lt;br /&gt;
value=&quot;8&quot; Document DB&lt;br /&gt;
value=&quot;9&quot; Redis Cache&lt;br /&gt;
value=&quot;3&quot; Custom
 

&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more detail about this subject please visit the&amp;nbsp;&lt;a href=&quot;http://blogs.perficient.com/microsoft/2016/03/azure-arm-template-define-web-app-connection-strings/&quot; target=&quot;_blank&quot;&gt;perficient blog&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &quot;siteConfig&quot;:  {  
             &quot;connectionStrings&quot;: [  
                         {  
                         &quot;name&quot;: &quot;ConnString1&quot;,  
                         &quot;connectionString&quot;: &quot;Server=myServerAddress;Database=myDataBase;Trusted_Connection=True;&quot;  
                         }  
                       ]  
                 }  

&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://devexper.blogspot.com/feeds/4321393252315648743/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://devexper.blogspot.com/2017/05/azure-arm-template-connection-string.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/4321393252315648743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/4321393252315648743'/><link rel='alternate' type='text/html' href='http://devexper.blogspot.com/2017/05/azure-arm-template-connection-string.html' title='Azure ARM Template Connection String Settings'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0MoS_mCODtD3AdlC4i8AoqL_OwiLMcD13OZLX5KEn3sL0SHR6Lj4zW_VL7QeASBUMoHDQpYy6erKQwRA3jJhmNa8hxYLqPRUHK7mfyOWcTfhgL7d8ikTLoOUdix6Ddl06N9Zv37axa9Ko/s72-c/azure.1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791789665881363725.post-7212834831817229723</id><published>2015-11-13T16:40:00.001-08:00</published><updated>2018-02-04T11:46:32.876-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MsSql Server"/><category scheme="http://www.blogger.com/atom/ns#" term="sql"/><category scheme="http://www.blogger.com/atom/ns#" term="xml"/><title type='text'>Select as a XML MSSQL</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In Mssql you can get select result as XML by using following TSQL statement
&lt;br /&gt;
&lt;b&gt;SELECT *
   FROM TableName  
   FOR XML path, root;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&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/AVvXsEhSdD4SZvrzbW9chLlB8SEop60DkvQy-9OQw6OvnyeB3RRZPGo1s3M3Hhyphenhyphenlu-uomOmQ_fH3U59oIfZN8umVF8GKDThq7TBFWheqsx8DvNUUlDB3h2GVOHl3Ygl46xBU4D6bWlURvYjscIj6/s1600/sql.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;
&lt;img border=&quot;0&quot; data-original-height=&quot;315&quot; data-original-width=&quot;600&quot; height=&quot;130&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSdD4SZvrzbW9chLlB8SEop60DkvQy-9OQw6OvnyeB3RRZPGo1s3M3Hhyphenhyphenlu-uomOmQ_fH3U59oIfZN8umVF8GKDThq7TBFWheqsx8DvNUUlDB3h2GVOHl3Ygl46xBU4D6bWlURvYjscIj6/s320/sql.png&quot; width=&quot;320&quot; style=&quot;display:none&quot;/&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://devexper.blogspot.com/feeds/7212834831817229723/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://devexper.blogspot.com/2015/11/select-as-xml-mssql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/7212834831817229723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/7212834831817229723'/><link rel='alternate' type='text/html' href='http://devexper.blogspot.com/2015/11/select-as-xml-mssql.html' title='Select as a XML MSSQL'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSdD4SZvrzbW9chLlB8SEop60DkvQy-9OQw6OvnyeB3RRZPGo1s3M3Hhyphenhyphenlu-uomOmQ_fH3U59oIfZN8umVF8GKDThq7TBFWheqsx8DvNUUlDB3h2GVOHl3Ygl46xBU4D6bWlURvYjscIj6/s72-c/sql.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791789665881363725.post-2996325615115371484</id><published>2015-05-19T14:59:00.002-07:00</published><updated>2018-02-04T11:52:03.503-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".net"/><category scheme="http://www.blogger.com/atom/ns#" term="Pattern"/><category scheme="http://www.blogger.com/atom/ns#" term="Thread Safe"/><title type='text'>Implementing Thread Safe Singleton Pattern in C# </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hi today I want to share Thread Safe Singleton code sample. 
I found this samples from &lt;a href=&quot;http://csharpindepth.com/Articles/general/singleton.aspx&quot;&gt;Here&lt;/a&gt;

You can use Singleton_Lazy class if you are using .net framework 4.0+

&lt;br /&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: &amp;quot;andale mono&amp;quot; , &amp;quot;lucida console&amp;quot; , &amp;quot;monaco&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;code&gt;namespace Patterns
{
    
    public class Singleton
    {
        private static readonly Singleton instance = new Singleton();

        //Empty for laziness
        static Singleton() { }

        private Singleton() {

            Console.WriteLine(&quot;CCTOR&quot;);
        }

        public static Singleton Instance { get { return instance; } }

        public void DoSomeThing()
        {
            Console.WriteLine(&quot;DoSomeThing&quot;);
        }
    }




    public sealed class Singleton_Lazy
    {
        private static readonly Lazy&amp;lt;Singleton_Lazy&amp;gt; lazy =
            new Lazy&amp;lt;Singleton_Lazy&amp;gt;(() =&amp;gt; new Singleton_Lazy(),true);

        public static Singleton_Lazy Instance { get { return lazy.Value; } }

        private Singleton_Lazy()
        {
            Console.WriteLine(&quot;CCTOR&quot;);
        }

        public void DoSomeThing()
        {
            Console.WriteLine(&quot;DoSomeThing&quot;);
        }
    }
}

&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7TWy_BZD_oc_CkRppW4mfBJqxUc9XcmA-BmMdkAEJYJA3SS3kQgV1DIX8KDqTVNwhHvsIEzvWuT66M7tuAl6kP4ejVJJdI6hVlwv34fk3VPgZ7188C6SUEXCf1cMW0e8G5MhuW-Q6ll5N/s1600/csharp.png&quot; imageanchor=&quot;1&quot; &gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7TWy_BZD_oc_CkRppW4mfBJqxUc9XcmA-BmMdkAEJYJA3SS3kQgV1DIX8KDqTVNwhHvsIEzvWuT66M7tuAl6kP4ejVJJdI6hVlwv34fk3VPgZ7188C6SUEXCf1cMW0e8G5MhuW-Q6ll5N/s200/csharp.png&quot; width=&quot;186&quot; height=&quot;200&quot; data-original-width=&quot;1044&quot; data-original-height=&quot;1122&quot; style=&quot;display:none&quot;/&gt;&lt;/a&gt;
</content><link rel='replies' type='application/atom+xml' href='http://devexper.blogspot.com/feeds/2996325615115371484/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://devexper.blogspot.com/2015/05/implementing-thread-safe-singleton.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/2996325615115371484'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/2996325615115371484'/><link rel='alternate' type='text/html' href='http://devexper.blogspot.com/2015/05/implementing-thread-safe-singleton.html' title='Implementing Thread Safe Singleton Pattern in C# '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7TWy_BZD_oc_CkRppW4mfBJqxUc9XcmA-BmMdkAEJYJA3SS3kQgV1DIX8KDqTVNwhHvsIEzvWuT66M7tuAl6kP4ejVJJdI6hVlwv34fk3VPgZ7188C6SUEXCf1cMW0e8G5MhuW-Q6ll5N/s72-c/csharp.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791789665881363725.post-5062355568682172831</id><published>2015-04-28T07:29:00.001-07:00</published><updated>2018-02-05T01:45:55.178-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="oracle"/><title type='text'>System Time to varchar in Oracle</title><content type='html'>You can use the following code to get system time as varchar in Oracle

&lt;pre style=&quot;font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%&quot;&gt;&lt;code&gt;ls_current_timestamp     VARCHAR2 (14) := SUBSTR (TO_CHAR (SYSTIMESTAMP, &#39;HH24:MI:SSxFF&#39;), 1, 14);
&lt;/code&gt;&lt;/pre&gt;

&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2yqvtApqkEU5IZaiJiRF-X-G2BcSn7DYReO4TiM02Y28Cm4oPr7zWr1hjtzw8g0JjR3ZXZHOJrPouEOMI396V53nW0iHghtYRUnVIV1e1k1WLA3dZ6GI5VJUdUvxfRleOfZPWBrE8jr5U/s1600/pl-sql.png&quot; imageanchor=&quot;1&quot; &gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2yqvtApqkEU5IZaiJiRF-X-G2BcSn7DYReO4TiM02Y28Cm4oPr7zWr1hjtzw8g0JjR3ZXZHOJrPouEOMI396V53nW0iHghtYRUnVIV1e1k1WLA3dZ6GI5VJUdUvxfRleOfZPWBrE8jr5U/s320/pl-sql.png&quot; width=&quot;320&quot; height=&quot;320&quot; data-original-width=&quot;300&quot; data-original-height=&quot;300&quot; style=&quot;display:hidden&quot;/&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://devexper.blogspot.com/feeds/5062355568682172831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://devexper.blogspot.com/2015/04/system-time-to-varchar-in-oracle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/5062355568682172831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/5062355568682172831'/><link rel='alternate' type='text/html' href='http://devexper.blogspot.com/2015/04/system-time-to-varchar-in-oracle.html' title='System Time to varchar in Oracle'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2yqvtApqkEU5IZaiJiRF-X-G2BcSn7DYReO4TiM02Y28Cm4oPr7zWr1hjtzw8g0JjR3ZXZHOJrPouEOMI396V53nW0iHghtYRUnVIV1e1k1WLA3dZ6GI5VJUdUvxfRleOfZPWBrE8jr5U/s72-c/pl-sql.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791789665881363725.post-5193624642506863501</id><published>2015-04-02T08:20:00.001-07:00</published><updated>2018-02-05T01:58:50.927-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="asp.net"/><category scheme="http://www.blogger.com/atom/ns#" term="java script"/><category scheme="http://www.blogger.com/atom/ns#" term="js"/><title type='text'>Asp.net ajax Post example</title><content type='html'> To ajax post your backend method you can use the following snippet &lt;br /&gt;
 I assume that your page name is : ConfirmWaitingOperations.aspx&lt;br /&gt;
 Your backend method is : DeclineOperationWeb &lt;br /&gt;
 
 Code Behind : &lt;br /&gt;
 
  &lt;pre style=&quot;font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%&quot;&gt;&lt;code&gt;[System.Web.Services.WebMethod()]
        public static void DeclineOperationWeb(object ConfirmId , object Result)
        {
        ...
        }
&lt;/code&gt;&lt;/pre&gt;
 
 ASPX Part:&lt;br /&gt;
  
 &lt;pre style=&quot;font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%&quot;&gt;&lt;code&gt;//In your JS function you can use the following ajax post code
        $.ajax({
                type: &amp;quot;POST&amp;quot;,
                url: &amp;quot;ConfirmWaitingOperations.aspx/DeclineOperationWeb&amp;quot;,
                data: &amp;quot;{ConfirmId:&amp;quot; + id + &amp;quot;,Result:&#39;&amp;quot;+summary+&amp;quot;&#39;}&amp;quot;,
                contentType: &amp;quot;application/json; charset=utf-8&amp;quot;,
                dataType: &amp;quot;json&amp;quot;,
                success: function (msg) {
                   alert(&amp;quot;Your error here&amp;quot;)
                   location.reload(); //refresh page may be 
                },
                error: function(xhr, textStatus, error){
                    alert(&amp;quot;Your error here&amp;quot;)
                    
                }
            });
&lt;/code&gt;&lt;/pre&gt;

&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEpgpu8rNVPKvmUW8Zx-3t3V80BFtf-xeAsLdj_VNqAv8Ti1OD7aM8raF0mLY8wFth-s56z3zawUTUlGECVl1ba5b2fh7XkpAXJ7G1aaB59-z4sRlCtDBedqBeHIspw0mNWISDpAco8L0G/s1600/jslogo.png&quot; imageanchor=&quot;1&quot; &gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEpgpu8rNVPKvmUW8Zx-3t3V80BFtf-xeAsLdj_VNqAv8Ti1OD7aM8raF0mLY8wFth-s56z3zawUTUlGECVl1ba5b2fh7XkpAXJ7G1aaB59-z4sRlCtDBedqBeHIspw0mNWISDpAco8L0G/s320/jslogo.png&quot; width=&quot;320&quot; height=&quot;320&quot; data-original-width=&quot;200&quot; data-original-height=&quot;200&quot; style=&quot;display:hidden&quot;/&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://devexper.blogspot.com/feeds/5193624642506863501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://devexper.blogspot.com/2015/04/aspnet-ajax-post-example.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/5193624642506863501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/5193624642506863501'/><link rel='alternate' type='text/html' href='http://devexper.blogspot.com/2015/04/aspnet-ajax-post-example.html' title='Asp.net ajax Post example'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEpgpu8rNVPKvmUW8Zx-3t3V80BFtf-xeAsLdj_VNqAv8Ti1OD7aM8raF0mLY8wFth-s56z3zawUTUlGECVl1ba5b2fh7XkpAXJ7G1aaB59-z4sRlCtDBedqBeHIspw0mNWISDpAco8L0G/s72-c/jslogo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791789665881363725.post-131548952213888631</id><published>2015-04-02T08:17:00.000-07:00</published><updated>2018-02-05T01:56:03.429-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="sql"/><title type='text'>Alter column size Oracle</title><content type='html'>To Alter column size in Oracle you may use the following query. 
It helps if your size of input doesn&#39;t fit your column.




&lt;pre style=&quot;font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%&quot;&gt;&lt;code&gt;ALTER TABLE 
   MY_TABLE_NAME 
MODIFY 
   ( 
   MY_FIELD varchar2(250)
   );
&lt;/code&gt;&lt;/pre&gt;

&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2yqvtApqkEU5IZaiJiRF-X-G2BcSn7DYReO4TiM02Y28Cm4oPr7zWr1hjtzw8g0JjR3ZXZHOJrPouEOMI396V53nW0iHghtYRUnVIV1e1k1WLA3dZ6GI5VJUdUvxfRleOfZPWBrE8jr5U/s1600/pl-sql.png&quot; imageanchor=&quot;1&quot; &gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2yqvtApqkEU5IZaiJiRF-X-G2BcSn7DYReO4TiM02Y28Cm4oPr7zWr1hjtzw8g0JjR3ZXZHOJrPouEOMI396V53nW0iHghtYRUnVIV1e1k1WLA3dZ6GI5VJUdUvxfRleOfZPWBrE8jr5U/s320/pl-sql.png&quot; width=&quot;320&quot; height=&quot;320&quot; data-original-width=&quot;300&quot; data-original-height=&quot;300&quot; style=&quot;display:hidden&quot;/&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://devexper.blogspot.com/feeds/131548952213888631/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://devexper.blogspot.com/2015/04/alter-column-size-oracle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/131548952213888631'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/131548952213888631'/><link rel='alternate' type='text/html' href='http://devexper.blogspot.com/2015/04/alter-column-size-oracle.html' title='Alter column size Oracle'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2yqvtApqkEU5IZaiJiRF-X-G2BcSn7DYReO4TiM02Y28Cm4oPr7zWr1hjtzw8g0JjR3ZXZHOJrPouEOMI396V53nW0iHghtYRUnVIV1e1k1WLA3dZ6GI5VJUdUvxfRleOfZPWBrE8jr5U/s72-c/pl-sql.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791789665881363725.post-1260424263186364152</id><published>2015-03-20T06:55:00.003-07:00</published><updated>2018-02-05T01:56:27.293-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="oracle"/><title type='text'>How to find Oracle Package Errors with query </title><content type='html'>You can find oracle package errors by executing the query below.

&lt;pre style=&quot;font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%&quot;&gt;&lt;code&gt;select e.owner,e.type,e.line, e.position,e.text, substr(s.text,1,500) source 
from dba_errors e, dba_source s 
where e.name=upper(&#39;YOUR_PACKAGE_NAME_HERE&#39;) 
and s.name=e.name 
and e.line =s.line 
order by 1,2,e.SEQUENCE;
&lt;/code&gt;&lt;/pre&gt;

&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2yqvtApqkEU5IZaiJiRF-X-G2BcSn7DYReO4TiM02Y28Cm4oPr7zWr1hjtzw8g0JjR3ZXZHOJrPouEOMI396V53nW0iHghtYRUnVIV1e1k1WLA3dZ6GI5VJUdUvxfRleOfZPWBrE8jr5U/s1600/pl-sql.png&quot; imageanchor=&quot;1&quot; &gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2yqvtApqkEU5IZaiJiRF-X-G2BcSn7DYReO4TiM02Y28Cm4oPr7zWr1hjtzw8g0JjR3ZXZHOJrPouEOMI396V53nW0iHghtYRUnVIV1e1k1WLA3dZ6GI5VJUdUvxfRleOfZPWBrE8jr5U/s320/pl-sql.png&quot; width=&quot;320&quot; height=&quot;320&quot; data-original-width=&quot;300&quot; data-original-height=&quot;300&quot; style=&quot;display:hidden&quot;/&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://devexper.blogspot.com/feeds/1260424263186364152/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://devexper.blogspot.com/2015/03/how-to-find-oracle-package-errors-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/1260424263186364152'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/1260424263186364152'/><link rel='alternate' type='text/html' href='http://devexper.blogspot.com/2015/03/how-to-find-oracle-package-errors-with.html' title='How to find Oracle Package Errors with query '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2yqvtApqkEU5IZaiJiRF-X-G2BcSn7DYReO4TiM02Y28Cm4oPr7zWr1hjtzw8g0JjR3ZXZHOJrPouEOMI396V53nW0iHghtYRUnVIV1e1k1WLA3dZ6GI5VJUdUvxfRleOfZPWBrE8jr5U/s72-c/pl-sql.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791789665881363725.post-1395349901399109790</id><published>2015-03-10T05:14:00.004-07:00</published><updated>2015-03-10T05:19:08.420-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp.net mvc"/><category scheme="http://www.blogger.com/atom/ns#" term="bootstrap"/><category scheme="http://www.blogger.com/atom/ns#" term="dropdownlistfor"/><category scheme="http://www.blogger.com/atom/ns#" term="mvc 5"/><title type='text'>Bootstrap Html.DropDownListFor in MVC 5 (razor)</title><content type='html'>It was not easy apply bootstrap to Asp.Net Mvc DropDownList.&lt;br /&gt;
I found &lt;a href=&quot;https://github.com/silviomoreto/bootstrap-select&quot; target=&quot;_blank&quot;&gt;this bootstrap-select&lt;/a&gt;&amp;nbsp;project on git hub which is a life saver. (Thank you guys :) )&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/AVvXsEg1Wr-jfo5jnT_lWHITmjVRS9_GzLsqDzN-FBQRgHyvW49gWACZ9LrqlhUU1KZiXo2xNWCYbWQXE2tmU8myXwkwcjztdVgb_8CyigCJ0eoGITwAh4oWHxq-a6Qr231JL_zbT9xS3HQPNoTX/s1600/Capture.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/AVvXsEg1Wr-jfo5jnT_lWHITmjVRS9_GzLsqDzN-FBQRgHyvW49gWACZ9LrqlhUU1KZiXo2xNWCYbWQXE2tmU8myXwkwcjztdVgb_8CyigCJ0eoGITwAh4oWHxq-a6Qr231JL_zbT9xS3HQPNoTX/s1600/Capture.PNG&quot; height=&quot;135&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;

Implementation 

&lt;br /&gt;
Add Js and Css codes from CDN&lt;br /&gt;
&lt;pre  style=&quot;font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:99%;height:auto;overflow:auto;background:#f0f0f0;;background-image:URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzCH1w4-HVDQu_H-3U4OasgTnV60wnpq0EOC1YyvuEy93U-QcYD5tiJv6Xge3W92zKd4zNwSKpd7I40wDDvLHIIXIQH86Td0R2YuJB9g0KKcZfe7HP8ztUkXeGeRWbxFS4d6rUt9DjxIbb/s320/codebg.gif);padding:0px;color:#000000;text-align:left;line-height:20px;&quot;&gt;&lt;code style=&quot;color:#000000;word-wrap:normal;&quot;&gt; &amp;lt;script src=&quot;//cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.6.3/js/bootstrap-select.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;  
 &amp;lt;link href=&quot;//cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.6.3/css/bootstrap-select.min.css&quot; rel=&quot;stylesheet&quot; /&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;


JQuery Part
&lt;pre  style=&quot;font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:99%;height:auto;overflow:auto;background:#f0f0f0;;background-image:URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzCH1w4-HVDQu_H-3U4OasgTnV60wnpq0EOC1YyvuEy93U-QcYD5tiJv6Xge3W92zKd4zNwSKpd7I40wDDvLHIIXIQH86Td0R2YuJB9g0KKcZfe7HP8ztUkXeGeRWbxFS4d6rUt9DjxIbb/s320/codebg.gif);padding:0px;color:#000000;text-align:left;line-height:20px;&quot;&gt;&lt;code style=&quot;color:#000000;word-wrap:normal;&quot;&gt; &amp;lt;script type=&quot;text/javascript&quot;&amp;gt;  
   $(document).ready(function () {  
     console.log(&quot;ready!&quot;);  
     Implement_Dropdownlist();  
     $(&#39;.selectpicker&#39;).selectpicker({  
       style: &#39;btn-info&#39;,  
       size: 4  
     });  
   });  
   &amp;lt;/script&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;

Razor Part 

&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzCH1w4-HVDQu_H-3U4OasgTnV60wnpq0EOC1YyvuEy93U-QcYD5tiJv6Xge3W92zKd4zNwSKpd7I40wDDvLHIIXIQH86Td0R2YuJB9g0KKcZfe7HP8ztUkXeGeRWbxFS4d6rUt9DjxIbb/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;  @Html.DropDownListFor(m =&amp;gt;; m.Country, new SelectList(Model.myList), new { @class = &quot;selectpicker&quot; })  
&lt;/code&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://devexper.blogspot.com/feeds/1395349901399109790/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://devexper.blogspot.com/2015/03/bootstrap-htmldropdownlistfor-in-mvc-5.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/1395349901399109790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/1395349901399109790'/><link rel='alternate' type='text/html' href='http://devexper.blogspot.com/2015/03/bootstrap-htmldropdownlistfor-in-mvc-5.html' title='Bootstrap Html.DropDownListFor in MVC 5 (razor)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1Wr-jfo5jnT_lWHITmjVRS9_GzLsqDzN-FBQRgHyvW49gWACZ9LrqlhUU1KZiXo2xNWCYbWQXE2tmU8myXwkwcjztdVgb_8CyigCJ0eoGITwAh4oWHxq-a6Qr231JL_zbT9xS3HQPNoTX/s72-c/Capture.PNG" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791789665881363725.post-6806320867918112975</id><published>2015-02-26T01:12:00.000-08:00</published><updated>2015-02-26T01:12:07.331-08:00</updated><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="object"/><category scheme="http://www.blogger.com/atom/ns#" term="xml"/><title type='text'>XML to Object and Object To Xml in C#</title><content type='html'>&lt;br /&gt;
&lt;br /&gt;
By using DeserializeObject method you can generate an object,&lt;br /&gt;
and by using SerializeObject method you can generate an xml string of that object.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzCH1w4-HVDQu_H-3U4OasgTnV60wnpq0EOC1YyvuEy93U-QcYD5tiJv6Xge3W92zKd4zNwSKpd7I40wDDvLHIIXIQH86Td0R2YuJB9g0KKcZfe7HP8ztUkXeGeRWbxFS4d6rUt9DjxIbb/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;  public object DeserializeObject(string toDeserialize, Type k)  
     {  
       XmlSerializer xmlSerializer = new XmlSerializer(k);  
       StringReader textReader = new StringReader(toDeserialize);  
       return xmlSerializer.Deserialize(textReader);  
     }  
     public string SerializeObject(object toSerialize, Type k)  
     {  
       XmlSerializer xmlSerializer = new XmlSerializer(k);  
       using (StringWriter textWriter = new StringWriter())  
       {  
         xmlSerializer.Serialize(textWriter, toSerialize);  
         return textWriter.ToString();  
       }  
     }  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
How to Call Serialize and&amp;nbsp;Deserialize&amp;nbsp;methods example:

&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzCH1w4-HVDQu_H-3U4OasgTnV60wnpq0EOC1YyvuEy93U-QcYD5tiJv6Xge3W92zKd4zNwSKpd7I40wDDvLHIIXIQH86Td0R2YuJB9g0KKcZfe7HP8ztUkXeGeRWbxFS4d6rUt9DjxIbb/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;  if (Input.OperationType == XmlOperationType.SerializeObject)  
     {  
         Output.XmlResult = SerializeObject(Input.ObjectForXmlOperation, typeof(MyItem));  
     }  
   else if (Input.OperationType == XmlOperationType.DeserializeObject)  
     {  
         Output.ObjectResult = DeserializeObject(Input.ObjectXml, typeof(MyItem));  
      }  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
To Serialize and Deserialize an object don&#39;t forget following attributes&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzCH1w4-HVDQu_H-3U4OasgTnV60wnpq0EOC1YyvuEy93U-QcYD5tiJv6Xge3W92zKd4zNwSKpd7I40wDDvLHIIXIQH86Td0R2YuJB9g0KKcZfe7HP8ztUkXeGeRWbxFS4d6rUt9DjxIbb/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;     [Serializable]  
     [DataContract]  
     [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]  
     [System.Xml.Serialization.XmlRootAttribute(Namespace = &quot;&quot;, IsNullable = false)]  
     public class MyItem {..}  
&lt;/code&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://devexper.blogspot.com/feeds/6806320867918112975/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://devexper.blogspot.com/2015/02/xml-to-object-and-object-to-xml-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/6806320867918112975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/6806320867918112975'/><link rel='alternate' type='text/html' href='http://devexper.blogspot.com/2015/02/xml-to-object-and-object-to-xml-in-c.html' title='XML to Object and Object To Xml in C#'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791789665881363725.post-1468959700977940530</id><published>2015-02-26T00:50:00.001-08:00</published><updated>2015-02-26T00:50:46.960-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".net"/><category scheme="http://www.blogger.com/atom/ns#" term=".net framework 4.5"/><category scheme="http://www.blogger.com/atom/ns#" term="asp.net"/><category scheme="http://www.blogger.com/atom/ns#" term="asp.net mvc"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="reflection"/><title type='text'>Assign value of property using by property name in C#</title><content type='html'>C# you can assign &lt;b&gt;property value by using its name&lt;/b&gt; example :&lt;br /&gt;
&lt;br /&gt;
Don&#39;t for get to add&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;using System.Reflection&lt;/b&gt;;&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzCH1w4-HVDQu_H-3U4OasgTnV60wnpq0EOC1YyvuEy93U-QcYD5tiJv6Xge3W92zKd4zNwSKpd7I40wDDvLHIIXIQH86Td0R2YuJB9g0KKcZfe7HP8ztUkXeGeRWbxFS4d6rUt9DjxIbb/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; xItem.xInformation.xval.GetType().GetProperty(&quot;MyPropertyName&quot;).SetValue(xItem.xInformation.xval, valueYouWishToAssign,null);  
&lt;/code&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://devexper.blogspot.com/feeds/1468959700977940530/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://devexper.blogspot.com/2015/02/assign-value-of-property-using-by.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/1468959700977940530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/1468959700977940530'/><link rel='alternate' type='text/html' href='http://devexper.blogspot.com/2015/02/assign-value-of-property-using-by.html' title='Assign value of property using by property name in C#'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791789665881363725.post-5149733414265378027</id><published>2014-10-30T14:44:00.000-07:00</published><updated>2015-02-26T00:56:58.560-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp.net"/><category scheme="http://www.blogger.com/atom/ns#" term="events"/><category scheme="http://www.blogger.com/atom/ns#" term="java script"/><category scheme="http://www.blogger.com/atom/ns#" term="web programming"/><title type='text'>Asp.net RadioButton with JS Confirmation</title><content type='html'>Here is the way of &lt;u&gt;Asp.net&lt;/u&gt; &lt;u&gt;radiobutton&lt;/u&gt; with &lt;u&gt;confirmation&lt;/u&gt;.&lt;br /&gt;
&lt;br /&gt;
1. In code behind find radio buttons and add &lt;u&gt;onclick&lt;/u&gt; event.&lt;br /&gt;
2. Write a &lt;u&gt;JS&lt;/u&gt; function that can postback with option.&lt;br /&gt;
3. Catch &lt;u&gt;postback&lt;/u&gt; parameter in Page load&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;(&lt;span style=&quot;font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, fixed, monospace; font-size: 12px; line-height: 14px;&quot;&gt;string parameter = Request[&quot;__EVENTARGUMENT&quot;]; )&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
4. In &lt;u&gt;RadioButtonSelectedIndexChanged&lt;/u&gt; event do what you need to do in confirm and not confirm.&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, fixed, monospace; font-size: 12px; line-height: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
PS: I know that is doesn&#39;t explain well the process but when you implement the code you will get it. &lt;br /&gt;
&lt;br /&gt;
Code behind&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;code&gt; protected void Page_Load(object sender, EventArgs e)
        {
            string parameter = Request[&quot;__EVENTARGUMENT&quot;];

            if(parameter!=null)
            if (parameter.Equals(&quot;Itrue&quot;) || parameter.Equals(&quot;Ifalse&quot;))
            {
                confirm = parameter;

            }
            
            ListItem l1 = InterestTypeList.Items.FindByValue(&quot;stb&quot;);
            ListItem l2 = InterestTypeList.Items.FindByValue(&quot;spt&quot;);
            l1.Attributes.Add(&quot;onclick&quot;, &quot;javascript:return validate_delete(&#39;&quot; + l1.Value + &quot;&#39;,&#39;&quot; + InterestTypeList.ClientID + &quot;&#39;)&quot;);
            l2.Attributes.Add(&quot;onclick&quot;, &quot;javascript:return validate_delete(&#39;&quot; + l2.Value + &quot;&#39;,&#39;&quot; + InterestTypeList.ClientID + &quot;&#39;)&quot;);
            
        }
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;code&gt;  protected void InterestCMRadioButtonListOnSelectedIndexChanged(object sender, EventArgs e)
        {
            if (confirm.Equals(&quot;Ifalse&quot;))
            {
                // if not confirm

                return;
            }

            //    if confirm
            
        }
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
JS function to post back with options&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;code&gt;  function validate_delete(InputValue, InputItem)
        {
                var item = document.getElementById(InputItem);
           
                var r = confirm(&quot;Confirm ?&quot;);
                if (r == true)
                {
                    setTimeout(&#39;__doPostBack(\&#39;&#39; + item.id + &#39;\&#39;,\&#39;&#39; + &quot;Itrue&quot; + &#39;\&#39;)&#39;, 0);
                    return true;
                }
                else {
                    setTimeout(&#39;__doPostBack(\&#39;&#39; + item.id + &#39;\&#39;,\&#39;&#39; + &quot;Ifalse&quot; + &#39;\&#39;)&#39;, 0);
                    return true;
                }


        }
&lt;/code&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://devexper.blogspot.com/feeds/5149733414265378027/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://devexper.blogspot.com/2014/10/aspnet-radiobutton-with-js-confirmation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/5149733414265378027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/5149733414265378027'/><link rel='alternate' type='text/html' href='http://devexper.blogspot.com/2014/10/aspnet-radiobutton-with-js-confirmation.html' title='Asp.net RadioButton with JS Confirmation'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791789665881363725.post-8891744638963976548</id><published>2014-10-28T23:42:00.001-07:00</published><updated>2014-10-28T23:42:02.408-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="IOS"/><category scheme="http://www.blogger.com/atom/ns#" term="Objective C"/><category scheme="http://www.blogger.com/atom/ns#" term="UIImageView"/><title type='text'></title><content type='html'>Add click function for UIImageView&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;code&gt;  UITapGestureRecognizer *singleTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapDetected)];
  singleTap.numberOfTapsRequired = 1;
  [_settingImg setUserInteractionEnabled:YES];
  [_settingImg addGestureRecognizer:singleTap];
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;code&gt;-(void)tapDetected{
    NSLog(@&quot;single Tap on imageview&quot;);
    
    [self performSegueWithIdentifier:@&quot;rankSegue&quot; sender:self];
}

&lt;/code&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://devexper.blogspot.com/feeds/8891744638963976548/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://devexper.blogspot.com/2014/10/add-click-function-for-uiimageview.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/8891744638963976548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/8891744638963976548'/><link rel='alternate' type='text/html' href='http://devexper.blogspot.com/2014/10/add-click-function-for-uiimageview.html' title=''/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791789665881363725.post-5705090152053662042</id><published>2014-09-23T12:40:00.000-07:00</published><updated>2014-09-23T12:40:04.914-07:00</updated><title type='text'>SQL JOINS explanation </title><content type='html'>Today I found a great post which explains &lt;b&gt;&lt;u&gt;SQL Joins&lt;/u&gt;&lt;/b&gt;.
If you are having trouble with &lt;b&gt;&lt;u&gt;SQL &lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;JOINS&lt;/u&gt; &lt;/b&gt;you will need this &lt;b&gt;&lt;u&gt;SQL JOIN&lt;/u&gt;&lt;/b&gt; explanation. 

&lt;a href=&quot;http://www.codeproject.com/Articles/33052/Visual-Representation-of-SQL-Joins&quot;&gt;&lt;/a&gt;

&lt;br /&gt;
&lt;br /&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/AVvXsEiN2wXs8dB-lKxJEROBxsF4XHVaMGn766P2stlB5VtfXls9jaw0WZ_kVoCb0lwoboteOoFZFRRSGc8rvnLKnQoZUE_FNIYsCtm5A2pg-yi82SHVPkBwmHk3axAbJt5kx93-7oPrdlwERrId/s1600/N1IGZ.jpg&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/AVvXsEiN2wXs8dB-lKxJEROBxsF4XHVaMGn766P2stlB5VtfXls9jaw0WZ_kVoCb0lwoboteOoFZFRRSGc8rvnLKnQoZUE_FNIYsCtm5A2pg-yi82SHVPkBwmHk3axAbJt5kx93-7oPrdlwERrId/s320/N1IGZ.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://devexper.blogspot.com/feeds/5705090152053662042/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://devexper.blogspot.com/2014/09/sql-joins-explanation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/5705090152053662042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/5705090152053662042'/><link rel='alternate' type='text/html' href='http://devexper.blogspot.com/2014/09/sql-joins-explanation.html' title='SQL JOINS explanation '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN2wXs8dB-lKxJEROBxsF4XHVaMGn766P2stlB5VtfXls9jaw0WZ_kVoCb0lwoboteOoFZFRRSGc8rvnLKnQoZUE_FNIYsCtm5A2pg-yi82SHVPkBwmHk3axAbJt5kx93-7oPrdlwERrId/s72-c/N1IGZ.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791789665881363725.post-1069843770196197530</id><published>2014-09-17T05:24:00.000-07:00</published><updated>2014-09-17T05:24:27.536-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp.net"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><title type='text'>Eval and String split usage</title><content type='html'>Today I was having trouble to &lt;b&gt;split data item &lt;/b&gt;in &lt;b&gt;grid &lt;/b&gt;like &lt;a href=&quot;http://stackoverflow.com/questions/5270478/how-to-split-comma-seperate-dataitem-field-in-gridview-eval/25890014#25890014&quot; target=&quot;_blank&quot;&gt;this &lt;/a&gt;post.&lt;br /&gt;
&lt;br /&gt;
Problem is &lt;b&gt;Split Method&lt;/b&gt; wants an argument which is &lt;b&gt;char &lt;/b&gt;and the syntax of asp.net doesn&#39;t allow you to use together&amp;nbsp;&lt;b&gt;double quotation mark&lt;/b&gt; &quot;&quot; and &lt;b&gt;single&lt;/b&gt; one which is this &#39; &#39;.&lt;br /&gt;
&lt;br /&gt;
Eval(&quot;Total Cost&quot;).ToString().Split(Convert.ToChar(&#39;.&#39;))[0] &amp;nbsp;// gives you an error but&lt;br /&gt;
&lt;br /&gt;
Eval(&quot;Total Cost&quot;).ToString().Split(Convert.ToChar(&quot;.&quot;))[0] // works well&lt;br /&gt;
&lt;br /&gt;
good luck...</content><link rel='replies' type='application/atom+xml' href='http://devexper.blogspot.com/feeds/1069843770196197530/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://devexper.blogspot.com/2014/09/eval-and-string-split-usage.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/1069843770196197530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/1069843770196197530'/><link rel='alternate' type='text/html' href='http://devexper.blogspot.com/2014/09/eval-and-string-split-usage.html' title='Eval and String split usage'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791789665881363725.post-2495824455912996763</id><published>2014-08-19T01:10:00.000-07:00</published><updated>2014-08-19T01:12:40.552-07:00</updated><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="web programming"/><title type='text'>Set Width for TemplateField</title><content type='html'>To set &lt;b&gt;width &lt;/b&gt;for &lt;b&gt;TemplateField &lt;/b&gt;in Asp.net you can use &lt;b&gt;HeaderStyle &lt;/b&gt;like code below. 

&lt;pre  style=&quot;font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:99%;height:auto;overflow:auto;background:#f0f0f0;;background-image:URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzCH1w4-HVDQu_H-3U4OasgTnV60wnpq0EOC1YyvuEy93U-QcYD5tiJv6Xge3W92zKd4zNwSKpd7I40wDDvLHIIXIQH86Td0R2YuJB9g0KKcZfe7HP8ztUkXeGeRWbxFS4d6rUt9DjxIbb/s320/codebg.gif);padding:0px;color:#000000;text-align:left;line-height:20px;&quot;&gt;&lt;code style=&quot;color:#000000;word-wrap:normal;&quot;&gt; &amp;lt;asp:TemplateField HeaderText=&quot;Select Operation&quot; ItemStyle-HorizontalAlign=&quot;Center&quot;&amp;gt;  
           &amp;lt;HeaderStyle Width=&quot;112&quot; /&amp;gt;  
           &amp;lt;ItemTemplate&amp;gt;  
           .....  
           &amp;lt;/ItemTemplate&amp;gt;  
           &amp;lt;ItemStyle Width=&quot;50px&quot; /&amp;gt;  
 &amp;lt;/asp:TemplateField&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://devexper.blogspot.com/feeds/2495824455912996763/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://devexper.blogspot.com/2014/08/set-width-for-templatefield.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/2495824455912996763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/2495824455912996763'/><link rel='alternate' type='text/html' href='http://devexper.blogspot.com/2014/08/set-width-for-templatefield.html' title='Set Width for TemplateField'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791789665881363725.post-6257619130521018763</id><published>2014-08-13T06:57:00.002-07:00</published><updated>2014-08-13T06:57:42.456-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp.net"/><category scheme="http://www.blogger.com/atom/ns#" term="events"/><category scheme="http://www.blogger.com/atom/ns#" term="java script"/><category scheme="http://www.blogger.com/atom/ns#" term="jquery"/><title type='text'>jQuery $(document).ready ,  UpdatePanels and Events </title><content type='html'>Today I faced with a problem &lt;b&gt;Update Panel&lt;/b&gt; and &lt;b&gt;JQuery &lt;/b&gt;&lt;b&gt;$(document).ready&lt;/b&gt; &lt;/br&gt;
When &lt;b&gt;post back&lt;/b&gt; happens all my client side &lt;b&gt;events &lt;/b&gt;were lost. 

To prevent this issue I used following solutions below. 


&lt;pre  style=&quot;font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:99%;height:auto;overflow:auto;background:#f0f0f0;;background-image:URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzCH1w4-HVDQu_H-3U4OasgTnV60wnpq0EOC1YyvuEy93U-QcYD5tiJv6Xge3W92zKd4zNwSKpd7I40wDDvLHIIXIQH86Td0R2YuJB9g0KKcZfe7HP8ztUkXeGeRWbxFS4d6rUt9DjxIbb/s320/codebg.gif);padding:0px;color:#000000;text-align:left;line-height:20px;&quot;&gt;&lt;code style=&quot;color:#000000;word-wrap:normal;&quot;&gt; var prm = Sys.WebForms.PageRequestManager.getInstance();  
 prm.add_endRequest(function() {  
   // re-bind your jQuery events here  
 $(document).ready(function() {  
   // bind your jQuery events here initially  
 });  
 });  
&lt;/code&gt;&lt;/pre&gt;


Here is the post which I used. 

http://stackoverflow.com/questions/256195/jquery-document-ready-and-updatepanels</content><link rel='replies' type='application/atom+xml' href='http://devexper.blogspot.com/feeds/6257619130521018763/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://devexper.blogspot.com/2014/08/jquery-documentready-updatepanels-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/6257619130521018763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/6257619130521018763'/><link rel='alternate' type='text/html' href='http://devexper.blogspot.com/2014/08/jquery-documentready-updatepanels-and.html' title='jQuery $(document).ready ,  UpdatePanels and Events '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791789665881363725.post-182751092528816721</id><published>2014-08-11T23:39:00.000-07:00</published><updated>2014-08-11T23:39:06.877-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="web programming"/><title type='text'>Get Session in Static WebMethod </title><content type='html'>Hi, 

One of my project I need to use a &lt;b&gt;Static WebMethod&lt;/b&gt; to set &lt;b&gt;session&lt;/b&gt;. 
But the compiler gives me an error like. &lt;/br&gt;&lt;/br&gt;

&lt;b&gt;An object reference is required for the non-static field, method, or property &#39;System.Web.UI.Page.Session.get&#39;&lt;/b&gt; &lt;/br&gt;&lt;/br&gt;


But if you still need to access &lt;b&gt;session&lt;/b&gt; you may also try to use the following. &lt;/br&gt;&lt;/br&gt;

&lt;b&gt;HttpContext.Current.Session[&quot;yourSessionVariable&quot;];&lt;/b&gt;&lt;/br&gt;&lt;/br&gt;

and the following above your WebMethod &lt;/br&gt;&lt;/br&gt;

&lt;b&gt;[WebMethod(EnableSession = true)]&lt;/b&gt; &lt;/br&gt;&lt;/br&gt;

Here in below I just copy and paste my working code. &lt;/br&gt;&lt;/br&gt;


&lt;pre  style=&quot;font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:99%;height:auto;overflow:auto;background:#f0f0f0;;background-image:URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzCH1w4-HVDQu_H-3U4OasgTnV60wnpq0EOC1YyvuEy93U-QcYD5tiJv6Xge3W92zKd4zNwSKpd7I40wDDvLHIIXIQH86Td0R2YuJB9g0KKcZfe7HP8ztUkXeGeRWbxFS4d6rUt9DjxIbb/s320/codebg.gif);padding:0px;color:#000000;text-align:left;line-height:20px;&quot;&gt;&lt;code style=&quot;color:#000000;word-wrap:normal;&quot;&gt;  [WebMethod(EnableSession = true)]  
     public static void PutIntoCardsList(string cardName)  
     {  
       var cards = (List&amp;lt;Card&amp;gt;)HttpContext.Current.Session[&quot;sessionVals&quot;];  
       if (cards != null)  
       {  
         cards.Add(new Card {CardName = cardName});  
       }  
       else  
       {  
         cards = new List&amp;lt;Card&amp;gt; {new Card {CardName = cardName}};  
       }  
       HttpContext.Current.Session[&quot;sessionVals&quot;] = cards;  
     }  
&lt;/code&gt;&lt;/pre&gt;

Now you can access &lt;b&gt;session&lt;/b&gt; by using &lt;b&gt;Static WebMethod&lt;/b&gt;.. 

Good Luck !!..</content><link rel='replies' type='application/atom+xml' href='http://devexper.blogspot.com/feeds/182751092528816721/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://devexper.blogspot.com/2014/08/get-session-in-static-webmethod.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/182751092528816721'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/182751092528816721'/><link rel='alternate' type='text/html' href='http://devexper.blogspot.com/2014/08/get-session-in-static-webmethod.html' title='Get Session in Static WebMethod '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791789665881363725.post-8393711503013857087</id><published>2014-08-08T01:46:00.002-07:00</published><updated>2014-08-08T01:53:37.352-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="Turkish Character Problem"/><title type='text'>Eclipse Turkish Character Problem</title><content type='html'>&lt;span style=&quot;font-family: inherit;&quot;&gt;To solve&lt;b&gt;&amp;nbsp;&lt;u&gt;Eclipse Turkish Character Problem&lt;/u&gt;&lt;/b&gt;&amp;nbsp;you should change Text file encoding&amp;nbsp; to UTF-8.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;You can find this settings under&amp;nbsp;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot; font-size: 15px; line-height: 22.49100112915039px;&quot;&gt;Window&lt;/span&gt;&lt;span style=&quot; font-size: 15px; line-height: 22.49100112915039px;&quot;&gt;&amp;nbsp;-&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot; font-size: 15px; line-height: 22.49100112915039px;&quot;&gt;&lt;b&gt;Preferences&lt;/b&gt; select &lt;b&gt;General&lt;/b&gt; menu and then &lt;b&gt;Workspace &lt;/b&gt;and &lt;/span&gt;&lt;span style=&quot; font-size: 15px; line-height: 22.49100112915039px;&quot;&gt;change&lt;/span&gt;&lt;span style=&quot; color: #3b3b3b; font-size: 15px; line-height: 22.49100112915039px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;Text file encoding&lt;/b&gt; option to &lt;b&gt;UTF-8&lt;/b&gt;&lt;/span&gt;&lt;br /&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/AVvXsEiMsCxS_AsgG839P76y2umvoV579rkQZY8hhNsLMk-sNP7RBtYtFiFxSjSqAzm7x57CmwOhFSwkn1KdQbnSsA5hiYGfPLHYyt7nTxK8jbioeXt0wIFl9SgbvdPZ9ccmE_DGjAMDkIFCP1-4/s1600/eclipse.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMsCxS_AsgG839P76y2umvoV579rkQZY8hhNsLMk-sNP7RBtYtFiFxSjSqAzm7x57CmwOhFSwkn1KdQbnSsA5hiYGfPLHYyt7nTxK8jbioeXt0wIFl9SgbvdPZ9ccmE_DGjAMDkIFCP1-4/s1600/eclipse.png&quot; height=&quot;336&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Good Luck !!!</content><link rel='replies' type='application/atom+xml' href='http://devexper.blogspot.com/feeds/8393711503013857087/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://devexper.blogspot.com/2014/08/eclipse-turkish-character-problem.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/8393711503013857087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/8393711503013857087'/><link rel='alternate' type='text/html' href='http://devexper.blogspot.com/2014/08/eclipse-turkish-character-problem.html' title='Eclipse Turkish Character Problem'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMsCxS_AsgG839P76y2umvoV579rkQZY8hhNsLMk-sNP7RBtYtFiFxSjSqAzm7x57CmwOhFSwkn1KdQbnSsA5hiYGfPLHYyt7nTxK8jbioeXt0wIFl9SgbvdPZ9ccmE_DGjAMDkIFCP1-4/s72-c/eclipse.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791789665881363725.post-6309624782709748337</id><published>2014-07-31T01:03:00.000-07:00</published><updated>2014-08-08T01:47:11.010-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MsSql Server"/><category scheme="http://www.blogger.com/atom/ns#" term="sql"/><title type='text'>IF Sum is null convert it to 0 (zero)</title><content type='html'>&lt;br /&gt;
Oracle you may use the query below to convert &lt;b&gt;SUM &lt;/b&gt;of &lt;b&gt;totalPrice &lt;/b&gt;to zero when &lt;b&gt;SUM &lt;/b&gt;result is null by using &lt;b&gt;COALESCE&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;select &amp;nbsp;&lt;b&gt;COALESCE&lt;/b&gt;(&lt;b&gt;SUM&lt;/b&gt;(totalPrice),0) &quot;Total&quot; &amp;nbsp;from productPriceTable&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://devexper.blogspot.com/feeds/6309624782709748337/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://devexper.blogspot.com/2014/07/if-sum-is-null-convert-it-to-0-zero.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/6309624782709748337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/6309624782709748337'/><link rel='alternate' type='text/html' href='http://devexper.blogspot.com/2014/07/if-sum-is-null-convert-it-to-0-zero.html' title='IF Sum is null convert it to 0 (zero)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791789665881363725.post-6702228218271383319</id><published>2014-07-29T06:03:00.003-07:00</published><updated>2014-08-08T01:48:24.680-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bitbucket"/><category scheme="http://www.blogger.com/atom/ns#" term="git"/><category scheme="http://www.blogger.com/atom/ns#" term="source control"/><category scheme="http://www.blogger.com/atom/ns#" term="xcode"/><title type='text'>Add existing project to GIT ( XCode 5)</title><content type='html'>&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
It was quite complicated for me to add existing project to GIT source control. I found this solution on&amp;nbsp;stackoverflow.com . After following this steps I successfully commit my exiting project to bitbucket. &amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ol class=&quot;ol1&quot;&gt;
&lt;li class=&quot;li1&quot;&gt;Quit Xcode (not sure if this is necessary but I do it just in case)&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;Run Terminal&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;Get into the project folder directory&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;find .&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;Find the file that says &quot;UserInterfaceState.xcuserstate&quot; and copy the entire filename up to the ./&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;echo &quot;paste the UserInterfaceState.xcuserstate file here&quot; &amp;gt;.gitignore&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;cat .gitignore&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;git init&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;git add .&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;git commit -m &quot;You can type a comment here like now under source control&quot;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;div class=&quot;p2&quot;&gt;
You now have a repository and your project is under source control&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
Good Luck !&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://devexper.blogspot.com/feeds/6702228218271383319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://devexper.blogspot.com/2014/07/add-existing-project-to-git-xcode-5.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/6702228218271383319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/6702228218271383319'/><link rel='alternate' type='text/html' href='http://devexper.blogspot.com/2014/07/add-existing-project-to-git-xcode-5.html' title='Add existing project to GIT ( XCode 5)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791789665881363725.post-9078758820742859158</id><published>2014-07-29T06:00:00.001-07:00</published><updated>2014-08-08T01:49:02.632-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apple"/><category scheme="http://www.blogger.com/atom/ns#" term="mac"/><category scheme="http://www.blogger.com/atom/ns#" term="mavericks"/><category scheme="http://www.blogger.com/atom/ns#" term="osx"/><title type='text'>Show Hidden Files Mac</title><content type='html'>&lt;div class=&quot;p1&quot;&gt;
Open your Terminal and paste the following commands.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
killall cfprefsd&lt;br /&gt;
defaults write com.apple.finder AppleShowAllFiles TRUE&lt;br /&gt;
killall Finder&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
For not to show hidden files apply the following commands below&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;p2&quot;&gt;
killall cfprefsd&lt;br /&gt;
defaults write com.apple.finder AppleShowAllFiles FALSE&lt;br /&gt;
killall Finder&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://devexper.blogspot.com/feeds/9078758820742859158/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://devexper.blogspot.com/2014/07/show-hidden-files-mac.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/9078758820742859158'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791789665881363725/posts/default/9078758820742859158'/><link rel='alternate' type='text/html' href='http://devexper.blogspot.com/2014/07/show-hidden-files-mac.html' title='Show Hidden Files Mac'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>