<?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-4188251706802729605</id><updated>2026-08-11T14:07:46.384-07:00</updated><category term="Life"/><category term="Motivation"/><category term="Azure"/><category term="Blob"/><category term="Courage"/><category term="DEEP THINKING"/><category term="Daily"/><category term="Failures"/><category term="Goals"/><category term="Inspiration"/><category term="Islam"/><category term="Muslims"/><category term="Objectives"/><category term="Proactivity"/><category term="Reporting"/><category term="Routine"/><category term="SSRS"/><category term="Selenium"/><category term="Storage"/><category term="Success"/><category term="Test Automation"/><title type='text'>Asim Riaz</title><subtitle type='html'>&quot;One who imagines himself to be all-knowing will surely suffer on account of his ignorance.&quot; Hazrat Ali (God be please with Him)</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://masimriaz.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://masimriaz.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15325984694436289080</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>57</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4188251706802729605.post-5283107982667677254</id><published>2017-09-11T04:57:00.002-07:00</published><updated>2017-09-11T04:58:11.856-07:00</updated><title type='text'>Create habits</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 150%; margin-bottom: 13.5pt;&quot;&gt;
&lt;span style=&quot;color: #575756; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 10.0pt; line-height: 150%;&quot;&gt;A person only has a
certain amount of “will power” available to them each day to spend on
tasks.&amp;nbsp; Turning a task into a daily habit will stop the task requiring
will power to do it.&amp;nbsp; Instead, the brain will accept the new behavior as a
subconscious task.&amp;nbsp; Habits don’t require will power because they become
automatic behaviors that the person does every day. &amp;nbsp;It typically takes
thirty days to turn a new action into a habit.&amp;nbsp; Setup the beginning of
your day to look something like this:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 7.5pt; margin-left: 18.75pt; mso-list: l0 level1 lfo1; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #575756; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: 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;!--[endif]--&gt;&lt;span style=&quot;color: #575756; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 10.0pt; line-height: 115%;&quot;&gt;Wake up at 8:00 AM&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 7.5pt; margin-left: 18.75pt; mso-list: l0 level1 lfo1; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #575756; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: 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;!--[endif]--&gt;&lt;span style=&quot;color: #575756; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 10.0pt; line-height: 115%;&quot;&gt;Breakfast&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 7.5pt; margin-left: 18.75pt; mso-list: l0 level1 lfo1; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #575756; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: 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;!--[endif]--&gt;&lt;span style=&quot;color: #575756; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 10.0pt; line-height: 115%;&quot;&gt;Meditate for 10 minutes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 7.5pt; margin-left: 18.75pt; mso-list: l0 level1 lfo1; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #575756; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: 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;!--[endif]--&gt;&lt;span style=&quot;color: #575756; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 10.0pt; line-height: 115%;&quot;&gt;Go for a run&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 7.5pt; margin-left: 18.75pt; mso-list: l0 level1 lfo1; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #575756; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: 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;!--[endif]--&gt;&lt;span style=&quot;color: #575756; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 10.0pt; line-height: 115%;&quot;&gt;Shower&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 7.5pt; margin-left: 18.75pt; mso-list: l0 level1 lfo1; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #575756; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: 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;!--[endif]--&gt;&lt;span style=&quot;color: #575756; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 10.0pt; line-height: 115%;&quot;&gt;Start concentration music and timer, then begin work on hardest
most important task&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 7.5pt; margin-left: 18.75pt; mso-list: l0 level1 lfo1; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #575756; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: 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;!--[endif]--&gt;&lt;span style=&quot;color: #575756; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 10.0pt; line-height: 115%;&quot;&gt;30 minutes tea and drink break&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 7.5pt; margin-left: 18.75pt; mso-list: l0 level1 lfo1; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #575756; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: 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;!--[endif]--&gt;&lt;span style=&quot;color: #575756; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 10.0pt; line-height: 115%;&quot;&gt;Re-focus on hardest, most important task&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 7.5pt; margin-left: 18.75pt; mso-list: l0 level1 lfo1; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #575756; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: 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;!--[endif]--&gt;&lt;span style=&quot;color: #575756; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 10.0pt; line-height: 115%;&quot;&gt;Re-focus to finish the hardest most important task for that day&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 7.5pt; margin-left: 18.75pt; mso-list: l0 level1 lfo1; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #575756; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: 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;!--[endif]--&gt;&lt;span style=&quot;color: #575756; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 10.0pt; line-height: 115%;&quot;&gt;Check email&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 150%; margin-bottom: 13.5pt; margin-left: 18.75pt; mso-list: l0 level1 lfo1; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #575756; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt; line-height: 150%;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: 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;!--[endif]--&gt;&lt;span style=&quot;color: #575756; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 10.0pt; line-height: 150%;&quot;&gt;Break for Lunch&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 150%; margin-bottom: 13.5pt;&quot;&gt;
&lt;span style=&quot;color: #575756; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 10.0pt; line-height: 150%;&quot;&gt;You will get more done
by lunch time than most people can do in a whole day.&amp;nbsp; The “after lunch”
part of the day can be spent on easier tasks, like emails, design, organization
and maintenance tasks where less concentration is required.&lt;/span&gt;&lt;span style=&quot;font-size: 10.0pt; line-height: 150%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://masimriaz.blogspot.com/feeds/5283107982667677254/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://masimriaz.blogspot.com/2017/09/create-habits.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/5283107982667677254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/5283107982667677254'/><link rel='alternate' type='text/html' href='http://masimriaz.blogspot.com/2017/09/create-habits.html' title='Create habits'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15325984694436289080</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-4188251706802729605.post-8726734753934078079</id><published>2017-09-11T04:25:00.003-07:00</published><updated>2017-09-11T04:25:48.710-07:00</updated><title type='text'>Burn calories and control weight</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;border-width: 100%; direction: ltr;&quot;&gt;
&lt;div style=&quot;direction: ltr; margin-top: 0in; width: 7.8951in;&quot;&gt;
&lt;div style=&quot;direction: ltr; margin-top: 0in; width: 7.8951in;&quot;&gt;
&lt;ul style=&quot;margin-bottom: 0in; margin-top: 0in; text-align: left; unicode-bidi: embed;&quot;&gt;
 &lt;div style=&quot;color: #222222; margin-bottom: 0pt; margin-top: 9pt;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #444444;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;You must have
 heard endless times how exercise is good for your health.&amp;nbsp;Do you know
 that it can actually help you feel&amp;nbsp;positive, too? Getting the legitimate
 amount of exercise can step up your energy levels and even help in improving
 your mood&amp;nbsp;swings.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #444444; line-height: 20pt; margin-bottom: 0pt; margin-top: 3pt;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;One should not
 exercise only to tone up the body but to feel confident. Exercise strengthens
 your muscles, keeps your bones strong, improves&amp;nbsp;&amp;nbsp;sleep
 patterns&amp;nbsp;and strengthens immune function.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #444444; line-height: 20pt; margin-bottom: 0pt; margin-top: 3pt;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;It&#39;s never too
 late to start exercising, and one doesn’t have to be an athlete to exercise.
 &amp;nbsp;Even starting with a 30 minutes brisk walk a day can bring a major
 difference in your health.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #444444; line-height: 20pt; margin-bottom: 0pt; margin-top: 3pt;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Scientific
 research has shown that people who exercise regularly have more energy to
 think clearly.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #444444; line-height: 20pt; margin-bottom: 0pt; margin-top: 3pt;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Here are some
 unbelievable health benefits of exercising daily:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #444444; line-height: 20pt; margin-bottom: 0pt; margin-top: 3pt;&quot;&gt;
&lt;span style=&quot;background: white; font-weight: bold;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Reduces
 stress&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #444444; line-height: 20pt; margin-bottom: 0pt; margin-top: 3pt;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Exercising can
 help manage physical and mental stress&amp;nbsp;. Exercise also increases
 concentrations of norepinephrine, a chemical that regulates brain’s response
 to stress.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #444444; line-height: 20pt; margin-bottom: 0pt; margin-top: 3pt;&quot;&gt;
&lt;span style=&quot;background: white; font-weight: bold;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Improves
 self-confidence&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #444444; line-height: 20pt; margin-bottom: 0pt; margin-top: 3pt;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Physical
 fitness advances&amp;nbsp;&amp;nbsp;self-esteem and improves positive self-image.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #444444; line-height: 20pt; margin-bottom: 0pt; margin-top: 3pt;&quot;&gt;
&lt;span style=&quot;background: white; font-weight: bold;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Exercise
 controls weight&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #444444; line-height: 20pt; margin-bottom: 0pt; margin-top: 3pt;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;When you enlist
 yourself in any physical activity, you burn calories. The more intense the
 activity, the more calories you burn.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #444444; line-height: 20pt; margin-bottom: 0pt; margin-top: 3pt;&quot;&gt;
&lt;span style=&quot;background: white; font-weight: bold;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Exercise
 combats diseases&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #444444; line-height: 20pt; margin-bottom: 0pt; margin-top: 3pt;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Regular
 exercise saves you from stroke, metabolic syndrome, type 2 diabetes and
 depression.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #444444; line-height: 20pt; margin-bottom: 0pt; margin-top: 3pt;&quot;&gt;
&lt;span style=&quot;background: white; font-weight: bold;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Exercise
 boosts energy&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #444444; line-height: 20pt; margin-bottom: 0pt; margin-top: 3pt;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;It distributes
 oxygen and nutrients to tissues and helps cardiovascular system work more
 efficiently. When your heart and lungs work well, you get more energy to
 tackle the daily chores.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #444444; line-height: 20pt; margin-bottom: 0pt; margin-top: 3pt;&quot;&gt;
&lt;span style=&quot;background: white; font-weight: bold;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Postpones
 disability in adults&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #444444; line-height: 20pt; margin-bottom: 0pt; margin-top: 3pt;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Running
 postpones the development of disability in older adults by strengthening the
 muscles.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #444444; line-height: 20pt; margin-bottom: 0pt; margin-top: 3pt;&quot;&gt;
&lt;span style=&quot;background: white; font-weight: bold;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Better
 sleep&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #444444; line-height: 20pt; margin-bottom: 0pt; margin-top: 3pt;&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Regularly
 exercising helps one fall asleep faster.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #444444; line-height: 20pt; margin-bottom: 0pt; margin-top: 3pt;&quot;&gt;
&lt;span style=&quot;background: white; font-weight: bold;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;TIPS:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;margin-bottom: 0in; margin-left: 0in; margin-top: 0in; unicode-bidi: embed;&quot; type=&quot;disc&quot;&gt;
&lt;li style=&quot;color: #444444; line-height: 20pt; margin-bottom: 0; margin-bottom: 0pt; margin-top: 0; margin-top: 3pt; vertical-align: middle;&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Start
      slow&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;color: #444444; line-height: 20pt; margin-bottom: 0; margin-bottom: 0pt; margin-top: 0; margin-top: 3pt; vertical-align: middle;&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Start
      with aerobics&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;color: #444444; line-height: 20pt; margin-bottom: 0; margin-bottom: 0pt; margin-top: 0; margin-top: 3pt; vertical-align: middle;&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;30
      minutes per day&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;color: #444444; line-height: 20pt; margin-bottom: 0; margin-bottom: 0pt; margin-top: 0; margin-top: 3pt; vertical-align: middle;&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;5
      minutes break at intervals&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;color: #444444; line-height: 20pt; margin-bottom: 0; margin-bottom: 0pt; margin-top: 0; margin-top: 3pt; vertical-align: middle;&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Drink
      plenty of water&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://masimriaz.blogspot.com/feeds/8726734753934078079/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://masimriaz.blogspot.com/2017/09/burn-calories-and-control-weight.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/8726734753934078079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/8726734753934078079'/><link rel='alternate' type='text/html' href='http://masimriaz.blogspot.com/2017/09/burn-calories-and-control-weight.html' title='Burn calories and control weight'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15325984694436289080</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><entry><id>tag:blogger.com,1999:blog-4188251706802729605.post-2812151317478565618</id><published>2017-08-28T07:43:00.000-07:00</published><updated>2017-08-28T07:43:19.197-07:00</updated><title type='text'>Enabling Exception Handling using Log4net</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;CREATE TABLE [dbo].[error_log](&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;&amp;nbsp;[Id] [int] IDENTITY(1,1) NOT NULL,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;&amp;nbsp;[Date] [datetime] NOT NULL,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;&amp;nbsp;[Thread] [varchar](255) NOT NULL,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;&amp;nbsp;[Level] [varchar](50) NOT NULL,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;&amp;nbsp;[Logger] [varchar](255) NOT NULL,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;&amp;nbsp;[Message] [varchar](4000) NOT NULL,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;&amp;nbsp;[Exception] [varchar](2000) NULL,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;&amp;nbsp;CONSTRAINT [PK_error_log] PRIMARY KEY CLUSTERED&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;&amp;nbsp;[Id] ASC&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;configSections&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;section&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;log4net&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;log4net.Config.Log4NetConfigurationSectionHandler,log4net&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;



&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;
&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;configSections&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;appSettings&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;add&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;key&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;log4net.Internal.Debug&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;



