<?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-3520900025813460173</id><updated>2022-12-09T21:37:08.195-05:00</updated><category term="Atom"/><category term="Autocomplete"/><category term="Google Search Appliance"/><category term="JSON"/><category term="LINQ"/><category term="OData"/><category term="Technical Questions"/><category term="WCF DataServices"/><category term="jquery"/><title type='text'>Mudis Tech Blog</title><subtitle type='html'>Blogging technical solutions for business problems. &lt;br&gt;&#xa;One Stop for complete web design and development &lt;a href=&quot;http://www.craftitsolutions.com&quot;&gt; Craft IT Solutions Inc. &lt;/a&gt;</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://craftitsolutions.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3520900025813460173/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://craftitsolutions.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08151510071972569843</uri><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>12</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3520900025813460173.post-7467837798229558392</id><published>2016-09-09T11:04:00.005-04:00</published><updated>2016-09-09T12:07:47.352-04:00</updated><title type='text'>Sitecore 8 integration hooks with Solr 4.6 / ZK </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Lately we ran into Solr stability issues in production losing the nodes out of the 3 nodes cluster.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
We have a Solr 4.6 &amp;nbsp;Zookeeper 3.5.8 running on Linux Centos machines. There are about 15 sitecore cores/collections configured on Solr instances.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;3 nodes cluster setup&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;16GB of ram - JVM set at 4GB&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;Java 1.7&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;We noticed that&lt;b&gt; sitecore_analytics_index
core&lt;/b&gt; has a lot of records which is not a big deal for Solr. However, we are
using the standard out-of-the-box configuration. Is there anything we need to
config for Sitecore cores to perform better? What are the best practices for
Sitecore with Solr (if any)?&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;Also, Sitecore is running very
heavy queries (not sure which core is doing this) so it is eating a lot of JVM
resources. This causes our solr instance to go down.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;Some errors we are experiencing:&lt;/span&gt;&lt;span style=&quot;color: #1f497d;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;margin-bottom: 12.0pt; mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;symbol&amp;quot;; text-indent: -0.25in;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #1f497d; text-indent: -0.25in;&quot;&gt;ERROR&amp;nbsp;
SolrDispatchFilter&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
null:ClientAbortException: java.net.SocketException: Broken pipe&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;symbol&amp;quot;; text-indent: -0.25in;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #1f497d; text-indent: -0.25in;&quot;&gt;SolrCore&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;&amp;nbsp;
[sitecore_marketingdefinitions_web] PERFORMANCE WARNING: Overlapping
onDeckSearchers=2&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #1f497d;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;symbol&amp;quot;; text-indent: -0.25in;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #1f497d; text-indent: -0.25in;&quot;&gt;ERROR
java.lang.OutOfMemoryError: Requested array size exceeds VM limit&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #1f497d;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;symbol&amp;quot;; text-indent: -0.25in;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #1f497d; text-indent: -0.25in;&quot;&gt;ERROR&amp;nbsp; SolrCmdDistributor&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Error
opening new searcher. exceeded limit of maxWarmingSearchers=2,? try again
later.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-indent: -24px;&quot;&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Solutions applied:&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-indent: -24px;&quot;&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;I &amp;nbsp; &amp;nbsp;Increased the memory footprint on all the 3 Linux servers to 32 GB RAM and 16 GB JVM&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-indent: -24px;&quot;&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;text-align: justify; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&amp;nbsp; &amp;nbsp;1.&lt;span style=&quot;font-size: 7pt; font-stretch: normal; font-variant-numeric: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;Login on the Linux server as ‘root’&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;text-align: justify; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&amp;nbsp; &amp;nbsp;2.&lt;span style=&quot;font-size: 7pt; font-stretch: normal; font-variant-numeric: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;sudo service tomcat stop&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;text-align: justify; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&amp;nbsp; &amp;nbsp;3.&lt;span style=&quot;font-size: 7pt; font-stretch: normal; font-variant-numeric: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;sudo kill -9 pid (tomcat) – only if tomcat did
not stop gracefully&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;text-align: justify; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&amp;nbsp; &amp;nbsp;4.&lt;span style=&quot;font-size: 7pt; font-stretch: normal; font-variant-numeric: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;Navigate to /opt/tomcat/bin&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;text-align: justify; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&amp;nbsp; &amp;nbsp;5.&lt;span style=&quot;font-size: 7pt; font-stretch: normal; font-variant-numeric: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;Create a new setenv.sh file&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;text-align: justify; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&amp;nbsp; &amp;nbsp;6.&lt;span style=&quot;font-size: 7pt; font-stretch: normal; font-variant-numeric: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;Edit the file and add &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #00b050; font-family: &amp;quot;consolas&amp;quot;;&quot;&gt;&amp;nbsp; export JAVA_OPTS=&quot;$JAVA_OPTS\&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #00b050; font-family: &amp;quot;consolas&amp;quot;;&quot;&gt;&amp;nbsp; -Xms12288m\&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #00b050; font-family: &amp;quot;consolas&amp;quot;;&quot;&gt;&amp;nbsp; -Xmx12288m\&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #00b050; font-family: &amp;quot;consolas&amp;quot;;&quot;&gt;&amp;nbsp; -XX:+HeapDumpOnOutOfMemoryError\&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #00b050; font-family: &amp;quot;consolas&amp;quot;;&quot;&gt;&amp;nbsp; -XX:HeapDumpPath=/var/log/\&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #00b050; font-family: &amp;quot;consolas&amp;quot;;&quot;&gt;&amp;nbsp; -XX:MaxPermSize=1024m\&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #00b050; font-family: &amp;quot;consolas&amp;quot;;&quot;&gt;&amp;nbsp; -XX:MaxNewSize=2048m\&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #00b050; font-family: &amp;quot;consolas&amp;quot;;&quot;&gt;&amp;nbsp; -XX:NewSize=2048m&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;text-align: justify; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&amp;nbsp; &amp;nbsp;7.&lt;span style=&quot;font-size: 7pt; font-stretch: normal; font-variant-numeric: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;Save the file&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;text-align: justify; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&amp;nbsp; &amp;nbsp;8.&lt;span style=&quot;font-size: 7pt; font-stretch: normal; font-variant-numeric: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;sudo service tomcat start&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;text-align: justify; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&amp;nbsp; &amp;nbsp;9.&lt;span style=&quot;font-size: 7pt; font-stretch: normal; font-variant-numeric: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;Navigate to solr1.environment.pmi.org:8080/solr &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;text-align: justify; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #00b050; mso-bidi-font-family: Calibri; mso-fareast-font-family: Calibri;&quot;&gt;&amp;nbsp; &amp;nbsp;10.&lt;span style=&quot;font-size: 7pt; font-stretch: normal; font-variant-numeric: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Ensure the Physical Memory and JVM-Memory has
changed&lt;span style=&quot;color: #00b050;&quot;&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;text-align: justify; text-indent: -0.25in;&quot;&gt;
&lt;span style=&quot;color: #00b050;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;text-align: justify; text-indent: -0.25in;&quot;&gt;
&lt;span style=&quot;color: #00b050;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt; &amp;nbsp; The Solr was restored and was stable for a few days but the errors started creeping up and we saw the same behavior.&lt;/span&gt;&lt;span style=&quot;color: #00b050;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify; text-indent: -24px;&quot;&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-indent: -24px;&quot;&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;&amp;nbsp; &amp;nbsp; We captured the catalina logs from tomcat/logs folder and did indepth analysis.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-indent: -24px;&quot;&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;&amp;nbsp; &amp;nbsp; We found that all the 5 Sitecore web instances were configured to logs the analytics index Therefore Solr was getting bombarded with the exceptions and the sitecore_analytics_index was growing enormously. (1GB every week ).&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-indent: -24px;&quot;&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-indent: -24px;&quot;&gt;
&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;color: #1f497d; font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11.0pt;&quot;&gt;&amp;nbsp; &amp;nbsp;Some of the most common
issues we notice in production logs:&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;color: #1f497d; font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;color: #1f497d; font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11.0pt;&quot;&gt;&amp;nbsp; &amp;nbsp; 1.&lt;/span&gt;&lt;span style=&quot;color: #1f497d; font-size: 7.0pt;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #1f497d; font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11.0pt;&quot;&gt;Why
is sitecore retrieving MAX rows available? This is very costly for solr.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;
454893853 [http-bio-8080-exec-4226]
INFO &amp;nbsp;org.apache.solr.core.SolrCore &amp;nbsp;â€“ [sitecore_web_index]
webapp=/solr path=/select params={q=(slug_s:(\/certifications\/types\/pmp)+AND+_latestversion:(True))&amp;amp;fq=_indexname:(sitecore_web_index)&amp;amp;version=2.2&amp;amp;rows=&lt;span style=&quot;color: #1155cc;&quot;&gt;&lt;a href=&quot;tel:2147483647&quot; target=&quot;_blank&quot;&gt;2147483647&lt;/a&gt;&lt;/span&gt;}
hits=0 status=0 QTime=0&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;
454877084 [http-bio-8080-exec-4197]
INFO &amp;nbsp;org.apache.solr.core.SolrCore &amp;nbsp;â€“ [sitecore_web_index]
webapp=/solr path=/select
params={q=(slug_s:[*+TO+*]+AND+_group:(25e875fea5fa4ff3821a1413d4ee3bc1))&amp;amp;fq=_indexname:(sitecore_web_index)&amp;amp;version=2.2&amp;amp;rows=&lt;span style=&quot;color: #1155cc;&quot;&gt;&lt;a href=&quot;tel:2147483647&quot; target=&quot;_blank&quot;&gt;2147483647&lt;/a&gt;&lt;/span&gt;}
hits=2 status=0 QTime=7&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;
454877096 [http-bio-8080-exec-4225]
INFO &amp;nbsp;org.apache.solr.core.SolrCore &amp;nbsp;â€“ [sitecore_web_index]
webapp=/solr path=/select
params={q=(slug_s:[*+TO+*]+AND+_group:(25e875fea5fa4ff3821a1413d4ee3bc1))&amp;amp;fq=_indexname:(sitecore_web_index)&amp;amp;version=2.2&amp;amp;rows=&lt;span style=&quot;color: #1155cc;&quot;&gt;&lt;a href=&quot;tel:2147483647&quot; target=&quot;_blank&quot;&gt;2147483647&lt;/a&gt;&lt;/span&gt;}
hits=2 status=0 QTime=0&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;color: #38761d; font-family: &amp;quot;arial&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11.0pt;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d; font-family: &amp;quot;arial&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11.0pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;The code base that generates
this query has been amended, it should now request only 1 row. Additionally it
will call more selectively to decue the number of calls. Fixe will be distributed
in next code delivery.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;color: #1f497d; font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11.0pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;2.&lt;/span&gt;&lt;span style=&quot;color: #1f497d; font-size: 7.0pt;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #1f497d; font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11.0pt;&quot;&gt;Why
is sitecore retrieving all fields and also doing sorting on date fields. This
is very costly for solr. (Eg: SELECT *.* )&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;
454877030 [http-bio-8080-exec-4220]
INFO &amp;nbsp;org.apache.solr.core.SolrCore &amp;nbsp;â€“ [sitecore_web_index]
webapp=/solr path=/select params={&lt;span style=&quot;color: red;&quot;&gt;facet=true&amp;amp;sort=publicationdate_tdt+desc&amp;amp;fl=*,score&amp;amp;start=0&amp;amp;q=*:*&lt;/span&gt;&amp;amp;f.contenttype_facet_s.facet.mincount=1&amp;amp;facet.field=contentsources_facet_sm&amp;amp;facet.field=topicsfacet_sm&amp;amp;facet.field=contenttype_facet_s&amp;amp;fq=((((((((_templates:(51fe426158da421da104f3cbc23e328d)+AND+-_templates:(216357ebc69e46ceb912707c2dba28a1))+AND+_path:(110d559fdea542ea9c1c8a5df7e70ef9))+AND+-excludefromsearch_b:(True))+AND+_latestversion:(True))+AND+_language:(en))+AND+publicationdate_year_tl:[-2147483648+TO+2012])+AND+publicationdate_year_tl:[2005+TO+2147483647])+AND+((topicsfacet_sm:(&quot;Portfolio+Management&quot;)+AND+topicsfacet_sm:(&quot;Scope+Management&quot;))+AND+topicsfacet_sm:(&quot;Program+Management&quot;)))&amp;amp;fq=_indexname:(sitecore_web_index)&amp;amp;version=2.2&amp;amp;f.topicsfacet_sm.facet.mincount=1&amp;amp;f.contentsources_facet_sm.facet.mincount=1&amp;amp;&lt;b&gt;rows=10&lt;/b&gt;}
hits=2 status=0 QTime=5&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;color: #38761d; font-family: &amp;quot;arial&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11.0pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d; font-family: &amp;quot;arial&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11.0pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;The default behaviour of
Sitecore is to get all the fields of the document. In the sample above we do
this type of call with rows=10, so it not expensive. The sorting is necessary
as this query feeds the KAS articles listing, still is cheaper to sort in Solr
than sor in memory in Sitecore. Alternatively a new core could be setup with
fewer fields.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;color: #1f497d; font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11.0pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;3.&lt;/span&gt;&lt;span style=&quot;color: #1f497d; font-size: 7.0pt;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #1f497d; font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11.0pt;&quot;&gt;Why
is sitecore doing hard commits directly on the index. Solr does not recommend
because there could be open searches that are not available.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;
54956494 [http-bio-8080-exec-4178]
INFO &amp;nbsp;org.apache.solr.update.processor.LogUpdateProcessor &amp;nbsp;â€“
[sitecore_analytics_index] webapp=/solr path=/update params={waitSearcher=true&amp;amp;&lt;span style=&quot;color: red;&quot;&gt;commit=true&lt;/span&gt;&amp;amp;wt=javabin&amp;amp;expungeDeletes=false&amp;amp;commit_end_point=true&amp;amp;version=2&amp;amp;softCommit=false}
{} 0 13566&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;
454956495 [http-bio-8080-exec-4178]
ERROR org.apache.solr.core.SolrCore &amp;nbsp;â€“
org.apache.solr.common.SolrException: Error opening new searcher. exceeded
limit of maxWarmingSearchers=2, try again later.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;color: #38761d; font-family: &amp;quot;arial&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11.0pt;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d; font-family: &amp;quot;arial&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11.0pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; This is managed by Sitecore
internally. We have added configuration fixes as currently the logs reveal that
all the 5 servers are committing to sitecore_analytics_index. After the fix
only CM server will doing this.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;color: #1f497d; font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11.0pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;4.&lt;/span&gt;&lt;span style=&quot;color: #1f497d; font-size: 7.0pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #1f497d; font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11.0pt;&quot;&gt;Solr
does not recommend to optimize the index instantly. Especially for cores like
sitecore_analytics_index.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;
455450829 [http-bio-8080-exec-4167]
INFO &amp;nbsp;org.apache.solr.update.processor.LogUpdateProcessor &amp;nbsp;â€“
[sitecore_analytics_index] webapp=/solr path=/update params={&lt;span style=&quot;color: red;&quot;&gt;optimize=true&lt;/span&gt;&amp;amp;waitSearcher=true&amp;amp;maxSegments=1&amp;amp;wt=javabin&amp;amp;expungeDeletes=false&amp;amp;commit_end_point=true&amp;amp;version=2}
{optimize=} 0 155892&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;color: #38761d; font-family: &amp;quot;arial&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11.0pt;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d; font-family: &amp;quot;arial&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11.0pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; This happens in 2 occasions:
one automatically only when a full rebuild is executed or by Sitecore scheduled
agent which currently it is triggered on sitecore_master_index&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d; font-family: &amp;quot;arial&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #38761d; font-family: &amp;quot;arial&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt;&quot;&gt;&amp;nbsp; &amp;nbsp; sitecore_analytics_index
&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt;&quot;&gt;Indexes
all the visitors interactions, and it is not populated by Sitecore content tree
data.&lt;/span&gt;&lt;span style=&quot;color: #1f497d; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt;&quot;&gt;We have added configuration fixes as currently the
logs reveal that all the 5 servers are committing to sitecore_analytics_index.
After the fix only CM server will doing this. It looks like a lot of empty were
produced in the index due to 4x deletions at the time&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-indent: -24px;&quot;&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-indent: -24px;&quot;&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;!--[if !supportLists]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://craftitsolutions.blogspot.com/feeds/7467837798229558392/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3520900025813460173&amp;postID=7467837798229558392' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3520900025813460173/posts/default/7467837798229558392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3520900025813460173/posts/default/7467837798229558392'/><link rel='alternate' type='text/html' href='http://craftitsolutions.blogspot.com/2016/09/sitecore-8-integration-hooks-with-solr.html' title='Sitecore 8 integration hooks with Solr 4.6 / ZK '/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08151510071972569843</uri><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-3520900025813460173.post-1415826267741449642</id><published>2016-03-17T16:44:00.000-04:00</published><updated>2016-03-17T16:44:14.092-04:00</updated><title type='text'>Updating Application Pool Settings using powershell on a server stack</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
This is a powershell script that allows you to execute remotely to update the Application Pool settings on a website. Here I am trying to update the .Net version to 4.0.&lt;br /&gt;
&lt;br /&gt;
$environment = (Read-Host &#39;Which environment is this? (localhost, erpint, erpqa, staging, candidate, production)&#39;).toLower()&lt;br /&gt;
# check if user enter incorrect environment&lt;br /&gt;
&lt;br /&gt;
for( $i = 1; $i -le 3; $i++ ){ &amp;nbsp;#loop thru each node&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$server = $null&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Write-Host $environment&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $server = $environment + &quot;wfe&quot; + $i + &quot;.pmienvs.pmihq.org&quot; &amp;nbsp; #construct the server fqdn to remote connect. This will different for you&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Write-Host &quot;Remote Executing on $server ...&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; invoke-command -computername $server {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Import-Module WebAdministration&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $iisAppPoolName = &quot;yourwebsite.org&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $iisAppPoolDotNetVersion = &quot;v4.0&quot;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #navigate to the app pools root&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cd IIS:\AppPools\&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #check if the app pool exists&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!(Test-Path $iisAppPoolName -pathType container))&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; #App pool does not exist&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;App Pool $iisAppPoolName does not exist. Skipping updates.&quot;&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; else&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; #update the app pool settings&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $appPool = Get-Item $iisAppPoolName&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $appPool | Set-ItemProperty -Name &quot;managedRuntimeVersion&quot; -Value $iisAppPoolDotNetVersion&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;App Pool $iisAppPoolName updated.&quot;&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; }&lt;br /&gt;
}&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://craftitsolutions.blogspot.com/feeds/1415826267741449642/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3520900025813460173&amp;postID=1415826267741449642' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3520900025813460173/posts/default/1415826267741449642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3520900025813460173/posts/default/1415826267741449642'/><link rel='alternate' type='text/html' href='http://craftitsolutions.blogspot.com/2016/03/updating-application-pool-settings.html' title='Updating Application Pool Settings using powershell on a server stack'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08151510071972569843</uri><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-3520900025813460173.post-4990708360445918651</id><published>2015-10-16T12:42:00.001-04:00</published><updated>2015-10-16T12:43:12.434-04:00</updated><title type='text'>Using Telerik Kendo UI ASP.Net MVC controls (EditorFor) </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Prerequisites:&lt;br /&gt;
&lt;br /&gt;
I am assuming that you have installed ASP.Net KendoUI dll (Kendo.Mvc.dll).&lt;br /&gt;
Added a reference in your project.&lt;br /&gt;
Also ensure that you have included all the javascript kendo js library and css library files in your Visual Studio Project.&lt;br /&gt;
&lt;br /&gt;
Add a view and put this in your razor view cshtml file.&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Note that the Model must have all the properties declared and must match the names used.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
@model Models.EmailModel&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;lt;script type=&quot;text/javascript&quot; src=&quot;@Url.Content(&quot;~/Scripts/kendo/jquery.min.js&quot;)&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;script type=&quot;text/javascript&quot; src=&quot;@Url.Content(&quot;~/Scripts/kendo/kendo.web.min.js&quot;)&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;script type=&quot;text/javascript&quot; src=&quot;@Url.Content(&quot;~/Scripts/kendo/kendo.aspnetmvc.min.js&quot;)&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; @using (Html.BeginForm(&quot;SendEmail&quot;, &quot;Email&quot;, FormMethod.Post))&lt;br /&gt;
&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;fieldset&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @Html.ValidationMessageFor(x =&amp;gt; x.HtmlContent, &quot;Email content cannot be empty.&quot;)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @(Html.Kendo().EditorFor(m =&amp;gt; m.HtmlContent)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .Encode(false)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .Name(&quot;HtmlContent&quot;)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .HtmlAttributes(new { style = &quot;height:440px&quot; })&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .Tools(tools =&amp;gt; tools&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .Clear()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .Bold().Italic().Underline().Strikethrough()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .JustifyLeft().JustifyCenter().JustifyRight().JustifyFull()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .InsertUnorderedList().InsertOrderedList()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .CreateLink().Unlink()&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; .Value(Model.HtmlContent)&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;lt;/fieldset&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;div &amp;nbsp;style=&quot;float:right&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @(Html.Kendo().Button().Name(&quot;sendButton&quot;).Content(&quot;Send Email&quot;))&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;div &amp;nbsp;style=&quot;float:right&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @(Html.Kendo().Button().Name(&quot;cancelButton&quot;).Content(&quot;Cancel&quot;).Events(ev =&amp;gt; ev.Click(&quot;onClickCancel&quot;)))&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;/div&amp;gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://craftitsolutions.blogspot.com/feeds/4990708360445918651/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3520900025813460173&amp;postID=4990708360445918651' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3520900025813460173/posts/default/4990708360445918651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3520900025813460173/posts/default/4990708360445918651'/><link rel='alternate' type='text/html' href='http://craftitsolutions.blogspot.com/2015/10/using-telerik-kendo-ui-aspnet-mvc.html' title='Using Telerik Kendo UI ASP.Net MVC controls (EditorFor) '/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08151510071972569843</uri><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-3520900025813460173.post-6909766140213792750</id><published>2015-06-20T15:36:00.004-04:00</published><updated>2015-06-20T15:36:23.034-04:00</updated><title type='text'>Typical Exhibitor.properties config </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;blockquote style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;&quot; type=&quot;cite&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;div&gt;
#Auto-generated by Exhibitor&lt;/div&gt;
&lt;div&gt;
#Fri Jun 19 18:40:19 EDT 2015&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor-rolling-&lt;wbr&gt;&lt;/wbr&gt;hostnames=&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor-rolling.&lt;wbr&gt;&lt;/wbr&gt;zookeeper-data-directory=/var/&lt;wbr&gt;&lt;/wbr&gt;lib/zookeeper/data&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor-rolling.&lt;wbr&gt;&lt;/wbr&gt;servers-spec=1\:192.168.174.&lt;wbr&gt;&lt;/wbr&gt;147&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor.java-&lt;wbr&gt;&lt;/wbr&gt;environment=&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor.&lt;wbr&gt;&lt;/wbr&gt;zookeeper-data-directory=/var/&lt;wbr&gt;&lt;/wbr&gt;lib/zookeeper/data&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor-rolling-&lt;wbr&gt;&lt;/wbr&gt;hostnames-index=0&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor-rolling.&lt;wbr&gt;&lt;/wbr&gt;java-environment=&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor-rolling.&lt;wbr&gt;&lt;/wbr&gt;observer-threshold=999&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor.servers-&lt;wbr&gt;&lt;/wbr&gt;spec=S\:10\:192.168.174.147,S\&lt;wbr&gt;&lt;/wbr&gt;:11\:192.168.174.187,S\:12\:&lt;wbr&gt;&lt;/wbr&gt;192.168.174.188&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor.cleanup-&lt;wbr&gt;&lt;/wbr&gt;period-ms=43200000&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor.auto-&lt;wbr&gt;&lt;/wbr&gt;manage-instances-fixed-&lt;wbr&gt;&lt;/wbr&gt;ensemble-size=3&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor.&lt;wbr&gt;&lt;/wbr&gt;zookeeper-install-directory=/&lt;wbr&gt;&lt;/wbr&gt;opt/zookeeper&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor.check-&lt;wbr&gt;&lt;/wbr&gt;ms=30000&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor.&lt;wbr&gt;&lt;/wbr&gt;zookeeper-log-directory=/var/&lt;wbr&gt;&lt;/wbr&gt;lib/zookeeper/logs&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor-rolling.&lt;wbr&gt;&lt;/wbr&gt;auto-manage-instances=0&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor-rolling.&lt;wbr&gt;&lt;/wbr&gt;cleanup-period-ms=43200000&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor-rolling.&lt;wbr&gt;&lt;/wbr&gt;auto-manage-instances-&lt;wbr&gt;&lt;/wbr&gt;settling-period-ms=180000&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor-rolling.&lt;wbr&gt;&lt;/wbr&gt;check-ms=30000&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor.log-&lt;wbr&gt;&lt;/wbr&gt;index-directory=&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor-rolling.&lt;wbr&gt;&lt;/wbr&gt;log-index-directory=&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor.backup-&lt;wbr&gt;&lt;/wbr&gt;period-ms=60000&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor-rolling.&lt;wbr&gt;&lt;/wbr&gt;connect-port=2888&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor-rolling.&lt;wbr&gt;&lt;/wbr&gt;election-port=3888&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor-rolling.&lt;wbr&gt;&lt;/wbr&gt;backup-extra=&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor.client-&lt;wbr&gt;&lt;/wbr&gt;port=2181&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor-rolling.&lt;wbr&gt;&lt;/wbr&gt;zoo-cfg-extra=syncLimit\=5&amp;amp;&lt;wbr&gt;&lt;/wbr&gt;tickTime\=2000&amp;amp;initLimit\=10&amp;amp;&lt;wbr&gt;&lt;/wbr&gt;autopurge.snapRetainCount\=3&amp;amp;&lt;wbr&gt;&lt;/wbr&gt;autopurge.purgeInterval\=1&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor-rolling.&lt;wbr&gt;&lt;/wbr&gt;zookeeper-install-directory=/&lt;wbr&gt;&lt;/wbr&gt;opt/zookeeper&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor.cleanup-&lt;wbr&gt;&lt;/wbr&gt;max-files=3&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor-rolling.&lt;wbr&gt;&lt;/wbr&gt;auto-manage-instances-fixed-&lt;wbr&gt;&lt;/wbr&gt;ensemble-size=3&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor-rolling.&lt;wbr&gt;&lt;/wbr&gt;backup-period-ms=60000&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor-rolling.&lt;wbr&gt;&lt;/wbr&gt;client-port=2181&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor.backup-&lt;wbr&gt;&lt;/wbr&gt;max-store-ms=86400000&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor-rolling.&lt;wbr&gt;&lt;/wbr&gt;cleanup-max-files=3&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor-rolling.&lt;wbr&gt;&lt;/wbr&gt;backup-max-store-ms=86400000&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor.connect-&lt;wbr&gt;&lt;/wbr&gt;port=2888&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor.backup-&lt;wbr&gt;&lt;/wbr&gt;extra=&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor.&lt;wbr&gt;&lt;/wbr&gt;observer-threshold=999&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor.log4j-&lt;wbr&gt;&lt;/wbr&gt;properties=\# Define some default values that can be overridden by system properties\nzookeeper.root.&lt;wbr&gt;&lt;/wbr&gt;logger\=INFO, FILE\nzookeeper.console.&lt;wbr&gt;&lt;/wbr&gt;threshold\=INFO, FILE\nzookeeper.log.dir\=.\&lt;wbr&gt;&lt;/wbr&gt;nzookeeper.log.file\=&lt;wbr&gt;&lt;/wbr&gt;zookeeper.log\nzookeeper.log.&lt;wbr&gt;&lt;/wbr&gt;threshold\=INFO,FATAL\&lt;wbr&gt;&lt;/wbr&gt;nzookeeper.tracelog.dir\=.\&lt;wbr&gt;&lt;/wbr&gt;nzookeeper.tracelog.file\=&lt;wbr&gt;&lt;/wbr&gt;zookeeper_trace.log\n\n\#\n\# ZooKeeper Logging Configuration\n\#\n\n\# Format is &quot;&amp;lt;default threshold&amp;gt; (, &amp;lt;appender&amp;gt;)+\n\n\# DEFAULT\: console appender only\n\# log4j.rootLogger\=${zookeeper.&lt;wbr&gt;&lt;/wbr&gt;root.logger}\n\n\# Example with rolling log file\nlog4j.rootLogger\=INFO, CONSOLE, ROLLINGFILE\n\n\# Example with rolling log file and tracing\n\#log4j.rootLogger\=&lt;wbr&gt;&lt;/wbr&gt;TRACE, CONSOLE, ROLLINGFILE, TRACEFILE\n\n\#\n\# Log INFO level and above messages to the console\n\#\nlog4j.appender.&lt;wbr&gt;&lt;/wbr&gt;CONSOLE\=org.apache.log4j.&lt;wbr&gt;&lt;/wbr&gt;ConsoleAppender\nlog4j.&lt;wbr&gt;&lt;/wbr&gt;appender.CONSOLE.Threshold\=${&lt;wbr&gt;&lt;/wbr&gt;zookeeper.console.threshold}\&lt;wbr&gt;&lt;/wbr&gt;nlog4j.appender.CONSOLE.&lt;wbr&gt;&lt;/wbr&gt;layout\=org.apache.log4j.&lt;wbr&gt;&lt;/wbr&gt;PatternLayout\nlog4j.appender.&lt;wbr&gt;&lt;/wbr&gt;CONSOLE.layout.&lt;wbr&gt;&lt;/wbr&gt;ConversionPattern\=%d{ISO8601} [myid\:%X{myid}] - %-5p [%t\:%C{1}@%L] - %m%n\n\n\#\n\# Add ROLLINGFILE to rootLogger to get log file output\n\# &amp;nbsp; &amp;nbsp;Log DEBUG level and above messages to a log file\nlog4j.appender.&lt;wbr&gt;&lt;/wbr&gt;ROLLINGFILE\=org.apache.log4j.&lt;wbr&gt;&lt;/wbr&gt;RollingFileAppender\nlog4j.&lt;wbr&gt;&lt;/wbr&gt;appender.ROLLINGFILE.&lt;wbr&gt;&lt;/wbr&gt;Threshold\=${zookeeper.log.&lt;wbr&gt;&lt;/wbr&gt;threshold}\nlog4j.appender.&lt;wbr&gt;&lt;/wbr&gt;ROLLINGFILE.File\=${zookeeper.&lt;wbr&gt;&lt;/wbr&gt;log.dir}/${zookeeper.log.file}&lt;wbr&gt;&lt;/wbr&gt;\n\n\# Max log file size of 10MB\nlog4j.appender.&lt;wbr&gt;&lt;/wbr&gt;ROLLINGFILE.MaxFileSize\=10MB\&lt;wbr&gt;&lt;/wbr&gt;n\# uncomment the next line to limit number of backup files\n\#log4j.appender.&lt;wbr&gt;&lt;/wbr&gt;ROLLINGFILE.MaxBackupIndex\=&lt;wbr&gt;&lt;/wbr&gt;10\n\nlog4j.appender.&lt;wbr&gt;&lt;/wbr&gt;ROLLINGFILE.layout\=org.&lt;wbr&gt;&lt;/wbr&gt;apache.log4j.PatternLayout\&lt;wbr&gt;&lt;/wbr&gt;nlog4j.appender.ROLLINGFILE.&lt;wbr&gt;&lt;/wbr&gt;layout.ConversionPattern\=%d{&lt;wbr&gt;&lt;/wbr&gt;ISO8601} [myid\:%X{myid}] - %-5p [%t\:%C{1}@%L] - %m%n\n\n\n\#\n\# Add TRACEFILE to rootLogger to get log file output\n\# &amp;nbsp; &amp;nbsp;Log DEBUG level and above messages to a log file\nlog4j.appender.&lt;wbr&gt;&lt;/wbr&gt;TRACEFILE\=org.apache.log4j.&lt;wbr&gt;&lt;/wbr&gt;FileAppender\nlog4j.appender.&lt;wbr&gt;&lt;/wbr&gt;TRACEFILE.Threshold\=TRACE\&lt;wbr&gt;&lt;/wbr&gt;nlog4j.appender.TRACEFILE.&lt;wbr&gt;&lt;/wbr&gt;File\=${zookeeper.tracelog.&lt;wbr&gt;&lt;/wbr&gt;dir}/${zookeeper.tracelog.&lt;wbr&gt;&lt;/wbr&gt;file}\n\nlog4j.appender.&lt;wbr&gt;&lt;/wbr&gt;TRACEFILE.layout\=org.apache.&lt;wbr&gt;&lt;/wbr&gt;log4j.PatternLayout\n\#\#\# Notice we are including log4j&#39;s NDC here (%x)\nlog4j.appender.&lt;wbr&gt;&lt;/wbr&gt;TRACEFILE.layout.&lt;wbr&gt;&lt;/wbr&gt;ConversionPattern\=%d{ISO8601} [myid\:%X{myid}] - %-5p [%t\:%C{1}@%L][%x] - %m%n\n&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor.auto-&lt;wbr&gt;&lt;/wbr&gt;manage-instances-apply-all-at-&lt;wbr&gt;&lt;/wbr&gt;once=1&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor.&lt;wbr&gt;&lt;/wbr&gt;election-port=3888&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor-rolling.&lt;wbr&gt;&lt;/wbr&gt;auto-manage-instances-apply-&lt;wbr&gt;&lt;/wbr&gt;all-at-once=1&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor.zoo-cfg-&lt;wbr&gt;&lt;/wbr&gt;extra=syncLimit\=5&amp;amp;tickTime\=&lt;wbr&gt;&lt;/wbr&gt;2000&amp;amp;initLimit\=10&amp;amp;autopurge.&lt;wbr&gt;&lt;/wbr&gt;snapRetainCount\=3&amp;amp;autopurge.&lt;wbr&gt;&lt;/wbr&gt;purgeInterval\=1&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor-rolling.&lt;wbr&gt;&lt;/wbr&gt;zookeeper-log-directory=/var/&lt;wbr&gt;&lt;/wbr&gt;lib/zookeeper/logs&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor.auto-&lt;wbr&gt;&lt;/wbr&gt;manage-instances-settling-&lt;wbr&gt;&lt;/wbr&gt;period-ms=180000&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor-rolling.&lt;wbr&gt;&lt;/wbr&gt;log4j-properties=\# Define some default values that can be overridden by system properties\nzookeeper.root.&lt;wbr&gt;&lt;/wbr&gt;logger\=INFO, FILE\nzookeeper.console.&lt;wbr&gt;&lt;/wbr&gt;threshold\=INFO, FILE\nzookeeper.log.dir\=.\&lt;wbr&gt;&lt;/wbr&gt;nzookeeper.log.file\=&lt;wbr&gt;&lt;/wbr&gt;zookeeper.log\nzookeeper.log.&lt;wbr&gt;&lt;/wbr&gt;threshold\=INFO,FATAL\&lt;wbr&gt;&lt;/wbr&gt;nzookeeper.tracelog.dir\=.\&lt;wbr&gt;&lt;/wbr&gt;nzookeeper.tracelog.file\=&lt;wbr&gt;&lt;/wbr&gt;zookeeper_trace.log\n\n\#\n\# ZooKeeper Logging Configuration\n\#\n\n\# Format is &quot;&amp;lt;default threshold&amp;gt; (, &amp;lt;appender&amp;gt;)+\n\n\# DEFAULT\: console appender only\n\# log4j.rootLogger\=${zookeeper.&lt;wbr&gt;&lt;/wbr&gt;root.logger}\n\n\# Example with rolling log file\nlog4j.rootLogger\=INFO, CONSOLE, ROLLINGFILE\n\n\# Example with rolling log file and tracing\n\#log4j.rootLogger\=&lt;wbr&gt;&lt;/wbr&gt;TRACE, CONSOLE, ROLLINGFILE, TRACEFILE\n\n\#\n\# Log INFO level and above messages to the console\n\#\nlog4j.appender.&lt;wbr&gt;&lt;/wbr&gt;CONSOLE\=org.apache.log4j.&lt;wbr&gt;&lt;/wbr&gt;ConsoleAppender\nlog4j.&lt;wbr&gt;&lt;/wbr&gt;appender.CONSOLE.Threshold\=${&lt;wbr&gt;&lt;/wbr&gt;zookeeper.console.threshold}\&lt;wbr&gt;&lt;/wbr&gt;nlog4j.appender.CONSOLE.&lt;wbr&gt;&lt;/wbr&gt;layout\=org.apache.log4j.&lt;wbr&gt;&lt;/wbr&gt;PatternLayout\nlog4j.appender.&lt;wbr&gt;&lt;/wbr&gt;CONSOLE.layout.&lt;wbr&gt;&lt;/wbr&gt;ConversionPattern\=%d{ISO8601} [myid\:%X{myid}] - %-5p [%t\:%C{1}@%L] - %m%n\n\n\#\n\# Add ROLLINGFILE to rootLogger to get log file output\n\# &amp;nbsp; &amp;nbsp;Log DEBUG level and above messages to a log file\nlog4j.appender.&lt;wbr&gt;&lt;/wbr&gt;ROLLINGFILE\=org.apache.log4j.&lt;wbr&gt;&lt;/wbr&gt;RollingFileAppender\nlog4j.&lt;wbr&gt;&lt;/wbr&gt;appender.ROLLINGFILE.&lt;wbr&gt;&lt;/wbr&gt;Threshold\=${zookeeper.log.&lt;wbr&gt;&lt;/wbr&gt;threshold}\nlog4j.appender.&lt;wbr&gt;&lt;/wbr&gt;ROLLINGFILE.File\=${zookeeper.&lt;wbr&gt;&lt;/wbr&gt;log.dir}/${zookeeper.log.file}&lt;wbr&gt;&lt;/wbr&gt;\n\n\# Max log file size of 10MB\nlog4j.appender.&lt;wbr&gt;&lt;/wbr&gt;ROLLINGFILE.MaxFileSize\=10MB\&lt;wbr&gt;&lt;/wbr&gt;n\# uncomment the next line to limit number of backup files\n\#log4j.appender.&lt;wbr&gt;&lt;/wbr&gt;ROLLINGFILE.MaxBackupIndex\=&lt;wbr&gt;&lt;/wbr&gt;10\n\nlog4j.appender.&lt;wbr&gt;&lt;/wbr&gt;ROLLINGFILE.layout\=org.&lt;wbr&gt;&lt;/wbr&gt;apache.log4j.PatternLayout\&lt;wbr&gt;&lt;/wbr&gt;nlog4j.appender.ROLLINGFILE.&lt;wbr&gt;&lt;/wbr&gt;layout.ConversionPattern\=%d{&lt;wbr&gt;&lt;/wbr&gt;ISO8601} [myid\:%X{myid}] - %-5p [%t\:%C{1}@%L] - %m%n\n\n\n\#\n\# Add TRACEFILE to rootLogger to get log file output\n\# &amp;nbsp; &amp;nbsp;Log DEBUG level and above messages to a log file\nlog4j.appender.&lt;wbr&gt;&lt;/wbr&gt;TRACEFILE\=org.apache.log4j.&lt;wbr&gt;&lt;/wbr&gt;FileAppender\nlog4j.appender.&lt;wbr&gt;&lt;/wbr&gt;TRACEFILE.Threshold\=TRACE\&lt;wbr&gt;&lt;/wbr&gt;nlog4j.appender.TRACEFILE.&lt;wbr&gt;&lt;/wbr&gt;File\=${zookeeper.tracelog.&lt;wbr&gt;&lt;/wbr&gt;dir}/${zookeeper.tracelog.&lt;wbr&gt;&lt;/wbr&gt;file}\n\nlog4j.appender.&lt;wbr&gt;&lt;/wbr&gt;TRACEFILE.layout\=org.apache.&lt;wbr&gt;&lt;/wbr&gt;log4j.PatternLayout\n\#\#\# Notice we are including log4j&#39;s NDC here (%x)\nlog4j.appender.&lt;wbr&gt;&lt;/wbr&gt;TRACEFILE.layout.&lt;wbr&gt;&lt;/wbr&gt;ConversionPattern\=%d{ISO8601} [myid\:%X{myid}] - %-5p [%t\:%C{1}@%L][%x] - %m%n\n&lt;/div&gt;
&lt;div&gt;
com.netflix.exhibitor.auto-&lt;wbr&gt;&lt;/wbr&gt;manage-instances=0&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://craftitsolutions.blogspot.com/feeds/6909766140213792750/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3520900025813460173&amp;postID=6909766140213792750' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3520900025813460173/posts/default/6909766140213792750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3520900025813460173/posts/default/6909766140213792750'/><link rel='alternate' type='text/html' href='http://craftitsolutions.blogspot.com/2015/06/typical-exhibitorproperties-config.html' title='Typical Exhibitor.properties config '/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08151510071972569843</uri><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-3520900025813460173.post-2164876464014870085</id><published>2015-05-14T13:38:00.001-04:00</published><updated>2015-05-14T13:38:23.038-04:00</updated><title type='text'>Building and installing Exhibitor WAR using Maven </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
-- Dependencies required for building Exhibitor&lt;br /&gt;
&lt;br /&gt;
-- Launch CentOS console via VMPlayer&lt;br /&gt;
-- login as root/Password1&lt;br /&gt;
$ yum install git&lt;br /&gt;
$ yum install maven&lt;br /&gt;
$ quit&lt;br /&gt;
&lt;br /&gt;
-- login as admin/Password&lt;br /&gt;
&lt;br /&gt;
$ sudo mkdir ~/temp&lt;br /&gt;
$ cd ~/temp&lt;br /&gt;
$ sudo git clone git://github.com/Netflix/exhibitor.git&lt;br /&gt;
$ cd exhibitor/exhibitor-standalone/src/main/resources/buildscripts/war/maven&lt;br /&gt;
$ sudo vi src/main/resources/exhibitor.properties&lt;br /&gt;
-- uncommented the two prop lines, port to 8080 and then save the file&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;exhibitor-configtype=file&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;exhibitor-port=8080&lt;br /&gt;
$ sudo vi pow.xml&lt;br /&gt;
-- &amp;nbsp;change the version to 1.5.5 and save the file&lt;br /&gt;
&lt;br /&gt;
$ sudo mvn clean compile war:war&lt;br /&gt;
&lt;br /&gt;
-- The exhibitor war file is built and ready to use.&lt;br /&gt;
-- Next Steps (if required)&lt;br /&gt;
&lt;br /&gt;
$ sudo cp exhibitor/exhibitor-standalone/src/main/resources/buildscripts/war/maven/target/exhibitor-war-1.0.war /opt/tomcat/webapps/ROOT.war&lt;br /&gt;
$ sudo /opt/tomcat/bin/startup.sh start&lt;br /&gt;
&lt;br /&gt;
Verify http://192.168.174.128:8080/exhibitor/v1/ui/index.html&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Note:&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;background-color: #f0f0f0; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 18.1818180084229px; padding: 0px;&quot;&gt;
Found the root cause of version not rendering on the Exhibitor landing page.Its says &quot;dev&quot; on the right hand side corner instead of the actual version.&lt;/div&gt;
&lt;div style=&quot;background-color: #f0f0f0; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 18.1818180084229px; padding: 0px;&quot;&gt;
If you use the 1.5.1 and 1.5.2 it works and displays the version. &amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: #f0f0f0; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 18.1818180084229px; margin-top: 10px; padding: 0px;&quot;&gt;
Based on the artifact version in pom.xml file maven downloads files from&amp;nbsp;&lt;a class=&quot;external-link&quot; href=&quot;http://repo.maven.apache.org/maven2/com/netflix/exhibitor/exhibitor-standalone/1.5.2/exhibitor-standalone-1.5.2.pom&quot; rel=&quot;nofollow&quot; style=&quot;color: #3b73af; text-decoration: none;&quot;&gt;http://repo.maven.apache.org/maven2/com/netflix/exhibitor/exhibitor-standalone/1.5.2/exhibitor-standalone-1.5.2.pom&lt;/a&gt;&lt;br /&gt;compare with 1.5.3&lt;br /&gt;&lt;a class=&quot;external-link&quot; href=&quot;http://repo.maven.apache.org/maven2/com/netflix/exhibitor/exhibitor-standalone/1.5.3/exhibitor-standalone-1.5.3.pom&quot; rel=&quot;nofollow&quot; style=&quot;color: #3b73af; text-decoration: none;&quot;&gt;http://repo.maven.apache.org/maven2/com/netflix/exhibitor/exhibitor-standalone/1.5.3/exhibitor-standalone-1.5.3.pom&lt;/a&gt;&lt;br /&gt;the scope is runtime vs compile&lt;br /&gt;therefore its not compiling for 1.5.3 or higher&lt;br /&gt;so it all depends on how soon netflix would fix it and upload file.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://craftitsolutions.blogspot.com/feeds/2164876464014870085/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3520900025813460173&amp;postID=2164876464014870085' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3520900025813460173/posts/default/2164876464014870085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3520900025813460173/posts/default/2164876464014870085'/><link rel='alternate' type='text/html' href='http://craftitsolutions.blogspot.com/2015/05/building-and-installing-exhibitor-war.html' title='Building and installing Exhibitor WAR using Maven '/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08151510071972569843</uri><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-3520900025813460173.post-7364490558383036179</id><published>2015-04-30T15:13:00.001-04:00</published><updated>2015-04-30T15:13:04.114-04:00</updated><title type='text'>Knowledge Base : Apache Solr 4.6 and Zookeeper 3.4.5</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;Issue: &amp;nbsp; Zookeeper Leader Conflict&lt;br /&gt;&lt;br /&gt;Exception:  SEVERE: ClusterState says we are the leader,  but locally we don&#39;t think so*&quot;&lt;br /&gt;&lt;br /&gt;Cause:&amp;nbsp;Zookeeper&amp;nbsp;session on the leader node expires sooner than expected and its goes haywire. After this&amp;nbsp;happens, leader(001) is going into &#39;recovery&#39; mode and all the index updates are failing with &quot;503- service unavailable&quot; error message.&lt;br /&gt;&lt;br /&gt;Resolution: &lt;br /&gt;&lt;br /&gt;Increase the Zookeeper session timeouts in solr.xml.&lt;br /&gt;Recycled Node 2 and Node 3 in sequence.&lt;br /&gt;sudo service tomcat stop&lt;br /&gt;sudo service tomcat start&lt;br /&gt;&lt;br /&gt;&lt;div&gt;
-----------------------------------------------------------------------------------------------------------------------&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Issue: &amp;nbsp;Zookeeper&amp;nbsp;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;autopurge is not working&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Exception: &amp;nbsp;&lt;a class=&quot;external-link&quot; href=&quot;http://java.io/&quot; rel=&quot;nofollow&quot; style=&quot;background-color: white; color: #3b73af; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; text-decoration: none;&quot;&gt;java.io&lt;/a&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;.FileNotFoundException: ./zookeeper.log (Permission denied)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Cause:&amp;nbsp;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;Following paths in&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;/opt/zookeeper/conf/zoo.cfg are incorrectly configured&lt;/span&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;&quot;&gt;
dataDir=/opt/zookeeper/data&lt;br /&gt;dataLogDir=/opt/zookeeper/data&lt;/div&gt;
&lt;br /&gt;Resolution:&lt;br /&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; padding: 0px;&quot;&gt;
1 .Stop Zk on all nodes. Edit &amp;nbsp;/opt/zookeeper/conf/zoo.cfg&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;a class=&quot;external-link&quot; href=&quot;http://zk1.deveat.pmi.org:8080/exhibitor/v1/ui/index.html&quot; rel=&quot;nofollow&quot; style=&quot;color: #3b73af; text-decoration: none;&quot;&gt;http://zk1.deveat.pmi.org:8080/exhibitor/v1/ui/index.html&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;&quot;&gt;
2. Update directly from ZK UI and Commit&lt;/div&gt;
&lt;ul style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin: 10px 0px 0px; padding-left: 22px;&quot;&gt;
&lt;li&gt;dataDir=/var/lib/zookeeper/data&lt;/li&gt;
&lt;li&gt;dataLogDir=/var/lib/zookeeper/logs&lt;/li&gt;
&lt;li&gt;autopurge.snapRetainCount=3&lt;/li&gt;
&lt;li&gt;autopurge.purgeInterval=1&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;line-height: 1.4285715;&quot;&gt;3.Run this on command line to give permissions&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin: 10px 0px 0px; padding-left: 22px;&quot;&gt;
&lt;li&gt;sudo chown -R tomcat /var/lib/zookeeper/data/myid&lt;/li&gt;
&lt;li&gt;sudo chown -R tomcat /var/lib/zookeeper/logs/zookeeper.log&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;&quot;&gt;
4. Restart tomcat on all nodes&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;&quot;&gt;
References used:&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;a class=&quot;external-link&quot; href=&quot;http://zookeeper.apache.org/doc/trunk/zookeeperAdmin.html#Ongoing+Data+Directory+Cleanup&quot; rel=&quot;nofollow&quot; style=&quot;color: #3b73af; line-height: 1.4285715; text-decoration: none;&quot;&gt;http://zookeeper.apache.org/doc/trunk/zookeeperAdmin.html#Ongoing+Data+Directory+Cleanup&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;strong style=&quot;line-height: 1.4285715;&quot;&gt;New in 3.4.0:&lt;/strong&gt;&amp;nbsp;When enabled, ZooKeeper auto purge feature retains the&amp;nbsp;&lt;strong style=&quot;line-height: 1.4285715;&quot;&gt;autopurge.snapRetainCount&lt;/strong&gt;&amp;nbsp;most recent snapshots and the corresponding transaction logs in the&amp;nbsp;&lt;strong style=&quot;line-height: 1.4285715;&quot;&gt;dataDir&lt;/strong&gt;&amp;nbsp;and&amp;nbsp;&lt;strong style=&quot;line-height: 1.4285715;&quot;&gt;dataLogDir&lt;/strong&gt;respectively and deletes the rest. Defaults to 3. Minimum value is 3.&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;autopurge.purgeInterval&lt;/span&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;&quot;&gt;
(No Java system property)&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;strong&gt;New in 3.4.0:&lt;/strong&gt;&amp;nbsp;The time interval in hours for which the purge task has to be triggered. Set to a positive integer (1 and above) to enable the auto purging. Defaults to 0.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;&quot;&gt;
-------------------------------------------------------------------------------------------------------------------------&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://craftitsolutions.blogspot.com/feeds/7364490558383036179/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3520900025813460173&amp;postID=7364490558383036179' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3520900025813460173/posts/default/7364490558383036179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3520900025813460173/posts/default/7364490558383036179'/><link rel='alternate' type='text/html' href='http://craftitsolutions.blogspot.com/2015/04/knowledge-base-apache-solr-46-and_30.html' title='Knowledge Base : Apache Solr 4.6 and Zookeeper 3.4.5'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08151510071972569843</uri><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-3520900025813460173.post-1731957581933241350</id><published>2012-11-29T10:52:00.003-05:00</published><updated>2012-11-29T10:52:55.832-05:00</updated><title type='text'>Generating Sequence Diagram from Visual Studio</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
If you have Visual Studio 2010 Ultimate edition installed on your machine, you could generate a cool sequence diagram from the code base.&lt;br /&gt;
Open the cs file where you have public methods declared.&lt;br /&gt;
&lt;br /&gt;
Highlight the method name&lt;br /&gt;
Right click and click on &#39;Generate Sequence diagram&#39; .&lt;br /&gt;
Visual studio automatically generates a sequence diagram for you in a new window.&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;http://2.bp.blogspot.com/-YwCW2S7FwNQ/ULeEiP1SfJI/AAAAAAAADGE/SV_epoJzrS8/s1600/SequenceDiagram.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; height=&quot;330&quot; src=&quot;http://2.bp.blogspot.com/-YwCW2S7FwNQ/ULeEiP1SfJI/AAAAAAAADGE/SV_epoJzrS8/s400/SequenceDiagram.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://craftitsolutions.blogspot.com/feeds/1731957581933241350/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3520900025813460173&amp;postID=1731957581933241350' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3520900025813460173/posts/default/1731957581933241350'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3520900025813460173/posts/default/1731957581933241350'/><link rel='alternate' type='text/html' href='http://craftitsolutions.blogspot.com/2012/11/generating-sequence-diagram-from-visual.html' title='Generating Sequence Diagram from Visual Studio'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08151510071972569843</uri><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="http://2.bp.blogspot.com/-YwCW2S7FwNQ/ULeEiP1SfJI/AAAAAAAADGE/SV_epoJzrS8/s72-c/SequenceDiagram.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3520900025813460173.post-7830097531536686991</id><published>2011-06-01T10:12:00.002-04:00</published><updated>2011-06-01T10:12:58.409-04:00</updated><title type='text'>Validating input using jquery (alphanumeric)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Best practices of UI development, make sure all your input fields such as textbox is validated before sending to the server.&lt;br /&gt;
There are many hackers who can enter malicious code that could destroy your web server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://plugins.jquery.com/project/aphanumeric&quot;&gt;jquery&lt;/a&gt; has a plugin that is so easy to implement.&lt;br /&gt;
&lt;br /&gt;
Simply download the jquery &lt;a href=&quot;http://itgroup.com.ph/alphanumeric/alphanumeric.zip&quot;&gt;plugin&lt;/a&gt; and add the following code snippet in your aspx page where the user input is&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: white; color: black; font-family: Consolas; font-size: 13;&quot;&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;background: none repeat scroll 0% 0% white; color: black; font-family: Consolas; font-size: 13px;&quot;&gt;$(&lt;span style=&quot;color: maroon;&quot;&gt;&#39;#QueryText&#39;&lt;/span&gt;).alphanumeric({&amp;nbsp;ichars:&amp;nbsp;&lt;span style=&quot;color: maroon;&quot;&gt;&#39;&amp;lt;&amp;gt;&#39;&lt;/span&gt;&amp;nbsp;});&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;background: none repeat scroll 0% 0% white; color: black; font-family: Consolas; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;background: none repeat scroll 0% 0% white; color: black; font-family: Consolas; font-size: 13px;&quot;&gt;where &#39;QueryText&#39; is the class name of your input control.&lt;/pre&gt;&lt;br /&gt;
Reference:&lt;br /&gt;
jquery &lt;a href=&quot;http://itgroup.com.ph/alphanumeric/&quot;&gt;alphanumeric &lt;/a&gt;plugin &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://craftitsolutions.blogspot.com/feeds/7830097531536686991/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3520900025813460173&amp;postID=7830097531536686991' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3520900025813460173/posts/default/7830097531536686991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3520900025813460173/posts/default/7830097531536686991'/><link rel='alternate' type='text/html' href='http://craftitsolutions.blogspot.com/2011/06/validating-input-using-jquery.html' title='Validating input using jquery (alphanumeric)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08151510071972569843</uri><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-3520900025813460173.post-5251241709448651840</id><published>2011-05-25T15:50:00.001-04:00</published><updated>2011-06-01T10:11:32.831-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Atom"/><category scheme="http://www.blogger.com/atom/ns#" term="JSON"/><category scheme="http://www.blogger.com/atom/ns#" term="LINQ"/><category scheme="http://www.blogger.com/atom/ns#" term="OData"/><category scheme="http://www.blogger.com/atom/ns#" term="WCF DataServices"/><title type='text'>What is WCF DataServices (OData)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Databases are growing on variety of systems, clients and application are growing while data consumption is increasing, there is a great demand for terabytes of data everyday.&lt;br /&gt;
Data consumers need data in various formats like XML, JSON ATOM (Xml based feed format), etc.&lt;br /&gt;
&lt;br /&gt;
To overcome such a massive data demand Microsoft launched WCF DataServices Framework using Open data protocol (OData) &lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;formerly known as ADO.Net Data Services&lt;/li&gt;
&lt;li&gt;uniform way of returning data such as XML, JSON ATOM (Xml based feed format), etc.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;uniform URL conventions to navigate, paginate, sorting, filtering. &lt;/li&gt;
&lt;li&gt;provides client libraries for Windows Phone 7, Silverlight, Sharepoint, SQL Server 2008, MS Excel Pivot, PHP, Java.&lt;/li&gt;
&lt;li&gt;works on wcf capabilities to expose data as web services &lt;/li&gt;
&lt;li&gt;enables to expose data and manipulate in the RESTful way to perform CRUD operations.&lt;/li&gt;
&lt;li&gt;data is transported on HTTP and agents could simply use its methods GET, POST, PUT and DELETE.&lt;/li&gt;
&lt;li&gt;you could write LINQ queries and access data, under the cover it converts the LINQ query to a uri or vice-versa.&lt;/li&gt;
&lt;li&gt;out of the box Sharepoint 2010 exposes all its data via Odata formats.&lt;/li&gt;
&lt;li&gt;data could be shared at large between systems and cross domains. (Eg. premium data, government data, scientific data, social data)&lt;/li&gt;
&lt;li&gt;develop WCF data services that exposes any data that could be queried using jquery&amp;nbsp; &lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
References:&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/cc668792.aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/cc668792.aspx&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blogs.msdn.com/b/astoriateam/&quot;&gt;http://blogs.msdn.com/b/astoriateam/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.odata.org/&quot;&gt;http://www.odata.org/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://craftitsolutions.blogspot.com/feeds/5251241709448651840/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3520900025813460173&amp;postID=5251241709448651840' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3520900025813460173/posts/default/5251241709448651840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3520900025813460173/posts/default/5251241709448651840'/><link rel='alternate' type='text/html' href='http://craftitsolutions.blogspot.com/2011/05/lets-talk-about-wcf-dataservices-odata.html' title='What is WCF DataServices (OData)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08151510071972569843</uri><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-3520900025813460173.post-851739475102361543</id><published>2011-05-23T13:57:00.000-04:00</published><updated>2011-06-01T10:11:49.873-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Autocomplete"/><category scheme="http://www.blogger.com/atom/ns#" term="jquery"/><title type='text'>Autocomplete using post jquery ajax</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Invoke a non postback model for Autocomplete using jquery ajax.&lt;br /&gt;
&lt;a href=&quot;http://docs.jquery.com/UI&quot;&gt;http://docs.jquery.com/UI&lt;/a&gt;&lt;br /&gt;
Example of Autocomplete can be found on&amp;nbsp; &lt;a href=&quot;http://www.sap.com/search/index.epx&quot;&gt;SapSite&lt;/a&gt; &lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Download the&lt;span style=&quot;color: darkgreen;&quot;&gt; &#39;jQuery&amp;nbsp;UI&amp;nbsp;1.8.9&lt;/span&gt;&#39; and the related jquery ui css.&lt;/li&gt;
&lt;li&gt;Create a new .Net solution and copy in global/ui/js directory.&lt;/li&gt;
&lt;li&gt;In your default.aspx page add references to&amp;nbsp; &lt;/li&gt;
&lt;/ul&gt;&amp;lt;script type=&quot;text/javascript&quot; src=&quot;/global/ui/js/jquery-ui.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;all&quot; href=&quot;/global/ui/css/jquery-ui.css&quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Add this to the default page.&lt;/li&gt;
&lt;/ul&gt;&lt;div style=&quot;background-color: #fce5cd; color: black;&quot;&gt;&amp;lt;&lt;span class=&quot;nodeLabelBox repTarget &quot; role=&quot;treeitem&quot;&gt;&lt;span class=&quot;nodeTag &quot;&gt;form&lt;/span&gt;&lt;span class=&quot;nodeAttr editGroup &quot;&gt;&amp;nbsp;&lt;span class=&quot;nodeName editable &quot;&gt;id&lt;/span&gt;=&quot;&lt;span class=&quot;nodeValue editable &quot;&gt;searchsite&lt;/span&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nodeAttr editGroup &quot;&gt;&amp;nbsp;&lt;span class=&quot;nodeName editable &quot;&gt;class&lt;/span&gt;=&quot;&lt;span class=&quot;nodeValue editable &quot;&gt;search&lt;/span&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nodeAttr editGroup &quot;&gt;&amp;nbsp;&lt;span class=&quot;nodeName editable &quot;&gt;title&lt;/span&gt;=&quot;&lt;span class=&quot;nodeValue editable &quot;&gt;Search&lt;/span&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nodeAttr editGroup &quot;&gt;&amp;nbsp;&lt;span class=&quot;nodeName editable &quot;&gt;method&lt;/span&gt;=&quot;&lt;span class=&quot;nodeValue editable &quot;&gt;post&lt;/span&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nodeAttr editGroup &quot;&gt;&amp;nbsp;&lt;span class=&quot;nodeName editable &quot;&gt;action&lt;/span&gt;=&quot;&lt;span class=&quot;nodeValue editable &quot;&gt;search-results.aspx&lt;/span&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nodeBracket editable insertBefore &quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;nodeChildBox &quot; role=&quot;group&quot; style=&quot;background-color: #fce5cd; color: black;&quot;&gt;&lt;div class=&quot;nodeBox containerNodeBox open&quot; role=&quot;presentation&quot;&gt;&lt;div class=&quot;nodeLabel &quot; role=&quot;presentation&quot;&gt;&lt;span class=&quot;nodeLabelBox repTarget &quot; role=&quot;treeitem&quot;&gt;&amp;lt;&lt;span class=&quot;nodeTag &quot;&gt;fieldset&lt;/span&gt;&lt;span class=&quot;nodeBracket editable insertBefore &quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;nodeChildBox &quot; role=&quot;group&quot;&gt;&lt;div class=&quot;nodeBox textNodeBox &quot; role=&quot;presentation&quot;&gt;&lt;div class=&quot;nodeLabel &quot; role=&quot;presentation&quot;&gt;&lt;span class=&quot;nodeLabelBox repTarget &quot; role=&quot;treeitem&quot;&gt;&amp;lt;&lt;span class=&quot;nodeTag &quot;&gt;label&lt;/span&gt;&lt;span class=&quot;nodeAttr editGroup &quot;&gt;&amp;nbsp;&lt;span class=&quot;nodeName editable &quot;&gt;for&lt;/span&gt;=&quot;&lt;span class=&quot;nodeValue editable &quot;&gt;searchsite-input&lt;/span&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nodeAttr editGroup &quot;&gt;&amp;nbsp;&lt;span class=&quot;nodeName editable &quot;&gt;style&lt;/span&gt;=&quot;&lt;span class=&quot;nodeValue editable &quot;&gt;display: block;&lt;/span&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nodeBracket editable insertBefore &quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;nodeText editable &quot;&gt;&lt;span class=&quot;  &quot;&gt;Search&lt;/span&gt;&lt;/span&gt;&amp;lt;/&lt;span class=&quot;nodeTag &quot;&gt;label&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;nodeBox emptyNodeBox selected&quot; role=&quot;presentation&quot;&gt;&lt;div class=&quot;nodeLabel &quot; role=&quot;presentation&quot;&gt;&lt;span class=&quot;nodeLabelBox repTarget &quot; role=&quot;treeitem&quot;&gt;&amp;lt;&lt;span class=&quot;nodeTag &quot;&gt;input&lt;/span&gt;&lt;span class=&quot;nodeAttr editGroup &quot;&gt;&amp;nbsp;&lt;span class=&quot;nodeName editable &quot;&gt;id&lt;/span&gt;=&quot;&lt;span class=&quot;nodeValue editable &quot;&gt;searchsite-input&lt;/span&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nodeAttr editGroup &quot;&gt; &lt;span class=&quot;nodeName editable &quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;nodeAttr editGroup &quot;&gt;&lt;span class=&quot;nodeName editable &quot;&gt;type&lt;/span&gt;=&quot;&lt;span class=&quot;nodeValue editable &quot;&gt;text&lt;/span&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nodeAttr editGroup &quot;&gt;&amp;nbsp;&lt;span class=&quot;nodeName editable &quot;&gt;name&lt;/span&gt;=&quot;&lt;span class=&quot;nodeValue editable &quot;&gt;searchsite-input&lt;/span&gt;&quot; &lt;/span&gt;&lt;span class=&quot;nodeAttr editGroup &quot;&gt;&lt;/span&gt;&lt;span class=&quot;nodeAttr editGroup &quot;&gt;&lt;span class=&quot;nodeName editable &quot;&gt;autocomplete&lt;/span&gt;=&quot;&lt;span class=&quot;nodeValue editable &quot;&gt;off&lt;/span&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nodeBracket editable insertBefore &quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;nodeBox emptyNodeBox  &quot; role=&quot;presentation&quot;&gt;&lt;div class=&quot;nodeLabel &quot; role=&quot;presentation&quot;&gt;&lt;span class=&quot;nodeLabelBox repTarget &quot; role=&quot;treeitem&quot;&gt;&amp;lt;&lt;span class=&quot;nodeTag &quot;&gt;input&lt;/span&gt;&lt;span class=&quot;nodeAttr editGroup &quot;&gt;&amp;nbsp;&lt;span class=&quot;nodeName editable &quot;&gt;id&lt;/span&gt;=&quot;&lt;span class=&quot;nodeValue editable &quot;&gt;searchsite-submit&lt;/span&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nodeAttr editGroup &quot;&gt;&amp;nbsp;&lt;span class=&quot;nodeName editable &quot;&gt;class&lt;/span&gt;=&quot;&lt;span class=&quot;nodeValue editable &quot;&gt;search-submit&lt;/span&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nodeAttr editGroup &quot;&gt;&amp;nbsp;&lt;span class=&quot;nodeName editable &quot;&gt;type&lt;/span&gt;=&quot;&lt;span class=&quot;nodeValue editable &quot;&gt;submit&lt;/span&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nodeAttr editGroup &quot;&gt;&amp;nbsp;&lt;span class=&quot;nodeName editable &quot;&gt;value&lt;/span&gt;=&quot;&lt;span class=&quot;nodeValue editable &quot;&gt;&lt;/span&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nodeBracket editable insertBefore &quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;nodeCloseLabel &quot; role=&quot;presentation&quot;&gt;&lt;span class=&quot;nodeCloseLabelBox repTarget &quot;&gt;&amp;lt;/&lt;span class=&quot;nodeTag &quot;&gt;fieldset&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;nodeCloseLabel &quot; role=&quot;presentation&quot; style=&quot;background-color: #fce5cd; color: black;&quot;&gt;&lt;span class=&quot;nodeCloseLabelBox repTarget &quot;&gt;&amp;lt;/&lt;span class=&quot;nodeTag &quot;&gt;form&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;script language=&quot;javascript&quot; type=&quot;text/javascript&quot;&amp;gt;&lt;/div&gt;&lt;pre style=&quot;background: none repeat scroll 0% 0% rgb(252, 229, 205); color: black; font-family: Consolas; font-size: 13px;&quot;&gt;&amp;nbsp;$(&lt;span style=&quot;color: maroon;&quot;&gt;&#39;#textbox1&#39;&lt;/span&gt;).autocomplete({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;minLength:&amp;nbsp;0,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;delay:&amp;nbsp;0,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;source:&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;function&lt;/span&gt;&amp;nbsp;(request,&amp;nbsp;respond)&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;get_suggestions(request.term,&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;function&lt;/span&gt;&amp;nbsp;(response)&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;respond(eval(response))
&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;&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;&amp;nbsp;&amp;nbsp;select:&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;function&lt;/span&gt;&amp;nbsp;(event,&amp;nbsp;ui)&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;$(&lt;span style=&quot;color: maroon;&quot;&gt;&#39;#&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;textbox1&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&#39;&lt;/span&gt;).val(ui.item.value);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$(&lt;span style=&quot;color: maroon;&quot;&gt;&#39;#searchbutton&#39;&lt;/span&gt;).submit();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;});&lt;/pre&gt;&lt;pre style=&quot;background: none repeat scroll 0% 0% rgb(252, 229, 205); color: black; font-family: Consolas; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;background: none repeat scroll 0% 0% rgb(252, 229, 205); color: black; font-family: Consolas; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;function&lt;/span&gt;&amp;nbsp;get_suggestions(payload,&amp;nbsp;ok_handler)&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$.post(
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; your_service_url,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;function&lt;/span&gt;&amp;nbsp;(data)&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt;&amp;nbsp;(ok_handler)&amp;nbsp;ok_handler(data);
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;function&lt;/span&gt;&amp;nbsp;(e)&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;alert(e);
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;);
}&lt;/pre&gt;&lt;pre style=&quot;background: none repeat scroll 0% 0% rgb(252, 229, 205); color: black; font-family: Consolas; font-size: 13px;&quot;&gt;&amp;lt;/script&amp;gt;&amp;nbsp;&lt;/pre&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;pre style=&quot;background: none repeat scroll 0% 0% white; color: black; font-family: Consolas; font-size: 13px;&quot;&gt;If you want to highlight the letters typed in the list then you need to hack&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;background: none repeat scroll 0% 0% white; color: black; font-family: Consolas; font-size: 13px;&quot;&gt;the _render function inside jquery-ui.js.&lt;/pre&gt;&lt;pre style=&quot;background: none repeat scroll 0% 0% white; color: black; font-family: Consolas; font-size: 13px;&quot;&gt;Just replace the renderItem function with this function.&lt;/pre&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;pre style=&quot;background: none repeat scroll 0% 0% white; color: black; font-family: Consolas; font-size: 13px;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;background: none repeat scroll 0% 0% rgb(252, 229, 205); color: black; font-family: Consolas; font-size: 13px;&quot;&gt;_renderItem:&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;function&lt;/span&gt;(&amp;nbsp;ul,&amp;nbsp;item)&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;item.label&amp;nbsp;=&amp;nbsp;item.label.replace(&lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt;&amp;nbsp;RegExp(&lt;span style=&quot;color: maroon;&quot;&gt;&quot;(?![^&amp;amp;;]+;)(?!&amp;lt;[^&amp;lt;&amp;gt;]*)(&quot;&lt;/span&gt;&amp;nbsp;+&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;background: none repeat scroll 0% 0% rgb(252, 229, 205); color: black; font-family: Consolas; font-size: 13px;&quot;&gt;$.ui.autocomplete.escapeRegex(&lt;span style=&quot;color: blue;&quot;&gt;this&lt;/span&gt;.term)&amp;nbsp;+&amp;nbsp;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;)(?![^&amp;lt;&amp;gt;]*&amp;gt;)(?![^&amp;amp;;]+;)&quot;&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;gi&quot;&lt;/span&gt;),&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;background: none repeat scroll 0% 0% white; color: black; font-family: Consolas; font-size: 13px;&quot;&gt;&lt;span style=&quot;background-color: #fce5cd; color: maroon;&quot;&gt;&quot;&amp;lt;strong&amp;gt;$1&amp;lt;/strong&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;background-color: #fce5cd;&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;&lt;/span&gt;&lt;span style=&quot;background-color: #fce5cd; color: blue;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;$(&lt;/span&gt;&lt;span style=&quot;background-color: #fce5cd; color: maroon;&quot;&gt;&quot;&amp;lt;li&amp;gt;&amp;lt;/li&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;background-color: #fce5cd;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.data(&lt;/span&gt;&lt;span style=&quot;background-color: #fce5cd; color: maroon;&quot;&gt;&quot;item.autocomplete&quot;&lt;/span&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;,&amp;nbsp;item)
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.append(&lt;/span&gt;&lt;span style=&quot;background-color: #fce5cd; color: maroon;&quot;&gt;&quot;&amp;lt;a&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;+&amp;nbsp;item.label&amp;nbsp;+&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #fce5cd; color: maroon;&quot;&gt;&quot;&amp;lt;/a&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;background-color: #fce5cd;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.appendTo(ul);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}, &amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://craftitsolutions.blogspot.com/feeds/851739475102361543/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3520900025813460173&amp;postID=851739475102361543' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3520900025813460173/posts/default/851739475102361543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3520900025813460173/posts/default/851739475102361543'/><link rel='alternate' type='text/html' href='http://craftitsolutions.blogspot.com/2011/05/autocomplete-using-post-jquery-ajax.html' title='Autocomplete using post jquery ajax'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08151510071972569843</uri><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-3520900025813460173.post-2873740313419751007</id><published>2011-05-20T12:19:00.000-04:00</published><updated>2011-06-01T10:07:19.294-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Google Search Appliance"/><title type='text'>Google Search Appliance</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;I recently designed and developed a complete internal search solution using Google Search Appliance.(GSA)&lt;br /&gt;
GSA Box crawls every content urls of the given domain and serves the search results.&lt;br /&gt;
Example of search can be found on&amp;nbsp; &lt;a href=&quot;http://www.sap.com/search/index.epx&quot;&gt;SapSite&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Developers could either leverage out of the box front ends which are XSLT driven or develop a custom user interface using their own respective technology.&lt;br /&gt;
You could also&amp;nbsp; &lt;a href=&quot;http://gsalib.codeplex.com/&quot;&gt;download &lt;/a&gt;the latest C# .Net API that talks to the google box and results collections and build a .Net server control on top of it.&lt;br /&gt;
&lt;br /&gt;
Here are the steps I did,&lt;br /&gt;
&amp;nbsp;Setup a Google Search Appliance box (6.8 or older).&lt;br /&gt;
&amp;nbsp;Select a Web server domain (www.abcd.com) where all company&#39;s content is published.&lt;br /&gt;
Content types could be &#39;web-pages&#39;, &#39;word&#39;, &#39;pdf&#39;, &#39;videos&#39;, &#39;webcasts&#39;, or any other custom types like press and events that has a meta tag on the page.&lt;br /&gt;
&lt;br /&gt;
a.&amp;nbsp; Log in to GSA box and create crawl&amp;nbsp; rules like &lt;br /&gt;
# Rule: Home Page&lt;br /&gt;
http://www.abcd.com/default.aspx&lt;br /&gt;
This rule crawls the all the content of the domain. &lt;br /&gt;
b. Create a new collection and write regular expressions to follow the required patterns that you want in the result set.&lt;br /&gt;
For eg to include the folders as part to collection you would write&lt;br /&gt;
# Rule: General Content&lt;br /&gt;
regexp:^http(s?)://www\\.abcd\\.com/(([^/]*$)|about|industries|solutions|services|partners|platform|company|careers)&lt;br /&gt;
Furthermore, you could also write rules to restrict certain patters that you do not want to serve in the search results.&lt;br /&gt;
For instance:&lt;br /&gt;
regexp:^http(s?)://(www)(\\.)abcd(\\.)com/services/education/curriculum.aspx.*$&lt;br /&gt;
You could create many collections that you could serve different departments / regions / country and provide them in the query.&lt;br /&gt;
&lt;br /&gt;
c. Create a front end and add any keywords and or synonyms that you want the query to return in the resultset.&lt;br /&gt;
d.After GSA has finished crawling, the collections will start returning results for the search query.&lt;br /&gt;
&lt;br /&gt;
Query Examples:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
a. &lt;a href=&quot;http://gsahostaddress.com/search?q=crm&amp;amp;access=p&amp;amp;entqr=0&amp;amp;sort=date%3AD%3AL%3Ad1&amp;amp;output=xml_no_dtd&amp;amp;client=country_global&amp;amp;ud=1&amp;amp;oe=UTF-8&amp;amp;ie=UTF-8&amp;amp;entsp=0&amp;amp;site=country_global&quot;&gt;http://gsahostaddress.com/search?q=crm&amp;amp;access=p&amp;amp;entqr=0&amp;amp;sort=date%3AD%3AL%3Ad1&amp;amp;output=xml_no_dtd&amp;amp;client=country_global&amp;amp;ud=1&amp;amp;oe=UTF-8&amp;amp;ie=UTF-8&amp;amp;entsp=0&amp;amp;site=country_global&lt;/a&gt;&lt;br /&gt;
b. &lt;a href=&quot;http://gsahostaddress.com/search?q=crm&amp;amp;filter=1&amp;amp;getfields=*&amp;amp;ie=utf-8&amp;amp;numgm=5&amp;amp;output=xml_no_dtd&amp;amp;oe=utf-8&amp;amp;start=0&amp;amp;num=5&amp;amp;client=country_global&amp;amp;site=country_global&amp;amp;requiredfields=%28-%28sourcetype:Smart%29.-%28SourceType:Press%29.-%28sourcetype:Events%29.%28sourcetype:webpage%29%29&quot;&gt;http://gsahostaddress.com/search?q=crm&amp;amp;filter=1&amp;amp;getfields=*&amp;amp;ie=utf-8&amp;amp;numgm=5&amp;amp;output=xml_no_dtd&amp;amp;oe=utf-8&amp;amp;start=0&amp;amp;num=5&amp;amp;client=country_global&amp;amp;site=country_global&amp;amp;requiredfields=(-(sourcetype:Smart).-(SourceType:Press).-(sourcetype:Events).(sourcetype:webpage))&lt;/a&gt;&lt;br /&gt;
c .&lt;a href=&quot;http://gsahostaddress.com/search?access=p&amp;amp;output=xml_no_dtd&amp;amp;oe=UTF-8&amp;amp;client=country_global&amp;amp;start=2&amp;amp;q=crm&amp;amp;as_sitesearch=&amp;amp;filter=1&amp;amp;num=20&amp;amp;getfields=*&amp;amp;site=default_collection&quot;&gt;http://gsahostaddress.com/search?access=p&amp;amp;output=xml_no_dtd&amp;amp;oe=UTF-8&amp;amp;client=country_global&amp;amp;start=2&amp;amp;q=crm&amp;amp;as_sitesearch=&amp;amp;filter=1&amp;amp;num=20&amp;amp;getfields=*&amp;amp;site=default_collection&lt;/a&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Documentation Links&lt;br /&gt;
1. &lt;a href=&quot;http://code.google.com/apis/searchappliance/documentation/60/xml_reference.html&quot;&gt;http://code.google.com/apis/searchappliance/documentation/60/xml_reference.html&lt;/a&gt;&lt;br /&gt;
2. &lt;a href=&quot;http://code.google.com/apis/searchappliance/opensource/index.html&quot;&gt;http://code.google.com/apis/searchappliance/opensource/index.html&lt;/a&gt;&lt;br /&gt;
3. &lt;a href=&quot;http://code.google.com/apis/searchappliance/documentation/52/asr_reference.html&quot;&gt;http://code.google.com/apis/searchappliance/documentation/52/asr_reference.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://usphlgoo7.dmzphl.sap.corp:8000/EnterpriseController/helpdoc4.html&quot;&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://craftitsolutions.blogspot.com/feeds/2873740313419751007/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3520900025813460173&amp;postID=2873740313419751007' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3520900025813460173/posts/default/2873740313419751007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3520900025813460173/posts/default/2873740313419751007'/><link rel='alternate' type='text/html' href='http://craftitsolutions.blogspot.com/2011/05/google-search-appliance.html' title='Google Search Appliance'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08151510071972569843</uri><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-3520900025813460173.post-6022899981538740465</id><published>2011-05-19T15:10:00.001-04:00</published><updated>2011-06-01T10:07:32.694-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Technical Questions"/><title type='text'>General Tech Interview Questions</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;1. Explain deferred execution in LINQ. &lt;a href=&quot;http://blogs.msdn.com/b/charlie/archive/2007/12/09/deferred-execution.aspx&quot;&gt;Explanation&lt;/a&gt;&lt;br /&gt;
2. Difference between abstract class and interface.&lt;a href=&quot;http://www.codeproject.com/KB/cs/abstractsvsinterfaces.aspx&quot;&gt;Explanation&lt;/a&gt;&lt;br /&gt;
3. In an elevator system determine how many interfaces/classes. &lt;a href=&quot;http://www.cs.cmu.edu/%7Eluluo/Courses/18540PhDreport.pdf&quot;&gt;Explanation&lt;/a&gt;&lt;br /&gt;
4. Purpose of &#39;using&#39; in .Net with an example. &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/yh598w02.aspx&quot;&gt;Explanation&lt;/a&gt;.&lt;br /&gt;
5. User control Vs Composite server Control. &lt;a href=&quot;http://support.microsoft.com/kb/893667&quot;&gt;Explanation&lt;/a&gt;&lt;br /&gt;
6. Explain Load balancing with ASP.Net pages. &lt;br /&gt;
7. Difference between &#39;var&#39; and &#39;dynamic&#39; &lt;a href=&quot;http://www.devcurry.com/2010/09/var-vs-dynamic-keyword-in-c-40.html&quot;&gt;Explanation&lt;/a&gt;&lt;br /&gt;
8. Examples of generic collections &lt;br /&gt;
9. SQL datatype used to uniquely identify a row&lt;br /&gt;
10.Events Vs Delegates&lt;br /&gt;
11.Explain Reflection and where in ASP.Net pages is reflection used?&lt;br /&gt;
12. Difference between process and thread.&amp;nbsp;&lt;a href=&quot;http://www.albahari.com/threading/&quot;&gt;Explanation&lt;/a&gt;&lt;a href=&quot;http://www.albahari.com/threading/&quot;&gt;&lt;/a&gt;&lt;br /&gt;
13. Define and explain Application domain.&lt;br /&gt;
14. What is Singleton patter, advantages and disadvantages.&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ff650316.aspx&quot;&gt;Explanation&lt;/a&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ff650316.aspx&quot;&gt;&lt;/a&gt;&lt;br /&gt;
15. Difference between const, static and readonly modifiers.&amp;nbsp;&lt;a href=&quot;http://en.csharp-online.net/const,_static_and_readonly&quot;&gt;Explanation&lt;/a&gt;&lt;a href=&quot;http://en.csharp-online.net/const,_static_and_readonly&quot;&gt;&lt;/a&gt;&lt;br /&gt;
16. Various ways of retrieving Identity value using T-SQL&amp;nbsp;&lt;a href=&quot;http://blog.sqlauthority.com/2007/03/25/sql-server-identity-vs-scope_identity-vs-ident_current-retrieve-last-inserted-identity-of-record/&quot;&gt;Explanation&lt;/a&gt;&lt;br /&gt;
17. ASP.Net Page Life cycle and explain the page round trip process.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://craftitsolutions.blogspot.com/feeds/6022899981538740465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3520900025813460173&amp;postID=6022899981538740465' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3520900025813460173/posts/default/6022899981538740465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3520900025813460173/posts/default/6022899981538740465'/><link rel='alternate' type='text/html' href='http://craftitsolutions.blogspot.com/2011/05/general-tech-interview-questions.html' title='General Tech Interview Questions'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08151510071972569843</uri><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>1</thr:total></entry></feed>