&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;appSettings&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;log4net&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;appender&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;AdoNetAppender&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;log4net.Appender.AdoNetAppender&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;bufferSize&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;filter&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;log4net.Filter.LevelMatchFilter&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;acceptOnMatch&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;levelToMatch&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;ERROR&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;filter&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;filter&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;log4net.Filter.DenyAllFilter&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;connectionType&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;System.Data.SqlClient.SqlConnection,
System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;connectionStringName&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;AverosAVL&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;commandText&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;INSERT INTO error_log
([Date],[Thread],[Level],[Logger],[Message],[Exception]) VALUES (@log_date,
@thread, @log_level, @logger, @message, @exception)&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;parameter&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;parameterName&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;@log_date&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;dbType&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;DateTime&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;layout&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;log4net.Layout.RawTimeStampLayout&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;parameter&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;parameter&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;parameterName&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;@thread&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;dbType&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;String&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;size&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;255&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;layout&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;log4net.Layout.PatternLayout&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;conversionPattern&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;%thread&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;layout&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;parameter&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;parameter&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;parameterName&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;@log_level&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;dbType&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;String&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;size&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;50&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;layout&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;log4net.Layout.PatternLayout&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;conversionPattern&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;%level&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;layout&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;parameter&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;parameter&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;parameterName&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;@logger&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;dbType&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;String&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;size&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;255&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;layout&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;log4net.Layout.PatternLayout&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;conversionPattern&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;%logger&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;layout&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;parameter&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;parameter&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;parameterName&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;@message&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;dbType&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;String&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;size&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;4000&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;layout&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;log4net.Layout.PatternLayout&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;conversionPattern&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;%message&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;layout&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;parameter&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;parameter&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;parameterName&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;@exception&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;dbType&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;String&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;size&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;2000&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;layout&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;log4net.Layout.ExceptionLayout&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;parameter&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;appender&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;root&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;appender-ref&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;ref&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;AdoNetAppender&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt; /&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;root&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 107%;&quot;&gt;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt; line-height: 107%;&quot;&gt;log4net&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 107%;&quot;&gt;&amp;gt;&lt;/span&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://masimriaz.blogspot.com/feeds/2812151317478565618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://masimriaz.blogspot.com/2017/08/enabling-exception-handling-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/2812151317478565618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/2812151317478565618'/><link rel='alternate' type='text/html' href='http://masimriaz.blogspot.com/2017/08/enabling-exception-handling-using.html' title='Enabling Exception Handling using Log4net'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15325984694436289080</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-4188251706802729605.post-2542186010671710318</id><published>2017-08-25T07:18:00.002-07:00</published><updated>2017-08-25T07:18:50.273-07:00</updated><title type='text'>Import Excel Into SQL Server using MVC</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;Authorize&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;]&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;ImportDataController&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; : &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;Controller&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;SMSNotificationService&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; smsNotification = &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;SMSNotificationService&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt;&quot;&gt;//
GET: ImportData&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;ActionResult&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; Index()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; View();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
[&lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;HttpPost&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;ActionResult&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; ImportUsers(&lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;HttpPostedFileBase&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; file, &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; sendSms)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;try&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; ImportSMSAlertMessage = &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;LookupService&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;().GetConfigurationKeyValue(&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;ImportSMSAlertMessage&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; role_id = &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;UserService&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;().GetUserRoleByRoleKey(&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;guide&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; senderName = &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;daifnaqaba&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; usersAlreadyExists = &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;DataSet&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; ds = &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;DataSet&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; sendSMS = Request[&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;sendSms&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; (Request.Files[&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;file&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;].ContentLength &amp;gt;
0)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; fileExtension =&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&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;
System.IO.&lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;Path&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;.GetExtension(Request.Files[&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;file&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;].FileName);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; (fileExtension == &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;.xls&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; || fileExtension == &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;.xlsx&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; fileLocation =
Server.MapPath(&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;~/Content/&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;) + Request.Files[&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;file&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;].FileName;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; (System.IO.&lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;File&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;.Exists(fileLocation))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.IO.&lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;File&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;.Delete(fileLocation);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Request.Files[&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;file&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;].SaveAs(fileLocation);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; excelConnectionString
= &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;.Empty;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; excelConnectionString =
&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;Provider=Microsoft.ACE.OLEDB.12.0;Data
Source=&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; + fileLocation + &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;;Extended Properties=\&quot;Excel
12.0;HDR=Yes;IMEX=2\&quot;&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt;&quot;&gt;//connection String
for xls file format.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; (fileExtension == &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;.xls&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
excelConnectionString = &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; + fileLocation + &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;;Extended Properties=\&quot;Excel
8.0;HDR=Yes;IMEX=2\&quot;&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt;&quot;&gt;//connection String
for xlsx file format.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;else&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; (fileExtension == &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;.xlsx&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
excelConnectionString = &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;Provider=Microsoft.ACE.OLEDB.12.0;Data
Source=&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; + fileLocation + &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;;Extended Properties=\&quot;Excel
12.0;HDR=Yes;IMEX=2\&quot;&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt;&quot;&gt;//Create Connection to
Excel work book and add oledb namespace&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;OleDbConnection&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; excelConnection = &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;OleDbConnection&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;(excelConnectionString);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; excelConnection.Open();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;DataTable&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; dt = &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;DataTable&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;dt = excelConnection.GetOleDbSchemaTable(&lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;OleDbSchemaGuid&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;.Tables, &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;null&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; (dt == &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;null&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;null&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;String&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;[] excelSheets = &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;String&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;[dt.Rows.Count];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; t = 0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt;&quot;&gt;//excel data saves in
temp file here.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;foreach&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;DataRow&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; row &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;in&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; dt.Rows)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; excelSheets[t] =
row[&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;TABLE_NAME&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;].ToString();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t++;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;OleDbConnection&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; excelConnection1 = &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;OleDbConnection&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;(excelConnectionString);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; query = &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;.Format(&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;Select * from
[{0}]&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;,
excelSheets[0]);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;OleDbDataAdapter&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; dataAdapter = &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;OleDbDataAdapter&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;(query,
excelConnection1))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
dataAdapter.Fill(ds);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;
excelConnection.Close();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;for&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; i = 1; i &amp;lt;
ds.Tables[0].Rows.Count; i++)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; conn = &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;ConfigurationManager&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;.ConnectionStrings[&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;AverosAVLProd&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;].ConnectionString;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;SqlConnection&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; con = &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;SqlConnection&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;(conn);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; first_name = &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;Convert&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;.ToString(ds.Tables[0].Rows[i][0]);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; email = &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;Convert&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;.ToString(ds.Tables[0].Rows[i][1]);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; password = &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;Convert&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;.ToString(ds.Tables[0].Rows[i][2]);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;
user_external_identifier = email;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; contact_number =
password;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;DateTime&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; created_on = &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;DateTime&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;.Now;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;bool&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; userExists = &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;UserService&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;().CheckIfUserExists(email);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; (!userExists)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; query = &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;Insert into
users(user_external_identifier,first_name,last_name,email,password,contact_number,role_id,created_on,updated_on,status)
Values(&#39;&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; + user_external_identifier + &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&#39;,N&#39;&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; + first_name + &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&#39;,&#39;&#39;,&#39;&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; + email + &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&#39;,&#39;&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; + password + &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&#39;,&#39;&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; + contact_number + &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&#39;,&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; + role_id + &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;,&#39;&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; + created_on.ToString(&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;yyyy-MM-dd
HH:mm:ss&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;) + &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&#39;,&#39;&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; + created_on.ToString(&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;yyyy-MM-dd HH:mm:ss&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;) + &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&#39;,&#39;A&#39;)&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; con.Open();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;SqlCommand&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; cmd = &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;SqlCommand&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;(query, con);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; isSaved = 0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; isSaved =
cmd.ExecuteNonQuery();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; (isSaved != 0)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TempData[&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;SuccessMessage&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;] = &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;users created
successfully.&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; con.Close();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;else&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; usersAlreadyExists
+= email + &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;,
&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; (sendSms == &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;on&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; contactNumber =
smsNotification.AdjustPhoneNumber(contact_number);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;
ImportSMSAlertMessageTranslated = ImportSMSAlertMessage.Replace(&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;{U}&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;, email).Replace(&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;{P}&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;, password);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; sentStatus =
smsNotification.SendSMS(contactNumber, ImportSMSAlertMessageTranslated,
senderName);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; || sentStatus != &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&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;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; query = &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;Insert into
sms_logs(sms_status, sent_number,sent_message,sent_date) Values(N&#39;&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; +
sentStatus.ToString() + &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&#39;,&#39;&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; + contact_number + &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&#39;,N&#39;&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; +
ImportSMSAlertMessageTranslated + &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&#39;,&#39;&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; +
created_on.ToString(&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;yyyy-MM-dd HH:mm:ss&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;) + &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;&#39;)&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; con.Open();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&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;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;SqlCommand&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; cmd = &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;SqlCommand&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;(query, con);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
cmd.ExecuteNonQuery();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; con.Close();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; (!&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;.IsNullOrEmpty(usersAlreadyExists))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; TempData[&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;UsersAlreadyExist&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;] =
usersAlreadyExists;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; RedirectToAction(&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;Index&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;catch&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;Exception&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; ex)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;LogService&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;().LogException(ex);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; TempData[&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;SuccessMessage&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;] = ex.Message;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; RedirectToAction(&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;Index&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;finally&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; fileLocation = Server.MapPath(&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;~/Content/&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;) + Request.Files[&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;file&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;].FileName;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; (System.IO.&lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;File&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;.Exists(fileLocation))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; System.IO.&lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;File&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;.Delete(fileLocation);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&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; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; line-height: 107%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&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://masimriaz.blogspot.com/feeds/2542186010671710318/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://masimriaz.blogspot.com/2017/08/import-excel-into-sql-server-using-mvc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/2542186010671710318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/2542186010671710318'/><link rel='alternate' type='text/html' href='http://masimriaz.blogspot.com/2017/08/import-excel-into-sql-server-using-mvc.html' title='Import Excel Into SQL Server using MVC'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15325984694436289080</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-4188251706802729605.post-2668176870795629334</id><published>2017-08-25T05:00:00.000-07:00</published><updated>2017-08-25T05:00:23.471-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Goals"/><category scheme="http://www.blogger.com/atom/ns#" term="Objectives"/><title type='text'>Goal setting examples</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;ol style=&quot;direction: ltr; font-family: Calibri; font-size: 11pt; font-weight: bold; margin-bottom: 0in; margin-left: 0.375in; margin-top: 0in; unicode-bidi: embed;&quot; type=&quot;1&quot;&gt;
&lt;li style=&quot;margin-bottom: 0px; margin-top: 0px; vertical-align: middle;&quot; value=&quot;1&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;On Time Project Delivery&lt;/span&gt;&lt;/li&gt;
&lt;ol style=&quot;direction: ltr; font-size: 11pt; font-weight: normal; margin-bottom: 0in; margin-left: 0.375in; margin-top: 0in; unicode-bidi: embed;&quot; type=&quot;a&quot;&gt;
&lt;li style=&quot;margin-bottom: 0; margin-top: 0; vertical-align: middle;&quot; value=&quot;1&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;on time
      development and delivery of high quality features for Averos project.
      which will help client to make Hajj operations successful.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;li style=&quot;margin-bottom: 0px; margin-top: 0px; vertical-align: middle;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Effective
     Requirement Analysis&lt;/span&gt;&lt;/li&gt;
&lt;ol style=&quot;direction: ltr; font-size: 11pt; font-weight: normal; margin-bottom: 0in; margin-left: 0.375in; margin-top: 0in; unicode-bidi: embed;&quot; type=&quot;a&quot;&gt;
&lt;li style=&quot;margin-bottom: 0; margin-top: 0; vertical-align: middle;&quot; value=&quot;1&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Proactive
      requirement analysis and effective preparation of sprint planning , with
      detailed task/effort estimates (We are using Trello and slack for task
      and effort estimation)&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;li style=&quot;margin-bottom: 0px; margin-top: 0px; vertical-align: middle;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Effective
     Object Oriented Analysis and Design&lt;/span&gt;&lt;/li&gt;
&lt;ol style=&quot;direction: ltr; font-size: 11pt; font-weight: normal; margin-bottom: 0in; margin-left: 0.375in; margin-top: 0in; unicode-bidi: embed;&quot; type=&quot;a&quot;&gt;
&lt;li style=&quot;margin-bottom: 0; margin-top: 0; vertical-align: middle;&quot; value=&quot;1&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Thorough object
      oriented analysis and design of project features with the documentation
      of necessary design artifacts&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;li style=&quot;margin-bottom: 0px; margin-top: 0px; vertical-align: middle;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Adherence
     to Effective Scrum Practices&lt;/span&gt;&lt;/li&gt;
&lt;ol style=&quot;direction: ltr; font-size: 11pt; font-weight: normal; margin-bottom: 0in; margin-left: 0.375in; margin-top: 0in; unicode-bidi: embed;&quot; type=&quot;a&quot;&gt;
&lt;li style=&quot;margin-bottom: 0; margin-top: 0; vertical-align: middle;&quot; value=&quot;1&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Adhering to all
      the scrum processes with active and punctual participation of scrum
      meetings &lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;li style=&quot;margin-bottom: 0px; margin-top: 0px; vertical-align: middle;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Continuous
     Improvement of Domain, Technical and Behavioral&lt;/span&gt;&lt;/li&gt;
&lt;ol style=&quot;direction: ltr; font-size: 11pt; font-weight: normal; margin-bottom: 0in; margin-left: 0.375in; margin-top: 0in; unicode-bidi: embed;&quot; type=&quot;a&quot;&gt;
&lt;li style=&quot;margin-bottom: 0; margin-top: 0; vertical-align: middle;&quot; value=&quot;1&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Continuously
      enhancing the project domain knowledge, technical and behavioral
      competencies to grow to next level&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;li style=&quot;margin-bottom: 0px; margin-top: 0px; vertical-align: middle;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Active
     contribution of team&#39;s growth&lt;/span&gt;&lt;/li&gt;
&lt;ol style=&quot;direction: ltr; font-size: 11pt; margin-bottom: 0in; margin-left: 0.375in; margin-top: 0in; unicode-bidi: embed;&quot; type=&quot;a&quot;&gt;
&lt;li style=&quot;margin-bottom: 0px; margin-top: 0px; vertical-align: middle;&quot; value=&quot;1&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-weight: normal;&quot;&gt;Understanding and practicing agile principles and
      helping the team to increase its efficiency and effectiveness with timely
      contribution to team member&#39;s success&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/ol&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://masimriaz.blogspot.com/feeds/2668176870795629334/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://masimriaz.blogspot.com/2017/08/goal-setting-examples.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/2668176870795629334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/2668176870795629334'/><link rel='alternate' type='text/html' href='http://masimriaz.blogspot.com/2017/08/goal-setting-examples.html' title='Goal setting examples'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15325984694436289080</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-4188251706802729605.post-8015186421218135122</id><published>2017-07-16T00:15:00.000-07:00</published><updated>2017-07-16T00:17:18.738-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Azure"/><category scheme="http://www.blogger.com/atom/ns#" term="Blob"/><category scheme="http://www.blogger.com/atom/ns#" term="Storage"/><title type='text'>Azure Blob Storage</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;The first thing we need to do
is to create an Azure Storage account in the&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://portal.azure.com/&quot;&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;Azure Portal&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;.&amp;nbsp; Once logged into the Portal,
you’ll want to click on the big green plus sign for New in the top left.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: xx-small;&quot;&gt;&lt;span style=&quot;background: white; color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBr22AjDEVpwLhgRu3Mm-cNm0hSOVM7AtPHMc0O8SA7vSqieHMB6ZpEvE9PnoEYRJl28Y9uYk0X3wOWp5BkXumM9XaWNReq44ziGbKayrzL09-6vkXuY6sQ6hOe9S0FAe0J5_uGj8LDdQ/s1600/image2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;673&quot; data-original-width=&quot;900&quot; height=&quot;476&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBr22AjDEVpwLhgRu3Mm-cNm0hSOVM7AtPHMc0O8SA7vSqieHMB6ZpEvE9PnoEYRJl28Y9uYk0X3wOWp5BkXumM9XaWNReq44ziGbKayrzL09-6vkXuY6sQ6hOe9S0FAe0J5_uGj8LDdQ/s640/image2.png&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: blue; text-decoration-line: none;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype
 id=&quot;_x0000_t75&quot; coordsize=&quot;21600,21600&quot; o:spt=&quot;75&quot; o:preferrelative=&quot;t&quot;
 path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; filled=&quot;f&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;/&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;/&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;/&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;/&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;/&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;/&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;/&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;/&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;/&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;/&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;/&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;/&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;/&gt;
 &lt;/v:formulas&gt;
 &lt;v:path o:extrusionok=&quot;f&quot; gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot;/&gt;
 &lt;o:lock v:ext=&quot;edit&quot; aspectratio=&quot;t&quot;/&gt;
&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Picture_x0020_10&quot; o:spid=&quot;_x0000_i1034&quot; type=&quot;#_x0000_t75&quot;
 alt=&quot;image&quot;
 href=&quot;http://www.wintellect.com/devcenter/wp-content/uploads/2015/05/image2.png&quot;
 style=&#39;width:399.75pt;height:299.25pt;visibility:visible;mso-wrap-style:square&#39;
 o:button=&quot;t&quot;&gt;
 &lt;v:imagedata src=&quot;file:///C:/Users/ASIM~1.RIA/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png&quot;
  o:title=&quot;image&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: xx-small;&quot;&gt;&lt;span style=&quot;background: white; color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;Next, you’ll want to
select&amp;nbsp;&lt;b&gt;Data + Storage&lt;/b&gt;&amp;nbsp;and then&amp;nbsp;&lt;b&gt;Storage&lt;/b&gt;&amp;nbsp;to get
to the configuration blade for your new storage account.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqI82mG9SREx6cHwQv4Au0-Ea_JWBZarFK5dUO8ODmG1LcHaDfhjbY6XA6u6E_kgHTNciYtTNBzUWREJ-3RF0YO_ErEq-pqHDqHPfLzYb2m0ZsJPapMhJ7IDmAoHlEAvRi5M32maN0M5M/s1600/image3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;657&quot; data-original-width=&quot;1024&quot; height=&quot;410&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqI82mG9SREx6cHwQv4Au0-Ea_JWBZarFK5dUO8ODmG1LcHaDfhjbY6XA6u6E_kgHTNciYtTNBzUWREJ-3RF0YO_ErEq-pqHDqHPfLzYb2m0ZsJPapMhJ7IDmAoHlEAvRi5M32maN0M5M/s640/image3.png&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.wintellect.com/devcenter/wp-content/uploads/2015/05/image3.png&quot;&gt;&lt;span style=&quot;color: blue; text-decoration-line: none;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape
 id=&quot;Picture_x0020_9&quot; o:spid=&quot;_x0000_i1033&quot; type=&quot;#_x0000_t75&quot; alt=&quot;image&quot;
 href=&quot;http://www.wintellect.com/devcenter/wp-content/uploads/2015/05/image3.png&quot;
 style=&#39;width:446.25pt;height:287.25pt;visibility:visible;mso-wrap-style:square&#39;
 o:button=&quot;t&quot;&gt;
 &lt;v:imagedata src=&quot;file:///C:/Users/ASIM~1.RIA/AppData/Local/Temp/msohtmlclip1/01/clip_image002.png&quot;
  o:title=&quot;image&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: xx-small;&quot;&gt;&lt;span style=&quot;background: white; color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;Here, you’ll want to
enter&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;a&amp;nbsp;unique name for your Azure Storage
account. Note that this name must be globally unique and must be a valid URL.
You’ll also want to make sure that the physical location&amp;nbsp;you select is
closest to the consumers&lt;/span&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;&amp;nbsp;of your data as costs can increase based
on the proximity of the consumer to the storage region. You can leave the rest
of the information with the defaults and then click the&amp;nbsp;&lt;b&gt;Create&lt;/b&gt;&amp;nbsp;button.&amp;nbsp;
Azure will grind away for a bit to create your storage account as you watch an
animation on your home screen. There’s a much more in-depth article
specifically on&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://azure.microsoft.com/en-us/documentation/articles/storage-create-storage-account&quot;&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;Azure Storage Accounts&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;&amp;nbsp;at the Azure site that you may
find interesting, though don’t be alarmed that the screenshots there differ
from what I have here or what you might actually encounter on the Azure Portal
itself. The Azure folks have been tweaking the look of the Azure Preview Portal
pretty regularly.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;Eventually, the Azure Storage
account will be created and you will be presented with the dashboard page for
your new storage account.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 15.0pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;Adding
the Container&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;In Azure Blob Storage, each
blob must live inside a&amp;nbsp;&lt;b&gt;Container&lt;/b&gt;.&amp;nbsp; A Container is just a way
to group blobs and is used as part of the URL that is created for each
blob.&amp;nbsp; An Azure Storage account can contain unlimited&amp;nbsp;&lt;b&gt;Containers&lt;/b&gt;&amp;nbsp;and
each&amp;nbsp;&lt;b&gt;Container&lt;/b&gt;&amp;nbsp;can contain unlimited blobs.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;So, let’s add a&amp;nbsp;&lt;b&gt;Container&lt;/b&gt;&amp;nbsp;so
we’ll have somewhere to store our images.&amp;nbsp; In the&amp;nbsp;&lt;b&gt;Summary&lt;/b&gt;&amp;nbsp;area,
you want to now click on the&amp;nbsp;&lt;b&gt;Containers&lt;/b&gt;&amp;nbsp;link to show your
containers for this storage account and then click the white plus icon just
below the&amp;nbsp;&lt;b&gt;Containers&lt;/b&gt;&amp;nbsp;header.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: xx-small;&quot;&gt;&lt;span style=&quot;background: white; color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCGyNbdZMr5zxylVJu4ksrlplJ9DPCpIX-K0y0MKe39pdsQnxGEapXUeWt9Lc6pzauomtqMAw0UdMCH-WegBwDtDICR08tE0paLg2aqERWiI1vOanh7S0H7syBRzB-6pO2YnKcUDvGnwQ/s1600/image4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;542&quot; data-original-width=&quot;1024&quot; height=&quot;338&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCGyNbdZMr5zxylVJu4ksrlplJ9DPCpIX-K0y0MKe39pdsQnxGEapXUeWt9Lc6pzauomtqMAw0UdMCH-WegBwDtDICR08tE0paLg2aqERWiI1vOanh7S0H7syBRzB-6pO2YnKcUDvGnwQ/s640/image4.png&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: blue; text-decoration-line: none;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape
 id=&quot;Picture_x0020_8&quot; o:spid=&quot;_x0000_i1032&quot; type=&quot;#_x0000_t75&quot; alt=&quot;image&quot;
 href=&quot;http://www.wintellect.com/devcenter/wp-content/uploads/2015/05/image4.png&quot;
 style=&#39;width:538.5pt;height:286.5pt;visibility:visible;mso-wrap-style:square&#39;
 o:button=&quot;t&quot;&gt;
 &lt;v:imagedata src=&quot;file:///C:/Users/ASIM~1.RIA/AppData/Local/Temp/msohtmlclip1/01/clip_image003.png&quot;
  o:title=&quot;image&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: xx-small;&quot;&gt;&lt;span style=&quot;background: white; color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;In the&amp;nbsp;&lt;b&gt;Add a
Container&lt;/b&gt;&amp;nbsp;blade, enter a name for your container and select&amp;nbsp;&lt;b&gt;Blob&lt;/b&gt;&amp;nbsp;and
click&amp;nbsp;&lt;b&gt;OK&lt;/b&gt;.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: xx-small;&quot;&gt;&lt;span style=&quot;background: white; color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoqrbyPzi_d3zXk0vtCu6sfa0x36NfqnhZEgWXzDAGkLF4BKs01NnO0jweFzcO-dQq11qafrT2E3HHnwokXMXRGIvAr2FNTH7Rt6gfKx3Iz7RXGk5N3GHmb5eyTr7fjgR_rCdSZaBbf9k/s1600/image5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;689&quot; data-original-width=&quot;327&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoqrbyPzi_d3zXk0vtCu6sfa0x36NfqnhZEgWXzDAGkLF4BKs01NnO0jweFzcO-dQq11qafrT2E3HHnwokXMXRGIvAr2FNTH7Rt6gfKx3Iz7RXGk5N3GHmb5eyTr7fjgR_rCdSZaBbf9k/s640/image5.png&quot; width=&quot;302&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: blue; text-decoration-line: none;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape
 id=&quot;Picture_x0020_7&quot; o:spid=&quot;_x0000_i1031&quot; type=&quot;#_x0000_t75&quot; alt=&quot;image&quot;
 href=&quot;http://www.wintellect.com/devcenter/wp-content/uploads/2015/05/image5.png&quot;
 style=&#39;width:188.25pt;height:393pt;visibility:visible;mso-wrap-style:square&#39;
 o:button=&quot;t&quot;&gt;
 &lt;v:imagedata src=&quot;file:///C:/Users/ASIM~1.RIA/AppData/Local/Temp/msohtmlclip1/01/clip_image004.png&quot;
  o:title=&quot;image&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: xx-small;&quot;&gt;&lt;span style=&quot;background: white; color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;Once your container is
created, it will be displayed in the list of containers.&amp;nbsp; Copy the URL
that is created for your container from the URL column.&amp;nbsp; Let’s go ahead
and copy that into our&amp;nbsp;&lt;b&gt;web.config&lt;/b&gt;&amp;nbsp;file as we’ll soon need it.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: xx-small;&quot;&gt;&lt;span style=&quot;background: white; color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfNqzpEdKFe_JWdKEmfmmad9LU_RDB827N8Tb1L7HVfluF-Uwl9kbId20O0gc-bdJQT4GNfcZlF7Jor3mqxN7edXK5mjkJULSnVcXC_EC2n_yTAUDX0qYvPDyBeoF-SNfzoodGQU78PBY/s1600/image6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;494&quot; data-original-width=&quot;668&quot; height=&quot;473&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfNqzpEdKFe_JWdKEmfmmad9LU_RDB827N8Tb1L7HVfluF-Uwl9kbId20O0gc-bdJQT4GNfcZlF7Jor3mqxN7edXK5mjkJULSnVcXC_EC2n_yTAUDX0qYvPDyBeoF-SNfzoodGQU78PBY/s640/image6.png&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: blue; text-decoration-line: none;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape
 id=&quot;Picture_x0020_6&quot; o:spid=&quot;_x0000_i1030&quot; type=&quot;#_x0000_t75&quot; alt=&quot;image&quot;
 href=&quot;http://www.wintellect.com/devcenter/wp-content/uploads/2015/05/image6.png&quot;
 style=&#39;width:333pt;height:246pt;visibility:visible;mso-wrap-style:square&#39;
 o:button=&quot;t&quot;&gt;
 &lt;v:imagedata src=&quot;file:///C:/Users/ASIM~1.RIA/AppData/Local/Temp/msohtmlclip1/01/clip_image005.png&quot;
  o:title=&quot;image&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 15.0pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;Configuration
Settings&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;Open the Visual Studio
solution we created in the&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://www.wintellect.com/devcenter/rrobinson/azure-bits-1-up-and-running&quot;&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;last Azure Bit&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;&amp;nbsp;so we can wire up saving of
our&amp;nbsp;&lt;b&gt;UploadedImage&lt;/b&gt;into our newly created Azure Storage account.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;While you’ve still got that
URL in your clipboard, let’s paste that into the&amp;nbsp;&lt;b&gt;appSettings&lt;/b&gt;&amp;nbsp;of
our&amp;nbsp;&lt;b&gt;web.config&lt;/b&gt;&amp;nbsp;file as&amp;nbsp;&lt;b&gt;ImageRootPath&lt;/b&gt;.&amp;nbsp; Also,
go ahead and add an&amp;nbsp;&lt;b&gt;appSetting&lt;/b&gt;&amp;nbsp;for your Container name as we
will need that as well.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #979797;&quot;&gt;web.config&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #979797;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l7 level1 lfo1; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;1.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background: white; color: #a31515;&quot;&gt;appSettings&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l12 level1 lfo2; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;2.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background: white; color: #a31515;&quot;&gt;add&lt;/span&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: red;&quot;&gt;key&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;“&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;ImageRootPath&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;“&lt;/span&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: red;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;“&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;https://imagemanipulator.blob.core.windows.net/images&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;“&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;&amp;nbsp;/&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l12 level1 lfo2; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;3.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background: white; color: #a31515;&quot;&gt;add&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: red;&quot;&gt;key&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;“&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;ImagesContainer&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;“&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: red;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;“&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;images&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;“&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;&amp;nbsp;/&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l5 level1 lfo3; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;4.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;background: white; color: #a31515;&quot;&gt;appSettings&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;Since we already have&amp;nbsp;&lt;b&gt;web.config&lt;/b&gt;&amp;nbsp;open,
let’s go ahead and grab the connection string for our storage account and add
that to our&amp;nbsp;&lt;b&gt;connectionStrings&lt;/b&gt;&amp;nbsp;in&amp;nbsp;&lt;b&gt;web.config&lt;/b&gt;.&amp;nbsp;
In the main dashboard for your storage account, you’ll want to click the&amp;nbsp;&lt;b&gt;All
Settings&lt;/b&gt;&amp;nbsp;link and then select&amp;nbsp;&lt;b&gt;Keys&lt;/b&gt;&amp;nbsp;so that you can
see the various key settings for your storage account including the connection
strings.&amp;nbsp; You should be seeing something that looks roughly like the
below.&amp;nbsp; Note that I’ve masked some of my super secret keys in this
screenshot.&amp;nbsp; It’s very important that you guard your keys as they can be
used to gain unfettered access to your storage accounts if they are
compromised.&amp;nbsp; You can always regenerate new keys by using the buttons just
under the&amp;nbsp;&lt;b&gt;Manage keys&lt;/b&gt;&amp;nbsp;header in the Azure Portal if you find
that your keys have been compromised.&amp;nbsp; Also, there are&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://msdn.microsoft.com/en-us/library/azure/dn757746.aspx#rotate&quot;&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;various rotation strategies&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;&amp;nbsp;you can employ to automate the exchanging
of primary and secondary keys, but that is beyond the scope of this series.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNihHZiY4htc8WvzysO4R-c1uMDQokRyREHv_YpYbDhnXIX5w50R088wLIiNo1nEw3Jn5oxB3NScS2rkLVUIoogKQ1KN7ByW6yb_dq6f-TPiuYw7AHclrHijOuy_kQoTzVT5tCOE6jOtg/s1600/image7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;614&quot; data-original-width=&quot;1024&quot; height=&quot;382&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNihHZiY4htc8WvzysO4R-c1uMDQokRyREHv_YpYbDhnXIX5w50R088wLIiNo1nEw3Jn5oxB3NScS2rkLVUIoogKQ1KN7ByW6yb_dq6f-TPiuYw7AHclrHijOuy_kQoTzVT5tCOE6jOtg/s640/image7.png&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: blue; text-decoration-line: none;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape
 id=&quot;Picture_x0020_5&quot; o:spid=&quot;_x0000_i1029&quot; type=&quot;#_x0000_t75&quot; alt=&quot;image&quot;
 href=&quot;http://www.wintellect.com/devcenter/wp-content/uploads/2015/05/image7.png&quot;
 style=&#39;width:631.5pt;height:380.25pt;visibility:visible;mso-wrap-style:square&#39;
 o:button=&quot;t&quot;&gt;
 &lt;v:imagedata src=&quot;file:///C:/Users/ASIM~1.RIA/AppData/Local/Temp/msohtmlclip1/01/clip_image006.png&quot;
  o:title=&quot;image&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;Now copy the value given
for&amp;nbsp;&lt;b&gt;Primary Connection String&lt;/b&gt;&amp;nbsp;and add this to the&amp;nbsp;&lt;b&gt;connectionStrings&lt;/b&gt;&amp;nbsp;section
of&amp;nbsp;&lt;b&gt;web.config&lt;/b&gt;:&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #979797;&quot;&gt;web.config&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #979797;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l3 level1 lfo4; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;1.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background: white; color: #a31515;&quot;&gt;connectionStrings&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l4 level1 lfo5; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;2.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background: white; color: #a31515;&quot;&gt;add&lt;/span&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: red;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;“&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;BlobStorageConnectionString&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;“&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l4 level1 lfo5; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;3.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: red;&quot;&gt;connectionString&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;“&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;DefaultEndpointsProtocol=https;AccountName=imagemanipulator;AccountKey=XXXXXXXXXXXXX&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;“&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l16 level1 lfo6; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;4.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;background: white; color: #a31515;&quot;&gt;connectionStrings&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;Next, we’ll update&amp;nbsp;&lt;b&gt;ImageService&lt;/b&gt;&amp;nbsp;to
grab the values we just placed in&amp;nbsp;&lt;b&gt;web.config&lt;/b&gt;&amp;nbsp;and assign these
to private fields in&amp;nbsp;&lt;b&gt;ImageService.&amp;nbsp;&amp;nbsp;&lt;/b&gt;In addition, now that
we have these values, we can construct and assign the URL for our&amp;nbsp;&lt;b&gt;UploadedImage&amp;nbsp;&lt;/b&gt;in
the&amp;nbsp;&lt;b&gt;CreateUploadedImage&lt;/b&gt;&amp;nbsp;method.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #979797;&quot;&gt;ImageService.cs&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #979797;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l8 level1 lfo7; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;1.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;ImageService&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;IImageService&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l13 level1 lfo8; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;2.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;{&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l13 level1 lfo8; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;3.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;private&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;readonly&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;_imageRootPath;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l13 level1 lfo8; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;4.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;private&lt;/span&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;readonly&lt;/span&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;_containerName;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l13 level1 lfo8; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;5.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;private&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;readonly&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;_blobStorageConnectionString;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l13 level1 lfo8; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;6.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;ImageService()&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l13 level1 lfo8; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;7.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;{&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l13 level1 lfo8; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;8.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;_imageRootPath
=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;ConfigurationManager&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;.AppSettings[&lt;/span&gt;&lt;span style=&quot;background: white; color: #a31515;&quot;&gt;“ImageRootPath”&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;];&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l13 level1 lfo8; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;9.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;_containerName =&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;ConfigurationManager&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;.AppSettings[&lt;/span&gt;&lt;span style=&quot;background: white; color: #a31515;&quot;&gt;“ImagesContainer”&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;];&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l13 level1 lfo8; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;10.&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;_blobStorageConnectionString
=&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;ConfigurationManager&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;.ConnectionStrings[&lt;/span&gt;&lt;span style=&quot;background: white; color: #a31515;&quot;&gt;“BlobStorageConnectionString”&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;].ConnectionString;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l13 level1 lfo8; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;11.&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l13 level1 lfo8; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;12.&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;async&lt;/span&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;Task&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;UploadedImage&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;gt; CreateUploadedImage(&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;HttpPostedFileBase&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;file)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l13 level1 lfo8; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;13.&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l13 level1 lfo8; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;14.&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;((file !=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;null&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;)
&amp;amp;&amp;amp; (file.ContentLength &amp;gt; 0) &amp;amp;&amp;amp; !&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;.IsNullOrEmpty(file.FileName))&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l13 level1 lfo8; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;15.&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l13 level1 lfo8; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;16.&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&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: white; color: blue;&quot;&gt;byte&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;[] fileBytes =&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;byte&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;[file.ContentLength];&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l13 level1 lfo8; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;17.&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&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: white; color: blue;&quot;&gt;await&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;file.InputStream.ReadAsync(fileBytes, 0,&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;Convert&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;.ToInt32(file.ContentLength));&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l13 level1 lfo8; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;18.&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&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: white; color: blue;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;UploadedImage&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l13 level1 lfo8; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;19.&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&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: white;&quot;&gt;{&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l13 level1 lfo8; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;20.&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&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;ContentType
= file.ContentType,&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l13 level1 lfo8; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;21.&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&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;&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;Data = fileBytes,&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l13 level1 lfo8; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;22.&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&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;Name
= file.FileName,&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l13 level1 lfo8; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;23.&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&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;&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;Url =&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;.Format(&lt;/span&gt;&lt;span style=&quot;background: white; color: #a31515;&quot;&gt;“{&lt;/span&gt;&lt;span style=&quot;background: white; color: mediumseagreen;&quot;&gt;0}&lt;/span&gt;&lt;span style=&quot;background: white; color: #a31515;&quot;&gt;/{&lt;/span&gt;&lt;span style=&quot;background: white; color: mediumseagreen;&quot;&gt;1}&lt;/span&gt;&lt;span style=&quot;background: white; color: #a31515;&quot;&gt;“&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;,
_imageRootPath, file.FileName)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l13 level1 lfo8; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;24.&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&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;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l13 level1 lfo8; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;25.&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l13 level1 lfo8; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;26.&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;null&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l13 level1 lfo8; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;27.&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l13 level1 lfo8; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;28.&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 15.0pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;Wiring
the Image Service to Upload&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;For this next section, we
will need to bring in some additional packages via&amp;nbsp;&lt;b&gt;Nuget&lt;/b&gt;.&amp;nbsp; To
do this, right-click on the web project and select&amp;nbsp;&lt;b&gt;Manage NuGet
Packages&lt;/b&gt;&amp;nbsp;and then search for&amp;nbsp;&lt;b&gt;WindowsAzure.Storage&lt;/b&gt;&amp;nbsp;and
click&amp;nbsp;&lt;b&gt;Install&lt;/b&gt;.&amp;nbsp; This will bring in all of the required&amp;nbsp;&lt;b&gt;Nuget&lt;/b&gt;&amp;nbsp;packages
needed for interaction with Azure Storage, so be sure to click “&lt;b&gt;I Accept&lt;/b&gt;”
when prompted.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;The flow for saving our image
to&amp;nbsp;&lt;b&gt;Azure Blob Storage&lt;/b&gt;&amp;nbsp;is that we first need to get a reference
to our&amp;nbsp;&lt;b&gt;Storage Account&lt;/b&gt;and use that to create a reference to
our&amp;nbsp;&lt;b&gt;Container&lt;/b&gt;.&amp;nbsp; Once we have our&amp;nbsp;&lt;b&gt;Container&lt;/b&gt;, we
configure it to allow public access and we use it to get a reference to a block
of memory for our blob.&amp;nbsp; Lastly, we tell the block that we are about to
insert an image and finally we kick off the upload of the image to our&amp;nbsp;&lt;b&gt;Container&lt;/b&gt;&amp;nbsp;using
the name we generated earlier.&amp;nbsp; Let’s now see what that looks like in some
(heavily-commented) code.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;First, add the new method to
the&amp;nbsp;&lt;b&gt;IImageService&lt;/b&gt;&amp;nbsp;interface:&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #979797;&quot;&gt;IImageService.cs&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #979797;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l9 level1 lfo9; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;1.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;interface&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;IImageService&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l1 level1 lfo10; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;2.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;{&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l1 level1 lfo10; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;3.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;Task&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;UploadedImage&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;gt; CreateUploadedImage(&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;HttpPostedFileBase&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;file);&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l1 level1 lfo10; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;4.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;Task&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;AddImageToBlobStorageAsync(&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;UploadedImage&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;image);&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l1 level1 lfo10; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;5.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;And now, implement the new
method in&amp;nbsp;&lt;b&gt;ImageService&lt;/b&gt;:&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #979797;&quot;&gt;ImageService.cs&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #979797;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l6 level1 lfo11; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;1.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;async&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;Task&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;AddImageToBlobStorageAsync(&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;UploadedImage&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;image)&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l11 level1 lfo12; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;2.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;{&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l11 level1 lfo12; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;3.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: green;&quot;&gt;//&amp;nbsp;&amp;nbsp;get the container reference&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l11 level1 lfo12; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;4.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;container = GetImagesBlobContainer();&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l11 level1 lfo12; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;5.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: green;&quot;&gt;// using the container reference, get a block
blob reference and set its type&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l11 level1 lfo12; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;6.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;CloudBlockBlob&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;blockBlob =
container.GetBlockBlobReference(image.Name);&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l11 level1 lfo12; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;7.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;blockBlob.Properties.ContentType =
image.ContentType;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l11 level1 lfo12; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;8.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: green;&quot;&gt;// finally, upload the image into blob storage
using the block blob reference&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l11 level1 lfo12; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;9.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;fileBytes = image.Data;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l11 level1 lfo12; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;10.&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;await&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;blockBlob.UploadFromByteArrayAsync(fileBytes, 0,
fileBytes.Length);&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l11 level1 lfo12; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;11.&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo13; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;12.&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;private&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;CloudBlobContainer&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;GetImagesBlobContainer()&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l10 level1 lfo14; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;13.&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;{&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l10 level1 lfo14; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;14.&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: green;&quot;&gt;// use the connection string to get the storage
account&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l10 level1 lfo14; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;15.&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;storageAccount =&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;CloudStorageAccount&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;.Parse(_blobStorageConnectionString);&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l10 level1 lfo14; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;16.&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: green;&quot;&gt;// using the storage account, create the blob
client&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l10 level1 lfo14; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;17.&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;blobClient = storageAccount.CreateCloudBlobClient();&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l10 level1 lfo14; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;18.&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: green;&quot;&gt;// finally, using the blob client, get a
reference to our container&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l10 level1 lfo14; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;19.&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;container =
blobClient.GetContainerReference(_containerName);&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l10 level1 lfo14; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;20.&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: green;&quot;&gt;// if we had not created the container in the
portal, this would automatically create it for us at run time&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l10 level1 lfo14; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;21.&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;container.CreateIfNotExists();&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l10 level1 lfo14; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;22.&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: green;&quot;&gt;// by default, blobs are private and would
require your access key to download.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l10 level1 lfo14; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;23.&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: green;&quot;&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;You can allow public access
to the blobs by making the container public.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l10 level1 lfo14; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;24.&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;container.SetPermissions(&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l10 level1 lfo14; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;25.&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;BlobContainerPermissions&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l10 level1 lfo14; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;26.&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l10 level1 lfo14; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;27.&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&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: white;&quot;&gt;PublicAccess =&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;BlobContainerPublicAccessType&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;.Blob&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l10 level1 lfo14; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;28.&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;});&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l10 level1 lfo14; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;29.&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;container;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l10 level1 lfo14; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;30.&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;One thing to note about the
public access we set on our&amp;nbsp;&lt;b&gt;Container&amp;nbsp;&lt;/b&gt;(since I know that
the&amp;nbsp;&lt;b&gt;PublicAccess = BlobContainerPublicAccessType.Blob&lt;/b&gt;&amp;nbsp;might make
some folks nervous).&amp;nbsp;&amp;nbsp;&lt;b&gt;Containers&lt;/b&gt;&amp;nbsp;are created by default
with private access.&amp;nbsp; We are updating our&amp;nbsp;&lt;b&gt;Container&lt;/b&gt;&amp;nbsp;to
public to allow read-only anonymous access of our images. &amp;nbsp;We will still
need our private access keys in order to delete or edit images in the&amp;nbsp;&lt;b&gt;Container&lt;/b&gt;.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;The last step for the upload
process is to actually call the&amp;nbsp;&lt;b&gt;AddImageToBlobStorageAsync&lt;/b&gt;&amp;nbsp;method
from our&amp;nbsp;&lt;b&gt;HomeController&lt;/b&gt;’s&amp;nbsp;&lt;b&gt;Upload&lt;/b&gt;&amp;nbsp;action method.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #979797;&quot;&gt;HomeController.cs&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #979797;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l14 level1 lfo15; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;1.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;HttpPost&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;]&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l2 level1 lfo16; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;2.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;async&lt;/span&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;Task&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;ActionResult&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;gt; Upload(&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;FormCollection&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;formCollection)&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l15 level1 lfo17; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;3.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;{&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l15 level1 lfo17; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;4.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;(Request !=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;null&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l15 level1 lfo17; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;5.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l15 level1 lfo17; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;6.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af;&quot;&gt;HttpPostedFileBase&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;file = Request.Files[&lt;/span&gt;&lt;span style=&quot;background: white; color: #a31515;&quot;&gt;“uploadedFile”&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;];&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l15 level1 lfo17; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;7.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;uploadedImage =&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;await&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;_imageService.CreateUploadedImage(file);&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l15 level1 lfo17; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;8.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: rgb(243, 243, 243);&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;await&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;_imageService.AddImageToBlobStorageAsync(uploadedImage);&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l15 level1 lfo17; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;9.&lt;span style=&quot;font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l15 level1 lfo17; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;10.&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;View(&lt;/span&gt;&lt;span style=&quot;background: white; color: #a31515;&quot;&gt;“Index”&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;);&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in; mso-list: l15 level1 lfo17; tab-stops: list .5in; text-indent: -.25in; vertical-align: middle;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;11.&lt;!--[endif]--&gt;&lt;span style=&quot;background: white;&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;At this point, you should be
able to run the application and upload an image and it should save to&amp;nbsp;&lt;b&gt;Azure
Blob Storage&lt;/b&gt;&amp;nbsp;and you should see it appear in your web page.&amp;nbsp; You
can right-click on the image and choose&amp;nbsp;&lt;b&gt;Inspect Element&lt;/b&gt;&amp;nbsp;or&amp;nbsp;&lt;b&gt;View
Properties&lt;/b&gt;&amp;nbsp;(depending on your browser) to see that the image is
actually being served from your&amp;nbsp;&lt;b&gt;Azure Storage&lt;/b&gt;&amp;nbsp;account.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhotMPo9g6cJNnhBsFjDHFZ8rlQ-zaXnv4gEEYzLID6NDxuVGGh4oWrJBvcNT3hnDIsNOoBXKppRkxkwZPLBPS9YHQvCeHfFR-PhnS5gPXW82TdyRmXfA3HKKTsbHdusaBLOM7jdlBIaEE/s1600/image8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;530&quot; data-original-width=&quot;608&quot; height=&quot;556&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhotMPo9g6cJNnhBsFjDHFZ8rlQ-zaXnv4gEEYzLID6NDxuVGGh4oWrJBvcNT3hnDIsNOoBXKppRkxkwZPLBPS9YHQvCeHfFR-PhnS5gPXW82TdyRmXfA3HKKTsbHdusaBLOM7jdlBIaEE/s640/image8.png&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: blue; text-decoration-line: none;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape
 id=&quot;Picture_x0020_4&quot; o:spid=&quot;_x0000_i1028&quot; type=&quot;#_x0000_t75&quot; alt=&quot;image&quot;
 href=&quot;http://www.wintellect.com/devcenter/wp-content/uploads/2015/05/image8.png&quot;
 style=&#39;width:473.25pt;height:412.5pt;visibility:visible;mso-wrap-style:square&#39;
 o:button=&quot;t&quot;&gt;
 &lt;v:imagedata src=&quot;file:///C:/Users/ASIM~1.RIA/AppData/Local/Temp/msohtmlclip1/01/clip_image007.png&quot;
  o:title=&quot;image&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 15.0pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;Debugging
with Azure Storage Explorer&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;Now that you have the site
working and saving to&amp;nbsp;&lt;b&gt;Azure Blob Storage&lt;/b&gt;, I’ll point you to one of
my favorite debugging tools that I use when I am working with Azure
Storage.&amp;nbsp; There are several tools that exist for viewing and manipulating
the contents of Azure Storage accounts, but my favorite is&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://azurestorageexplorer.codeplex.com/&quot;&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;Azure Storage Explorer&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;.&amp;nbsp; Once you install&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://azurestorageexplorer.codeplex.com/&quot;&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;Azure Storage Explorer&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;, you’ll want to click on the&amp;nbsp;&lt;b&gt;Add Account&lt;/b&gt;&amp;nbsp;button
in the top menu.&amp;nbsp; To get the values needed for the&amp;nbsp;&lt;b&gt;Add Storage
Account&lt;/b&gt;&amp;nbsp;dialog, you’ll want to return to the&lt;b&gt;&amp;nbsp;All Settings&lt;/b&gt;&amp;nbsp;blade
for your storage account in the&amp;nbsp;&lt;b&gt;Azure Portal&lt;/b&gt;.&amp;nbsp; The first two
settings are the ones you want for creating a new account in&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://azurestorageexplorer.codeplex.com/&quot;&gt;&lt;span style=&quot;background: white; color: blue;&quot;&gt;Azure Storage Explorer&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;.&amp;nbsp; Here’s the mapping:&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHYFq-LNs_Azr3fz5YKODeF47z5xFBV2r5F3pZ9lE-hT6kIX7iD7vCQOFSluv7Z3V45RYFgBfVzTM1xmCRL4F5vHU1688TTnYO0kQCUZD6ZLiVlKqwCbjm8rTkMoEIBHZuiPv7VtHZ94w/s1600/image9.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;610&quot; data-original-width=&quot;851&quot; height=&quot;458&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHYFq-LNs_Azr3fz5YKODeF47z5xFBV2r5F3pZ9lE-hT6kIX7iD7vCQOFSluv7Z3V45RYFgBfVzTM1xmCRL4F5vHU1688TTnYO0kQCUZD6ZLiVlKqwCbjm8rTkMoEIBHZuiPv7VtHZ94w/s640/image9.png&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: blue; text-decoration-line: none;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape
 id=&quot;Picture_x0020_3&quot; o:spid=&quot;_x0000_i1027&quot; type=&quot;#_x0000_t75&quot; alt=&quot;image&quot;
 href=&quot;http://www.wintellect.com/devcenter/wp-content/uploads/2015/05/image9.png&quot;
 style=&#39;width:481.5pt;height:346.5pt;visibility:visible;mso-wrap-style:square&#39;
 o:button=&quot;t&quot;&gt;
 &lt;v:imagedata src=&quot;file:///C:/Users/ASIM~1.RIA/AppData/Local/Temp/msohtmlclip1/01/clip_image008.png&quot;
  o:title=&quot;image&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: xx-small;&quot;&gt;&lt;span style=&quot;background: white; color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;Once you have the storage
account configured in Azure Storage Explorer, you can view the contents of your
container(s), like this:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: xx-small;&quot;&gt;&lt;span style=&quot;background: white; color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaVZizSz24FXq81bPgYtQ4Iy0X-McvZ99OX1rwXq_v7cBjE9hMwczik3wtHmDeQ-xs9jsjFf4FGTp6tuGoXMXmof02EaX7jjJq2X6cbU8cvWLTPjdZY0vFrMrS73mDXakKAvTZ_2zHKt0/s1600/image10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;493&quot; data-original-width=&quot;926&quot; height=&quot;340&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaVZizSz24FXq81bPgYtQ4Iy0X-McvZ99OX1rwXq_v7cBjE9hMwczik3wtHmDeQ-xs9jsjFf4FGTp6tuGoXMXmof02EaX7jjJq2X6cbU8cvWLTPjdZY0vFrMrS73mDXakKAvTZ_2zHKt0/s640/image10.png&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: blue; text-decoration-line: none;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape
 id=&quot;Picture_x0020_2&quot; o:spid=&quot;_x0000_i1026&quot; type=&quot;#_x0000_t75&quot; alt=&quot;image&quot;
 href=&quot;http://www.wintellect.com/devcenter/wp-content/uploads/2015/05/image10.png&quot;
 style=&#39;width:485.25pt;height:260.25pt;visibility:visible;mso-wrap-style:square&#39;
 o:button=&quot;t&quot;&gt;
 &lt;v:imagedata src=&quot;file:///C:/Users/ASIM~1.RIA/AppData/Local/Temp/msohtmlclip1/01/clip_image009.png&quot;
  o:title=&quot;image&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: xx-small;&quot;&gt;&lt;span style=&quot;background: white; color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;You can double-click on any
of the items and the&amp;nbsp;&lt;b&gt;View Blob dialog&lt;/b&gt;&amp;nbsp;will open showing you
the&amp;nbsp;&lt;b&gt;Properties Tab&lt;/b&gt;&amp;nbsp;with everything you could possibly want to
know about your blob item and even allows you to change most of the properties
directly from the interface. &amp;nbsp;If you then click the&amp;nbsp;&lt;b&gt;Content&lt;/b&gt;&amp;nbsp;&lt;b&gt;Tab&lt;/b&gt;,
select&amp;nbsp;&lt;b&gt;Image&lt;/b&gt;, and then click the&amp;nbsp;&lt;b&gt;View&lt;/b&gt;button you can see
your image:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: xx-small;&quot;&gt;&lt;span style=&quot;background: white; color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDseoh1a6ydCN6zD_qHxLODby7wEZ84nhHjQdZpPsP92e4J4NS3pu_fvFmoYIG-ApkjkfN3CU3w8GJnWB1_2Y7uFereutaVz81pPdsUsy7ySxXssBRyQrOojM6SIgX8ZJ3n21OjW4PvL4/s1600/image11.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;565&quot; data-original-width=&quot;998&quot; height=&quot;362&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDseoh1a6ydCN6zD_qHxLODby7wEZ84nhHjQdZpPsP92e4J4NS3pu_fvFmoYIG-ApkjkfN3CU3w8GJnWB1_2Y7uFereutaVz81pPdsUsy7ySxXssBRyQrOojM6SIgX8ZJ3n21OjW4PvL4/s640/image11.png&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: blue; text-decoration-line: none;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape
 id=&quot;Picture_x0020_1&quot; o:spid=&quot;_x0000_i1025&quot; type=&quot;#_x0000_t75&quot; alt=&quot;image&quot;
 href=&quot;http://www.wintellect.com/devcenter/wp-content/uploads/2015/05/image11.png&quot;
 style=&#39;width:483.75pt;height:275.25pt;visibility:visible;mso-wrap-style:square&#39;
 o:button=&quot;t&quot;&gt;
 &lt;v:imagedata src=&quot;file:///C:/Users/ASIM~1.RIA/AppData/Local/Temp/msohtmlclip1/01/clip_image010.png&quot;
  o:title=&quot;image&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 15.0pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;Let’s
Get it to the Cloud&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;As a final step, we want to
publish all of this new&amp;nbsp;&lt;b&gt;Azure Image Manipulator&lt;/b&gt;&amp;nbsp;goodness that
we’ve created in these first two Azure Bits back out to our Azure
website.&amp;nbsp; You do this by right-clicking on the web project in&amp;nbsp;&lt;b&gt;Solution
Explorer&lt;/b&gt;&amp;nbsp;and choosing “Publish..”.&amp;nbsp; Once Visual Studio completes
the publishing process, you should be able to run your Azure website and upload
an image to Azure Blob Storage just the same as when you were running against
localhost earlier.&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 7.0pt; margin-left: 27.0pt; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;background: white; color: #333333;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: large;&quot;&gt;Now that we have our original
image safely stored away in&amp;nbsp;&lt;b&gt;Azure Blob Storage&lt;/b&gt;, we need to give
notice that our image is ready for processing.&amp;nbsp; We’ll do this by placing a
message in an Azure Queue.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://masimriaz.blogspot.com/feeds/8015186421218135122/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://masimriaz.blogspot.com/2017/07/azure-blob-storage.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/8015186421218135122'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/8015186421218135122'/><link rel='alternate' type='text/html' href='http://masimriaz.blogspot.com/2017/07/azure-blob-storage.html' title='Azure Blob Storage'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15325984694436289080</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="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBr22AjDEVpwLhgRu3Mm-cNm0hSOVM7AtPHMc0O8SA7vSqieHMB6ZpEvE9PnoEYRJl28Y9uYk0X3wOWp5BkXumM9XaWNReq44ziGbKayrzL09-6vkXuY6sQ6hOe9S0FAe0J5_uGj8LDdQ/s72-c/image2.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4188251706802729605.post-3686101980512460244</id><published>2017-03-14T05:26:00.003-07:00</published><updated>2017-03-14T05:27:42.953-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Proactivity"/><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h3 style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; color: rgba(0, 0, 0, 0.85098); font-family: &amp;quot;Source Sans Pro&amp;quot;, Helvetica, Arial, sans-serif; font-size: 21px; font-stretch: inherit; font-variant-numeric: inherit; line-height: 28px; margin: 2.4rem 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Proactivity&lt;/strong&gt;&lt;/h3&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; color: rgba(0, 0, 0, 0.701961); font-family: &amp;quot;Source Serif Pro&amp;quot;, serif; font-size: 21px; font-stretch: inherit; font-variant-numeric: inherit; line-height: 32px; margin-bottom: 3.2rem; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
This is my favorite story about proactivity:&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; color: rgba(0, 0, 0, 0.701961); font-family: &amp;quot;Source Serif Pro&amp;quot;, serif; font-size: 21px; font-stretch: inherit; font-variant-numeric: inherit; line-height: 32px; margin-bottom: 3.2rem; margin-top: 3.2rem; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;em style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; font-family: Georgia, &amp;quot;Source Serif Pro&amp;quot;, serif; font-size: 0.975em; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;There was once a grasshopper who loved life. He spent his time lazing in the sun, eating when he wanted to, sleeping when he wanted to, generally enjoying himself all the time. He lived like he did not have a care in the world.&lt;/em&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; color: rgba(0, 0, 0, 0.701961); font-family: &amp;quot;Source Serif Pro&amp;quot;, serif; font-size: 21px; font-stretch: inherit; font-variant-numeric: inherit; line-height: 32px; margin-bottom: 3.2rem; margin-top: 3.2rem; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;em style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; font-family: Georgia, &amp;quot;Source Serif Pro&amp;quot;, serif; font-size: 0.975em; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;One day as he was sun-bathing, he saw an ant pushing a bread crumb across the ground. The grasshopper asked, &quot;Hey brother! What are you doing?&quot; The ant replied, &quot;I am gathering food for the winter while the weather is still warm. Once winter sets in, I am going to stay home and just eat from my stock of food.&quot;&lt;/em&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; color: rgba(0, 0, 0, 0.701961); font-family: &amp;quot;Source Serif Pro&amp;quot;, serif; font-size: 21px; font-stretch: inherit; font-variant-numeric: inherit; line-height: 32px; margin-bottom: 3.2rem; margin-top: 3.2rem; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;em style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; font-family: Georgia, &amp;quot;Source Serif Pro&amp;quot;, serif; font-size: 0.975em; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;The grasshopper made fun of the ant&#39;s dull life and went on sun bathing saying, &quot;There&#39;s enough time for such boring work. You should take time to have fun like me.&quot; Soon the summer passed and the winter started to set in.&lt;/em&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; color: rgba(0, 0, 0, 0.701961); font-family: &amp;quot;Source Serif Pro&amp;quot;, serif; font-size: 21px; font-stretch: inherit; font-variant-numeric: inherit; line-height: 32px; margin-bottom: 3.2rem; margin-top: 3.2rem; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;em style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; font-family: Georgia, &amp;quot;Source Serif Pro&amp;quot;, serif; font-size: 0.975em; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;As the weather became colder, it became harder for the grasshopper to get out. However, he soon started to feel hungry. He decided to brave the weather and find himself some food.&lt;/em&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; color: rgba(0, 0, 0, 0.701961); font-family: &amp;quot;Source Serif Pro&amp;quot;, serif; font-size: 21px; font-stretch: inherit; font-variant-numeric: inherit; line-height: 32px; margin-bottom: 3.2rem; margin-top: 3.2rem; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;em style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; font-family: Georgia, &amp;quot;Source Serif Pro&amp;quot;, serif; font-size: 0.975em; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;When he stepped out, everything was covered with snow and he could not find anything to eat. He continued to search for food&amp;nbsp;everyday. He did not find anything. Finally, he grew weak and died of hunger.&lt;/em&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; color: rgba(0, 0, 0, 0.701961); font-family: &amp;quot;Source Serif Pro&amp;quot;, serif; font-size: 21px; font-stretch: inherit; font-variant-numeric: inherit; line-height: 32px; margin-bottom: 3.2rem; margin-top: 3.2rem; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Just like the grasshopper, you can have all the patience in the world but without being proactive and going for it, your gift of patience might never become a positive.&amp;nbsp;In fact it actually might hurt your career.&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://masimriaz.blogspot.com/feeds/3686101980512460244/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://masimriaz.blogspot.com/2017/03/proactivity-this-is-my-favorite-story.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/3686101980512460244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/3686101980512460244'/><link rel='alternate' type='text/html' href='http://masimriaz.blogspot.com/2017/03/proactivity-this-is-my-favorite-story.html' title=''/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15325984694436289080</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-4188251706802729605.post-8680089470817201754</id><published>2016-10-06T16:20:00.000-07:00</published><updated>2016-10-06T16:20:19.504-07:00</updated><title type='text'>SharePoint 2010: Scheduling Reports and Alerts for Web Analytics</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
Web Analytics is one of those hidden gems included in SharePoint 2010 that I don&#39;t think many people are taking advantage of. We spend a lot of time building solutions, but if we don&#39;t maintain them and really understand how they are being used then we are missing out on a lot of great information. In SharePoint 2010 we have some great features that make this monitoring process easy. Huge improvements have been made since 2007, but I think many people don&#39;t realize the impact. In the rest of this blog we are going to look at the new features that allow us to configure alerts and reports via a site workflow. By taking advantage of these features we can be automatically notified when our sites meet certain criteria. Using these reports we can become very proactive in the management of our solutions.&lt;/div&gt;
&lt;h1 style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #598331; font-family: &amp;quot;Segoe UI Light&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 2.3em; font-weight: 200; line-height: 1.4; margin: auto;&quot;&gt;
SharePoint On-Premise Only&lt;/h1&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
The first thing that we want to note about this is that these features are not available in the Office 365 offering. Hopefully, over time as the offering matures we will be given access to these features, but as of the current release these features are not available.&lt;/div&gt;
&lt;h1 style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #598331; font-family: &amp;quot;Segoe UI Light&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 2.3em; font-weight: 200; line-height: 1.4; margin: auto;&quot;&gt;
Site Web vs Site Collection&lt;/h1&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
The next thing we want to note is that there are two types of reports we can look at, the Web (subsite) or the Site Collection. When we look at the site collection we will get additional information such as search statistics. When you generate reports and alerts you will need to select the scope to be either the current site you are working on or the site collection.&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
Here is a screenshots of the Site Collection summary page:&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;img alt=&quot;&quot; src=&quot;http://www.jenniferannmason.com/Lists/Photos/081711_1412_SharePoint21.png&quot; style=&quot;-webkit-tap-highlight-color: transparent; border: none; max-width: 100%;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
There are a few things to notice on this page:&lt;/div&gt;
&lt;ol style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px;&quot;&gt;
&lt;li&gt;You can use the option in the Ribbon to modify the date range.&lt;/li&gt;
&lt;li&gt;You can see the previous value as well as the trend over time.&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;img alt=&quot;&quot; src=&quot;http://www.jenniferannmason.com/Lists/Photos/081711_1412_SharePoint22.png&quot; style=&quot;-webkit-tap-highlight-color: transparent; border: none; max-width: 100%;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;img alt=&quot;&quot; src=&quot;http://www.jenniferannmason.com/Lists/Photos/081711_1412_SharePoint23.png&quot; style=&quot;-webkit-tap-highlight-color: transparent; border: none; max-width: 100%;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
Notice that whenever you choose to change the settings that you also have an option to Schedule Alerts or Reports. When you click this option you are taken to a page that you can use to configure a site workflow. You have two options available:&lt;/div&gt;
&lt;ol style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px;&quot;&gt;
&lt;li&gt;Reports- this will email you an excel file with a status report on the items you select.&lt;/li&gt;
&lt;li&gt;Alerts- this will email you an alert when a certain condition has been fulfilled (ie- page views greater than 5,000)&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
Below is a screenshot for configuring an alert:&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;img alt=&quot;&quot; src=&quot;http://www.jenniferannmason.com/Lists/Photos/081711_1412_SharePoint24.png&quot; style=&quot;-webkit-tap-highlight-color: transparent; border: none; max-width: 100%;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
And now, here is a screenshot of the alert that is generated. The condition for mine was if the page views are greater than zero, send me an alert.&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;img alt=&quot;&quot; src=&quot;http://www.jenniferannmason.com/Lists/Photos/081711_1412_SharePoint25.png&quot; style=&quot;-webkit-tap-highlight-color: transparent; border: none; max-width: 100%;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
Below is a screenshot for configuring a scheduled report:&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;img alt=&quot;&quot; src=&quot;http://www.jenniferannmason.com/Lists/Photos/081711_1412_SharePoint26.png&quot; style=&quot;-webkit-tap-highlight-color: transparent; border: none; max-width: 100%;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
And here is the email that is generated for the reports. Notice that if no data is included for the report that a note is added to the message.&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;img alt=&quot;&quot; src=&quot;http://www.jenniferannmason.com/Lists/Photos/081711_1412_SharePoint27.png&quot; style=&quot;-webkit-tap-highlight-color: transparent; border: none; max-width: 100%;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
Here is one of the reports that are attached with the email:&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;img alt=&quot;&quot; src=&quot;http://www.jenniferannmason.com/Lists/Photos/081711_1412_SharePoint28.png&quot; style=&quot;-webkit-tap-highlight-color: transparent; border: none; max-width: 100%;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
So as you can see we have two ways that we can configure our site collections to notify us about usage. It is very likely that we don&#39;t have the bandwidth to go in and review each of our solutions usage statistics, but with these reports we can have them configured to notify us when we need to take action. If you aren&#39;t using these features yet, I highly recommend them!&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://masimriaz.blogspot.com/feeds/8680089470817201754/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://masimriaz.blogspot.com/2016/10/sharepoint-2010-scheduling-reports-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/8680089470817201754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/8680089470817201754'/><link rel='alternate' type='text/html' href='http://masimriaz.blogspot.com/2016/10/sharepoint-2010-scheduling-reports-and.html' title='SharePoint 2010: Scheduling Reports and Alerts for Web Analytics'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15325984694436289080</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-4188251706802729605.post-5689563918035694628</id><published>2016-10-06T16:12:00.002-07:00</published><updated>2016-10-06T16:14:24.197-07:00</updated><title type='text'>SharePoint 2013 Quick Actions</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
One trick for working with your users is to put the tasks they need to complete right in front of them. The easier you can make things work for them, the better things will be for the adoption of the solution. Using SharePoint Designer 2013 you can easily help users by creating Quick Actions for them. These are basically shortcuts that allow them to quickly kick off a workflow or navigate to a specific page. Below is an example of a Quick Action that was added to the display view of an item:&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;img alt=&quot;&quot; src=&quot;http://www.jenniferannmason.com/Lists/Photos/022414_1516_Office365an1.png&quot; style=&quot;-webkit-tap-highlight-color: transparent; border: none; max-width: 100%;&quot; /&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #598331; font-family: &amp;quot;Segoe UI Semilight&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 1.46em; font-weight: 300; line-height: 1.4; margin: auto;&quot;&gt;
Quick Actions&lt;/h2&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
There are three actions that you can create within a quick action, including:&lt;/div&gt;
&lt;ul style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px;&quot;&gt;
&lt;li&gt;Navigate to a Form (example:DispForm.aspx)&lt;/li&gt;
&lt;li&gt;Initiate a Workflow&lt;/li&gt;
&lt;li&gt;Navigate to a URL&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
These are the common actions that you can use for a quick action, but there are various locations where the Quick Action would appear.&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;img alt=&quot;&quot; src=&quot;http://www.jenniferannmason.com/Lists/Photos/022414_1516_Office365an2.png&quot; style=&quot;-webkit-tap-highlight-color: transparent; border: none; max-width: 100%;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px;&quot;&gt;
&lt;table border=&quot;0&quot; style=&quot;border-collapse: collapse; border-width: 0px;&quot;&gt;&lt;colgroup&gt;&lt;col style=&quot;width: 186px;&quot;&gt;&lt;/col&gt;&lt;col style=&quot;width: 708px;&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign=&quot;top&quot;&gt;
&lt;tr style=&quot;background: white;&quot;&gt;&lt;td style=&quot;border-color: currentcolor currentcolor rgb(168, 208, 141); border-style: none none solid; border-width: medium medium 0.5pt; padding: 5px 8px;&quot;&gt;&lt;div style=&quot;line-height: 1.6; margin-bottom: 10px; text-align: right;&quot;&gt;
&lt;span style=&quot;color: #538135; font-size: 14pt;&quot;&gt;&lt;strong&gt;&lt;em&gt;Location&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-color: currentcolor currentcolor rgb(168, 208, 141); border-style: none none solid; border-width: medium medium 0.5pt; padding: 5px 8px;&quot;&gt;&lt;div style=&quot;line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;color: #538135; font-size: 14pt;&quot;&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;background: white; border-color: currentcolor rgb(168, 208, 141) currentcolor currentcolor; border-style: none solid none none; border-width: medium 0.5pt medium medium; padding: 5px 8px;&quot;&gt;&lt;div style=&quot;line-height: 1.6; margin-bottom: 10px; text-align: right;&quot;&gt;
&lt;span style=&quot;color: #538135; font-size: 14pt;&quot;&gt;&lt;em&gt;List Item Menu&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;background: rgb(226, 239, 217); border-color: currentcolor rgb(168, 208, 141) rgb(168, 208, 141) currentcolor; border-style: none solid solid none; border-width: medium 0.5pt 0.5pt medium; padding: 5px 8px;&quot;&gt;&lt;div style=&quot;line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;color: #538135; font-size: 14pt;&quot;&gt;This would be displayed on the list drop down item (when you select the item (…) ellipse )&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;background: white; border-color: currentcolor rgb(168, 208, 141) currentcolor currentcolor; border-style: none solid none none; border-width: medium 0.5pt medium medium; padding: 5px 8px;&quot;&gt;&lt;div style=&quot;line-height: 1.6; margin-bottom: 10px; text-align: right;&quot;&gt;
&lt;span style=&quot;color: #538135; font-size: 14pt;&quot;&gt;&lt;em&gt;Display Form Ribbon&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-color: currentcolor rgb(168, 208, 141) rgb(168, 208, 141) currentcolor; border-style: none solid solid none; border-width: medium 0.5pt 0.5pt medium; padding: 5px 8px;&quot;&gt;&lt;div style=&quot;line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;color: #538135; font-size: 14pt;&quot;&gt;This would be displayed when you select the view properties page for the item.&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;background: white; border-color: currentcolor rgb(168, 208, 141) currentcolor currentcolor; border-style: none solid none none; border-width: medium 0.5pt medium medium; padding: 5px 8px;&quot;&gt;&lt;div style=&quot;line-height: 1.6; margin-bottom: 10px; text-align: right;&quot;&gt;
&lt;span style=&quot;color: #538135; font-size: 14pt;&quot;&gt;&lt;em&gt;Edit Form Ribbon&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;background: rgb(226, 239, 217); border-color: currentcolor rgb(168, 208, 141) rgb(168, 208, 141) currentcolor; border-style: none solid solid none; border-width: medium 0.5pt 0.5pt medium; padding: 5px 8px;&quot;&gt;&lt;div style=&quot;line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;color: #538135; font-size: 14pt;&quot;&gt;This would be displayed when you select the edit properties page for the item.&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;background: white; border-color: currentcolor rgb(168, 208, 141) currentcolor currentcolor; border-style: none solid none none; border-width: medium 0.5pt medium medium; padding: 5px 8px;&quot;&gt;&lt;div style=&quot;line-height: 1.6; margin-bottom: 10px; text-align: right;&quot;&gt;
&lt;span style=&quot;color: #538135; font-size: 14pt;&quot;&gt;&lt;em&gt;New Form Ribbon&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-color: currentcolor rgb(168, 208, 141) rgb(168, 208, 141) currentcolor; border-style: none solid solid none; border-width: medium 0.5pt 0.5pt medium; padding: 5px 8px;&quot;&gt;&lt;div style=&quot;line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;color: #538135; font-size: 14pt;&quot;&gt;This would be displayed when you select the New Item page.&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;background: white; border-color: currentcolor rgb(168, 208, 141) currentcolor currentcolor; border-style: none solid none none; border-width: medium 0.5pt medium medium; padding: 5px 8px;&quot;&gt;&lt;div style=&quot;line-height: 1.6; margin-bottom: 10px; text-align: right;&quot;&gt;
&lt;span style=&quot;color: #538135; font-size: 14pt;&quot;&gt;&lt;em&gt;View Ribbon&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;background: rgb(226, 239, 217); border-color: currentcolor rgb(168, 208, 141) rgb(168, 208, 141) currentcolor; border-style: none solid solid none; border-width: medium 0.5pt 0.5pt medium; padding: 5px 8px;&quot;&gt;&lt;div style=&quot;line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;color: #538135; font-size: 14pt;&quot;&gt;This would be displayed on the Items ribbon of the list view. This would allow you to click the check mark next to an item in the full list (tabular view) and then select the quick action from the Ribbon.&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #598331; font-family: &amp;quot;Segoe UI Semilight&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 1.46em; font-weight: 300; line-height: 1.4; margin: auto;&quot;&gt;
Image &amp;amp; Rights Masking&lt;/h2&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
When you create a quick action you can assign an Image to the Quick Action that will be displayed (provided the Master Page isn&#39;t hiding it). You are allowed to upload a 32 x 32 or 16 x 16 image. The best way to do this is to upload the image to one of the site libraries and then just link to it. It is very important that you use an image with the exact measurements as any other size image will not load.&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
Rights masking is a way that you can display the action to only users that have the same role as the one you list. This is a way that you can hide the actions from people who can just read the site while still showing custom actions to the site administrators. For a list of all available masks you can check out this article from TechNet -&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spbasepermissions.aspx&quot; style=&quot;color: #a76b14; text-decoration: none;&quot;&gt;http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spbasepermissions.aspx&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;img alt=&quot;&quot; src=&quot;http://www.jenniferannmason.com/Lists/Photos/022414_1516_Office365an3.png&quot; style=&quot;-webkit-tap-highlight-color: transparent; border: none; max-width: 100%;&quot; /&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #598331; font-family: &amp;quot;Segoe UI Semilight&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 1.46em; font-weight: 300; line-height: 1.4; margin: auto;&quot;&gt;
Examples &amp;amp; Ideas&lt;/h2&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
This approach can really help you add something a little extra to your solution to help your users make the most of it! Here are some ideas for ways that you could utilize this approach:&lt;/div&gt;
&lt;ul style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px;&quot;&gt;
&lt;li&gt;Provide a Link to a Page with Additional Detail on the View Item. This would allow users to select a button from the Ribbon if they needed additional information (and would help keep the display page cleaner).&lt;/li&gt;
&lt;li&gt;Provide a link to the most common workflows that users would need to start.&lt;/li&gt;
&lt;li&gt;Provide a link for workflows that only the admins could see. This would make things easier for them while at the same time not showing additional buttons for all the users.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://masimriaz.blogspot.com/feeds/5689563918035694628/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://masimriaz.blogspot.com/2016/10/sharepoint-2013-quick-actions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/5689563918035694628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/5689563918035694628'/><link rel='alternate' type='text/html' href='http://masimriaz.blogspot.com/2016/10/sharepoint-2013-quick-actions.html' title='SharePoint 2013 Quick Actions'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15325984694436289080</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-4188251706802729605.post-8591310358409646715</id><published>2016-10-06T16:12:00.001-07:00</published><updated>2016-10-06T16:13:04.233-07:00</updated><title type='text'>SharePoint 2013: A Quick Overview of Workflow</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
This is one of those topics that I feel gets overlooked a lot as we move forward with additional releases of SharePoint. If you happen to have been using SharePoint for years you probably have a good idea of the workflows available and what you can do with them, but if you are just getting started (like so many I talk to are) then it can be often times overwhelming. In this post I am going to provide a very high level overview of the workflows available how they all work together.&lt;/div&gt;
&lt;h3 style=&quot;background-color: rgba(255, 255, 255, 0.85098); font-family: &amp;quot;segoe ui semilight&amp;quot;, &amp;quot;segoe ui&amp;quot;, segoe, tahoma, helvetica, arial, sans-serif; font-size: 1.15em; line-height: 1.4; margin: auto;&quot;&gt;
What is a Workflow?&lt;/h3&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
The first thing is an understanding of what a workflow is and how it works within SharePoint. In the most basic terms in SharePoint a workflow is a way to route content to a library or a list, collect data from a user, create tasks for a user or to send notification to users. The workflows come in two flavors – configurable or custom. There are currently two different workflow engines available and visible within SharePoint – the SharePoint 2010 workflows and the SharePoint 2013 workflows. These are two different types of workflows with two different sets of actions and functionality. This means that there are some things you can do in one version of the workflow that you simply cannot do in the other. This is honestly where some of the confusion comes from in my opinion. The reason that both exist today is to help ensure that workflows you built in SharePoint 2010 are still compatible in SharePoint 2013.&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
There are several different kinds of workflow that you can create –&lt;/div&gt;
&lt;ul style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px;&quot;&gt;
&lt;li&gt;List Workflow: These are associated with a single list and are started for each item in the list.&lt;/li&gt;
&lt;li&gt;Site Workflows: These are workflows that are not based on a specific list and can be found in Site Actions. An example of these would be &quot;sending a weekly email reminder&quot;.&lt;/li&gt;
&lt;li&gt;Reusable Workflows: These are workflows that are associated with a content type (think &quot;Project Charter&quot; or &quot;Sales Report&quot;) and can be configured to run on any content that is of that same content type.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
In my experience, most workflows that the typical business power user creates are the List Workflows and are based on a specific process that can be clearly identified.&lt;/div&gt;
&lt;h3 style=&quot;background-color: rgba(255, 255, 255, 0.85098); font-family: &amp;quot;segoe ui semilight&amp;quot;, &amp;quot;segoe ui&amp;quot;, segoe, tahoma, helvetica, arial, sans-serif; font-size: 1.15em; line-height: 1.4; margin: auto;&quot;&gt;
Configurable or Custom?&lt;/h3&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
The next area that seems to cause some confusion is around the area of adding a workflow to a list or creating a custom workflow. In SharePoint 2010 workflows there are a collection of workflows that exists as templates that can be configured for lists. These workflows are common activities such as document approval or collecting comments. In 2013, these configurable workflows don&#39;t exist so all of the workflows you build are custom workflows that you can build within SharePoint Designer. If you want to add one of these configurable workflows to your list you can do so through the Workflow settings option (ensure the workflows feature is activated).&lt;/div&gt;
&lt;h3 style=&quot;background-color: rgba(255, 255, 255, 0.85098); font-family: &amp;quot;segoe ui semilight&amp;quot;, &amp;quot;segoe ui&amp;quot;, segoe, tahoma, helvetica, arial, sans-serif; font-size: 1.15em; line-height: 1.4; margin: auto;&quot;&gt;
2010 Workflows on a 2013 Site?&lt;/h3&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
Yes, this is completely possible. In fact in many cases I have seen users purposely create a 2010 workflow because they are wanting to use a set a features that was only available within 2010 and not available at all in 2013. Whenever you create a new workflow in SharePoint 2013 you will be given the opportunity to select if you would like to build the workflow using the 2010 or the 2013 foundation.&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
Hopefully this very quick, high level post helps shed some light on the concept of workflows and helps you see the available options for out of the box workflows.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://masimriaz.blogspot.com/feeds/8591310358409646715/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://masimriaz.blogspot.com/2016/10/sharepoint-2013-quick-overview-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/8591310358409646715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/8591310358409646715'/><link rel='alternate' type='text/html' href='http://masimriaz.blogspot.com/2016/10/sharepoint-2013-quick-overview-of.html' title='SharePoint 2013: A Quick Overview of Workflow'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15325984694436289080</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-4188251706802729605.post-8938296763038335258</id><published>2016-10-06T15:58:00.004-07:00</published><updated>2016-10-06T15:58:59.609-07:00</updated><title type='text'>SharePoint 2013: Create a Weekly Reminder Workflow</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.85098); color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
One of the most common requests I get from users is the ability to create a weekly reminder notification that will remind users to complete an action. Using the SharePoint 2013 workflows this is a pretty easy requirement to meet since we now have access to looping.&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
To get started you will need to create a site workflow. For my example I am creating an initiation variable that allows the user to set an end date when they start the workflow. The workflow will send an email, pause for 7 days and then loop again. The first check in the loop is to determine if the date is less than the end date. By doing this we are able to set a reoccurring workflow that will repeatedly remind users of items.&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
Here are some screenshots to get you started.&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;b&gt;Create a Site Workflow in SharePoint Designer&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;img alt=&quot;&quot; src=&quot;http://www.jenniferannmason.com/Lists/Photos/022214_2119_Office365Sh1.png&quot; style=&quot;-webkit-tap-highlight-color: transparent; border: none; max-width: 100%;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&amp;nbsp; Create an Initiation Variable so the person who starts the workflow can select an end date.&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;img alt=&quot;&quot; src=&quot;http://www.jenniferannmason.com/Lists/Photos/022214_2119_Office365Sh2.png&quot; style=&quot;-webkit-tap-highlight-color: transparent; border: none; max-width: 100%;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
Add the Workflow Actions (including the loop)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&amp;nbsp;&lt;img alt=&quot;&quot; src=&quot;http://www.jenniferannmason.com/Lists/Photos/022214_2119_Office365Sh3.png&quot; style=&quot;-webkit-tap-highlight-color: transparent; border: none; max-width: 100%;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
Our workflow first sets a variable (type date) to the current date. It then enters the loop and tests to see if the variable Today is less than the End Date (variable entered by workflow starter). If the condition is true it will send an email and then add 7 days to the variable and wait until the 7 days are up and then start the loop again.&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&amp;nbsp;The email is a pretty basic email and a screenshot of the design of it is included below.&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&amp;nbsp;&lt;img alt=&quot;&quot; src=&quot;http://www.jenniferannmason.com/Lists/Photos/022214_2119_Office365Sh4.png&quot; style=&quot;-webkit-tap-highlight-color: transparent; border: none; max-width: 100%;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&amp;nbsp;Start the Workflow (from Site Contents)&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;img alt=&quot;&quot; src=&quot;http://www.jenniferannmason.com/Lists/Photos/022214_2119_Office365Sh5.png&quot; style=&quot;-webkit-tap-highlight-color: transparent; border: none; max-width: 100%;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&amp;nbsp;&lt;img alt=&quot;&quot; src=&quot;http://www.jenniferannmason.com/Lists/Photos/022214_2119_Office365Sh6.png&quot; style=&quot;-webkit-tap-highlight-color: transparent; border: none; max-width: 100%;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&amp;nbsp;&lt;img alt=&quot;&quot; src=&quot;http://www.jenniferannmason.com/Lists/Photos/022214_2119_Office365Sh7.png&quot; style=&quot;-webkit-tap-highlight-color: transparent; border: none; max-width: 100%;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
Enter in the date that you would like the reminders to stop being sent.&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&amp;nbsp;&lt;img alt=&quot;&quot; src=&quot;http://www.jenniferannmason.com/Lists/Photos/022214_2119_Office365Sh8.png&quot; style=&quot;-webkit-tap-highlight-color: transparent; border: none; max-width: 100%;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&amp;nbsp;Once this has been started, the users you selected in your workflow will get an email notification (as you configured in your workflow).&amp;nbsp;&lt;img alt=&quot;&quot; src=&quot;http://www.jenniferannmason.com/Lists/Photos/022214_2119_Office365Sh9.png&quot; style=&quot;-webkit-tap-highlight-color: transparent; border: none; max-width: 100%;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;color: #598331; font-family: &amp;quot;Segoe UI Light&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 2.3em;&quot;&gt;Additional Ideas&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, Segoe, Tahoma, Helvetica, Arial, sans-serif; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
This post has an example of how you could send out a weekly reminder via email to a team, but there are multiple uses for this concept. Another common example would be if you wanted to create new tasks every week. So an example would be &quot;we have a weekly set of tasks that need to be completed&quot; – your workflow could create and assign those new tasks every week. Reminders are a huge part of our daily tasks and using these simple workflow techniques will help you really make the most of your business solutions!&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://masimriaz.blogspot.com/feeds/8938296763038335258/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://masimriaz.blogspot.com/2016/10/sharepoint-2013-create-weekly-reminder.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/8938296763038335258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/8938296763038335258'/><link rel='alternate' type='text/html' href='http://masimriaz.blogspot.com/2016/10/sharepoint-2013-create-weekly-reminder.html' title='SharePoint 2013: Create a Weekly Reminder Workflow'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15325984694436289080</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-4188251706802729605.post-5658229434330677662</id><published>2014-11-14T05:12:00.000-08:00</published><updated>2014-11-14T05:12:51.105-08:00</updated><title type='text'>.NET Framework Overview Training Session</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: x-large;&quot;&gt;Table
of Contents: Training&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.59in; margin-top: 7.2pt; text-indent: -0.59in; unicode-bidi: embed; word-break: normal;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;1.&lt;span style=&quot;font-family: Calibri;&quot;&gt;What
is&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;.NET&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;?&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;O1&quot; style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 1.08in; margin-top: 6.24pt; text-indent: -0.29in; unicode-bidi: embed; word-break: normal;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Arial; mso-special-format: bullet;&quot;&gt;–&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Microsoft
.NET platform architecture&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.59in; margin-top: 7.2pt; text-indent: -0.59in; unicode-bidi: embed; word-break: normal;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;2.&lt;span style=&quot;font-family: Calibri;&quot;&gt;What
is&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;.NET&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Framework&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;?&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;O1&quot; style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 1.08in; margin-top: 6.24pt; text-indent: -0.29in; unicode-bidi: embed; word-break: normal;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Arial; mso-special-format: bullet;&quot;&gt;–&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;.NET
Framework Architecture&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.59in; margin-top: 7.2pt; text-indent: -0.59in; unicode-bidi: embed; word-break: normal;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;3.&lt;span style=&quot;font-family: Calibri;&quot;&gt;Common
Language Runtime (CLR)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.59in; margin-top: 7.2pt; text-indent: -0.59in; unicode-bidi: embed; word-break: normal;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;4.&lt;span style=&quot;font-family: Calibri;&quot;&gt;Managed
Code&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.59in; margin-top: 7.2pt; text-indent: -0.59in; unicode-bidi: embed; word-break: normal;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;5.&lt;span style=&quot;font-family: Calibri;&quot;&gt;Intermediate
Language&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;MSIL&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.59in; margin-top: 7.2pt; text-indent: -0.59in; unicode-bidi: embed; word-break: normal;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;6.&lt;span style=&quot;font-family: Calibri;&quot;&gt;Assemblies
and Metadata&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.59in; margin-top: 7.2pt; text-indent: -0.59in; unicode-bidi: embed; word-break: normal;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;7.&lt;span style=&quot;font-family: Calibri;&quot;&gt;.NET
Applications&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;text-indent: -0.59in;&quot;&gt;8.&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; text-indent: -0.59in;&quot;&gt;Common &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; text-indent: -0.59in;&quot;&gt;Language Infrastructure (CLI)&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; text-indent: -0.59in;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; text-indent: -0.59in;&quot;&gt;and integration of different languages&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;O1&quot; style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 1.37in; margin-top: 6.72pt; text-indent: -0.39in; unicode-bidi: embed; word-break: normal;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Arial; mso-special-format: bullet;&quot;&gt;–&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Common
Language Specification (CLS)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;O1&quot; style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 1.37in; margin-top: 6.72pt; text-indent: -0.39in; unicode-bidi: embed; word-break: normal;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Arial; mso-special-format: bullet;&quot;&gt;–&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Common
Type System (CTS)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.59in; margin-top: 7.68pt; text-indent: -0.59in; unicode-bidi: embed; word-break: normal;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;9.&lt;span style=&quot;font-family: Calibri;&quot;&gt;Framework
Class Library&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.59in; margin-top: 7.68pt; text-indent: -0.59in; unicode-bidi: embed; word-break: normal;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;10.&lt;span style=&quot;font-family: Calibri;&quot;&gt;Integrated
Development Environment&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Visual
Studio&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.blogger.com/video.g?token=AD6v5dwexqJE6FBlp7v5rjP9wLFfnY7KwtifkRjMY_Eh4Eyt4EygkAa6rUbjaWVnszyk4aUp7hA2sHL4JLpJQXd8yg&#39; class=&#39;b-hbp-video b-uploaded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://masimriaz.blogspot.com/feeds/5658229434330677662/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://masimriaz.blogspot.com/2014/11/net-framework-overview-training-session.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/5658229434330677662'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/5658229434330677662'/><link rel='alternate' type='text/html' href='http://masimriaz.blogspot.com/2014/11/net-framework-overview-training-session.html' title='.NET Framework Overview Training Session'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15325984694436289080</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-4188251706802729605.post-4389145322022414952</id><published>2014-10-29T00:04:00.000-07:00</published><updated>2014-10-29T00:04:37.452-07:00</updated><title type='text'>Love Your Solitude</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;
&lt;strong&gt;&lt;em&gt;“Therefore, dear Sir, love your solitude and try to sing out with the pain it causes you. For those who are near you are far away… and this shows that the space around you is beginning to grow vast.&lt;/em&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;
&lt;strong&gt;&lt;em&gt;Be happy about your growth, in which of course you can’t take anyone with you, and be gentle with those who stay behind; be confident and calm in front of them and don’t torment them with your doubts and don’t frighten them with your faith or joy, which they wouldn’t be able to comprehend.&lt;/em&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;
&lt;strong&gt;&lt;em&gt;Seek out some simple and true feeling of what you have in common with them, which doesn’t necessarily have to alter when you yourself change again and again; when you see them, love life in a form that is not your own and be indulgent toward those who are growing old, who are afraid of the aloneness that you trust.&lt;/em&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;
&lt;strong&gt;&lt;em&gt;And don’t expect any understanding; but believe in a love that is being stored up for you like an inheritance, and have faith that in this love there is a strength and a blessing so large that you can travel as far as you wish without having to step outside it.”&lt;/em&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;
~&amp;nbsp;&lt;em&gt;Letters to a Young Poet.&lt;/em&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;
&lt;em&gt;&amp;nbsp;Rainer Maria Rilke&lt;/em&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;
&lt;span class=&quot;photo &quot; style=&quot;padding: 0px;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;photo_img img&quot; src=&quot;https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-xpa1/v/t1.0-9/10730851_321090098083196_8430290834221585018_n.jpg?oh=31828166f1e879c1f535cd98b6cda890&amp;amp;oe=54AED788&amp;amp;__gda__=1420805680_486ec0b65ddbf6c714dc0ab983c215d8&quot; style=&quot;border: 0px; margin: 0px; max-width: 100%; padding: 0px;&quot; title=&quot;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://masimriaz.blogspot.com/feeds/4389145322022414952/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://masimriaz.blogspot.com/2014/10/love-your-solitude.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/4389145322022414952'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/4389145322022414952'/><link rel='alternate' type='text/html' href='http://masimriaz.blogspot.com/2014/10/love-your-solitude.html' title='Love Your Solitude'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15325984694436289080</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-4188251706802729605.post-5331000636484055441</id><published>2014-10-21T23:54:00.000-07:00</published><updated>2014-10-21T23:54:26.502-07:00</updated><title type='text'>Upload File In Selenium Webdriver In C#</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Many web applications contain HTML forms which interact with the user. The user is able to enter data in to the form fields and submit the data to a server. Selenium is able to handle form inputs such as entering text in text fields, selecting radio buttons, selecting a value from a drop-down menu and so on. Things get a little tricky when dealing with input form fields of type “file”, to allow users to browse for a file and attach the file to the HTML form and submit the file.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;We can upload file in selenium webdriver easily. We have to just find the element with file control, open the widow popup, select the file and then set the value of document we want to upload in it.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Complete example in C#.Net to upload the document using selenium webdriver.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: #569cd6; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt; OpenQA&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Selenium;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: #569cd6; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt; OpenQA&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Selenium&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Interactions;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: #569cd6; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt; OpenQA&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Selenium&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Support&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;PageObjects;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: #569cd6; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt; System;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: #569cd6; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt; System&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Collections&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Generic;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: #569cd6; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt; System&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;IO;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: #569cd6; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt; System&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Linq;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: #569cd6; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt; System&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Text;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: #569cd6; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt; System&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Threading&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Tasks;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: #569cd6; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt; System&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Windows&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Forms;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: #569cd6; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background: black; color: #569cd6; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background: black; color: #4ec9b0; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;UtilityManageRateSheetsPage&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;background: black; color: #569cd6; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: 0.5in;&quot;&gt;
&lt;span style=&quot;background: black; color: #569cd6; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background: black; color: #569cd6; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;void&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt; UploadFile(&lt;/span&gt;&lt;span style=&quot;background: black; color: #569cd6; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt; fileToUpload)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&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; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&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;&lt;/span&gt;&lt;span style=&quot;background: black; color: #57a64a; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;//Open
window popup&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&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; &lt;/span&gt;&lt;span style=&quot;background: black; color: #b8d7a3; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;IWebElement&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt; upload &lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background: black; color: #4ec9b0; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Browser&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;WebDriver&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;FindElement(&lt;/span&gt;&lt;span style=&quot;background: black; color: #4ec9b0; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;By&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;XPath(&lt;/span&gt;&lt;span style=&quot;background: black; color: #d69d85; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;&quot;/html/body/div[2]/div/table/tbody/tr[1]/td[3]/div/form/input[1]&quot;&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&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;&lt;/span&gt;&lt;span style=&quot;background: black; color: #4ec9b0; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Actions&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt; actions &lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background: black; color: #569cd6; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background: black; color: #4ec9b0; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Actions&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;background: black; color: #4ec9b0; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Browser&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;WebDriver);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&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; actions &lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt; actions&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;MoveToElement(upload);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&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; actions &lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt; actions&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Click();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&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; actions&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Build()&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Perform();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&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; System&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Threading&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: #4ec9b0; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Thread&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Sleep(&lt;/span&gt;&lt;span style=&quot;background: black; color: #b5cea8; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;1000&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&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; &lt;/span&gt;&lt;span style=&quot;background: black; color: #57a64a; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;//Select
the file&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&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; System&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Windows&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Forms&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: #4ec9b0; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;SendKeys&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;SendWait(fileToUpload);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&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; System&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Windows&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Forms&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: #4ec9b0; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;SendKeys&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;SendWait(&lt;/span&gt;&lt;span style=&quot;background: black; color: #d69d85; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;&quot;{ENTER}&quot;&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&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; System&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Threading&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: #4ec9b0; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Thread&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Sleep(&lt;/span&gt;&lt;span style=&quot;background: black; color: #b5cea8; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;1000&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&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; &lt;/span&gt;&lt;span style=&quot;background: black; color: #57a64a; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;//Click
import button&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&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; &lt;/span&gt;&lt;span style=&quot;background: black; color: #4ec9b0; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Browser&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;WebDriver&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;FindElement(&lt;/span&gt;&lt;span style=&quot;background: black; color: #4ec9b0; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;By&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;XPath(&lt;/span&gt;&lt;span style=&quot;background: black; color: #d69d85; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;&quot;/html/body/div[2]/div/table/tbody/tr[1]/td[3]/div/form/input[2]&quot;&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;))&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Click();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&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; &lt;/span&gt;&lt;span style=&quot;background: black; color: #57a64a; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;//Wait
for the file to be uploaded&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&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; System&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Threading&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: #4ec9b0; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Thread&lt;/span&gt;&lt;span style=&quot;background: black; color: #b4b4b4; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;Sleep(&lt;/span&gt;&lt;span style=&quot;background: black; color: #b5cea8; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;10000&lt;/span&gt;&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;);&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; mso-highlight: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background: black; color: gainsboro; font-family: Consolas; font-size: 9.5pt; line-height: 115%; mso-highlight: black;&quot;&gt;}&lt;/span&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://masimriaz.blogspot.com/feeds/5331000636484055441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://masimriaz.blogspot.com/2014/10/upload-file-in-selenium-webdriver-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/5331000636484055441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/5331000636484055441'/><link rel='alternate' type='text/html' href='http://masimriaz.blogspot.com/2014/10/upload-file-in-selenium-webdriver-in-c.html' title='Upload File In Selenium Webdriver In C#'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15325984694436289080</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-4188251706802729605.post-4459062210079013356</id><published>2014-10-20T23:37:00.002-07:00</published><updated>2014-10-21T03:03:19.959-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Selenium"/><category scheme="http://www.blogger.com/atom/ns#" term="Test Automation"/><title type='text'>Test Automation using C#, Selenium WebDriver and NUnit</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;What is Selenium?&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Selenium automates browsers. That&#39;s it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) also be automated as well.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Selenium has the support of some of the largest browser vendors who have taken (or are taking) steps to make Selenium a native part of their browser. It is also the core technology in countless other browser automation tools, APIs and frameworks.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Selenium IDE&lt;/b&gt; is an integrated development environment for performing Selenium tests. &amp;nbsp;Selenium tests can be written as HTML tables or coded in various languages like C#, PHP, Perl, Python and can be run directly in most modern browsers.The IDE can help you to record, edit and debug tests. Currently the IDE is only available for Firefox (as if we developers will use any other) as a addon.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Here is a possible scenario for using Selenium. Imagine you have created a HTML form with about twenty fields and you have to repeatedly test the form. Filling the form every time can quickly become tedious. With Selenium you can automate the whole process and run the test as required. In this part we will see how to create a simple test in Selenium. So let’s get started.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Creating a Test Automation Framework is a challenging task due to following reasons:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Test framework design and the coding of that design requires significant time and effort&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Test framework must be easy to expand and maintain&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Test framework should be independent of application&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Test design should remove most testers from the complexities of the test framework&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;SOFTWARE REQUIREMENTS:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Windows 7 as OS&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Microsoft Visual Studio 2013 as IDE&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;SpecFlow as BDD tool for .Net&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;NUnit as Unit Testing Tool&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Selenium as a Test Automation Tool&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Basic&amp;nbsp;Architecture:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;I have developed test framework for test automation using
selenium which can be over viewed as shown below.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKJo-h1tUCFKW38pb2SYvlupcNDgfpdnqQ_yDGPfJit1QIKjAsxHlZEK8OaL8yWVvDJxff8UymuzmzTxXRRolznAf0W8mH1VI25zXoNjYtIH59_YkxEuxPOXWNHiwaMBPT9NFcVNf1pYY/s1600/BA.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKJo-h1tUCFKW38pb2SYvlupcNDgfpdnqQ_yDGPfJit1QIKjAsxHlZEK8OaL8yWVvDJxff8UymuzmzTxXRRolznAf0W8mH1VI25zXoNjYtIH59_YkxEuxPOXWNHiwaMBPT9NFcVNf1pYY/s1600/BA.png&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;Page-Object pattern:&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;o:p&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYcN9pUKLz-pU5MSQoq_0qhJUQH66ATzse4zEAlaL3XkGjgRk0FnrWNCWDYj57b0Yq4d2A454QRyxIirFM8vPyk8lhhTs1iGG8T0UX6E02JuvDCqtC6I0gdGTC-OyBNNbVeFVZwK9NDLQ/s1600/pageobjectpattern.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYcN9pUKLz-pU5MSQoq_0qhJUQH66ATzse4zEAlaL3XkGjgRk0FnrWNCWDYj57b0Yq4d2A454QRyxIirFM8vPyk8lhhTs1iGG8T0UX6E02JuvDCqtC6I0gdGTC-OyBNNbVeFVZwK9NDLQ/s1600/pageobjectpattern.png&quot; height=&quot;323&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Test code is easily readable.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Distinguished reusable code.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;No duplication of Selenium API calls.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Creation of tests are easy and improves maintainability.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Used effectively with IDE such as Visual Studio, Eclipse, IntelliJ, Visual Studio.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Excellent support for languages such as C#, Java, Ruby, Python, Perl.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Test Framework Code Overview.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Application Test code hierarchy which categorized the tests
for each application and its releases.&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;Picture_x0020_3&quot; o:spid=&quot;_x0000_i1026&quot;
 type=&quot;#_x0000_t75&quot; alt=&quot;&quot; style=&#39;width:355.5pt;height:424.5pt&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:\Users\ariaz\AppData\Local\Temp\1\msohtmlclip1\01\clip_image003.png&quot;
  o:href=&quot;cid:image003.png@01CFEC29.56C30770&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhs1QoH3x8Z1rJV_W_W6gkxhwIe4KfPegZG-E8_bS9D3VbGMgCLyk0GjkiMNrkl0g9GseJ0aiyCD30YMQ9y8d9JcEo7RTjzIiibbAt39qwDjD_y2hSXdw0D2N11LhPElMGQQ9JQoD0bJxU/s1600/TFO.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhs1QoH3x8Z1rJV_W_W6gkxhwIe4KfPegZG-E8_bS9D3VbGMgCLyk0GjkiMNrkl0g9GseJ0aiyCD30YMQ9y8d9JcEo7RTjzIiibbAt39qwDjD_y2hSXdw0D2N11LhPElMGQQ9JQoD0bJxU/s1600/TFO.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;A Very Simple Test for Utility App:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Simple understandable test cases using page objects.&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;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkGHJcowIxplHMT2d3xEf855pgx8cSm30GvnI6BYwcZ10zL7IGNyqIor62zlq6BWQhu8grmszgZs4mkh5FTpNcbf6qpC-u_pwTBGzPElG8rgEOK_-ZiSgyYzmwbuEp7aFd6Qa-AeJrVwo/s1600/Simple+Test.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkGHJcowIxplHMT2d3xEf855pgx8cSm30GvnI6BYwcZ10zL7IGNyqIor62zlq6BWQhu8grmszgZs4mkh5FTpNcbf6qpC-u_pwTBGzPElG8rgEOK_-ZiSgyYzmwbuEp7aFd6Qa-AeJrVwo/s1600/Simple+Test.png&quot; height=&quot;465&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Reference: &lt;a href=&quot;http://www.seleniumhq.org/&quot;&gt;http://www.seleniumhq.org/&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://masimriaz.blogspot.com/feeds/4459062210079013356/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://masimriaz.blogspot.com/2014/10/test-automation-using-c-selenium.html#comment-form' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/4459062210079013356'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/4459062210079013356'/><link rel='alternate' type='text/html' href='http://masimriaz.blogspot.com/2014/10/test-automation-using-c-selenium.html' title='Test Automation using C#, Selenium WebDriver and NUnit'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15325984694436289080</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="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKJo-h1tUCFKW38pb2SYvlupcNDgfpdnqQ_yDGPfJit1QIKjAsxHlZEK8OaL8yWVvDJxff8UymuzmzTxXRRolznAf0W8mH1VI25zXoNjYtIH59_YkxEuxPOXWNHiwaMBPT9NFcVNf1pYY/s72-c/BA.png" height="72" width="72"/><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4188251706802729605.post-5537846891055859469</id><published>2014-09-29T23:56:00.000-07:00</published><updated>2014-09-29T23:56:24.437-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Failures"/><category scheme="http://www.blogger.com/atom/ns#" term="Inspiration"/><category scheme="http://www.blogger.com/atom/ns#" term="Motivation"/><category scheme="http://www.blogger.com/atom/ns#" term="Success"/><title type='text'>Famous Failures: Never Give Up!</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot; font-family: Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 1em; margin-top: 1em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Success comes in all shapes and colors. You can be successful in your job and career but you can equally be successful in your marriage, at sports or a hobby. Whatever success you are after there is one thing all radically successful people have in common: Their ferocious drive and hunger for success makes them never give up.&lt;/div&gt;
&lt;div style=&quot; font-family: Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 1em; margin-top: 1em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Successful people (or the people talking or writing about them) often paint a picture of the perfect ascent to success. In fact, some of the most successful people in business, entertainment and sport have failed. Many have failed numerous times but they have never given up. Successful people are able to pick themselves up, dust themselves off and carry on trying.&lt;/div&gt;
&lt;div style=&quot; font-family: Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 1em; margin-top: 1em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
I have collected some examples that should be an inspiration to anyone who aspires to be successful. They show that if you want to succeed you should expect failure along the way. I actually believe that failure can spur you on and make you try even harder. You could argue that every experience of failure increases the hunger for success. The truly successful won&#39;t be beaten, they take responsibility for failure, learn from it and start all over from a stronger position.&lt;/div&gt;
&lt;div style=&quot; font-family: Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 1em; margin-top: 1em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Let&#39;s look at some examples:&lt;/div&gt;
&lt;div style=&quot; font-family: Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 1em; margin-top: 1em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Henry Ford -&amp;nbsp;&lt;/strong&gt;the pioneer of modern business entrepreneurs and the founder of the Ford Motor Company failed a number of times on his route to success. His first venture to build a motor car got dissolved a year and a half after it was started because the stockholders lost confidence in Henry Ford. Ford was able to gather enough capital to start again but a year later pressure from the financiers forced him out of the company again. Despite the fact that the entire motor industry had lost faith in him he managed to find another investor to start the Ford Motor Company - and the rest is history.&lt;/div&gt;
&lt;div style=&quot; font-family: Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 1em; margin-top: 1em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Walt Disney&lt;/strong&gt;&amp;nbsp;- one of the greatest business leaders who created the global Disney empire of film studios, theme parks and consumer products didn&#39;t start off successful. Before the great success came a number of failures. Believe it or not, Walt was fired from an early job at the Kansas City Star Newspaper because he was not creative enough! In 1922 he started his first company called Laugh-O-Gram. The Kansas based business would produce cartoons and short advertising films. In 1923, the business went bankrupt. Walt didn&#39;t give up, he packed up, went to Hollywood and started The Walt Disney Company.&lt;/div&gt;
&lt;div style=&quot; font-family: Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 1em; margin-top: 1em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Richard Branson&lt;/strong&gt;&amp;nbsp;- He is undoubtedly a successful entrepreneur with many successful ventures to his name including Virgin Atlantic, Virgin Music and Virgin Active. However, when he was 16 he dropped out of school to start a student magazine that didn&#39;t do as well as he hoped. He then set up a mail-order record business which did so well that he opened his own record shop called Virgin. Along the way to success came many other failed ventures including Virgin Cola, Virgin Vodka, Virgin Clothes, Virgin Vie, Virgin cards, etc.&lt;/div&gt;
&lt;div style=&quot; font-family: Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 1em; margin-top: 1em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Oprah Winfrey&lt;/strong&gt;&amp;nbsp;- who ranks No 1 in the Forbes celebrity list and is recognized as the queen of entertainment based on an amazing career as iconic talk show host, media proprietor, actress and producer. In her earlier career she had numerous set-backs, which included getting fired from her job as a reporter because she was &#39;unfit for television&#39;, getting fired as co-anchor for the 6 O&#39;clock weekday news on WJZ-TV and being demoted to morning TV.&lt;/div&gt;
&lt;div style=&quot; font-family: Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 1em; margin-top: 1em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;J.K. Rowling&lt;/strong&gt;&amp;nbsp;- who wrote the Harry Potter books selling over 400 million copies and making it one of the most successful and lucrative book and film series ever. However, like so many writers she received endless rejections from publishers. Many rejected her manuscript outright for reasons like &#39;it was far too long for a children&#39;s book&#39; or because &#39;children books never make any money&#39;. J.K. Rowling&#39;s story is even more inspiring because when she started she was a divorced single mum on welfare.&lt;/div&gt;
&lt;div style=&quot; font-family: Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 1em; margin-top: 1em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Bill Gates&amp;nbsp;&lt;/strong&gt;-co-founder and chairman of Microsoft set up a business called Traf-O-Data. The partnership between him, Paul Allen and Paul Gilbert was based on a good idea (to read data from roadway traffic counters and create automated reports on traffic flows) but a flawed business model that left the company with few customers. The company ran up losses between 1974 and 1980 before it was closed. However, Bill Gates and Paul Allen took what they learned and avoided those mistakes when they created the Microsoft empire.&lt;br /&gt;&lt;br /&gt;There are lots of more example.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://masimriaz.blogspot.com/feeds/5537846891055859469/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://masimriaz.blogspot.com/2014/09/famous-failures-never-give-up.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/5537846891055859469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/5537846891055859469'/><link rel='alternate' type='text/html' href='http://masimriaz.blogspot.com/2014/09/famous-failures-never-give-up.html' title='Famous Failures: Never Give Up!'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15325984694436289080</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-4188251706802729605.post-3415402944164349914</id><published>2014-09-26T00:26:00.000-07:00</published><updated>2014-09-26T00:26:54.036-07:00</updated><title type='text'>ASP.Net MVC Training Table Of Contents</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;
Please get the installation completed of the following tools on your machine&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;text-indent: -0.25in;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;Visual Studio 2012 or 2013&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;SQL Server 2012 (for developing database driven applications)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Following are the contents of training we will cover&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;text-indent: -0.25in;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b style=&quot;text-indent: -0.25in;&quot;&gt;1&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;text-indent: -0.25in;&quot;&gt;.NET Framework Overview&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;margin-left: 1in; text-indent: -0.25in;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;We will read a book and will have a training session over Microsoft .NET Framework Application Development Foundation which covered most of the .Net Framework concepts as follow&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;margin-left: 1.5in; text-indent: -0.25in;&quot;&gt;
o&amp;nbsp;&amp;nbsp;&amp;nbsp;.NET, CLR, MSIL/JIT, Assemblies, CTS, .NET languages&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;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;margin-left: 1.5in; text-indent: -0.25in;&quot;&gt;
o&amp;nbsp;&amp;nbsp;&amp;nbsp;Data Types, Operators, Expressions, Statements, Console I/O, if / switch / case, Loops, Arrays, Methods&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;margin-left: 1.5in; text-indent: -0.25in;&quot;&gt;
o&amp;nbsp;&amp;nbsp;&amp;nbsp;Creating and Using Objects, Exceptions, Strings, Generics, Collections, Attributes&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;margin-left: 1.5in; text-indent: -0.25in;&quot;&gt;
o&amp;nbsp;&amp;nbsp;&amp;nbsp;OOP Concepts such as Defining Classes, Constructors, Properties, Events, Interfaces, Inheritance, Polymorphism&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;text-indent: -0.25in;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b style=&quot;text-indent: -0.25in;&quot;&gt;2&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;text-indent: -0.25in;&quot;&gt;Introduction to ASP.Net MVC&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: -0.25in;&quot;&gt;
The MVC Pattern&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.5in; text-indent: -0.25in;&quot;&gt;
o&amp;nbsp;&amp;nbsp;&amp;nbsp;Model, View, Controller&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.5in; text-indent: -0.25in;&quot;&gt;
o&amp;nbsp;&amp;nbsp;&amp;nbsp;The MVC Pattern for Web and Examples&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: -0.25in;&quot;&gt;
ASP.NET MVC&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.5in; text-indent: -0.25in;&quot;&gt;
o&amp;nbsp;&amp;nbsp;&amp;nbsp;Comparison with ASP.NET Form&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.5in; text-indent: -0.25in;&quot;&gt;
o&amp;nbsp;&amp;nbsp;&amp;nbsp;ASP.NET MVC Advantages&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: -0.25in;&quot;&gt;
Creating ASP.NET MVC Project&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;text-indent: -0.25in;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b style=&quot;text-indent: -0.25in;&quot;&gt;3&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;text-indent: -0.25in;&quot;&gt;Introduction to ASP.Net MVC Advance Topics&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;margin-left: 1.25in; text-indent: -0.25in;&quot;&gt;
ASP.NET MVC Bundling&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;margin-left: 1.75in; text-indent: -0.25in;&quot;&gt;
o&amp;nbsp;&amp;nbsp;&amp;nbsp;JQuery and JavaScript&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;margin-left: 1.25in; text-indent: -0.25in;&quot;&gt;
ASP.NET MVC Routing&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;margin-left: 1.75in; text-indent: -0.25in;&quot;&gt;
o&amp;nbsp;&amp;nbsp;&amp;nbsp;Route constraints&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;margin-left: 1.25in; text-indent: -0.25in;&quot;&gt;
Controllers and Actions&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;margin-left: 1.75in; text-indent: -0.25in;&quot;&gt;
o&amp;nbsp;&amp;nbsp;&amp;nbsp;Action results and filters&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;margin-left: 1.25in; text-indent: -0.25in;&quot;&gt;
Razor Views&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;margin-left: 1.75in; text-indent: -0.25in;&quot;&gt;
o&amp;nbsp;&amp;nbsp;&amp;nbsp;Layout and sections&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;margin-left: 1.75in; text-indent: -0.25in;&quot;&gt;
o&amp;nbsp;&amp;nbsp;&amp;nbsp;Helpers&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;margin-left: 1.75in; text-indent: -0.25in;&quot;&gt;
o&amp;nbsp;&amp;nbsp;&amp;nbsp;Partial views&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;margin-left: 1.25in; text-indent: -0.25in;&quot;&gt;
Areas&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;
Firstly, we are going to start .Net Framework Fundamentals which will cover most of the basic concepts of .Net framework and then we will start over ASP.Net MVC (Pro ASP.NET MVC 4).&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;
Building Applications with ASP.Net MVC 4:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;
&lt;a href=&quot;http://pluralsight.com/training/Player?author=scott-allen&amp;amp;name=mvc4-building-m1-intro&amp;amp;mode=live&amp;amp;clip=0&amp;amp;course=mvc4-building&quot;&gt;http://pluralsight.com/training/Player?author=scott-allen&amp;amp;name=mvc4-building-m1-intro&amp;amp;mode=live&amp;amp;clip=0&amp;amp;course=mvc4-building&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://masimriaz.blogspot.com/feeds/3415402944164349914/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://masimriaz.blogspot.com/2014/09/aspnet-mvc-training-table-of-contents.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/3415402944164349914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/3415402944164349914'/><link rel='alternate' type='text/html' href='http://masimriaz.blogspot.com/2014/09/aspnet-mvc-training-table-of-contents.html' title='ASP.Net MVC Training Table Of Contents'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15325984694436289080</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-4188251706802729605.post-876441044462023846</id><published>2014-09-26T00:08:00.001-07:00</published><updated>2014-09-26T07:21:50.810-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Reporting"/><category scheme="http://www.blogger.com/atom/ns#" term="SSRS"/><title type='text'>Prevent SQL Server Reporting Services Slow Startup</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Problem:&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Tahoma, sans-serif; font-size: 10pt;&quot;&gt;I&#39;ve installed a SQL
Reporting server 2012, with some reports. But I&#39;ve some performances
issues.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&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;font-family: Tahoma, sans-serif; font-size: 10pt;&quot;&gt;The first call of the
day to the server(report is access in MVC application), is VERY slow(something
like 20-35 seconds at best), The report generation is then fast(1-2 seconds).
I&#39;ve the impression that it loads alll supporting dlls in the memory on first
call the use cached dlls for rest of calls. But what can takes 20-35 seconds to
be loaded in memory? And how to load it only once?&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Tahoma, sans-serif; font-size: 10pt;&quot;&gt;These reports will be
launched along with web application and will be accessed frequently, so they
will always be slow on first load if I can&#39;t change this. And since it&#39;s
available for customer, I just can&#39;t make them understand this(and the report
is called through a website, so I risk to have timeout).&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Tahoma, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;
Solution:&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Tahoma, sans-serif; font-size: 10pt;&quot;&gt;I have solved the
problem by Using the following articles as guidance:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif; font-size: x-small;&quot;&gt;Technet – “RSReportServer Configuration File” – http://technet.microsoft.com/en-us/library/ms157273.aspx&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Tahoma, sans-serif; font-size: x-small;&quot;&gt;MSSQL Tips – “Prevent SQL Server Reporting Services Slow Startup” –http://www.mssqltips.com/sqlservertip/2735/prevent-sql-server-reporting-services-slow-startup/&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Tahoma, sans-serif; font-size: 10pt;&quot;&gt;I Scheduled a SQL Server
job that will handle a report call periodically (for example every morning
before everyone rushes to the office like I schedule it for 6:00 AM), for this
I have written a powershell script which will warm up MS reporting server.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&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;font-family: Tahoma, sans-serif; font-size: 10pt;&quot;&gt;# URL to your SSRS. As
example localhost is used.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Tahoma, sans-serif; font-size: 10pt;&quot;&gt;[string] $url = &quot;&lt;a href=&quot;http://dps01/ReportServer&quot;&gt;http://localhost/ReportServer&lt;/a&gt;&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Tahoma, sans-serif; font-size: 10pt;&quot;&gt;$httpRequest =
[System.Net.HttpWebRequest]::Create($url) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Tahoma, sans-serif; font-size: 10pt;&quot;&gt;$httpRequest.Credentials
=[System.Net.CredentialCache]::DefaultCredentials;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Tahoma, sans-serif; font-size: 10pt;&quot;&gt;$httpRequest.Method =
&quot;GET&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Tahoma, sans-serif; font-size: 10pt;&quot;&gt;# Time out has been set
to 5 minutes to make sure the call is properly completed&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Tahoma, sans-serif; font-size: 10pt;&quot;&gt;$httpRequest.Timeout =
300000;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Tahoma, sans-serif; font-size: 10pt;&quot;&gt;$objResponseReader =
[System.IO.StreamReader]($httpRequest.GetResponse().GetResponseStream());&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Tahoma, sans-serif; font-size: 10pt;&quot;&gt;$objResponseReader.Dispose();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&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;font-family: Tahoma, sans-serif; font-size: 10pt;&quot;&gt;I Scheduled this job for
daily at 6:00 in the morning.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://masimriaz.blogspot.com/feeds/876441044462023846/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://masimriaz.blogspot.com/2014/09/problem-ive-installed-sqlreporting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/876441044462023846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/876441044462023846'/><link rel='alternate' type='text/html' href='http://masimriaz.blogspot.com/2014/09/problem-ive-installed-sqlreporting.html' title='Prevent SQL Server Reporting Services Slow Startup'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15325984694436289080</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-4188251706802729605.post-3892963531895055156</id><published>2013-01-14T23:46:00.000-08:00</published><updated>2016-10-06T16:03:11.106-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DEEP THINKING"/><category scheme="http://www.blogger.com/atom/ns#" term="Islam"/><category scheme="http://www.blogger.com/atom/ns#" term="Life"/><category scheme="http://www.blogger.com/atom/ns#" term="Muslims"/><title type='text'>DEEP THINKING</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #151515; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;b&gt;H&lt;/b&gt;ave you ever thought about the fact that you did not exist before you were conceived and then born into the world and that you have come into existence from mere nothingness?&lt;/span&gt;&lt;span id=&quot;yui_3_7_2_1_1358234278759_294&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;Have you ever thought about how the flowers you see in your living room everyday come out of pitch black, muddy soil with fragrant smells and are as colorful as they are?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;Have you ever thought about how mosquitoes, which irritatingly fly around you, move their wings so fast that we are unable to see them?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;Have you ever thought about how the peels of fruits such as bananas, watermelons, melons and oranges serve as wrappings of high quality, and how the fruits are packed in these wrappings so that they maintain their taste and fragrance?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;Have you ever thought about the possibility that while you are asleep a sudden earthquake could raze your home, your office, and your city to the ground and that in a few seconds you could lose everything of the world you possess?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;Have you ever thought of how your life passes away very quickly, and that you will grow old and become weak, and slowly lose your beauty, health and strength?&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;Have you ever thought about how one day you will find the angels of death appointed by Allah before you and that you will then leave this world?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;Well, have you ever thought about why people are so attached to a world from which they will soon depart when what they basically need is to strive for the hereafter?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;Man is a being whom Allah furnishes with the faculty of thought. Yet, most people do not use this very important faculty, as they should. In fact, some people almost never think.&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;In truth, each person possesses a capacity for thought of which even he himself is unaware. Once man begins to use this capacity, facts he has not been able to realize until that very moment begin to be uncovered for him. The deeper he goes in reflection, the more his capacity to think improves, and this is possible for everyone. One just has to realize that one needs to reflect and then to strive hard.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;Someone who does not think will remain totally distant from truths and lead his life in self-deception and error. As a result, he will not grasp the purpose of the creation of the world, and the reason for his existence on the earth. Yet, Allah has created everything with a purpose. This fact is stated in the Qur&#39;an as follows:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: white;&quot;&gt;We did not create the heavens and the earth and everything between them as a game. We did not create them except with truth but most of them do not know it. (Surat ad-Dukhan: 38-39)&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style=&quot;color: white;&quot;&gt;Did you suppose that We created you for amusement and that you would not return to Us? (Surat al-Muminun: 115)&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: white;&quot;&gt;Therefore, each person needs to ponder the purpose of creation, first as it concerns him himself, and then as it pertains to everything he sees in the universe and every event he experiences throughout his life. Someone who does not think will understand the facts only after he dies, when he gives account before Allah, but then it will be too late. Allah says in the Qur&#39;an that on the day of account, everybody will think and see the truth:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: white;&quot;&gt;That day Hell is produced, that day man will remember; but how will the remembrance help him?&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style=&quot;color: white;&quot;&gt;He will say, &quot;Oh! If only I had prepared in advance for this life of mine!&quot; (Surat al-Fajr: 23-24)&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: white;&quot;&gt;While Allah has given us a chance in the life of this world to reflect and derive conclusions from our reflections, to see the truth will bring us great gain in our life in the hereafter. For this reason, Allah has summoned all people, through His prophets and books, to reflect on their creation and on the creation of the universe:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: white;&quot;&gt;Have they not reflected within themselves? Allah did not create the heavens and the earth and everything between them except with truth and for a fixed term. Yet many people reject the meeting with their Lord. (Surat ar-Rum: 8)&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style=&quot;color: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style=&quot;color: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style=&quot;color: white;&quot;&gt;Those who remember Allah, standing, sitting, and lying on their sides, and reflect on the creation of the heavens and the earth: &quot;O Lord, You have not created this for nothing. Glory be to You! So safeguard us from the punishment of the Fire.&quot;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style=&quot;color: white;&quot;&gt;(Surat Al &#39;Imran: 191)&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://masimriaz.blogspot.com/feeds/3892963531895055156/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://masimriaz.blogspot.com/2013/01/deep-thinking.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/3892963531895055156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/3892963531895055156'/><link rel='alternate' type='text/html' href='http://masimriaz.blogspot.com/2013/01/deep-thinking.html' title='DEEP THINKING'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15325984694436289080</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-4188251706802729605.post-7990094797666336031</id><published>2011-09-12T09:12:00.000-07:00</published><updated>2011-09-12T09:12:37.487-07:00</updated><title type='text'>How to Stay Motivated and On-Track When You’re Struggling</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 16px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;Maybe you’ve been trying to kick-start your business and it just hasn’t worked yet. Maybe you’ve just started but you’re already frustrated. Or maybe you’ve wanted to hit that next level for years and haven’t been able to get there. Regardless of your situation, getting motivated and on-track isn’t difficult. It’s staying that way that’s the trick. And when you’re struggling to “make it,” sometimes it’s even harder. You find yourself wandering, letting yourself get distracted, and wondering if you’ll ever really make your mark. Want to end the cycle of struggle? Master these tips and you’ll be virtually unstoppable.&lt;br /&gt;&lt;br /&gt;First, know that this is a temporary state. It doesn’t matter how long you’ve been where you are. All that you need to know is that nothing is permanent. All things change, even if it seems that they don’t. It’s simply a law of nature — nothing stays the same forever. The universe is constantly moving, evolving, and changing, and so are you. So instead of seeing this as a neverending path into darkness, know that there’s a light at the end of the tunnel, and every day, it’s getting closer. And as soon as you get a new client, sell your first product, or hit that next target, everything within you will shift.&lt;br /&gt;&lt;br /&gt;Second, remind yourself what you’re fighting for. When you’ve been trying to make something happen for awhile, you can start to lose sight of the end goal. Instead of focusing on the reason you started this journey in the first place, you begin to focus on smaller, more immediate outcomes. For example, if you started your business so you could eventually free up enough time to spend with your family, but you’ve been working for a long time and haven’t seen the results you’d expected or hoped for, your goal may have shifted from “be with my family” to “make my business work.” This has exactly the opposite effect than you originally intended. By shifting your priorities, now you’re probably spending less time with your family.&lt;br /&gt;&lt;br /&gt;Sometimes it’s helpful to create tangible reminders of the reason you started down this path. A vision board may be useful, or just a statement, penned boldly and tacked to a bulletin board near your workspace. If you want to remind yourself of a forgotten goal and reintegrate it into your thinking process and mindset, set your alarm a few minutes earlier each morning and spend that time meditating on what you’re working towards. Reaffirm what you’re fighting for and you’ll find the will to fight is restored and renewed once more.&lt;br /&gt;&lt;br /&gt;Third, believe in yourself. It can be hard to believe in yourself when you’ve been trying to make something work for a long time. Sometimes you just lose faith in your own ability to make it work or see it through. One of the best ways to stay strong in your belief in yourself is to keep track of your successes, even the small ones. When you’re feeling down on yourself, go back to the list of successes and review them. Remind yourself that you are capable and you can make this work.&lt;br /&gt;&lt;br /&gt;Another way to rebuild your confidence involves something social psychologists have known for decades — that our feelings about ourselves are frequently a reflection of how we think others perceive us. So take advantage of that! Read through your client testimonials and e-mails. Ask your clients for periodic evaluations and you’re bound to receive some fantastic feedback (and if there are some negatives, folks, that’s a great learning experience — it tells you exactly what you need to do to improve and make your clients happy). Even if your faith in yourself falters, others still believe in you.&lt;br /&gt;&lt;br /&gt;Finally, get help before you’re in crisis. If your business isn’t where you want it to be, if you aren’t making the leaps ahead that you want to be making, there’s obviously something going on. Before things go too far, before you get lost and become totally unmotivated, get help!&lt;br /&gt;&lt;br /&gt;The problem may be with your business — it could be a branding issue, a marketing issue, or maybe just you aren’t giving your clients what they want. Hire a consultant who can turn your business inside out finding ways to improve your results. The problem may also lie within — you yourself might benefit from some “fine-tuning.” Hire a coach and work through any roadblocks that may be getting in the way of your success. Hire a mentor and model his/her behavior. Or if you’re struggling with self-discipline and need a budget solution, ask a reliable friend to be your accountability partner so you both can improve.&lt;br /&gt;&lt;br /&gt;As you begin to master the ability to keep your motivation high, it will become easier to stay on-track. Moments of frustration will be fewer and farther between and, as you master your mindset, you’ll find that you actually achieve success and reach your targets faster.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://masimriaz.blogspot.com/feeds/7990094797666336031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://masimriaz.blogspot.com/2011/09/how-to-stay-motivated-and-on-track-when.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/7990094797666336031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/7990094797666336031'/><link rel='alternate' type='text/html' href='http://masimriaz.blogspot.com/2011/09/how-to-stay-motivated-and-on-track-when.html' title='How to Stay Motivated and On-Track When You’re Struggling'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15325984694436289080</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-4188251706802729605.post-2321232260092946851</id><published>2011-09-12T09:11:00.000-07:00</published><updated>2011-09-12T09:11:23.949-07:00</updated><title type='text'>Dialogue between a traveler and the Holy Prophet(Peace Be Upon Him)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 16px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;A traveler once came to the masjid to see the prophet. After greeting the prophet he was asked where he was from. The traveler replied that he came from&lt;br /&gt;very far just to get a few questions answered. Following is the&lt;br /&gt;dialogue between the traveler and the prophet.&lt;br /&gt;&lt;br /&gt;Traveler: I do not want azaab to be written in my account.&lt;br /&gt;Prophet : behave well with your parents&lt;br /&gt;&lt;br /&gt;Traveler: I want to be known amongst people as an intelligent person.&lt;br /&gt;Prophet : fear Allah always.&lt;br /&gt;&lt;br /&gt;Traveler: I want to be counted amongst Allah&#39;s favorites.&lt;br /&gt;Prophet : recite quran every morning and evening.&lt;br /&gt;&lt;br /&gt;Traveler: I want my heart to always be enlightened. ( roshan and munawer)&lt;br /&gt;Prophet: never forget death&lt;br /&gt;&lt;br /&gt;Traveler: I never want to be away from Allah&#39;s blessing.&lt;br /&gt;Prophet: always treat fellow creature well.&lt;br /&gt;&lt;br /&gt;Traveler: I never want to be harmed by my enemies.&lt;br /&gt;Prophet : always have faith in only Allah.&lt;br /&gt;&lt;br /&gt;Traveler: I never want to be humiliated.&lt;br /&gt;Prophet: be careful of your actions.&lt;br /&gt;&lt;br /&gt;Traveler: I wish to live long.&lt;br /&gt;Prophet: always do sile rahm. (Goodness towards blood relations)&lt;br /&gt;&lt;br /&gt;Traveler: I want my sustenance to increase.&lt;br /&gt;Prophet : always be in wudhoo.&lt;br /&gt;&lt;br /&gt;Traveler: I wish to stay free of adhaab in the grave.&lt;br /&gt;Prophet : always wear pure (paak) clothes.&lt;br /&gt;&lt;br /&gt;Traveler: I never want to burn in hell.&lt;br /&gt;Prophet : control your eyes and tongue.&lt;br /&gt;&lt;br /&gt;Traveler: how do I get my sins forgiven.&lt;br /&gt;Prophet: always ask forgiveness from Allah with a lot of humility.&lt;br /&gt;&lt;br /&gt;Traveler: I want people to respect me always.&lt;br /&gt;Prophet : never extend your hands of need at people.&lt;br /&gt;&lt;br /&gt;Traveler: I want to always be honored.&lt;br /&gt;Prophet : never humiliate or put down anyone.&lt;br /&gt;&lt;br /&gt;Traveler: I don&#39;t want to be squeezed by fishare qabr.&lt;br /&gt;( squeezing in the grave)&lt;br /&gt;Prophet: recite sura e mulk often.&lt;br /&gt;&lt;br /&gt;Traveler: I want my wealth to increase.&lt;br /&gt;Prophet: recite sura e waqia every night.&lt;br /&gt;&lt;br /&gt;Traveler: I want to be safe and at peace on day of judgment.&lt;br /&gt;Prophet: do zikr of Allah from dusk to night.&lt;br /&gt;&lt;br /&gt;Traveler: I want to be in full attention and concentration during namaaz.&lt;br /&gt;Prophet : always do wudhoo with concentration and attention&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://masimriaz.blogspot.com/feeds/2321232260092946851/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://masimriaz.blogspot.com/2011/09/dialogue-between-traveler-and-holy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/2321232260092946851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/2321232260092946851'/><link rel='alternate' type='text/html' href='http://masimriaz.blogspot.com/2011/09/dialogue-between-traveler-and-holy.html' title='Dialogue between a traveler and the Holy Prophet(Peace Be Upon Him)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15325984694436289080</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-4188251706802729605.post-1621998160621737935</id><published>2011-04-26T23:55:00.000-07:00</published><updated>2011-08-17T19:18:37.006-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Courage"/><category scheme="http://www.blogger.com/atom/ns#" term="Life"/><category scheme="http://www.blogger.com/atom/ns#" term="Motivation"/><title type='text'>An Element of Motivation</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Tahoma, Geneva, sans-serif; font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #eeeeee;&quot;&gt;Life is tough, that’s a given. When you stand up, you’re gonna be shoved back down. When you’re down, you’re gonna be stepped on. My advice to you doesn’t come with a lot of bells and whistles. It’s no secret: you’ll fall down, you stumble, you get pushed, you land square on your face. And every time that happens, you get back on your feet. You get up just as fast as you can, no matter how many times you need to do it. Remember this: success has been and continues to be defined as getting up one more time than you’ve been knocked down. If experience has taught me anything, it’s that nothing is free and living ain’t easy. Life is hard, real hard, incredibly hard. You fail more often than you win, nobody is handing you anything. It’s up to you to puff up your chest, stretch your neck and overcome all that is difficult – the nasty, the mean, the unfair. If you want more than what you have now, prove it! If you want to beat the very best out there that is, get out there and earn it! Once you decide that, you’ll know where it is you want to be. Then you won’t stop pushing forward until you get there! That’s how winners are made. At the end of the day, success is what we all want. We all want to win, and the race will be won. There is no question about that. So c’mon, get out on top, run faster, dream bigger, live better than you ever have before. This is in you. You can do this. Do it for yourself. Prove it to yourself.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://masimriaz.blogspot.com/feeds/1621998160621737935/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://masimriaz.blogspot.com/2011/04/element-of-motivation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/1621998160621737935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/1621998160621737935'/><link rel='alternate' type='text/html' href='http://masimriaz.blogspot.com/2011/04/element-of-motivation.html' title='An Element of Motivation'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15325984694436289080</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-4188251706802729605.post-1058807969173276125</id><published>2011-03-15T07:08:00.000-07:00</published><updated>2016-10-04T04:33:06.027-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Daily"/><category scheme="http://www.blogger.com/atom/ns#" term="Routine"/><title type='text'>My Daily Work Routine</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Start day with the name of Allah&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Wake early in the morning at 8 o Clock&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Brush your teeth and take bath&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Prepare breakfast&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Leave for office at 9:30 or 10 O clock max&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Perform breath taking exercise&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Read mission statements and encourage yourself and believe in Allah&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Check for emails&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Analyze and Prioritize tasks&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Start work on tasks&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Avoid any stress giving situations and be proactive if any conflict arise&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Be polite while talking to others&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Listen to your language and other&#39;s language and try to learn from other&#39;s experiences&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Focus on your work and learning&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Have Lunch with relaxation&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Play table tennis&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Offer prayer and pray to Allah for help and courage.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Start Learning new technology for few hour&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Make sure you learn new technology after 2 month&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;At evening have a cup of tea with 3 biscuits&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Email task status&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Leave office at 7 O clock&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Prepare for gym&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Eat any seasonal fruit (banana and apple)&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Leave for gym at 8 o Clock&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Prepare dinner and eat&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Walk for few minutes and smile whilst walking&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Drink milk&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Go to bed at 10 O clock&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Perform breath taking exercise&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Read your mission statements&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Have courage and faith in yourself&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;&amp;nbsp;Sleep at 11 o Clock&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;Repeat that process again for everyday and never miss two days in a row&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://masimriaz.blogspot.com/feeds/1058807969173276125/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://masimriaz.blogspot.com/2011/03/my-daily-work-routine.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/1058807969173276125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/1058807969173276125'/><link rel='alternate' type='text/html' href='http://masimriaz.blogspot.com/2011/03/my-daily-work-routine.html' title='My Daily Work Routine'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15325984694436289080</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><entry><id>tag:blogger.com,1999:blog-4188251706802729605.post-8555643708941017841</id><published>2010-12-20T23:32:00.000-08:00</published><updated>2010-12-20T23:32:01.950-08:00</updated><title type='text'>Delegates and Events in C# / .NET</title><content type='html'>&lt;h1 style=&quot;border-collapse: collapse; color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 20px; font-weight: bold; margin-top: 0px;&quot;&gt;&lt;span lang=&quot;de-ch&quot;&gt;Content&lt;/span&gt;&lt;/h1&gt;&lt;blockquote style=&quot;border-collapse: collapse; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 13px;&quot;&gt;&lt;div class=&quot;header&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt; font-weight: bold;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;a href=&quot;http://www.akadia.com/services/dotnet_delegates_and_events.html#Overview&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; text-decoration: underline;&quot;&gt;Overview&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;header&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt; font-weight: bold;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;a href=&quot;http://www.akadia.com/services/dotnet_delegates_and_events.html#Delegates&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; text-decoration: underline;&quot;&gt;Delegates&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;a href=&quot;http://www.akadia.com/services/dotnet_delegates_and_events.html#Call%20a%20Function%20directly%20-%20No%20Delegate&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; text-decoration: underline;&quot;&gt;Call a Function directly - No Delegate&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.akadia.com/services/dotnet_delegates_and_events.html#The%20very%20basic%20Delegate&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; text-decoration: underline;&quot;&gt;The very basic Delegate&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.akadia.com/services/dotnet_delegates_and_events.html#Calling%20Static%20Functions&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; text-decoration: underline;&quot;&gt;Calling Static Functions&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.akadia.com/services/dotnet_delegates_and_events.html#Calling%20Member%20Functions&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; text-decoration: underline;&quot;&gt;Calling Member Functions&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.akadia.com/services/dotnet_delegates_and_events.html#Multicasting&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; text-decoration: underline;&quot;&gt;Multicasting&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class=&quot;header&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt; font-weight: bold;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;a href=&quot;http://www.akadia.com/services/dotnet_delegates_and_events.html#Events&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; text-decoration: underline;&quot;&gt;Events&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;a href=&quot;http://www.akadia.com/services/dotnet_delegates_and_events.html#Conventions&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; text-decoration: underline;&quot;&gt;Conventions&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.akadia.com/services/dotnet_delegates_and_events.html#Simple%20Event&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; text-decoration: underline;&quot;&gt;Simple Event&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.akadia.com/services/dotnet_delegates_and_events.html#The%20Second%20Change%20Event%20Example&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; text-decoration: underline;&quot;&gt;The Second Change Event Example&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class=&quot;header&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt; font-weight: bold;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;a href=&quot;http://www.akadia.com/services/dotnet_delegates_and_events.html#Conclusion&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; text-decoration: underline;&quot;&gt;Conclusion&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;hr color=&quot;#34B389&quot; noshade=&quot;&quot; style=&quot;border-collapse: collapse; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 13px;&quot; /&gt;&lt;h1 style=&quot;border-collapse: collapse; color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 20px; font-weight: bold; margin-top: 0px;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;a href=&quot;&quot; name=&quot;Overview&quot;&gt;Overview&lt;/a&gt;&lt;/span&gt;&lt;/h1&gt;&lt;blockquote style=&quot;border-collapse: collapse; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 13px;&quot;&gt;&lt;div style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;All of us have been exposed to&amp;nbsp;&lt;b&gt;event driven&lt;/b&gt;&amp;nbsp;programming of some sort or the other. C# adds on value to the often mentioned world of event driven programming by adding support through&amp;nbsp;&lt;b&gt;events and delegates&lt;/b&gt;. The emphasis of this article would be to identify what exactly happens when you add an event handler to your common UI controls. A simple simulation of what could possibly be going on behind the scenes when the AddOnClick or any similar event is added to the Button class will be explained. This will help you understand better the nature of event handling using multi cast delegates.&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;h1 style=&quot;border-collapse: collapse; color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 20px; font-weight: bold; margin-top: 0px;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;a href=&quot;&quot; name=&quot;Delegates&quot;&gt;Delegates&lt;/a&gt;&lt;/span&gt;&lt;/h1&gt;&lt;blockquote style=&quot;border-collapse: collapse; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 13px;&quot;&gt;&lt;div style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;A delegate in C# is similar to a function pointer in C or C++. Using a delegate allows the programmer to encapsulate a reference to a method inside a delegate object. The delegate object can then be passed to code which can call the referenced method, without having to know at compile time which method will be invoked.&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class=&quot;big&quot; style=&quot;border-collapse: collapse; color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 12pt; font-weight: bold;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;a href=&quot;&quot; name=&quot;Call a Function directly - No Delegate&quot;&gt;Call a Function directly - No Delegate&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote style=&quot;border-collapse: collapse; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 13px;&quot;&gt;&lt;div style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;In most cases, when we call a function, we specify the function to be called directly. If the class&amp;nbsp;&lt;span style=&quot;color: magenta;&quot;&gt;MyClass&lt;/span&gt;&amp;nbsp;has a function named&amp;nbsp;&lt;span style=&quot;color: #34b389;&quot;&gt;Process&lt;/span&gt;, we&#39;d normally call it like this (&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;SimpleSample.cs&lt;/span&gt;):&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;courier&quot; style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;using System;&lt;br /&gt;
&lt;br /&gt;
namespace Akadia.NoDelegate&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public class&amp;nbsp;&lt;span style=&quot;color: magenta;&quot;&gt;MyClass&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void&amp;nbsp;&lt;span style=&quot;color: #34b389;&quot;&gt;Process()&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(&quot;Process() begin&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(&quot;Process() end&quot;);&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; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public class Test&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; static void Main(string[] args)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: magenta;&quot;&gt;MyClass&lt;/span&gt;&amp;nbsp;myClass = new MyClass();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myClass.&lt;span style=&quot;color: #34b389;&quot;&gt;Process()&lt;/span&gt;;&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; }&lt;br /&gt;
}&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;That works well in most situations. Sometimes, however, we don&#39;t want to call a function directly - we&#39;d like to be able to pass it to somebody else so that they can call it. This is especially useful in an event-driven system such as a graphical user interface, when I want some code to be executed when the user clicks on a button, or when I want to log some information but can&#39;t specify how it is logged.&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class=&quot;big&quot; style=&quot;border-collapse: collapse; color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 12pt; font-weight: bold;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;a href=&quot;&quot; name=&quot;The very basic Delegate&quot;&gt;The very basic Delegate&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote style=&quot;border-collapse: collapse; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 13px;&quot;&gt;&lt;div style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;An interesting and useful property of a delegate is that it does not know or care about the class of the object that it references. Any object will do; all that matters is that the method&#39;s argument types and return type match the delegate&#39;s. This makes delegates perfectly suited for &quot;anonymous&quot; invocation.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;The signature of a single cast delegate is shown below:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;courier&quot; style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;b&gt;delegate result-type identifier ([parameters]);&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;where:&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt; list-style-image: url(http://www.akadia.com/img/ulcircle.gif); list-style-position: outside; list-style-type: circle;&quot;&gt;&lt;li style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;result-type: The result type, which matches the return type of the function.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;identifier: The delegate name.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;parameters: The Parameters, that the function takes.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;Examples:&lt;/span&gt;&lt;/div&gt;&lt;table bgcolor=&quot;#CCCCCC&quot; border=&quot;1&quot; bordercolor=&quot;#111111&quot; cellpadding=&quot;4&quot; cellspacing=&quot;5&quot; id=&quot;AutoNumber1&quot; style=&quot;border-collapse: collapse;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot; width=&quot;100%&quot;&gt;&lt;div class=&quot;courier&quot; style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier; font-size: 10pt;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;en-us&quot;&gt;public delegate void SimpleDelegate ()&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;normal&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;This declaration defines a delegate named&amp;nbsp;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;SimpleDelegate&lt;/span&gt;, which will encapsulate any method that takes&lt;br /&gt;
no parameters and returns no value.&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot; width=&quot;100%&quot;&gt;&lt;div class=&quot;courier&quot; style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier; font-size: 10pt;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;en-us&quot;&gt;public delegate int ButtonClickHandler (object obj1, object obj2)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;normal&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;This declaration defines a delegate named&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;ButtonClickHandler&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;en-us&quot;&gt;, which will encapsulate any method that takes&lt;br /&gt;
two objects as parameters and returns an int.&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;b&gt;A delegate will allow us to specify what the function we&#39;ll be calling&amp;nbsp;&lt;i&gt;looks like&lt;/i&gt;&amp;nbsp;without having to specify&amp;nbsp;&lt;i&gt;which&lt;/i&gt;function to call&lt;/b&gt;. The declaration for a delegate looks just like the declaration for a function, except that in this case, we&#39;re declaring the signature of functions that this delegate can reference.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;There are three steps in defining and using delegates:&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt; list-style-image: url(http://www.akadia.com/img/ulcircle.gif); list-style-position: outside; list-style-type: circle;&quot;&gt;&lt;li style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;Declaration&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;Instantiation&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;Invocation&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;A very basic example (&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;SimpleDelegate1.cs&lt;/span&gt;):&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;courier&quot; style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;using System;&lt;br /&gt;
&lt;br /&gt;
namespace Akadia.BasicDelegate&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// Declaration&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;public delegate void&amp;nbsp;&lt;span style=&quot;color: magenta;&quot;&gt;SimpleDelegate&lt;/span&gt;();&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; class TestDelegate&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public static void&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: green;&quot;&gt;MyFunc&lt;/span&gt;&lt;/b&gt;()&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(&quot;I was called by delegate ...&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public static void Main()&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// Instantiation&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: magenta;&quot;&gt;SimpleDelegate&lt;/span&gt;&amp;nbsp;simpleDelegate = new&amp;nbsp;&lt;span style=&quot;color: magenta;&quot;&gt;SimpleDelegate&lt;/span&gt;(&lt;span style=&quot;color: green;&quot;&gt;MyFunc&lt;/span&gt;);&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// Invocation&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;simpleDelegate();&lt;/b&gt;&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; }&lt;br /&gt;
}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;normal&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;Compile an test:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;courier&quot; style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;# csc&amp;nbsp;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;SimpleDelegate1.cs&lt;br /&gt;
# SimpleDelegate1.exe&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;I was called by delegate ...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class=&quot;big&quot; style=&quot;border-collapse: collapse; color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 12pt; font-weight: bold;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;a href=&quot;&quot; name=&quot;Calling Static Functions&quot;&gt;Calling Static Functions&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote style=&quot;border-collapse: collapse; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 13px;&quot;&gt;&lt;div style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;For our next, more advanced example (&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;SimpleDelegate2.cs&lt;/span&gt;), declares a delegate that takes a single string parameter and has no return type:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;courier&quot; style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;using System;&lt;br /&gt;
&lt;br /&gt;
namespace Akadia.SimpleDelegate&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// Delegate Specification&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public class MyClass&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// Declare a delegate that takes a single string parameter&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // and has no return type.&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;public delegate void&amp;nbsp;&lt;span style=&quot;color: #34b389;&quot;&gt;LogHandler&lt;/span&gt;(string message);&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// The use of the delegate is just like calling a function directly,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // though we need to add a check to see if the delegate is null&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // (that is, not pointing to a function) before calling the function.&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void Process(&lt;b&gt;&lt;span style=&quot;color: #34b389;&quot;&gt;LogHandler&lt;/span&gt;&lt;/b&gt;&amp;nbsp;logHandler)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (logHandler != null)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; logHandler(&quot;Process() begin&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (logHandler != null)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; logHandler (&quot;Process() end&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// Test Application to use the defined Delegate&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public class TestApplication&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;//&amp;nbsp;&lt;b&gt;Static Function&lt;/b&gt;: To which is used in the Delegate. To call the Process()&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // function, we need to declare a logging function: Logger() that matches&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // the signature of the delegate.&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;static void&amp;nbsp;&lt;span style=&quot;color: magenta;&quot;&gt;Logger&lt;/span&gt;(string s)&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(s);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; static void Main(string[] args)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyClass myClass = new MyClass();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// Crate an instance of the delegate, pointing to the logging function.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // This delegate will then be passed to the Process() function.&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyClass.&lt;b&gt;&lt;span style=&quot;color: #34b389;&quot;&gt;LogHandler&lt;/span&gt;&lt;/b&gt;&amp;nbsp;myLogger = new MyClass.&lt;b&gt;&lt;span style=&quot;color: #34b389;&quot;&gt;LogHandler&lt;/span&gt;&lt;/b&gt;(&lt;b&gt;&lt;span style=&quot;color: magenta;&quot;&gt;Logger&lt;/span&gt;&lt;/b&gt;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myClass.Process(&lt;b&gt;&lt;span style=&quot;color: magenta;&quot;&gt;myLogger&lt;/span&gt;&lt;/b&gt;);&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; }&lt;br /&gt;
}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;normal&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;Compile an test:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;courier&quot; style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;# csc&amp;nbsp;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;SimpleDelegate2.cs&lt;br /&gt;
# SimpleDelegate2.exe&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Process() begin&lt;br /&gt;
Process() end&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class=&quot;big&quot; style=&quot;border-collapse: collapse; color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 12pt; font-weight: bold;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;a href=&quot;&quot; name=&quot;Calling Member Functions&quot;&gt;Calling Member Functions&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote style=&quot;border-collapse: collapse; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 13px;&quot;&gt;&lt;div style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;In the simple example above, the&lt;/span&gt;&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: magenta;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;Logger( )&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&amp;nbsp;&lt;span lang=&quot;en-us&quot;&gt;function merely writes the string out. A different function might want to log the information to a file, but to do this, the function needs to know what file to write the information to (&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;SimpleDelegate3.cs&lt;/span&gt;)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;courier&quot; style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;using System;&lt;br /&gt;
using System.IO;&lt;br /&gt;
&lt;br /&gt;
namespace Akadia.SimpleDelegate&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// Delegate Specification&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public class MyClass&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// Declare a delegate that takes a single string parameter&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // and has no return type.&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;public delegate void&amp;nbsp;&lt;span style=&quot;color: #34b389;&quot;&gt;LogHandler&lt;/span&gt;(string message);&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// The use of the delegate is just like calling a function directly,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // though we need to add a check to see if the delegate is null&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // (that is, not pointing to a function) before calling the function.&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void Process(&lt;span style=&quot;color: #34b389;&quot;&gt;&lt;b&gt;LogHandler&lt;/b&gt;&lt;/span&gt;&amp;nbsp;logHandler)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (logHandler != null)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; logHandler(&quot;Process() begin&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (logHandler != null)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; logHandler (&quot;Process() end&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// The FileLogger class merely encapsulates the file I/O&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;public class FileLogger&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileStream fileStream;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StreamWriter streamWriter;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// Constructor&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public FileLogger(string filename)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fileStream = new FileStream(filename, FileMode.Create);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; streamWriter = new StreamWriter(fileStream);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;//&amp;nbsp;&lt;b&gt;Member Function&lt;/b&gt;&amp;nbsp;which is used in the Delegate&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: magenta;&quot;&gt;Logger&lt;/span&gt;&lt;/b&gt;(string s)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; streamWriter.WriteLine(s);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void Close()&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; streamWriter.Close();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fileStream.Close();&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; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// Main() is modified so that the delegate points to the Logger()&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // function on the fl instance of a FileLogger. When this delegate&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // is invoked from Process(), the member function is called and&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // the string is logged to the appropriate file.&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public class TestApplication&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; static void Main(string[] args)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileLogger fl = new FileLogger(&quot;process.log&quot;);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyClass myClass = new MyClass();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// Crate an instance of the delegate, pointing to the Logger()&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // function on the fl instance of a FileLogger.&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyClass.&lt;b&gt;&lt;span style=&quot;color: #34b389;&quot;&gt;LogHandler&lt;/span&gt;&lt;/b&gt;&amp;nbsp;myLogger = new MyClass.LogHandler(fl.&lt;b&gt;&lt;span style=&quot;color: magenta;&quot;&gt;Logger&lt;/span&gt;&lt;/b&gt;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myClass.Process(myLogger);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fl.Close();&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; }&lt;br /&gt;
}&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;The cool part here is that we didn&#39;t have to change the Process() function; the code to all the delegate is the same regardless of whether it refers to a&amp;nbsp;&lt;b&gt;static&lt;/b&gt;&amp;nbsp;or&amp;nbsp;&lt;b&gt;member&lt;/b&gt;&amp;nbsp;function.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;normal&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;Compile an test:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;courier&quot; style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;# csc&amp;nbsp;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;SimpleDelegate3.cs&lt;br /&gt;
# SimpleDelegate3.exe&lt;br /&gt;
# cat process.log&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;
Process() begin&lt;br /&gt;
Process() end&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class=&quot;big&quot; style=&quot;border-collapse: collapse; color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 12pt; font-weight: bold;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;a href=&quot;&quot; name=&quot;Multicasting&quot;&gt;Multicasting&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote style=&quot;border-collapse: collapse; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 13px;&quot;&gt;&lt;div class=&quot;normal&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;Being able to point to member functions is nice, but there are more tricks you can do with delegates. In C#, delegates are&amp;nbsp;&lt;b&gt;&lt;i&gt;multicast&lt;/i&gt;&lt;/b&gt;, which means that they can&amp;nbsp;&lt;b&gt;point to more than one function at a time&lt;/b&gt;&amp;nbsp;(that is, they&#39;re based off the System.MulticastDelegate type). A multicast delegate maintains a list of functions that will all be called when the delegate is invoked. We can add back in the logging function from the first example, and call both delegates. Here&#39;s what the code looks like:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;courier&quot; style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;using System;&lt;br /&gt;
using System.IO;&lt;br /&gt;
&lt;br /&gt;
namespace Akadia.SimpleDelegate&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Delegate Specification&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;public class MyClass&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// Declare a delegate that takes a single string parameter&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // and has no return type.&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public delegate void&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: #34b389;&quot;&gt;LogHandler&lt;/span&gt;&lt;/b&gt;(string message);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// The use of the delegate is just like calling a function directly,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // though we need to add a check to see if the delegate is null&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // (that is, not pointing to a function) before calling the function.&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;public void Process(&lt;span style=&quot;color: #34b389;&quot;&gt;LogHandler&lt;/span&gt;&lt;/b&gt;&amp;nbsp;&lt;span lang=&quot;en-us&quot;&gt;logHandler)&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (logHandler != null)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; logHandler(&quot;Process() begin&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (logHandler != null)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; logHandler (&quot;Process() end&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// The FileLogger class merely encapsulates the file I/O&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;public class FileLogger&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileStream fileStream;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StreamWriter streamWriter;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// Constructor&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public FileLogger(string filename)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fileStream = new FileStream(filename, FileMode.Create);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; streamWriter = new StreamWriter(fileStream);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;// Member Function which is used in the Delegate&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;public void Logger(string s)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; streamWriter.WriteLine(s);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void Close()&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; streamWriter.Close();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fileStream.Close();&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; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;// Test Application which calls both Delegates&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public class TestApplication&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;// Static Function which is used in the Delegate&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;static void Logger(string s)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(s);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; static void Main(string[] args)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileLogger fl = new FileLogger(&quot;process.log&quot;);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyClass myClass = new MyClass();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;// Crate an instance of the delegates, pointing to the static&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Logger() function defined in the TestApplication class and&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // then to member function on the fl instance of a FileLogger.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;MyClass.LogHandler myLogger = null;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myLogger&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;+=&lt;/span&gt;&amp;nbsp;new MyClass.LogHandler(Logger);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myLogger&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;+=&lt;/span&gt;&amp;nbsp;new MyClass.LogHandler(fl.Logger);&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myClass.Process(myLogger);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fl.Close();&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; }&lt;br /&gt;
}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;normal&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;Compile an test:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;courier&quot; style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;# csc&amp;nbsp;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;SimpleDelegate4.cs&lt;br /&gt;
# SimpleDelegate4.exe&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Process() begin&lt;br /&gt;
Process() end&lt;/span&gt;&lt;br /&gt;
# cat process.log&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;
Process() begin&lt;br /&gt;
Process() end&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;h1 style=&quot;border-collapse: collapse; color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 20px; font-weight: bold; margin-top: 0px;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;a href=&quot;&quot; name=&quot;Events&quot;&gt;Events&lt;/a&gt;&lt;/span&gt;&lt;/h1&gt;&lt;blockquote style=&quot;border-collapse: collapse; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 13px;&quot;&gt;&lt;div class=&quot;normal&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;The Event model in C# finds its roots in the event programming model that is popular in asynchronous programming. The basic foundation behind this programming model is the idea of &quot;publisher and subscribers.&quot; In this model, you have&lt;b&gt;&lt;i&gt;publishers&lt;/i&gt;&lt;/b&gt;&amp;nbsp;who will do some logic and publish an &quot;event.&quot; Publishers will then send out their event only to&amp;nbsp;&lt;b&gt;&lt;i&gt;subscribers&lt;/i&gt;&lt;/b&gt;who have subscribed to receive the specific event.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;normal&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;In C#, any object can&amp;nbsp;&lt;i&gt;publish&lt;/i&gt;&amp;nbsp;a set of events to which other applications can&amp;nbsp;&lt;i&gt;subscribe&lt;/i&gt;. When the publishing class raises an event, all the subscribed applications are notified. The following figure shows this mechanism.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;big&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 12pt; font-weight: bold;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;385&quot; src=&quot;http://www.akadia.com/img/dotnet_user_control_1.gif&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class=&quot;big&quot; style=&quot;border-collapse: collapse; color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 12pt; font-weight: bold;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;a href=&quot;&quot; name=&quot;Conventions&quot;&gt;Conventions&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote style=&quot;border-collapse: collapse; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 13px;&quot;&gt;&lt;div class=&quot;normal&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;The following important conventions are used with events&lt;/span&gt;&lt;span lang=&quot;de-ch&quot;&gt;:&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt; list-style-image: url(http://www.akadia.com/img/ulcircle.gif); list-style-position: outside; list-style-type: circle;&quot;&gt;&lt;li style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;Event Handlers in the .NET Framework return void and take two parameters.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;The first paramter is the source of the event; that is the publishing object.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;The second parameter is an object derived from EventArgs.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;Events are properties of the class publishing the event.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;The keyword event controls how the event property is accessed by the subscribing classes.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/blockquote&gt;&lt;div class=&quot;big&quot; style=&quot;border-collapse: collapse; color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 12pt; font-weight: bold;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;a href=&quot;&quot; name=&quot;Simple Event&quot;&gt;Simple Event&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote style=&quot;border-collapse: collapse; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 13px;&quot;&gt;&lt;div class=&quot;normal&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;Let&#39;s modify our logging example from above to use an event rather than a delegate:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;courier&quot; style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;using System;&lt;br /&gt;
using System.IO;&lt;br /&gt;
&lt;br /&gt;
namespace Akadia.SimpleEvent&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;/* ========= Publisher of the Event ============== */&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public class MyClass&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// Define a delegate named LogHandler, which will encapsulate&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // any method that takes a string as the parameter and returns no value&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public delegate void&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: green;&quot;&gt;LogHandler&lt;/span&gt;&lt;/b&gt;(string message);&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&amp;nbsp;&lt;span lang=&quot;en-us&quot;&gt;// Define an Event based on the above Delegate&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;b&gt;&lt;span lang=&quot;en-us&quot;&gt;public event&amp;nbsp;&lt;span style=&quot;color: green;&quot;&gt;LogHandler&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: magenta;&quot;&gt;Log&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&amp;nbsp;&lt;span lang=&quot;en-us&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// Instead of having the Process() function take a delegate&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // as a parameter, we&#39;ve declared a Log event. Call the Event,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // using the OnXXXX Method, where XXXX is the name of the Event.&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void Process()&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;OnLog&lt;/b&gt;&lt;/span&gt;(&quot;Process() begin&quot;);&lt;b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;OnLog&lt;/span&gt;&lt;/b&gt;(&quot;Process() end&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// By Default, create an OnXXXX Method, to call the Event&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;protected void&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;OnLog&lt;/span&gt;(string message)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (&lt;span style=&quot;color: magenta;&quot;&gt;Log&lt;/span&gt;&amp;nbsp;!= null)&lt;/b&gt;&lt;span lang=&quot;de-ch&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: magenta;&quot;&gt;Log&lt;/span&gt;(message);&lt;/span&gt;&lt;span lang=&quot;de-ch&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;// The FileLogger class merely encapsulates the file I/O&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public class FileLogger&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileStream fileStream;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StreamWriter streamWriter;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// Constructor&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public FileLogger(string filename)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fileStream = new FileStream(filename, FileMode.Create);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; streamWriter = new StreamWriter(fileStream);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// Member Function which is used in the Delegate&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void Logger(string s)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; streamWriter.WriteLine(s);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void Close()&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; streamWriter.Close();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fileStream.Close();&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; }&lt;br /&gt;
&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* ========= Subscriber of the Event ============== */&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;// It&#39;s now easier and cleaner to merely add instances&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // of the delegate to the event, instead of having to&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // manage things ourselves&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public class TestApplication&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; static void Logger(string s)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(s);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; static void Main(string[] args)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileLogger fl = new FileLogger(&quot;process.log&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MyClass myClass = new MyClass();&lt;br /&gt;
&amp;nbsp;&lt;/span&gt;&lt;span lang=&quot;de-ch&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 style=&quot;color: blue;&quot;&gt;// Subscribe the Functions Logger and fl.Logger&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;myClass.Log += new MyClass.LogHandler(Logger);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myClass.Log += new MyClass.LogHandler(fl.Logger);&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;span lang=&quot;de-ch&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/b&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// The Event will now be triggered in the Process() Method&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myClass.Process();&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fl.Close();&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; }&lt;br /&gt;
}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;normal&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;Compile an test:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;courier&quot; style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;# csc&amp;nbsp;&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;SimpleEvent.cs&lt;br /&gt;
# SimpleEvent.exe&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Process() begin&lt;br /&gt;
Process() end&lt;/span&gt;&lt;br /&gt;
# cat process.log&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;
Process() begin&lt;br /&gt;
Process() end&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class=&quot;big&quot; style=&quot;border-collapse: collapse; color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 12pt; font-weight: bold;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;a href=&quot;&quot; name=&quot;The Second Change Event Example&quot;&gt;The Second Change Event Example&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote style=&quot;border-collapse: collapse; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 13px;&quot;&gt;&lt;div class=&quot;normal&quot; style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;Suppose you want to create a Clock class that uses events to notify potential subscribers whenever the local time changes value by one second. Here is the complete, documented example:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;courier&quot; style=&quot;color: black; font-family: &#39;Courier New&#39;, Courier; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;using System;&lt;br /&gt;
using System.Threading;&lt;br /&gt;
&lt;br /&gt;
namespace SecondChangeEvent&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;/* ======================= Event Publisher =============================== */&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// Our subject -- it is this class that other classes&lt;br /&gt;
&amp;nbsp;&amp;nbsp; // will observe. This class publishes one event:&lt;br /&gt;
&amp;nbsp;&amp;nbsp; // SecondChange. The observers subscribe to that event.&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; public class Clock&lt;br /&gt;
&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;// Private Fields holding the hour, minute and second&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private int _hour;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private int _minute;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private int _second;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;// The delegate named SecondChangeHandler, which will encapsulate&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // any method that takes a clock object and a TimeInfoEventArgs&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // object as the parameter and returns no value. It&#39;s the&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // delegate the subscribers must implement.&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;public delegate void SecondChangeHandler (&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; object clock,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TimeInfoEventArgs timeInformation&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// The event we publish&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;public event SecondChangeHandler SecondChange;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;// The method which fires the Event&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;protected void OnSecondChange(&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; object clock,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TimeInfoEventArgs timeInformation&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;br /&gt;
&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; // Check if there are any Subscribers&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (SecondChange != null)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Call the Event&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SecondChange(clock,timeInformation);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;// Set the clock running, it will raise an&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // event for each new second&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void Run()&lt;br /&gt;
&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; for(;;)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// Sleep 1 Second&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thread.Sleep(1000);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// Get the current time&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.DateTime dt = System.DateTime.Now;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// If the second has changed&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // notify the subscribers&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (dt.Second != _second)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// Create the TimeInfoEventArgs object&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // to pass to the subscribers&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TimeInfoEventArgs timeInformation =&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new TimeInfoEventArgs(&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dt.Hour,dt.Minute,dt.Second);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// If anyone has subscribed, notify them&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;OnSecondChange (this,timeInformation);&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// update the state&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _second = dt.Second;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _minute = dt.Minute;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _hour = dt.Hour;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// The class to hold the information about the event&lt;br /&gt;
&amp;nbsp;&amp;nbsp; // in this case it will hold only information&lt;br /&gt;
&amp;nbsp;&amp;nbsp; // available in the clock class, but could hold&lt;br /&gt;
&amp;nbsp;&amp;nbsp; // additional state information&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; public class TimeInfoEventArgs : EventArgs&lt;br /&gt;
&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public TimeInfoEventArgs(int hour, int minute, int second)&lt;br /&gt;
&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; this.hour = hour;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.minute = minute;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.second = second;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public readonly int hour;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public readonly int minute;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public readonly int second;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;/* ======================= Event Subscribers =============================== */&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// An observer. DisplayClock subscribes to the&lt;br /&gt;
&amp;nbsp;&amp;nbsp; // clock&#39;s events. The job of DisplayClock is&lt;br /&gt;
&amp;nbsp;&amp;nbsp; // to display the current time&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; public class DisplayClock&lt;br /&gt;
&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// Given a clock, subscribe to&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // its SecondChangeHandler event&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void Subscribe(Clock theClock)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;theClock.SecondChange +=&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new Clock.SecondChangeHandler(TimeHasChanged);&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;// The method that implements the&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // delegated functionality&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void TimeHasChanged(&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; object theClock, TimeInfoEventArgs ti)&lt;br /&gt;
&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; Console.WriteLine(&quot;Current Time: {0}:{1}:{2}&quot;,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ti.hour.ToString(),&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ti.minute.ToString(),&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ti.second.ToString());&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// A second subscriber whose job is to write to a file&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; public class LogClock&lt;br /&gt;
&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void Subscribe(Clock theClock)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;theClock.SecondChange +=&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new Clock.SecondChangeHandler(WriteLogEntry);&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// This method should write to a file&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // we write to the console to see the effect&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// this object keeps no state&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void WriteLogEntry(&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; object theClock, TimeInfoEventArgs ti)&lt;br /&gt;
&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; Console.WriteLine(&quot;Logging to file: {0}:{1}:{2}&quot;,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ti.hour.ToString(),&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ti.minute.ToString(),&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ti.second.ToString());&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;/* ======================= Test Application =============================== */&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// Test Application which implements the&lt;br /&gt;
&amp;nbsp;&amp;nbsp; // Clock Notifier - Subscriber Sample&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; public class Test&lt;br /&gt;
&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public static void Main()&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;// Create a new clock&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Clock theClock = new Clock();&lt;br /&gt;
&lt;br /&gt;
&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;// Create the display and tell it to&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // subscribe to the clock just created&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DisplayClock dc = new DisplayClock();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dc.Subscribe(theClock);&lt;br /&gt;
&lt;br /&gt;
&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;// Create a Log object and tell it&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // to subscribe to the clock&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LogClock lc = new LogClock();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lc.Subscribe(theClock);&lt;br /&gt;
&lt;br /&gt;
&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;// Get the clock started&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; theClock.Run();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
}&lt;/div&gt;&lt;/blockquote&gt;&lt;h1 style=&quot;border-collapse: collapse; color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 20px; font-weight: bold; margin-top: 0px;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;a href=&quot;&quot; name=&quot;Conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/span&gt;&lt;/h1&gt;&lt;blockquote style=&quot;border-collapse: collapse; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 13px;&quot;&gt;&lt;div style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;The Clock class from the last sample could simply print the time rather tahn raising an event, so&amp;nbsp;&lt;b&gt;why bother with the introduction of using delegates&lt;/b&gt;? The advantage of the publisg / subscribe idiom is that&amp;nbsp;&lt;b&gt;any number of classes can be notified when an event is raised&lt;/b&gt;. The subscribing classes do not need to know how the Clock works, and the Clock does not need to know what they are going to do in response to the event. Similarly a button can publish an Onclick event, and any number of unrelated objects can subscribe to that event, receiving notification when the button is clicked.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: black; font-family: Verdana, Arial, Helvetica, sans-serif, &#39;Sans Serif&#39;; font-size: 10pt;&quot;&gt;&lt;span lang=&quot;en-us&quot;&gt;&lt;b&gt;The publisher and the subscribers are decoupled by the delegate&lt;/b&gt;. This is highly desirable as it makes for more flexible and robust code.&lt;/span&gt;&amp;nbsp;&lt;span lang=&quot;de-ch&quot;&gt;T&lt;/span&gt;&lt;span lang=&quot;en-us&quot;&gt;he clock can chnage how it detects time without breaking any of the subscribing classes. The subscribing classes can ch&lt;/span&gt;&lt;span lang=&quot;de-ch&quot;&gt;ange&lt;/span&gt;&amp;nbsp;&lt;span lang=&quot;en-us&quot;&gt;how they respond to time c&lt;/span&gt;&lt;span lang=&quot;de-ch&quot;&gt;hanges&lt;/span&gt;&amp;nbsp;&lt;span lang=&quot;en-us&quot;&gt;without breaking the Clock. The two classes spin indepentdently of one another, which makes for code that is easier to maintain.&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;</content><link rel='replies' type='application/atom+xml' href='http://masimriaz.blogspot.com/feeds/8555643708941017841/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://masimriaz.blogspot.com/2010/12/delegates-and-events-in-c-net.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/8555643708941017841'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/8555643708941017841'/><link rel='alternate' type='text/html' href='http://masimriaz.blogspot.com/2010/12/delegates-and-events-in-c-net.html' title='Delegates and Events in C# / .NET'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15325984694436289080</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-4188251706802729605.post-4127188901443209892</id><published>2010-11-29T04:53:00.000-08:00</published><updated>2010-11-29T04:53:11.830-08:00</updated><title type='text'>SCOPE_IDENTITY, IDENT_CURRENT, and @@IDENTITY</title><content type='html'>&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px; text-align: justify;&quot;&gt;&lt;b&gt;SCOPE_IDENTITY&lt;/b&gt;, &lt;b&gt;IDENT_CURRENT&lt;/b&gt;, and &lt;b&gt;@@IDENTITY&lt;/b&gt; are similar functions in that they return values inserted into IDENTITY columns.&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px; text-align: justify;&quot;&gt;IDENT_CURRENT is not limited by scope and session; it is limited to a specified table. IDENT_CURRENT returns the value generated for a specific table in any session and any scope. For more information, see&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/aa933217(v=SQL.80).aspx&quot; style=&quot;color: #1364c4; text-decoration: none;&quot;&gt;IDENT_CURRENT&lt;/a&gt;.&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px; text-align: justify;&quot;&gt;SCOPE_IDENTITY and @@IDENTITY will return last identity values generated in any table in the current session. However, SCOPE_IDENTITY returns values inserted only within the current scope; @@IDENTITY is not limited to a specific scope.&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px; text-align: justify;&quot;&gt;For example, you have two tables, T1 and T2, and an INSERT trigger defined on T1. When a row is inserted to T1, the trigger fires and inserts a row in T2. This scenario illustrates two scopes: the insert on T1, and the insert on T2 as a result of the trigger.&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px; text-align: justify;&quot;&gt;Assuming that both T1 and T2 have IDENTITY columns, @@IDENTITY and SCOPE_IDENTITY will return different values at the end of an INSERT statement on T1.&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px; text-align: justify;&quot;&gt;@@IDENTITY will return the last IDENTITY column value inserted across any scope in the current session, which is the value inserted in T2.&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px; text-align: justify;&quot;&gt;SCOPE_IDENTITY() will return the IDENTITY value inserted in T1, which was the last INSERT that occurred in the same scope. The SCOPE_IDENTITY() function will return the NULL value if the function is invoked before any insert statements into an identity column occur in the scope.&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px; text-align: justify;&quot;&gt;See Examples for an illustration.&lt;/div&gt;&lt;h5 style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px; text-align: justify;&quot;&gt;Examples&lt;/h5&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px; text-align: justify;&quot;&gt;This example creates two tables,&amp;nbsp;&lt;b&gt;TZ&lt;/b&gt;&amp;nbsp;and&amp;nbsp;&lt;b&gt;TY&lt;/b&gt;, and an INSERT trigger on&amp;nbsp;&lt;b&gt;TZ&lt;/b&gt;. When a row is inserted to table&amp;nbsp;&lt;b&gt;TZ&lt;/b&gt;, the trigger (&lt;b&gt;Ztrig&lt;/b&gt;) fires and inserts a row in&amp;nbsp;&lt;b&gt;TY&lt;/b&gt;.&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;pre&gt;&lt;code&gt;USE tempdb
GO
CREATE TABLE TZ (
   Z_id  int IDENTITY(1,1)PRIMARY KEY,
   Z_name varchar(20) NOT NULL)

INSERT TZ
   VALUES (&#39;Lisa&#39;)
INSERT TZ
   VALUES (&#39;Mike&#39;)
INSERT TZ
   VALUES (&#39;Carla&#39;)

SELECT * FROM TZ

--Result set: This is how table TZ looks
Z_id   Z_name
-------------
1      Lisa
2      Mike
3      Carla

CREATE TABLE TY (
   Y_id  int IDENTITY(100,5)PRIMARY KEY,
   Y_name varchar(20) NULL)

INSERT TY (Y_name)
   VALUES (&#39;boathouse&#39;)
INSERT TY (Y_name)
   VALUES (&#39;rocks&#39;)
INSERT TY (Y_name)
   VALUES (&#39;elevator&#39;)

SELECT * FROM TY
--Result set: This is how TY looks:
Y_id  Y_name
---------------
100   boathouse
105   rocks
110   elevator

/*Create the trigger that inserts a row in table TY 
when a row is inserted in table TZ*/
CREATE TRIGGER Ztrig
ON TZ
FOR INSERT AS 
   BEGIN
   INSERT TY VALUES (&#39;&#39;)
   END

/*FIRE the trigger and find out what identity values you get 
with the @@IDENTITY and SCOPE_IDENTITY functions*/
INSERT TZ VALUES (&#39;Rosalie&#39;)

SELECT SCOPE_IDENTITY() AS [SCOPE_IDENTITY]
GO
SELECT   @@IDENTITY AS [@@IDENTITY]
GO

--Here is the result set.
SCOPE_IDENTITY
4
/*SCOPE_IDENTITY returned the last identity value in the same scope, which was the insert on table TZ*/

@@IDENTITY
115
/*@@IDENTITY returned the last identity value inserted to TY by the trigger, which fired due to an earlier insert on TZ*/&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;Reference: &lt;/code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: small; white-space: normal;&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/aa259185(SQL.80).aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/aa259185(SQL.80).aspx&lt;/a&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://masimriaz.blogspot.com/feeds/4127188901443209892/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://masimriaz.blogspot.com/2010/11/scopeidentity-identcurrent-and-identity.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/4127188901443209892'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4188251706802729605/posts/default/4127188901443209892'/><link rel='alternate' type='text/html' href='http://masimriaz.blogspot.com/2010/11/scopeidentity-identcurrent-and-identity.html' title='SCOPE_IDENTITY, IDENT_CURRENT, and @@IDENTITY'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15325984694436289080</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></feed>