<?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-7718833483200225416</id><updated>2026-02-16T07:57:49.115-08:00</updated><category term="asp.net"/><category term="angularJS"/><category term="jquery"/><category term="javascript"/><category term=".net"/><category term="asp.net controls"/><category term="asp.net forms"/><category term="developing"/><category term="c#"/><category term="computers"/><category term="code"/><category term="asp.net framework"/><category term="c# lists"/><category term="software"/><category term="lists"/><category term="programming"/><category term="software testing"/><category term="sql"/><category term="c# functions"/><category term="c# linq"/><category term="html"/><category term="selenium"/><category term="selenium testing"/><category term="angular directives"/><category term="data controls"/><category term="datasource"/><category term="protractor"/><category term="selenium server"/><category term="Linq"/><category term="URL"/><category term="angularJS ng-grid"/><category term="asp.net mvc"/><category term="databound controls"/><category term="databound controls in asp.net"/><category term="dynamically"/><category term="functions"/><category term="git"/><category term="javasscript"/><category term="methods"/><category term="mvc"/><category term="table"/><category term="textbox"/><category term="using"/><category term="FormView"/><category term="WebControls"/><category term="angular date picker"/><category term="angular datetime picker"/><category term="angular ui"/><category term="angular ui bootstrap"/><category term="angular ui bootstrap date picker"/><category term="angularJS controllers"/><category term="angularJS databinding"/><category term="angularJS for beginners"/><category term="angularJS tutorials"/><category term="angularjs directives"/><category term="angularjs ng-class"/><category term="angularjs services"/><category term="asp.net label"/><category term="asp.net mvc4"/><category term="asp.net textbox"/><category term="asp.net validators. required field validators"/><category term="bootstrap"/><category term="bootstrap modal"/><category term="create"/><category term="css"/><category term="database"/><category term="databinding in asp.net"/><category term="datalist"/><category term="date picker"/><category term="directives in angularjs"/><category term="drop down list"/><category term="html checkbox"/><category term="http"/><category term="hyper link"/><category term="javascript callbacks"/><category term="list controls"/><category term="mvc4"/><category term="press enter key in selenium"/><category term="protocols"/><category term="radio buttons"/><category term="selenium rc"/><category term="selenium webdriver"/><category term="send email with c#"/><category term="sql queries"/><category term="sql server"/><category term="start selenium server"/><category term="$emit"/><category term="$on"/><category term="$routeParams"/><category term="Bind"/><category term="C#.NET"/><category term="CLR"/><category term="CLR in asp.net"/><category term="Continuous Delivery for Cloud Services in Azure"/><category term="Dynamically add or delete rows from table using Javascript"/><category term="Eval"/><category term="Import-Module : azure error"/><category term="JIT"/><category term="MSIL"/><category term="NGGrid"/><category term="Named Parameters"/><category term="Named Parameters vs Overloaded Methods"/><category term="Nunit"/><category term="Overloaded Methods"/><category term="Reference the property name within ng-repeat"/><category term="access modifiers in c#"/><category term="add"/><category term="add item to list at given position"/><category term="add or remove rows dynamically"/><category term="add row in datatable"/><category term="ajax"/><category term="ajax call to mvc controller"/><category term="ajax call with jquery"/><category term="ajax example in jquery"/><category term="anchor tag"/><category term="angular copy"/><category term="angular forms"/><category term="angular js"/><category term="angular.foreach"/><category term="angularJS modules"/><category term="angularjs apply class"/><category term="angularjs form validations"/><category term="angularjs loops"/><category term="angularjs select"/><category term="apply class on condition"/><category term="apply class using angularjs"/><category term="appsettings.json file in .net core"/><category term="asp.net core"/><category term="asp.net validators"/><category term="azure"/><category term="azure continuous deploy"/><category term="azure powershell"/><category term="bedug"/><category term="blog"/><category term="blogger"/><category term="boolean"/><category term="boot strap modal close event"/><category term="bootstrap 2"/><category term="bootstrap 3"/><category term="bootstrap datetime"/><category term="break"/><category term="break foreach loop"/><category term="bullet list"/><category term="bundle config"/><category term="bundling"/><category term="call mvc controller using jquery"/><category term="callback functions"/><category term="cannot switch to master because there are uncommitted changes"/><category term="case in sql"/><category term="cdn bundle"/><category term="change date format in angular datetime piker"/><category term="check debug and release mode"/><category term="check dynamics ax version"/><category term="check new tab uel using protractor"/><category term="check new window url using protractor"/><category term="checkbox"/><category term="cherry pick commit in git"/><category term="chrome driver"/><category term="click function"/><category term="click on element in ng-repeat using protractor"/><category term="command"/><category term="common language runtime"/><category term="compilers"/><category term="conditionally apply class"/><category term="connections"/><category term="constructor"/><category term="controller is not defined"/><category term="convert string to boolean in javascript"/><category term="cookie"/><category term="create cookie using jquery"/><category term="create data row"/><category term="create table dynamically using javascript"/><category term="create table dynamically using jquery"/><category term="creating mvc4 application"/><category term="css class"/><category term="css classes"/><category term="css3"/><category term="databinding"/><category term="databinding in AngularJS"/><category term="datarow"/><category term="datatable"/><category term="date validation"/><category term="date-time-input directive"/><category term="datetime piker"/><category term="datetimepicker"/><category term="debug mode"/><category term="delete cookie using jquery"/><category term="directive restrictions"/><category term="dll"/><category term="docker"/><category term="docker containers"/><category term="docker images"/><category term="docker prune"/><category term="docker systems"/><category term="docker volumes"/><category term="dynamically create table using javascript"/><category term="dynamically create table using jquery"/><category term="dynamics ax"/><category term="dynamics ax 2012 r3"/><category term="element not clickable"/><category term="element not clickable at point"/><category term="execute reader"/><category term="executenonquery()"/><category term="file upload"/><category term="file upload with jquery and ajax"/><category term="foreach loop"/><category term="format date in angular datetime piker"/><category term="fragment"/><category term="from"/><category term="get text using protractor"/><category term="get values from app settings file in .net core"/><category term="git branch switch error"/><category term="git cherry pic"/><category term="git cherry pick a commit"/><category term="git extensions"/><category term="git revert a commit"/><category term="grid"/><category term="handle special characters in angularjs ng-grid column"/><category term="hide columns in ng-grid angularJS"/><category term="hide()"/><category term="how"/><category term="how to make ajax call with jquery"/><category term="http get"/><category term="http post"/><category term="image cropping"/><category term="import-module"/><category term="import-module wrror"/><category term="inner join in sql"/><category term="insert item at specific position in list"/><category term="intermediate value"/><category term="javascript page redirect"/><category term="javascript redirest"/><category term="javascript: typeerror (intermediate value) is not a constructor"/><category term="jcrop"/><category term="jquery cookie"/><category term="jquery create element"/><category term="jquery page redirect"/><category term="jquery redirect"/><category term="jquery table"/><category term="listcontrols"/><category term="merge a specific commit in git"/><category term="microservice architecture"/><category term="microservices"/><category term="microsoft dynamics ax"/><category term="minification"/><category term="modal close event"/><category term="ms dynamics"/><category term="multiple callbacks"/><category term="mvc controller"/><category term="mvc4 application"/><category term="ng grid"/><category term="ng-class"/><category term="ng-grid multiSelect"/><category term="ng-grid not showing data when column name has special characters or dot"/><category term="ng-grid selectedItems"/><category term="ng-options"/><category term="ng-options in angularjs"/><category term="ng-options with array of objects"/><category term="ng-options with simple array"/><category term="ng-repeat"/><category term="ng-repeat and protractor"/><category term="not a constructor"/><category term="optional parameters"/><category term="optional parameters in c#"/><category term="outer join in sql"/><category term="page"/><category term="post in blogger"/><category term="powershell"/><category term="prevent bootstrap modal from closing on escape"/><category term="prevent bootstrap modal from closing when clicking outside"/><category term="protractor check browser url"/><category term="protractor check new window url"/><category term="protractor select element"/><category term="protractor test"/><category term="query string"/><category term="query string value"/><category term="query strings"/><category term="radio button list"/><category term="razor view engine"/><category term="razor view in mvc4"/><category term="read app settings from appsettings.json file in .net core"/><category term="read app settings from config file"/><category term="read cookie using jquery"/><category term="read properties of an object"/><category term="read query string value"/><category term="read query string value in javascript"/><category term="reciredt page in javascript"/><category term="redirecdt"/><category term="redirect page"/><category term="redirect page using jquery"/><category term="release"/><category term="release mode"/><category term="remove"/><category term="remove auto focus from first input field"/><category term="remove auto focus in visual force page"/><category term="remove docker containers"/><category term="remove docker images"/><category term="remove docker systems"/><category term="remove docker volumes"/><category term="remove unused docker images"/><category term="removw weeks column from angular ui bootstrap date picker"/><category term="restrictions"/><category term="return function"/><category term="revert a specific commit in git"/><category term="revert commit in git"/><category term="revert last commit in git"/><category term="rows"/><category term="sales force"/><category term="select element from ng-repeat using protractor"/><category term="select element with protractor"/><category term="select tag in angularjs"/><category term="selenium popup"/><category term="selenium web driver"/><category term="show error message for invalid input fields"/><category term="show red border for invalid input fields after submitting form"/><category term="show red border for invalid input fields angularjs"/><category term="show()"/><category term="software architecture"/><category term="sql c#"/><category term="sql functions"/><category term="sql joins"/><category term="sqldatareader"/><category term="string"/><category term="string to boolean"/><category term="table using jquery"/><category term="tfs"/><category term="to"/><category term="toggle()"/><category term="twitter bootstrap modal"/><category term="typeerror"/><category term="unable to switch to other branch in git"/><category term="undo commit in git"/><category term="undo last commit in git"/><category term="update cookie using jquery"/><category term="upload file"/><category term="upload file using jquery"/><category term="use cdn bundle in mvc"/><category term="using ajax to call mvc controller"/><category term="using statement"/><category term="validation"/><category term="validation controls"/><category term="validators"/><category term="view engines"/><category term="visual force"/><category term="visual studio"/><category term="visual studio 2012"/><category term="visual studio 2013"/><category term="visual studio to blogger"/><category term="web driver"/><category term="web driver element not clickable"/><category term="window"/><category term="write code in blogger"/><title type='text'> C#.NET, ADO.NET, ASP.NET, JavaScript, JQuery, AngularJS</title><subtitle type='html'>Learn concepts on Javascript, JQuery, AngularJs, Asp.net, Ado.net.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.coding-issues.in/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default'/><link rel='alternate' type='text/html' href='http://www.coding-issues.in/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default?start-index=26&amp;max-results=25'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/03937885526397734202</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>108</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7718833483200225416.post-3873072828133823134</id><published>2026-02-16T07:57:00.000-08:00</published><updated>2026-02-16T07:57:49.053-08:00</updated><title type='text'></title><content type='html'>&lt;p style=&quot;font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;2 weeks of work… finished in 2 hours.&lt;/b&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Today I experienced something that perfectly captures the shift happening in software development.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Using AI-assisted coding, I was able to build and ship something in just a couple of hours that would normally take close to two weeks. The kind of work that usually involves reading documentation, wiring things together, debugging issues, fixing edge cases, and going back and forth — compressed into a single focused session.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;It felt incredible.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;AI removes a lot of friction. It accelerates setup, suggests solutions instantly, and helps move from idea to execution faster than ever before. The productivity jump is real, and honestly, hard to ignore. We are entering a phase where building things has never been easier.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;But somewhere in that speed, a different thought started to surface.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;When most of the implementation comes from AI, are we still learning the fundamentals the same way?&lt;br /&gt;
Are we understanding systems deeply, or just validating what AI generates?&lt;br /&gt;
What happens when something breaks in production and there’s no ready-made answer?&lt;br /&gt;
Will we still have the patience — and the skill — to trace issues end-to-end and truly understand them?&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Earlier, the slow process of building was also the learning process.&lt;br /&gt;
We read more. We debugged more. We struggled more.&lt;br /&gt;
And in that struggle, we built depth.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Today, execution is becoming fast and almost effortless. That’s a huge advantage — but it also means depth will no longer come automatically with time spent coding. It will have to be intentional.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;AI is not replacing developers. If anything, it is amplifying what we can do.&lt;br /&gt;
But the developers who stand out will likely be the ones who can balance both worlds: leveraging AI for speed while still holding on to strong fundamentals, critical thinking, and real understanding of systems.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Because when execution becomes easy,&lt;br /&gt;
&lt;b&gt;true expertise becomes the differentiator.&lt;/b&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.coding-issues.in/feeds/3873072828133823134/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.coding-issues.in/2026/02/2-weeks-of-work-finished-in-2-hours.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/3873072828133823134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/3873072828133823134'/><link rel='alternate' type='text/html' href='http://www.coding-issues.in/2026/02/2-weeks-of-work-finished-in-2-hours.html' title=''/><author><name>Ranadheer khyatam</name><uri>http://www.blogger.com/profile/15619027010367952049</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-7718833483200225416.post-3227434111742311175</id><published>2023-10-03T04:29:00.001-07:00</published><updated>2023-10-03T04:29:12.725-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="microservice architecture"/><category scheme="http://www.blogger.com/atom/ns#" term="microservices"/><category scheme="http://www.blogger.com/atom/ns#" term="software architecture"/><title type='text'>Microservices Architecture: Building the Digital Future, One Service at a Time</title><content type='html'>&lt;p&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #374151; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space-collapse: preserve;&quot;&gt;In the fast-paced world of software development, adaptability, scalability, and efficiency are paramount. As businesses strive to meet the ever-evolving demands of their customers, they are increasingly turning to microservices architecture as a solution to their complex problems. In this blog post, we will explore the fascinating world of microservices architecture, its benefits, challenges, and why it&#39;s becoming the go-to approach for building modern digital applications.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h2 style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: var(--tw-prose-headings); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; line-height: 1.33333; margin: 2rem 0px 1rem; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;What Are Microservices?&lt;/span&gt;&lt;/h2&gt;&lt;p style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; margin: 0px 0px 1.25em; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Microservices architecture is a software design pattern where an application is divided into a collection of loosely-coupled services that can be developed, deployed, and scaled independently. Each microservice is responsible for a specific piece of functionality and communicates with other microservices through well-defined APIs. This architectural style is a departure from the monolithic approach, where an entire application is tightly integrated into a single codebase.&lt;/span&gt;&lt;/p&gt;&lt;h2 style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: var(--tw-prose-headings); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; line-height: 1.33333; margin: 2rem 0px 1rem; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;The Benefits of Microservices&lt;/span&gt;&lt;/h2&gt;&lt;h3 style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: var(--tw-prose-headings); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 1.25em; line-height: 1.6; margin: 1rem 0px 0.5rem; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;1. Scalability and Agility&lt;/span&gt;&lt;/h3&gt;&lt;p style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; margin: 0px 0px 1.25em; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Microservices allow for independent scaling of individual services. This means that if one part of your application experiences a surge in demand, you can allocate more resources to that specific microservice, ensuring optimal performance without affecting the rest of the application.&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: var(--tw-prose-headings); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 1.25em; line-height: 1.6; margin: 1rem 0px 0.5rem; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;2. Faster Development&lt;/span&gt;&lt;/h3&gt;&lt;p style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; margin: 0px 0px 1.25em; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Smaller, focused teams can work on individual microservices, enabling faster development cycles. Developers can choose the most appropriate technology stack for each service, leading to better innovation and efficiency.&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: var(--tw-prose-headings); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 1.25em; line-height: 1.6; margin: 1rem 0px 0.5rem; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;3. Fault Isolation&lt;/span&gt;&lt;/h3&gt;&lt;p style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; margin: 0px 0px 1.25em; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;In a monolithic application, a bug or failure in one part of the code can bring down the entire system. With microservices, failures are contained within individual services, reducing the risk of widespread outages and making debugging easier.&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: var(--tw-prose-headings); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 1.25em; line-height: 1.6; margin: 1rem 0px 0.5rem; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;4. Technology Agnosticism&lt;/span&gt;&lt;/h3&gt;&lt;p style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; margin: 0px 0px 1.25em; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Microservices architecture allows for flexibility in choosing the technology stack for each service. This enables organizations to adopt new technologies and tools without the need to overhaul the entire application.&lt;/span&gt;&lt;/p&gt;&lt;h2 style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: var(--tw-prose-headings); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; line-height: 1.33333; margin: 2rem 0px 1rem; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Challenges of Microservices&lt;/span&gt;&lt;/h2&gt;&lt;p style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; margin: 0px 0px 1.25em; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;While microservices offer numerous benefits, they also come with their own set of challenges:&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: var(--tw-prose-headings); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 1.25em; line-height: 1.6; margin: 1rem 0px 0.5rem; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;1. Complexity&lt;/span&gt;&lt;/h3&gt;&lt;p style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; margin: 0px 0px 1.25em; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Managing a network of microservices can be complex, requiring robust service discovery, load balancing, and monitoring tools.&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: var(--tw-prose-headings); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 1.25em; line-height: 1.6; margin: 1rem 0px 0.5rem; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;2. Data Management&lt;/span&gt;&lt;/h3&gt;&lt;p style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; margin: 0px 0px 1.25em; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Handling data consistency and ensuring that services can access and update data efficiently can be challenging in a microservices architecture.&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: var(--tw-prose-headings); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 1.25em; line-height: 1.6; margin: 1rem 0px 0.5rem; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;3. Deployment and Testing&lt;/span&gt;&lt;/h3&gt;&lt;p style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; margin: 0px 0px 1.25em; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Deploying and testing multiple services across different environments can be more complicated than deploying a monolithic application.&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: var(--tw-prose-headings); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 1.25em; line-height: 1.6; margin: 1rem 0px 0.5rem; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;4. Communication Overhead&lt;/span&gt;&lt;/h3&gt;&lt;p style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; margin: 0px 0px 1.25em; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Inter-service communication can introduce latency and potential points of failure, making it crucial to design resilient communication patterns.&lt;/span&gt;&lt;/p&gt;&lt;h2 style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: var(--tw-prose-headings); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; line-height: 1.33333; margin: 2rem 0px 1rem; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Real-World Success Stories&lt;/span&gt;&lt;/h2&gt;&lt;p style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; margin: 0px 0px 1.25em; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Numerous tech giants and startups have embraced microservices architecture with great success. Companies like Netflix, Amazon, and Uber have leveraged microservices to achieve unparalleled scalability and agility.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; margin: 1.25em 0px; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;For example, Netflix&#39;s microservices architecture allows them to deliver personalized content recommendations to millions of users worldwide. Each microservice handles a specific aspect of the recommendation algorithm, enabling rapid experimentation and continuous improvement.&lt;/span&gt;&lt;/p&gt;&lt;h2 style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: var(--tw-prose-headings); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; line-height: 1.33333; margin: 2rem 0px 1rem; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Is Microservices Architecture Right for You?&lt;/span&gt;&lt;/h2&gt;&lt;p style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; margin: 0px 0px 1.25em; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;While microservices offer tremendous advantages, they may not be the best fit for every project. The decision to adopt microservices should be based on factors like the complexity of your application, your team&#39;s expertise, and your organization&#39;s willingness to invest in the necessary infrastructure and tooling.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; margin: 1.25em 0px 0px; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;In conclusion, microservices architecture is reshaping the way we build and deploy software. Its ability to provide scalability, agility, and fault tolerance is revolutionizing the digital landscape. However, it&#39;s essential to approach microservices with a clear understanding of the challenges and trade-offs involved. With the right strategy and a commitment to best practices, microservices can help your organization thrive in the digital age, one service at a time.&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.coding-issues.in/feeds/3227434111742311175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.coding-issues.in/2023/10/microservices-acrhitecture.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/3227434111742311175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/3227434111742311175'/><link rel='alternate' type='text/html' href='http://www.coding-issues.in/2023/10/microservices-acrhitecture.html' title='Microservices Architecture: Building the Digital Future, One Service at a Time'/><author><name>Ranadheer khyatam</name><uri>http://www.blogger.com/profile/15619027010367952049</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-7718833483200225416.post-9053408108060650257</id><published>2018-10-09T01:52:00.000-07:00</published><updated>2018-10-09T02:34:09.745-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="appsettings.json file in .net core"/><category scheme="http://www.blogger.com/atom/ns#" term="asp.net core"/><category scheme="http://www.blogger.com/atom/ns#" term="get values from app settings file in .net core"/><category scheme="http://www.blogger.com/atom/ns#" term="read app settings from appsettings.json file in .net core"/><category scheme="http://www.blogger.com/atom/ns#" term="read app settings from config file"/><title type='text'>How to read App Settings values from Config.json or appsettings.json file in ASP.NET Core</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In this article we are going to learn how can we get/read values from config.json or appsettings.json file in Asp.Net core.&lt;br /&gt;
&lt;br /&gt;
Assume you have following settings in your config file&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
{&lt;br /&gt;
&amp;nbsp; &quot;MySettings&quot;: {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;key&quot;: &quot;12345&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&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;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6jOc_DERn_GooKMB3wVOkpvBVG7sKtXlQUuSAs9TmhPXR7IZgaUA6HqgyOzhux0ITimD1KgKA1YZXB6TiIaSgBUC9GMTqissQCIpkx8C7E04D3w9OUYYuqj2h1PLfbuKbC7dx4SMLZxQ/s1600/Capture11.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;178&quot; data-original-width=&quot;426&quot; height=&quot;165&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6jOc_DERn_GooKMB3wVOkpvBVG7sKtXlQUuSAs9TmhPXR7IZgaUA6HqgyOzhux0ITimD1KgKA1YZXB6TiIaSgBUC9GMTqissQCIpkx8C7E04D3w9OUYYuqj2h1PLfbuKbC7dx4SMLZxQ/s400/Capture11.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Now, in order to read values from above config file, you need the &lt;b&gt;Configuration&lt;/b&gt; object which is available in the namespace &lt;b&gt;&#39;Microsoft.Extensions.Configuration&#39;.&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
Open your &lt;b&gt;startup.cs&lt;/b&gt; file and add reference to &lt;b&gt;&#39;Microsoft.Extensions.Configuration&#39; &lt;/b&gt;namespace. You need to use &lt;b&gt;dependency injection&lt;/b&gt; to get &lt;b&gt;Configuration&lt;/b&gt; object in either your controller or any other class file. &lt;b&gt;Dependency Injection&lt;/b&gt; is a built-in feature in .NET core.&lt;br /&gt;
&lt;br /&gt;
To achieve this, add the following line inside &lt;b&gt;ConfigureServices&lt;/b&gt; method in &lt;b&gt;startup.cs&lt;/b&gt; file.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
&lt;!-- adsense --&gt;
services.AddSingleton&amp;lt;IConfiguration&amp;gt;(Configuration);&lt;/div&gt;
&lt;br /&gt;
Now, your new ConfigureServices method will be&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
public void ConfigureServices(IServiceCollection services)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; services.AddMvc();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; services.AddSingleton &amp;lt; IConfiguration &amp;gt; (Configuration);&lt;br /&gt;
}&lt;/div&gt;
&lt;br /&gt;
And, your startup.cs file should look like this&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifrGrgnrIxguOYlTIKVA_pol0l-wDr35zZU5A_Uaa-DCY21wnlIaTKsi7NjtfDwT_zFeRBQQRaMt_Eu0oZCyrMF9xveJa2N7WJHYXNbtM8xtZIc52RGS8dOLx_MwlYylW3VP_owgb3czM/s1600/Capture12.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;731&quot; data-original-width=&quot;1164&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifrGrgnrIxguOYlTIKVA_pol0l-wDr35zZU5A_Uaa-DCY21wnlIaTKsi7NjtfDwT_zFeRBQQRaMt_Eu0oZCyrMF9xveJa2N7WJHYXNbtM8xtZIc52RGS8dOLx_MwlYylW3VP_owgb3czM/s640/Capture12.JPG&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;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
As we added dependency injection for &lt;b&gt;IConfiguration&lt;/b&gt;, we can start using it in any controller or any other class.&lt;br /&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;Reading values from appsettings.json file:&lt;/b&gt;&lt;/h4&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
We have to use the constructor injection in any controller for reading values from &lt;b&gt;appsettings.json&lt;/b&gt; file. Just add a constructor in your controller which takes &lt;b&gt;IConfiguration &lt;/b&gt;interface as input parameter.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
At runtime, when we the controller gets called, this Constructor &lt;b&gt;[MyController(IConfiguration configuration)]&lt;/b&gt; will get called and it will get resolved by its concrete class&lt;b&gt; [Configuration]&lt;/b&gt; which we have set in Startup class.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;code&quot;&gt;
&amp;nbsp;public class MyController : Controller
&lt;br /&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; {&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private readonly IConfiguration Configuration;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public MyController(IConfiguration config)&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.Configuration = config;&lt;/div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br /&gt;
}
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
Now as we have the reference to &lt;b&gt;Configuration &lt;/b&gt;object in our controller we can now read the values from &lt;b&gt;appsettings.json&lt;/b&gt; file using following code&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var value = this.config.GetSection(&quot;MySettings&quot;).GetSection(&quot;key&quot;).Value;&lt;/div&gt;
&lt;br /&gt;
This is how we &lt;b&gt;set or get values from appsettings.json file in&amp;nbsp; .Net core projects&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
For more useful articles on .Net core visit:&amp;nbsp;&lt;a href=&quot;http://www.coding-issues.com/search/label/.net%20core&quot; target=&quot;_blank&quot;&gt;Asp.Net core&lt;/a&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.coding-issues.in/feeds/9053408108060650257/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.coding-issues.in/2018/10/read-values-from-appsettings-json-.net-core.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/9053408108060650257'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/9053408108060650257'/><link rel='alternate' type='text/html' href='http://www.coding-issues.in/2018/10/read-values-from-appsettings-json-.net-core.html' title='How to read App Settings values from Config.json or appsettings.json file in ASP.NET Core'/><author><name>Ranadheer khyatam</name><uri>http://www.blogger.com/profile/15619027010367952049</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/AVvXsEg6jOc_DERn_GooKMB3wVOkpvBVG7sKtXlQUuSAs9TmhPXR7IZgaUA6HqgyOzhux0ITimD1KgKA1YZXB6TiIaSgBUC9GMTqissQCIpkx8C7E04D3w9OUYYuqj2h1PLfbuKbC7dx4SMLZxQ/s72-c/Capture11.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7718833483200225416.post-5850384721583622655</id><published>2018-09-11T00:20:00.000-07:00</published><updated>2018-09-11T00:33:54.496-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="docker"/><category scheme="http://www.blogger.com/atom/ns#" term="docker containers"/><category scheme="http://www.blogger.com/atom/ns#" term="docker images"/><category scheme="http://www.blogger.com/atom/ns#" term="docker prune"/><category scheme="http://www.blogger.com/atom/ns#" term="docker systems"/><category scheme="http://www.blogger.com/atom/ns#" term="docker volumes"/><category scheme="http://www.blogger.com/atom/ns#" term="remove docker containers"/><category scheme="http://www.blogger.com/atom/ns#" term="remove docker images"/><category scheme="http://www.blogger.com/atom/ns#" term="remove docker systems"/><category scheme="http://www.blogger.com/atom/ns#" term="remove docker volumes"/><category scheme="http://www.blogger.com/atom/ns#" term="remove unused docker images"/><title type='text'>How to remove old and unused Docker images or stop Docker Containers  or remove Docker Volumes</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
This post explains how to remove old or unused docker images, how to remove stopped containers, how to remove unused volumes, how to remove unused networks or a single command to run all prunes at a time&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;Note: These command works for Docker with version 1.13 or higher&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
Command to remove unused Images&lt;/h4&gt;
&lt;!-- adsense --&gt;
&lt;pre style=&quot;background-color: #eff0f1; border: 0px; box-sizing: inherit; color: #242729; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;docker image prune&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
Command to removed stopped Containers&lt;/h4&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eff0f1; border: 0px; box-sizing: inherit; color: #242729; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;docker container prune&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
Command to remove unused Volumes&lt;/h4&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eff0f1; border: 0px; box-sizing: inherit; color: #242729; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;docker volume prune&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
Command to remove unused Networks&lt;/h4&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eff0f1; border: 0px; box-sizing: inherit; color: #242729; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;docker network prune&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
Command to run all Prunes at a time&lt;/h4&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eff0f1; border: 0px; box-sizing: inherit; color: #242729; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;docker system prune
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
It is suggested that not to use &lt;b&gt;system prune&lt;/b&gt; command. This may remove the things which users doesn&#39;t want to remove.&lt;br /&gt;
&lt;br /&gt;
This is how we remove old or unused docker images, or remove stopped containers, or remove unused volumes, or remove unused networks or run all prunes at a time.&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
For more posts on Docker please visit:&amp;nbsp;&lt;a href=&quot;http://www.coding-issues.com/search/label/docker&quot; target=&quot;_blank&quot;&gt;docker&lt;/a&gt;&lt;/h3&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.coding-issues.in/feeds/5850384721583622655/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.coding-issues.in/2018/09/how-to-remove-old-unused-docker-images-containers-volumes-networks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/5850384721583622655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/5850384721583622655'/><link rel='alternate' type='text/html' href='http://www.coding-issues.in/2018/09/how-to-remove-old-unused-docker-images-containers-volumes-networks.html' title='How to remove old and unused Docker images or stop Docker Containers  or remove Docker Volumes'/><author><name>Ranadheer khyatam</name><uri>http://www.blogger.com/profile/15619027010367952049</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-7718833483200225416.post-8128265512237941345</id><published>2018-04-10T04:58:00.000-07:00</published><updated>2018-04-10T05:14:09.885-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="angularJS"/><category scheme="http://www.blogger.com/atom/ns#" term="handle special characters in angularjs ng-grid column"/><category scheme="http://www.blogger.com/atom/ns#" term="ng grid"/><category scheme="http://www.blogger.com/atom/ns#" term="ng-grid not showing data when column name has special characters or dot"/><title type='text'>angular ng grid not displaying data when there is a special character in column name</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In this post am going to explain &lt;b&gt;how to show data in ng-grid when there is a special character in column name&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
Assume you have following &lt;b&gt;columnDefs&lt;/b&gt; in &lt;b&gt;gridOptions&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
columnDefs: [{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; name: &quot;parent.name&quot;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; displayName: &#39;Name&#39;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; type:&#39;string&#39;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }, {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; name: &#39;lastName&#39;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; displayName: &#39;Surname&#39;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }]&lt;br /&gt;
&amp;nbsp; };&lt;/div&gt;
&lt;br /&gt;
As you see, our first column has name as &lt;b&gt;parent.name&lt;/b&gt;. It has dot (&#39;.&#39;) in it&#39;s name. So if you use this columnDefs in your ng-grid it will not show data in that column as the name has special characters in it. To make it work you need to add following &lt;b&gt;flag &lt;/b&gt;to your gridOptions&lt;br /&gt;
&lt;br /&gt;
&lt;!-- adsense --&gt;
&lt;div class=&quot;code&quot;&gt;
gridOptions.flatEntityAccess = true;&lt;/div&gt;
&lt;br /&gt;
So your final gridOptions will look something like below&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
&amp;nbsp; $scope.gridOptions = {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; columnDefs: [{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; name: &quot;parent.name&quot;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; displayName: &#39;Name&#39;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; type:&#39;string&#39;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }, {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; name: &#39;lastName&#39;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; displayName: &#39;Surname&#39;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }]&lt;br /&gt;
&amp;nbsp; };&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; $scope.gridOptions.data = [{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &quot;parent.name&quot;: &quot;John&quot;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &quot;lastName&quot;: &quot;Cena&quot;&lt;br /&gt;
&amp;nbsp; }];&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;$scope.gridOptions.flatEntityAccess = true;&lt;/div&gt;
&lt;br /&gt;
Check the following plunkr for working example.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://plnkr.co/edit/kwMV9WUcp86tRoA6yOez?p=preview&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;ng-grid show data when there is a special character in column name&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
This is how we can show data in ng-grid even if the column name is having special character in it.&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: center;&quot;&gt;
For more posts on angularJs refer:&amp;nbsp;&lt;a href=&quot;http://www.coding-issues.com/search/label/angularJS&quot; target=&quot;_blank&quot;&gt;AgngularJs&lt;/a&gt;&lt;/h3&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.coding-issues.in/feeds/8128265512237941345/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.coding-issues.in/2018/04/angular-ng-grid-not-displaying-data-when-column-name-has-special-character.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/8128265512237941345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/8128265512237941345'/><link rel='alternate' type='text/html' href='http://www.coding-issues.in/2018/04/angular-ng-grid-not-displaying-data-when-column-name-has-special-character.html' title='angular ng grid not displaying data when there is a special character in column name'/><author><name>Ranadheer khyatam</name><uri>http://www.blogger.com/profile/15619027010367952049</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-7718833483200225416.post-5569083773302913965</id><published>2017-06-18T10:52:00.001-07:00</published><updated>2017-06-18T10:52:31.510-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cherry pick commit in git"/><category scheme="http://www.blogger.com/atom/ns#" term="git"/><category scheme="http://www.blogger.com/atom/ns#" term="git cherry pic"/><category scheme="http://www.blogger.com/atom/ns#" term="git cherry pick a commit"/><category scheme="http://www.blogger.com/atom/ns#" term="git extensions"/><category scheme="http://www.blogger.com/atom/ns#" term="merge a specific commit in git"/><title type='text'>how to merge a specific commit in Git</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In this article am going to explain how to &lt;b&gt;merge(cherry pick) specific commit in Git&lt;/b&gt; &lt;br /&gt;
&lt;br /&gt;
When you are working on two different branches you often merge code from one branch to another. But if you want to merge specific changes to another branch you can do it by &lt;b&gt;cherry pick&lt;/b&gt;ing specific commit.&lt;br /&gt;
&lt;br /&gt;
Using &lt;b&gt;Git Extensions&lt;/b&gt; you can easily merge a specific commit. (Download Git Extensions from&amp;nbsp;&lt;a href=&quot;https://sourceforge.net/projects/gitextensions/&quot; rel=&quot;nofollow&quot; style=&quot;background-color: white; color: #787878; font-family: Calibri, sans-serif; font-size: 17px; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;link1&lt;/a&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 17px;&quot;&gt;&amp;nbsp;or from here&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://github.com/gitextensions/gitextensions/releases/tag/v2.49.03&quot; rel=&quot;nofollow&quot; style=&quot;background-color: white; color: #787878; font-family: Calibri, sans-serif; font-size: 17px; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;link2&lt;/a&gt;)&lt;br /&gt;
&lt;br /&gt;
In Git Extensions open your repository. It will show you all the commits. Select any specific commit and right click on it. Then select cherry pick commit. Check the below screenshot for reference&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg67hzhor4JTyELeUNnSTvyvC0HT7x9L0nCI6cZ_ibqaDgVsv-vRzrdIFeHtFxeor_UPAFEatz8bpNWUjhMBQnFH-FTx_LBJNs_akMRs91nvhdx4rJPMPkzMc4WaOR5oHYFVkYWmyBNQD8/s1600/git+revert+commit+-+Copy.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;760&quot; data-original-width=&quot;1156&quot; height=&quot;420&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg67hzhor4JTyELeUNnSTvyvC0HT7x9L0nCI6cZ_ibqaDgVsv-vRzrdIFeHtFxeor_UPAFEatz8bpNWUjhMBQnFH-FTx_LBJNs_akMRs91nvhdx4rJPMPkzMc4WaOR5oHYFVkYWmyBNQD8/s640/git+revert+commit+-+Copy.png&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;/div&gt;
&lt;br /&gt;
&lt;div&gt;
Once you select Cherry pick commit it opens another small popup as shown below&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLIpZukdSxCwFxsSRidZHTjxr7iD9SUX2xKCZDHxe5LgZkB9SHp-ogUX48pEYQDbePgkPMqG68J2j2VHSLoC9CCzy-MUdECBsg-JKI1DZyQsyRt8dXhXShstu3xPlkRU-yj2Wz-EnMB6w/s1600/cherry+pick+popup.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;494&quot; data-original-width=&quot;738&quot; height=&quot;267&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLIpZukdSxCwFxsSRidZHTjxr7iD9SUX2xKCZDHxe5LgZkB9SHp-ogUX48pEYQDbePgkPMqG68J2j2VHSLoC9CCzy-MUdECBsg-JKI1DZyQsyRt8dXhXShstu3xPlkRU-yj2Wz-EnMB6w/s400/cherry+pick+popup.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Check &quot;&lt;b&gt;Automatically create a commit&lt;/b&gt;&quot; if you want to automatically commit this changes into current branch or if you want to manually commit, keep the box unchecked and click on &quot;Cherry pick&quot;.&lt;br /&gt;
&lt;br /&gt;
In this way you can &lt;b&gt;merge a specific commit in Git&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.coding-issues.in/feeds/5569083773302913965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.coding-issues.in/2017/06/how-to-merge-or-cherry-pick-specific-commit-in-git.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/5569083773302913965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/5569083773302913965'/><link rel='alternate' type='text/html' href='http://www.coding-issues.in/2017/06/how-to-merge-or-cherry-pick-specific-commit-in-git.html' title='how to merge a specific commit in Git'/><author><name>Ranadheer khyatam</name><uri>http://www.blogger.com/profile/15619027010367952049</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/AVvXsEg67hzhor4JTyELeUNnSTvyvC0HT7x9L0nCI6cZ_ibqaDgVsv-vRzrdIFeHtFxeor_UPAFEatz8bpNWUjhMBQnFH-FTx_LBJNs_akMRs91nvhdx4rJPMPkzMc4WaOR5oHYFVkYWmyBNQD8/s72-c/git+revert+commit+-+Copy.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7718833483200225416.post-3311276516251482243</id><published>2017-04-12T13:05:00.000-07:00</published><updated>2017-04-12T13:15:30.670-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="angularJS"/><category scheme="http://www.blogger.com/atom/ns#" term="angularjs select"/><category scheme="http://www.blogger.com/atom/ns#" term="ng-options"/><category scheme="http://www.blogger.com/atom/ns#" term="ng-options in angularjs"/><category scheme="http://www.blogger.com/atom/ns#" term="ng-options with array of objects"/><category scheme="http://www.blogger.com/atom/ns#" term="ng-options with simple array"/><category scheme="http://www.blogger.com/atom/ns#" term="select tag in angularjs"/><title type='text'>ng-options with simple and complex array angularjs</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In this article am going to explain how to use ng-options with simple and complex(array of objects) arrays&lt;br /&gt;
&lt;br /&gt;
Assume you have following array&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
$scope.fruits = [&#39;apple&#39;, &#39;banana&#39;, &#39;orange&#39;];&lt;/div&gt;
&lt;br /&gt;
If you want to show them in a dropdown using ng-options use the following code&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
&amp;lt;select name=&quot;fruit&quot; data-ng-model=&quot;selectedFruit&quot; &amp;nbsp;data-ng-options=&quot;fruit as fruit for fruit in fruits&quot;&amp;gt;&amp;lt;/select&amp;gt;&lt;/div&gt;
&lt;br /&gt;
What you get in the resulting html is below&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
&amp;lt;option label=&quot;apple&quot; value=&quot;string:apple&quot;&amp;gt;apple&amp;lt;/option&amp;gt;&lt;br /&gt;
&amp;lt;option label=&quot;banana&quot; value=&quot;string:banana&quot;&amp;gt;banana&amp;lt;/option&amp;gt;&lt;br /&gt;
&amp;lt;option label=&quot;orange&quot; value=&quot;string:orange&quot;&amp;gt;orange&amp;lt;/option&amp;gt;&lt;/div&gt;
&lt;br /&gt;
when you select any option the value gets selected is same as value shown in dropdown.&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;Use ng-options for array of objects:&lt;/b&gt;&lt;/h3&gt;
&lt;br /&gt;
If you have an array of objects like below&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
$scope.fruits = [{ id: 1, name: &#39;apple&#39; }, { id: 2, name: &#39;banana&#39; }, { id: 3, name: &#39;orange&#39; }];&lt;/div&gt;
&lt;br /&gt;
Use the following html to show them in dropdown&lt;br /&gt;
&lt;!-- adsense --&gt;

&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
&amp;lt;select name=&quot;fruit&quot; data-ng-model=&quot;selectedFruit&quot; &amp;nbsp;data-ng-options=&quot;fruit.id as fruit.name for fruit in fruits&quot;&amp;gt;&amp;lt;/select&amp;gt;&lt;/div&gt;
&lt;br /&gt;
If you use the above html then in the dropdown it shows name of the fruit but internally it stores the id of the fruit when you select any value from dropdown. resulting html code looks like below&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
&amp;lt;option label=&quot;apple&quot; value=&quot;number:1&quot;&amp;gt;apple&amp;lt;/option&amp;gt;&lt;br /&gt;
&amp;lt;option label=&quot;banana&quot; value=&quot;number:2&quot;&amp;gt;banana&amp;lt;/option&amp;gt;&lt;br /&gt;
&amp;lt;option label=&quot;orange&quot; value=&quot;number:3&quot;&amp;gt;orange&amp;lt;/option&amp;gt;&lt;/div&gt;
&lt;br /&gt;
When you click on dropdown it shows names of the fruits but when you select any option internally id of the object will be selected.&lt;br /&gt;
&lt;br /&gt;
Check this Plunker for working example:&amp;nbsp;&lt;a href=&quot;http://plnkr.co/edit/m8YUB5XV7mf5YvRWrGzC?p=preview&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;ng-options with simple and complex arrays&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
This is how ng-options works with simple and complex arrays.&lt;br /&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: center;&quot;&gt;
For more posts on angularjs visit:&amp;nbsp;&lt;a href=&quot;http://www.coding-issues.com/search/label/angularJS&quot; target=&quot;_blank&quot;&gt;AngularJS&lt;/a&gt;&lt;/h4&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.coding-issues.in/feeds/3311276516251482243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.coding-issues.in/2017/04/ng-options-with-simple-and-complex-array-angularjs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/3311276516251482243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/3311276516251482243'/><link rel='alternate' type='text/html' href='http://www.coding-issues.in/2017/04/ng-options-with-simple-and-complex-array-angularjs.html' title='ng-options with simple and complex array angularjs'/><author><name>Ranadheer khyatam</name><uri>http://www.blogger.com/profile/15619027010367952049</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-7718833483200225416.post-6133292315141771174</id><published>2017-03-30T13:49:00.000-07:00</published><updated>2017-03-30T13:58:07.472-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="git"/><category scheme="http://www.blogger.com/atom/ns#" term="git revert a commit"/><category scheme="http://www.blogger.com/atom/ns#" term="revert a specific commit in git"/><category scheme="http://www.blogger.com/atom/ns#" term="revert commit in git"/><category scheme="http://www.blogger.com/atom/ns#" term="revert last commit in git"/><category scheme="http://www.blogger.com/atom/ns#" term="undo commit in git"/><category scheme="http://www.blogger.com/atom/ns#" term="undo last commit in git"/><title type='text'>How to undo or revert last commit(s) in Git</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
When you are working on git, it is possible that sometimes you may commit the wrong files or the code you committed some times needs to be reverted back.&lt;br /&gt;
&lt;br /&gt;
There are many ways to revert the last commit or any specific commit in git. &lt;a href=&quot;http://stackoverflow.com/questions/927358/how-to-undo-last-commits-in-git&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;This SO post&lt;/a&gt;&amp;nbsp;has many answers which explains how to revert a commit. But those are to be done in a command prompt which many are un-familiar with. So here am going to explain a easy way to revert a commit in git.&lt;br /&gt;
&lt;br /&gt;
This can be achieved using Git Extensions. You can download it from here&amp;nbsp;&lt;a href=&quot;https://sourceforge.net/projects/gitextensions/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;link1&lt;/a&gt;&amp;nbsp;or from here&amp;nbsp;&lt;a href=&quot;https://github.com/gitextensions/gitextensions/releases/tag/v2.49.03&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;link2&lt;/a&gt;&lt;br /&gt;
&lt;!-- adsense --&gt;
&lt;br /&gt;
Once you download Git Extensions, open it and select the repository where your source code exists.&lt;br /&gt;
&lt;br /&gt;
Once this is done Git Extensions will show you all the commits. Select any specific commit and right click on it. Then select revert commit. Check the below screenshot for reference&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7op8HrZ16zB1UM_CGOz6QcS1RcgseBTJ2yG2tVSxUDTI-0qnwR4SDYQ-ziGNxlt2gyLHHk_vBbfe4xB0J9wh2KnVV8_4hKtB8TUfM_cUPa3MR8ebAYfZxLYWDpvH7EHiOrtOrNgAU_Jg/s1600/git+revert+commit.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;420&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7op8HrZ16zB1UM_CGOz6QcS1RcgseBTJ2yG2tVSxUDTI-0qnwR4SDYQ-ziGNxlt2gyLHHk_vBbfe4xB0J9wh2KnVV8_4hKtB8TUfM_cUPa3MR8ebAYfZxLYWDpvH7EHiOrtOrNgAU_Jg/s640/git+revert+commit.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Once you select the Revert Commit option, it opens a pop-up like below&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQjGrJiQxKhyphenhyphencalYVCCGty5HktvbJdGaoaIhgv9V4MUN_Am6dyKz2353TgpjzWB7lyzfvGZKNJl1vJMQ7pHworXz2BINt_URZ7FdMkFnCF0s_0yXb4s2T1xpVrlNOTEaQR6NiL5HRmMM8/s1600/revert+commit+popup.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;404&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQjGrJiQxKhyphenhyphencalYVCCGty5HktvbJdGaoaIhgv9V4MUN_Am6dyKz2353TgpjzWB7lyzfvGZKNJl1vJMQ7pHworXz2BINt_URZ7FdMkFnCF0s_0yXb4s2T1xpVrlNOTEaQR6NiL5HRmMM8/s640/revert+commit+popup.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Select &quot;Automatically create a commit&quot; if you want to directly commit the reverted changes or if you want to manually commit the reverted changes keep the box un-selected and click on &quot;Revert this commit&quot; button.&lt;br /&gt;
&lt;br /&gt;
In this way you can easily revert any commit in git using Git Extensions.&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: center;&quot;&gt;
For more useful articles on git visit this link:&amp;nbsp;&lt;a href=&quot;http://www.coding-issues.com/search/label/git&quot; target=&quot;_blank&quot;&gt;Git&lt;/a&gt;&lt;/h3&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.coding-issues.in/feeds/6133292315141771174/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.coding-issues.in/2017/03/how-to-undo-or-revert-last-commits-in-git.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/6133292315141771174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/6133292315141771174'/><link rel='alternate' type='text/html' href='http://www.coding-issues.in/2017/03/how-to-undo-or-revert-last-commits-in-git.html' title='How to undo or revert last commit(s) in Git'/><author><name>Ranadheer khyatam</name><uri>http://www.blogger.com/profile/15619027010367952049</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/AVvXsEi7op8HrZ16zB1UM_CGOz6QcS1RcgseBTJ2yG2tVSxUDTI-0qnwR4SDYQ-ziGNxlt2gyLHHk_vBbfe4xB0J9wh2KnVV8_4hKtB8TUfM_cUPa3MR8ebAYfZxLYWDpvH7EHiOrtOrNgAU_Jg/s72-c/git+revert+commit.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7718833483200225416.post-8025542721388350513</id><published>2017-02-27T10:59:00.000-08:00</published><updated>2017-02-27T10:59:13.205-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="constructor"/><category scheme="http://www.blogger.com/atom/ns#" term="intermediate value"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript: typeerror (intermediate value) is not a constructor"/><category scheme="http://www.blogger.com/atom/ns#" term="jquery"/><category scheme="http://www.blogger.com/atom/ns#" term="not a constructor"/><category scheme="http://www.blogger.com/atom/ns#" term="typeerror"/><title type='text'>javascript: typeerror (intermediate value) is not a constructor</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
It&#39;s been long time since i have written a blog post as i am busy with the project deliverable. So, here i am with one more issue which i faced today while writing some basic javascript code.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The error is&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;javascript: typeerror (intermediate value) is not a constructor&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
i came across this issue when i am returning some object from a function. Following is the similar javascript code that i have written&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;code&quot;&gt;
&lt;div&gt;
function buildContact() {&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return new { name: &quot;John&quot;, mobile: &quot;123-456-7890&quot;, country: &quot;US&quot; };&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; }&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
this is the javascript function which was showing the mentioned error.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Cause:&lt;/b&gt;&lt;/div&gt;
&lt;!-- adsense --&gt;

&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
I used &lt;span style=&quot;color: blue;&quot;&gt;new&amp;nbsp;&lt;/span&gt;which can be only used with a Function as operand. In this case i am using object as a constructor which is actually not.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Fix:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Here we have two options to fix this error.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
1. To return object directly as shown below&lt;/div&gt;
&lt;div class=&quot;code&quot;&gt;
function buildContact() {
&lt;br /&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return { name: &quot;John&quot;, mobile: &quot;123-456-7890&quot;, country: &quot;US&quot; };&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; } &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
2. Create a constructor and use the constructor to create new object as shown below&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;code&quot;&gt;
&lt;div&gt;
function Contact(name, mobile, country) {&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.name = name;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.mobile = mobile;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.country = country;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; function buildContact() {&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return new Contact(&quot;John&quot;, &quot;123-456-7890&quot;, &quot;US&quot;);&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
in this case we are returning the new Contact() by using constructor.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
In this way you can fix the error&amp;nbsp;&lt;b&gt;javascript: typeerror (intermediate value) is not a constructor&lt;/b&gt;.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Please do comment if you know better way to fix this error. Thanks in advance.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
To know more common javascript errors visit: &lt;a href=&quot;http://www.coding-issues.com/search/label/javascript&quot; target=&quot;_blank&quot;&gt;Javascript&lt;/a&gt;&amp;nbsp;&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.coding-issues.in/feeds/8025542721388350513/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.coding-issues.in/2017/02/javascript-typeerror-intermediate-value-not-a-constructor.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/8025542721388350513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/8025542721388350513'/><link rel='alternate' type='text/html' href='http://www.coding-issues.in/2017/02/javascript-typeerror-intermediate-value-not-a-constructor.html' title='javascript: typeerror (intermediate value) is not a constructor'/><author><name>Ranadheer khyatam</name><uri>http://www.blogger.com/profile/15619027010367952049</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-7718833483200225416.post-2790756334657570704</id><published>2016-09-30T10:52:00.000-07:00</published><updated>2016-09-30T10:52:29.634-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="add row in datatable"/><category scheme="http://www.blogger.com/atom/ns#" term="c#"/><category scheme="http://www.blogger.com/atom/ns#" term="create data row"/><category scheme="http://www.blogger.com/atom/ns#" term="datarow"/><category scheme="http://www.blogger.com/atom/ns#" term="datatable"/><title type='text'>Add new data row to data table Error: &#39;System.Data.DataRow.DataRow(System.Data.DataRowBuilder)&#39; is inaccessible due to its protection level</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
We can not directly create a&amp;nbsp;&lt;span style=&quot;background-color: #eff0f1; color: #242729; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; white-space: pre-wrap;&quot;&gt;new DataRow()&lt;/span&gt;&amp;nbsp;. When we try to do so, it throws this exception&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: red;&quot;&gt;System.Data.DataRow.DataRow(System.Data.DataRowBuilder)&#39; is inaccessible due to its protection level

&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So in order to create new row in data table use the following method&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;lang-cs prettyprint prettyprinted&quot; style=&quot;-webkit-user-select: auto !important; background-color: #eff0f1; border: 0px; color: #393318; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; margin-bottom: 1em; max-height: 600px; overflow: auto; padding: 5px; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;-webkit-user-select: auto !important; border: 0px; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; margin: 0px; padding: 0px; white-space: inherit;&quot;&gt;&lt;span class=&quot;typ&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: #2b91af; margin: 0px; padding: 0px;&quot;&gt;DataTable&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: #303336; margin: 0px; padding: 0px;&quot;&gt; table &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: #303336; margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: #303336; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: #101094; margin: 0px; padding: 0px;&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: #303336; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: #2b91af; margin: 0px; padding: 0px;&quot;&gt;DataTable&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: #303336; margin: 0px; padding: 0px;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: #303336; margin: 0px; padding: 0px;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: #2b91af; margin: 0px; padding: 0px;&quot;&gt;DataRow&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: #303336; margin: 0px; padding: 0px;&quot;&gt; row &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: #303336; margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: #303336; margin: 0px; padding: 0px;&quot;&gt; table&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: #303336; margin: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: #2b91af; margin: 0px; padding: 0px;&quot;&gt;NewRow&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: #303336; margin: 0px; padding: 0px;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: #303336; margin: 0px; padding: 0px;&quot;&gt;
table&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: #303336; margin: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: #2b91af; margin: 0px; padding: 0px;&quot;&gt;Rows&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: #303336; margin: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: #2b91af; margin: 0px; padding: 0px;&quot;&gt;Add&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: #303336; margin: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: #303336; margin: 0px; padding: 0px;&quot;&gt;row&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: #303336; margin: 0px; padding: 0px;&quot;&gt;);&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;!-- adsense --&gt;
reference link :&amp;nbsp;&lt;a href=&quot;https://msdn.microsoft.com/fr-fr/library/9yfsd47w.aspx&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://msdn.microsoft.com/fr-fr/library/9yfsd47w.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
In this way you can create a new data row and add it to data table.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.coding-issues.in/feeds/2790756334657570704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.coding-issues.in/2016/09/add-new-data-row-to-data-table.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/2790756334657570704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/2790756334657570704'/><link rel='alternate' type='text/html' href='http://www.coding-issues.in/2016/09/add-new-data-row-to-data-table.html' title='Add new data row to data table Error: &#39;System.Data.DataRow.DataRow(System.Data.DataRowBuilder)&#39; is inaccessible due to its protection level'/><author><name>Ranadheer khyatam</name><uri>http://www.blogger.com/profile/15619027010367952049</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-7718833483200225416.post-3850389925079580591</id><published>2016-07-29T07:22:00.000-07:00</published><updated>2016-07-29T08:21:00.583-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cannot switch to master because there are uncommitted changes"/><category scheme="http://www.blogger.com/atom/ns#" term="git"/><category scheme="http://www.blogger.com/atom/ns#" term="git branch switch error"/><category scheme="http://www.blogger.com/atom/ns#" term="tfs"/><category scheme="http://www.blogger.com/atom/ns#" term="unable to switch to other branch in git"/><category scheme="http://www.blogger.com/atom/ns#" term="visual studio"/><title type='text'>GIT Error : Cannot switch to master because there are uncommitted changes. Commit or undo your changes before you switch branches</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Today i came across a weird issue when i was trying to switch from my stage branch to main branch. Visual Studio was showing following error:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote style=&quot;-webkit-user-select: auto !important; background-color: cornsilk; border-left-color: rgb(255, 235, 142); border-left-style: solid; border-width: 0px 0px 0px 2px; color: #242729; font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 15px; line-height: 19.5px; margin: 0px 0px 10px; padding: 10px; quotes: none;&quot;&gt;
&lt;div style=&quot;-webkit-user-select: auto !important; border: 0px; clear: both; padding: 0px;&quot;&gt;
Cannot switch to master because there are uncommitted changes. Commit or undo your changes before you switch branches. See the Output window for details.&lt;/div&gt;
&lt;/blockquote&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;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGoySY9yHIIIwgWFw4OzH-W6vrFUZnOVJly1OeudpKAzpXHQveoJ8lZnUZc8bZ2W5irmzOInaTEwA-CVcEVZfZyGj6lWEP1IpLnFFWdym46vq0xSenUKdVo4wvTiwCbYUTswqFyGqa2bA/s1600/switch+branch+error.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;285&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGoySY9yHIIIwgWFw4OzH-W6vrFUZnOVJly1OeudpKAzpXHQveoJ8lZnUZc8bZ2W5irmzOInaTEwA-CVcEVZfZyGj6lWEP1IpLnFFWdym46vq0xSenUKdVo4wvTiwCbYUTswqFyGqa2bA/s400/switch+branch+error.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;-webkit-user-select: auto !important; background-color: white; border: 0px; clear: both; color: #242729; font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 15px; line-height: 19.5px; margin-bottom: 1em; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;!-- adsense --&gt;

&lt;div style=&quot;-webkit-user-select: auto !important; background-color: white; border: 0px; clear: both; color: #242729; font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 15px; line-height: 19.5px; margin-bottom: 1em; padding: 0px;&quot;&gt;
Visual studio states that we cannot switch to other branch when there are uncommitted changes. But in my case i don&#39;t have any pending/uncommitted changes. So, as suggested in the error message i had a look at the output window.&lt;/div&gt;
&lt;div style=&quot;-webkit-user-select: auto !important; background-color: white; border: 0px; clear: both; color: #242729; font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 15px; line-height: 19.5px; margin-bottom: 1em; padding: 0px;&quot;&gt;
Following is the error shown in my output window.&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/AVvXsEhBsHGXL4I9OkxlQLeQe7NQcfCGKdQOLqYXMhoefTdVe28SLW-Cz3ExsCwhn2KQA9rlSOVCEcCcuHmrW44zPEszZduLkl5L_FZ1cmwHt15Lix8genBrImSohTGmkvIfWZiIb01A-Q3suwM/s1600/output.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;120&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBsHGXL4I9OkxlQLeQe7NQcfCGKdQOLqYXMhoefTdVe28SLW-Cz3ExsCwhn2KQA9rlSOVCEcCcuHmrW44zPEszZduLkl5L_FZ1cmwHt15Lix8genBrImSohTGmkvIfWZiIb01A-Q3suwM/s640/output.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;-webkit-user-select: auto !important; background-color: white; border: 0px; clear: both; color: #242729; font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 15px; line-height: 19.5px; margin-bottom: 1em; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;-webkit-user-select: auto !important; background-color: white; border: 0px; clear: both; color: #242729; font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 15px; line-height: 19.5px; margin-bottom: 1em; padding: 0px;&quot;&gt;
It states that there are some changes in the ResourcesController.cs file. But i din&#39;t have any changes in that file.&lt;/div&gt;
&lt;h4 style=&quot;-webkit-user-select: auto !important; background-color: white; border: 0px; clear: both; color: #242729; font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 15px; line-height: 19.5px; margin-bottom: 1em; padding: 0px; text-align: left;&quot;&gt;
&lt;b&gt;Fix for the Issue:&lt;/b&gt;&lt;/h4&gt;
&lt;div style=&quot;-webkit-user-select: auto !important; background-color: white; border: 0px; clear: both; color: #242729; font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 15px; line-height: 19.5px; margin-bottom: 1em; padding: 0px;&quot;&gt;
So, to fix the issue i just &lt;b&gt;deleted&lt;/b&gt; the above file and did &lt;b&gt;undo (From Team Explorer)&lt;/b&gt; to &lt;b&gt;add it again&lt;/b&gt;. I tried to switch branch now and it &lt;b&gt;WORKED!!&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;-webkit-user-select: auto !important; background-color: white; border: 0px; clear: both; color: #242729; font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 15px; line-height: 19.5px; margin-bottom: 1em; padding: 0px;&quot;&gt;
This way i solved the error &quot;cannot switch to master because there are uncommitted changes. Commit or undo your changes before you switch branches. See the Output window for details.&quot;&lt;/div&gt;
&lt;div style=&quot;-webkit-user-select: auto !important; background-color: white; border: 0px; clear: both; color: #242729; font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 15px; line-height: 19.5px; margin-bottom: 1em; padding: 0px;&quot;&gt;
This is the solution which worked for me. But, it may not be the ideal solution and no guarantee that it works for all. But it worked for most of the people.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Update (Fix 2):&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
If the above solution did not work, try to change the branch directly from Git Extensions. Just open the Git Extensions and select the branch from branch drop down.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7VuzCOPM8Ul5uZELRS2IANHcT2HDOo-Ay1517w3klmNMBUluYsOTfahNKhseIMPNaAK-TRZNfXwgAldEOYj5asUsSJCt-9bKtPv811HYVBIgr-SKlT0VIv4Su3ykiw8c8rt0H-mhqYXA/s1600/select+branch.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;86&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7VuzCOPM8Ul5uZELRS2IANHcT2HDOo-Ay1517w3klmNMBUluYsOTfahNKhseIMPNaAK-TRZNfXwgAldEOYj5asUsSJCt-9bKtPv811HYVBIgr-SKlT0VIv4Su3ykiw8c8rt0H-mhqYXA/s640/select+branch.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;-webkit-user-select: auto !important; background-color: white; border: 0px; clear: both; color: #242729; font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 15px; line-height: 19.5px; margin-bottom: 1em; padding: 0px;&quot;&gt;
If you find any other way to fix this problem please do comment below so that it may help others.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.coding-issues.in/feeds/3850389925079580591/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.coding-issues.in/2016/07/git-error-cannot-switch-to-master-because-there-are-uncommitted-changes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/3850389925079580591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/3850389925079580591'/><link rel='alternate' type='text/html' href='http://www.coding-issues.in/2016/07/git-error-cannot-switch-to-master-because-there-are-uncommitted-changes.html' title='GIT Error : Cannot switch to master because there are uncommitted changes. Commit or undo your changes before you switch branches'/><author><name>Ranadheer khyatam</name><uri>http://www.blogger.com/profile/15619027010367952049</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/AVvXsEjGoySY9yHIIIwgWFw4OzH-W6vrFUZnOVJly1OeudpKAzpXHQveoJ8lZnUZc8bZ2W5irmzOInaTEwA-CVcEVZfZyGj6lWEP1IpLnFFWdym46vq0xSenUKdVo4wvTiwCbYUTswqFyGqa2bA/s72-c/switch+branch+error.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7718833483200225416.post-2461323072772073623</id><published>2016-07-18T13:08:00.000-07:00</published><updated>2016-07-22T04:00:05.013-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ajax call to mvc controller"/><category scheme="http://www.blogger.com/atom/ns#" term="ajax example in jquery"/><category scheme="http://www.blogger.com/atom/ns#" term="asp.net"/><category scheme="http://www.blogger.com/atom/ns#" term="call mvc controller using jquery"/><category scheme="http://www.blogger.com/atom/ns#" term="jquery"/><category scheme="http://www.blogger.com/atom/ns#" term="mvc"/><category scheme="http://www.blogger.com/atom/ns#" term="mvc controller"/><category scheme="http://www.blogger.com/atom/ns#" term="using ajax to call mvc controller"/><title type='text'>How to call Asp.Net MVC controller action method using JQuery</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In this article i &amp;nbsp;am going to explain &lt;b&gt;how to call controller actions using JQuery in Asp.Net MVC&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #b45f06;&quot;&gt;
Get data from MVC Controller action method:&lt;/span&gt;&lt;/h3&gt;
&lt;br /&gt;
You can either use &lt;b&gt;$.get&lt;/b&gt; or &lt;b&gt;$.ajax&lt;/b&gt; functions to &lt;b&gt;call mvc controller action methods using Jquery&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Example:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Assume you have following &lt;b&gt;mvc controller&lt;/b&gt; and &lt;b&gt;action method&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
public class EmployeeController : Controller&lt;br /&gt;
&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public string GetEmployee()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var emp = new Employee() { Id = 1, Name = &quot;John&quot;, Designation = &quot;SE&quot; };&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return Newtonsoft.Json.JsonConvert.SerializeObject(emp);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;br /&gt;
Above &lt;b&gt;Employee Controller&lt;/b&gt; has one &lt;b&gt;action method&lt;/b&gt; i.e., &lt;b&gt;GetEmployee()&lt;/b&gt; which is returning serialized &lt;b&gt;Employee&lt;/b&gt; data.&lt;br /&gt;
&lt;br /&gt;
Now use the following &lt;b&gt;JQuery code to call the above mvc action method&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Method 1: Using $.get()&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
$.get(&quot;/Employee/GetEmployee&quot;, function (data) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var employee = JSON.parse(data);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; alert(employee.Name);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; });&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Method 2: Using $.ajax()&lt;/b&gt;&lt;br /&gt;
&lt;!-- adsense --&gt;

&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
$.ajax({&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; url: &quot;/Employee/GetEmployee&quot;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; success: function (data) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var employee = JSON.parse(data);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; alert(employee.Name);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; });&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #b45f06;&quot;&gt;Note:&lt;/span&gt; I am using JSON.parse because controller action is returning serialized data. So we have to parse it to convert that to normal object.&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #b45f06;&quot;&gt;Post data to MVC controller action methods using JQuery:&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;br /&gt;
Using &lt;b&gt;POST&lt;/b&gt; we can submit the data to &lt;b&gt;controller actions&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
Assume you have following &lt;b&gt;controller action&lt;/b&gt; which &lt;b&gt;saves&lt;/b&gt; the submitted &lt;b&gt;data&lt;/b&gt; to &lt;b&gt;database&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
[HttpPost]&lt;br /&gt;
public bool SaveEmployee(Employee employee)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //your code to save employee to database&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //return true if data saved succesfully&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; return true;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;br /&gt;
Now use the following &lt;b&gt;JQuery&lt;/b&gt; code to &lt;b&gt;post data to controller action method&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Method 1: Using $.post()&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
//create the employee object&lt;br /&gt;
var employee = { Name: &quot;Dave&quot;, Id: 2, Designation: &quot;Sales&quot; };&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; $.post(&quot;Employee/SaveEmployee&quot;, employee, function (data) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (data == &quot;True&quot;) { //change condition based on your return type&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; alert(&quot;Employee Saved succesfully&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; });&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Method 2: Using $.ajax()&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
//create the employee object&lt;br /&gt;
var employee = { Name: &quot;Dave&quot;, Id: 2, Designation: &quot;Sales&quot; };&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; $.ajax({&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; url: &quot;/Employee/SaveEmployee&quot;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; type: &quot;POST&quot;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; data: employee,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; success: function (data) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(data == &quot;True&quot;) //change condition based on your return type&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; alert(&quot;Employee Saved&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; });&lt;/div&gt;
&lt;br /&gt;
In this way we &lt;b&gt;call Asp.Net MVC controller actions using JQuery&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
For more posts on JQuery Visit:&amp;nbsp;&lt;a href=&quot;http://coding-issues.blogspot.in/search/label/jquery&quot; target=&quot;_blank&quot;&gt;JQuery&lt;/a&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.coding-issues.in/feeds/2461323072772073623/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.coding-issues.in/2016/07/call-aspnet-mvc-controller-action-jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/2461323072772073623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/2461323072772073623'/><link rel='alternate' type='text/html' href='http://www.coding-issues.in/2016/07/call-aspnet-mvc-controller-action-jquery.html' title='How to call Asp.Net MVC controller action method using JQuery'/><author><name>Ranadheer khyatam</name><uri>http://www.blogger.com/profile/15619027010367952049</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-7718833483200225416.post-804001269369474782</id><published>2016-07-14T13:11:00.000-07:00</published><updated>2016-07-14T13:11:40.224-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="ajax call with jquery"/><category scheme="http://www.blogger.com/atom/ns#" term="how to make ajax call with jquery"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="jquery"/><title type='text'>How to make Ajax call with JQuery</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In this article am going to explain &lt;b&gt;how to make ajax call with JQuery.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;JQuery&lt;/b&gt; has &lt;b&gt;$.ajax()&lt;/b&gt; method which is used to perform an &lt;b&gt;asynchronous HTTP request&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
The syntax of &lt;b&gt;$.ajax()&lt;/b&gt; function is as follows&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
$.ajax(url[, options])&lt;/div&gt;
&lt;br /&gt;
url is a string parameter that you want to reach with AJAX call while options is an object literal containing the configuration for the Ajax request.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;JQuery AJAX example:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
$.ajax({&lt;br /&gt;
&amp;nbsp; url: &quot;demo.txt&quot;,&lt;br /&gt;
&amp;nbsp; success: function(result){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; alert(result);&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
});&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;JQuery AJAX post example:&lt;/b&gt;&lt;br /&gt;
&lt;!-- adsense --&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
$.ajax({&lt;br /&gt;
&amp;nbsp; type: &quot;POST&quot;,&lt;br /&gt;
&amp;nbsp; url: url,&lt;br /&gt;
&amp;nbsp; data: {name:&quot;ranadheer&quot;,id:2},&lt;br /&gt;
&amp;nbsp; success: function(data, status,, jQxhr){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;alert(data);&lt;br /&gt;
&amp;nbsp; },&lt;br /&gt;
&amp;nbsp; error: function(jQxhr, textStatus){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;alert(error);&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
&amp;nbsp; dataType: dataType&lt;br /&gt;
});&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
This way we can &lt;b&gt;make AJAX calls with JQuery&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
For more posts on JQuery visit:&amp;nbsp;&lt;a href=&quot;http://coding-issues.blogspot.in/search/label/jquery&quot; target=&quot;_blank&quot;&gt;JQuery&lt;/a&gt;&lt;/h3&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.coding-issues.in/feeds/804001269369474782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.coding-issues.in/2016/07/how-to-make-ajax-call-with-jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/804001269369474782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/804001269369474782'/><link rel='alternate' type='text/html' href='http://www.coding-issues.in/2016/07/how-to-make-ajax-call-with-jquery.html' title='How to make Ajax call with JQuery'/><author><name>Ranadheer khyatam</name><uri>http://www.blogger.com/profile/15619027010367952049</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-7718833483200225416.post-2181460304437220980</id><published>2016-07-14T12:13:00.000-07:00</published><updated>2016-07-14T12:38:14.383-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="query string"/><category scheme="http://www.blogger.com/atom/ns#" term="query string value"/><category scheme="http://www.blogger.com/atom/ns#" term="read query string value"/><category scheme="http://www.blogger.com/atom/ns#" term="read query string value in javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="URL"/><title type='text'>How to read query string value in javascript</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In this article am going to explain &lt;b&gt;how to read query string value using JavaScript&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
Use the following function to read &lt;b&gt;query string value from url&lt;/b&gt;. You just need to pass the parameter name to this function.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Method 1:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot; language-javascript&quot; style=&quot;background-color: #f4f4f4; box-sizing: border-box; color: #272727; font-family: Menlo, Monaco, &amp;quot;Courier New&amp;quot;, monospace; font-size: 0.875em; line-height: 1.5; margin-bottom: 1.5625em; overflow: auto; padding: 0.8125em; tab-size: 4; white-space: pre-wrap; word-break: break-all;&quot;&gt;&lt;code class=&quot; language-javascript&quot; style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: inherit; font-family: Menlo, Monaco, &amp;quot;Courier New&amp;quot;, monospace; font-size: 1em; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;token keyword&quot; style=&quot;box-sizing: border-box; color: #0077aa;&quot;&gt;var&lt;/span&gt; getQueryString &lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #a67f59;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;token keyword&quot; style=&quot;box-sizing: border-box; color: #0077aa;&quot;&gt;function&lt;/span&gt; &lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;(&lt;/span&gt; field&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;token keyword&quot; style=&quot;box-sizing: border-box; color: #0077aa;&quot;&gt;var&lt;/span&gt; href = window&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;.&lt;/span&gt;location&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;.&lt;/span&gt;href&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;token keyword&quot; style=&quot;box-sizing: border-box; color: #0077aa;&quot;&gt;var&lt;/span&gt; reg &lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #a67f59;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;token keyword&quot; style=&quot;box-sizing: border-box; color: #0077aa;&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;token class-name&quot; style=&quot;box-sizing: border-box;&quot;&gt;RegExp&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;(&lt;/span&gt; &lt;span class=&quot;token string&quot; style=&quot;box-sizing: border-box; color: #669900;&quot;&gt;&#39;[?&amp;amp;]&#39;&lt;/span&gt; &lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #a67f59;&quot;&gt;+&lt;/span&gt; field &lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #a67f59;&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;token string&quot; style=&quot;box-sizing: border-box; color: #669900;&quot;&gt;&#39;=([^&amp;amp;#]*)&#39;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;token string&quot; style=&quot;box-sizing: border-box; color: #669900;&quot;&gt;&#39;i&#39;&lt;/span&gt; &lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;token keyword&quot; style=&quot;box-sizing: border-box; color: #0077aa;&quot;&gt;var&lt;/span&gt; string &lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #a67f59;&quot;&gt;=&lt;/span&gt; reg&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;token function&quot; style=&quot;box-sizing: border-box;&quot;&gt;exec&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;href&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;token keyword&quot; style=&quot;box-sizing: border-box; color: #0077aa;&quot;&gt;return&lt;/span&gt; string &lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #a67f59;&quot;&gt;?&lt;/span&gt; string&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;token number&quot; style=&quot;box-sizing: border-box; color: #990055;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;]&lt;/span&gt; &lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;token keyword&quot; style=&quot;box-sizing: border-box; color: #0077aa;&quot;&gt;null&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;Method 2 :&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
You can also use the following javascript function to read querystring value.&lt;br /&gt;
&lt;!-- adsense --&gt;
&lt;pre class=&quot; language-javascript&quot; style=&quot;background-color: #f4f4f4; box-sizing: border-box; margin-bottom: 1.5625em; overflow: auto; padding: 0.8125em; tab-size: 4; word-break: break-all;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;menlo&amp;quot; , &amp;quot;monaco&amp;quot; , &amp;quot;courier new&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #0077aa;&quot;&gt;function &lt;/span&gt;getQueryString&lt;span style=&quot;color: #0077aa;&quot;&gt;(&lt;/span&gt;param&lt;span style=&quot;color: #0077aa;&quot;&gt;) {
var &lt;/span&gt;url&lt;span style=&quot;color: #0077aa;&quot;&gt; = &lt;/span&gt;window.location.href.slice(window.location.href.indexOf(&#39;?&#39;) + 1).split(&#39;&amp;amp;&#39;);&lt;span style=&quot;color: #0077aa;&quot;&gt;
for &lt;/span&gt;(&lt;span style=&quot;color: #0077aa;&quot;&gt;var &lt;/span&gt;i = 0; i &amp;lt; url.length; i++) {&lt;span style=&quot;color: #0077aa;&quot;&gt;
var &lt;/span&gt;urlparam = url[i].split(&#39;=&#39;);&lt;span style=&quot;color: #0077aa;&quot;&gt;
if &lt;/span&gt;(urlparam[0] == param) {&lt;span style=&quot;color: #0077aa;&quot;&gt;
return &lt;/span&gt;urlparam[1];&lt;span style=&quot;color: #0077aa;&quot;&gt;
&lt;/span&gt;}
}
}&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
For example assume url as &lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;http://mysite.com?myParam1=test1&amp;amp;myParam2=test2&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Now to &lt;b&gt;read the query string value&lt;/b&gt; &lt;b&gt;from&lt;/b&gt; above &lt;b&gt;url &lt;/b&gt;use the following &lt;b&gt;javascript&lt;/b&gt; code.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot; language-javascript&quot; style=&quot;background-color: #f4f4f4; box-sizing: border-box; color: #272727; font-family: Menlo, Monaco, &amp;quot;Courier New&amp;quot;, monospace; font-size: 0.875em; line-height: 1.5; margin-bottom: 1.5625em; overflow: auto; padding: 0.8125em; tab-size: 4; white-space: pre-wrap; word-break: break-all;&quot;&gt;&lt;code class=&quot; language-javascript&quot; style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: inherit; font-family: Menlo, Monaco, &amp;quot;Courier New&amp;quot;, monospace; font-size: 1em; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;token keyword&quot; style=&quot;box-sizing: border-box; color: #0077aa;&quot;&gt;var&lt;/span&gt; myParam1 &lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #a67f59;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;token function&quot; style=&quot;box-sizing: border-box;&quot;&gt;getQueryString&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token string&quot; style=&quot;box-sizing: border-box; color: #669900;&quot;&gt;&#39;myParam1&#39;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;token comment&quot; spellcheck=&quot;true&quot; style=&quot;box-sizing: border-box; color: slategrey;&quot;&gt; // returns &#39;test1&#39;
&lt;/span&gt;&lt;span class=&quot;token keyword&quot; style=&quot;box-sizing: border-box; color: #0077aa;&quot;&gt;var&lt;/span&gt; myParam2 &lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #a67f59;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;token function&quot; style=&quot;box-sizing: border-box;&quot;&gt;getQueryString&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token string&quot; style=&quot;box-sizing: border-box; color: #669900;&quot;&gt;&#39;myParam2&#39;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;token comment&quot; spellcheck=&quot;true&quot; style=&quot;box-sizing: border-box; color: slategrey;&quot;&gt; // returns &#39;test2&#39;
&lt;/span&gt;&lt;span class=&quot;token keyword&quot; style=&quot;box-sizing: border-box; color: #0077aa;&quot;&gt;var&lt;/span&gt; testParam &lt;span class=&quot;token operator&quot; style=&quot;box-sizing: border-box; color: #a67f59;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;token function&quot; style=&quot;box-sizing: border-box;&quot;&gt;getQueryString&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token string&quot; style=&quot;box-sizing: border-box; color: #669900;&quot;&gt;&#39;something&#39;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box; color: #999999;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;token comment&quot; spellcheck=&quot;true&quot; style=&quot;box-sizing: border-box; color: slategrey;&quot;&gt; // returns null&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;Note:&lt;/b&gt; &lt;span style=&quot;font-weight: normal;&quot;&gt;If a parameter is present several times (?param=test1&amp;amp;param=test2), you will get the first value&lt;/span&gt;&lt;/h4&gt;
&lt;br /&gt;
In this way we can &lt;b&gt;read query string value from url in JavaScript&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;For more posts on javascript visit:&amp;nbsp;&lt;a href=&quot;http://www.coding-issues.com/search/label/javascript&quot; target=&quot;_blank&quot;&gt;JavaScript&lt;/a&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.coding-issues.in/feeds/2181460304437220980/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.coding-issues.in/2016/07/how-to-read-query-string-value-in-javascript.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/2181460304437220980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/2181460304437220980'/><link rel='alternate' type='text/html' href='http://www.coding-issues.in/2016/07/how-to-read-query-string-value-in-javascript.html' title='How to read query string value in javascript'/><author><name>Ranadheer khyatam</name><uri>http://www.blogger.com/profile/15619027010367952049</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-7718833483200225416.post-5195372857947433395</id><published>2016-07-11T08:58:00.000-07:00</published><updated>2016-07-11T08:58:56.983-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp.net"/><category scheme="http://www.blogger.com/atom/ns#" term="asp.net mvc"/><category scheme="http://www.blogger.com/atom/ns#" term="asp.net mvc4"/><category scheme="http://www.blogger.com/atom/ns#" term="bundle config"/><category scheme="http://www.blogger.com/atom/ns#" term="bundling"/><category scheme="http://www.blogger.com/atom/ns#" term="cdn bundle"/><category scheme="http://www.blogger.com/atom/ns#" term="minification"/><category scheme="http://www.blogger.com/atom/ns#" term="use cdn bundle in mvc"/><title type='text'>Using CDN Bundle Config in ASP.NET MVC</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
This article explains how to use &lt;b&gt;CDN &lt;/b&gt;in &lt;b&gt;MVC &lt;/b&gt;script bundles.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Bundling &lt;/b&gt;is a technique used in ASP.NET 4.5 to improve request load time. This technique improves load time by reducing the number of requests to the server and reducing the size of requested assets (such as CSS and JavaScript).&lt;br /&gt;
&lt;br /&gt;
If you are using libraries like &lt;b&gt;JQuery&lt;/b&gt;, &lt;b&gt;AngularJS &lt;/b&gt;in your application, instead of loading them from your own server you can use the CDN url of these libraries. So, when you run your application in production environment these files will be loaded from &lt;b&gt;CDN &lt;/b&gt;itself. If the &lt;b&gt;CDN &lt;/b&gt;is not available then these files will be loaded from your server.&lt;br /&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
How to add CDN in MVC bundles:&lt;/h4&gt;
&lt;br /&gt;
First of all enable cdn feature (by default it is set to false).&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
bundles.UseCdn = true;
    &lt;/div&gt;
&lt;br /&gt;
&amp;nbsp;Then add your library (JQuery or AngularJS or any other) bundle from CDN. In my example am using JQuery library&lt;br /&gt;
&lt;br /&gt;
&lt;!-- adsense --&gt;

&lt;div class=&quot;code&quot;&gt;
var jqueryBundle = new ScriptBundle(&quot;~/bundles/jquery&quot;, &quot;http://code.jquery.com/jquery-2.0.3.min.js&quot;).Include(&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;~/Scripts/jquery-{version}.js&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; jqueryBundle.CdnFallbackExpression = &quot;window.jquery&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bundles.Add(jqueryBundle);&lt;/div&gt;
&lt;br /&gt;
Use of&amp;nbsp;CdnFallbackExpression is when CDN server is unavailable it loads the file from your server.&lt;br /&gt;
&lt;br /&gt;
In this way we can use CDN in MVC script bundles.&lt;br /&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;Test CDN bundle in Local Evnironment (Debug Mode):&lt;/b&gt;&lt;/h4&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
To test this feature locally you have to run your application in&amp;nbsp;&lt;span style=&quot;background-color: #eff0f1; color: #242729; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; line-height: 16.9px; white-space: pre-wrap;&quot;&gt;debug=&quot;false&quot;&lt;/span&gt;&amp;nbsp;mode or you cal also use&amp;nbsp;&lt;span style=&quot;background-color: #eff0f1; color: #242729; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; line-height: 16.9px; white-space: pre-wrap;&quot;&gt;BundleTable.EnableOptimizations = true;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #eff0f1; color: #242729; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; line-height: 16.9px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
For more posts on MVC visit :&amp;nbsp;&lt;a href=&quot;http://www.coding-issues.com/search/label/mvc&quot; target=&quot;_blank&quot;&gt;Asp.Net MVC&lt;/a&gt;&lt;/h3&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.coding-issues.in/feeds/5195372857947433395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.coding-issues.in/2016/07/using-cdn-bundle-config-in-aspnet-mvc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/5195372857947433395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/5195372857947433395'/><link rel='alternate' type='text/html' href='http://www.coding-issues.in/2016/07/using-cdn-bundle-config-in-aspnet-mvc.html' title='Using CDN Bundle Config in ASP.NET MVC'/><author><name>Ranadheer khyatam</name><uri>http://www.blogger.com/profile/15619027010367952049</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-7718833483200225416.post-5477862915725385879</id><published>2016-06-24T04:17:00.000-07:00</published><updated>2016-06-24T04:22:24.664-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="check dynamics ax version"/><category scheme="http://www.blogger.com/atom/ns#" term="dynamics ax"/><category scheme="http://www.blogger.com/atom/ns#" term="dynamics ax 2012 r3"/><category scheme="http://www.blogger.com/atom/ns#" term="microsoft dynamics ax"/><category scheme="http://www.blogger.com/atom/ns#" term="ms dynamics"/><title type='text'>How to find out which version of Microsoft Dynamics AX you are using</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
To find what &lt;b&gt;version&lt;/b&gt; of the &lt;b&gt;Microsoft Dynamics AX&lt;/b&gt; you are using follow the below steps&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Click on &lt;b&gt;Help&lt;/b&gt; Icon in the upper right corner of any page in &lt;b&gt;Microsoft Dynamics AX&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjJ7eyPpvT-82aq140zJGplReBIeWJaQtQi9QbJ4N4Hpe0mmOZOt6_RST1VxiflsZFTZ__AuXBS-fqTDjM1e55_oNSPEAvReOgNN0Tnr2NsD4KqPSgEY-1ZM6SLCzjORfqZ7y6hUFsg8M/s1600/AX_Help.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;380&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjJ7eyPpvT-82aq140zJGplReBIeWJaQtQi9QbJ4N4Hpe0mmOZOt6_RST1VxiflsZFTZ__AuXBS-fqTDjM1e55_oNSPEAvReOgNN0Tnr2NsD4KqPSgEY-1ZM6SLCzjORfqZ7y6hUFsg8M/s640/AX_Help.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;

&lt;/li&gt;
&lt;li&gt;2. Now click on &lt;b&gt;About&lt;/b&gt; Microsoft Dynamics AX&lt;br /&gt;&lt;/li&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/AVvXsEj_sZOolCISD34cwKRA0DPII7Kf9akxMdBZJZKqkQo3BZ7fqpdR3lvnCDYo7sMpSwZe3ezB-RS2pM3WFbRWc988jLFQ2BHIvGDY7840OqrdqfBAsr5st8WyndnAlKaXMz9H142RfvKSyjs/s1600/AX+Version.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;372&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_sZOolCISD34cwKRA0DPII7Kf9akxMdBZJZKqkQo3BZ7fqpdR3lvnCDYo7sMpSwZe3ezB-RS2pM3WFbRWc988jLFQ2BHIvGDY7840OqrdqfBAsr5st8WyndnAlKaXMz9H142RfvKSyjs/s640/AX+Version.jpg&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;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;li&gt;You can check the version in the resulting window.&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
For more information about the Microsoft Dynamics AX &lt;b&gt;build version&lt;/b&gt; check below post&lt;br /&gt;
&lt;!-- adsense --&gt;

&lt;a href=&quot;https://blogs.msdn.microsoft.com/axsupport/2012/03/29/overview-of-microsoft-dynamics-ax-build-numbers/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Overview of Microsoft Dynamics AX build numbers&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
For quick over view of &lt;b&gt;build numbers&lt;/b&gt; and &lt;b&gt;versions&lt;/b&gt; check below&lt;br /&gt;
&lt;br /&gt;
Dynamics AX 2012&lt;br /&gt;
&lt;br /&gt;
Build Number&amp;gt;&amp;gt;Version&lt;br /&gt;
&lt;br /&gt;
6.0.852.782012&amp;gt;&amp;gt; Beta&lt;br /&gt;
&lt;br /&gt;
6.0.947.02012&amp;gt;&amp;gt; RTM&lt;br /&gt;
&lt;br /&gt;
6.0.947.612012&amp;gt;&amp;gt; Cumulative Update 1 (CU1)&lt;br /&gt;
&lt;br /&gt;
6.0.947.2802012&amp;gt;&amp;gt; Cumulative Update 2 (CU2)&lt;br /&gt;
&lt;br /&gt;
6.0.947.8622012&amp;gt;&amp;gt; Feature Pack&lt;br /&gt;
&lt;br /&gt;
6.0.1108.6702012&amp;gt;&amp;gt; Cumulative Update 3 (CU3)&lt;br /&gt;
&lt;br /&gt;
6.0.1108.24232012&amp;gt;&amp;gt; Cumulative Update 4 (CU4)&lt;br /&gt;
&lt;br /&gt;
6.0.1108.43162012&amp;gt;&amp;gt; Cumulative Update 5 (CU5)&lt;br /&gt;
&lt;br /&gt;
6.2.158.02012&amp;gt;&amp;gt; R2&lt;br /&gt;
&lt;br /&gt;
6.2.1000.1562012&amp;gt;&amp;gt; R2 Cumulative Update 1 (CU1)&lt;br /&gt;
&lt;br /&gt;
6.2.1000.14372012&amp;gt;&amp;gt; R2 Cumulative Update 6 (CU6)&lt;br /&gt;
&lt;br /&gt;
6.2.1000.40512012&amp;gt;&amp;gt; R2 Cumulative Update 7 (CU7)&lt;br /&gt;
&lt;br /&gt;
6.2.1000.40512012&amp;gt;&amp;gt; R2 Cumulative Update 7 (CU7)&lt;br /&gt;
&lt;br /&gt;
6.3 &amp;gt;&amp;gt; Dynamics AX 2012 R3&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.coding-issues.in/feeds/5477862915725385879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.coding-issues.in/2016/06/find-out-version-of-dynamics-ax.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/5477862915725385879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/5477862915725385879'/><link rel='alternate' type='text/html' href='http://www.coding-issues.in/2016/06/find-out-version-of-dynamics-ax.html' title='How to find out which version of Microsoft Dynamics AX you are using'/><author><name>Ranadheer khyatam</name><uri>http://www.blogger.com/profile/15619027010367952049</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/AVvXsEhjJ7eyPpvT-82aq140zJGplReBIeWJaQtQi9QbJ4N4Hpe0mmOZOt6_RST1VxiflsZFTZ__AuXBS-fqTDjM1e55_oNSPEAvReOgNN0Tnr2NsD4KqPSgEY-1ZM6SLCzjORfqZ7y6hUFsg8M/s72-c/AX_Help.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7718833483200225416.post-1451654901280160488</id><published>2016-06-21T07:43:00.000-07:00</published><updated>2016-06-21T07:46:59.435-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="angular js"/><category scheme="http://www.blogger.com/atom/ns#" term="angularJS"/><category scheme="http://www.blogger.com/atom/ns#" term="ng-repeat"/><category scheme="http://www.blogger.com/atom/ns#" term="read properties of an object"/><category scheme="http://www.blogger.com/atom/ns#" term="Reference the property name within ng-repeat"/><title type='text'>Reference the property name within ng-repeat</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
This article explains how can we &lt;b&gt;reference the property of an object within the ng-repeat&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
We all know that the we can render the value of a property in an object like below&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot; style=&quot;background-color: #eff0f1; border: 0px; color: #393318; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; margin-bottom: 1em; max-height: 600px; overflow: auto; padding: 5px; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; margin: 0px; padding: 0px; white-space: inherit;&quot;&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; color: #7d2727; margin: 0px; padding: 0px;&quot;&gt;&amp;lt;ul&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: #303336; margin: 0px; padding: 0px;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; color: #7d2727; margin: 0px; padding: 0px;&quot;&gt;&amp;lt;li&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; color: #7d2727; margin: 0px; padding: 0px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: #303336; margin: 0px; padding: 0px;&quot;&gt;{{object.propertyName}}&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; color: #7d2727; margin: 0px; padding: 0px;&quot;&gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: #303336; margin: 0px; padding: 0px;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; color: #7d2727; margin: 0px; padding: 0px;&quot;&gt;&amp;lt;/ul&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&amp;nbsp;&lt;b&gt;Reference the property of an object within the ng-repeat:&lt;/b&gt;&lt;/h4&gt;
&lt;br /&gt;
Assume we have an object called &lt;b&gt;Employee&lt;/b&gt; defined as&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
var employee = { name:&quot;John&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; age:24,&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; designation:&quot;Developer&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; &amp;nbsp; &amp;nbsp; };&lt;/div&gt;
&lt;br /&gt;
Now by using the following code we can show all the properties and its values of &lt;b&gt;Employee&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;!-- adsense --&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot; style=&quot;background-color: #eff0f1; border: 0px; color: #393318; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; margin-bottom: 1em; max-height: 600px; overflow: auto; padding: 5px; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; margin: 0px; padding: 0px; white-space: inherit;&quot;&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; color: #7d2727; margin: 0px; padding: 0px;&quot;&gt;&amp;lt;ul&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: #303336; margin: 0px; padding: 0px;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; color: #7d2727; margin: 0px; padding: 0px;&quot;&gt;&amp;lt;li&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: #303336; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;border: 0px; color: #e64320; margin: 0px; padding: 0px;&quot;&gt;ng-repeat&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #303336; margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;border: 0px; color: #0f74bd; margin: 0px; padding: 0px;&quot;&gt;&quot;(key,val) in employee&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; color: #7d2727; margin: 0px; padding: 0px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: #303336; margin: 0px; padding: 0px;&quot;&gt;{{key}}: {{val}}&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; color: #7d2727; margin: 0px; padding: 0px;&quot;&gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: #303336; margin: 0px; padding: 0px;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; color: #7d2727; margin: 0px; padding: 0px;&quot;&gt;&amp;lt;/ul&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Output of the above code is&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
&lt;ul style=&quot;list-style: none; margin: 0px; padding: 0px; text-rendering: optimizeLegibility;&quot;&gt;
&lt;li class=&quot;ng-scope ng-binding&quot; ng-repeat=&quot;(key,val) in employee&quot; style=&quot;margin: 0px; padding: 0px; text-rendering: optimizeLegibility;&quot;&gt;age: 24&lt;/li&gt;
&lt;li class=&quot;ng-scope ng-binding&quot; ng-repeat=&quot;(key,val) in employee&quot; style=&quot;margin: 0px; padding: 0px; text-rendering: optimizeLegibility;&quot;&gt;designation: Developer&lt;/li&gt;
&lt;li class=&quot;ng-scope ng-binding&quot; ng-repeat=&quot;(key,val) in employee&quot; style=&quot;margin: 0px; padding: 0px; text-rendering: optimizeLegibility;&quot;&gt;name: John&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
In this way, we can&amp;nbsp;&lt;b&gt;reference the property of an object within the ng-repeat&lt;/b&gt;.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
For working example check this fiddle :&amp;nbsp;&lt;a href=&quot;http://jsfiddle.net/ranadheerrannu/3mL0zw41/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;reference the property name within ng-repeat&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
For more posts on AngularJS visit :&amp;nbsp;&lt;a href=&quot;http://coding-issues.blogspot.in/search/label/angularJS&quot; target=&quot;_blank&quot;&gt;AngularJS&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.coding-issues.in/feeds/1451654901280160488/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.coding-issues.in/2016/06/reference-property-name-within-ng-repeat-angularjs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/1451654901280160488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/1451654901280160488'/><link rel='alternate' type='text/html' href='http://www.coding-issues.in/2016/06/reference-property-name-within-ng-repeat-angularjs.html' title='Reference the property name within ng-repeat'/><author><name>Ranadheer khyatam</name><uri>http://www.blogger.com/profile/15619027010367952049</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-7718833483200225416.post-8993753639743005718</id><published>2016-03-29T04:26:00.003-07:00</published><updated>2016-03-29T04:32:18.484-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cookie"/><category scheme="http://www.blogger.com/atom/ns#" term="create cookie using jquery"/><category scheme="http://www.blogger.com/atom/ns#" term="delete cookie using jquery"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="jquery"/><category scheme="http://www.blogger.com/atom/ns#" term="jquery cookie"/><category scheme="http://www.blogger.com/atom/ns#" term="read cookie using jquery"/><category scheme="http://www.blogger.com/atom/ns#" term="update cookie using jquery"/><title type='text'>Create cookie using JQuery</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
This article explains how to create/read/edit/delete cookie in Jquery.&lt;br /&gt;
&lt;br /&gt;
First you need to add jquery cookie plugin. Add jquery.cookie.js javascript file from following url.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://github.com/carhartl/jquery-cookie/blob/master/src/jquery.cookie.js&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://github.com/carhartl/jquery-cookie/blob/master/src/jquery.cookie.js&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Create/Set cookie using JQuery:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Use the following jquery code to create the cookie.&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; overflow: auto;font-size: 17px; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-family: &amp;quot;menlo&amp;quot; , &amp;quot;monaco&amp;quot; , &amp;quot;consolas&amp;quot; , &amp;quot;courier new&amp;quot; , monospace; font-size: 13px; line-height: 1.42857;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; line-height: 18.5714px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;menlo&amp;quot; , &amp;quot;monaco&amp;quot; , &amp;quot;consolas&amp;quot; , &amp;quot;courier new&amp;quot; , monospace;&quot;&gt;$.cookie(&quot;cookieName&quot;, &quot;cookieValue&quot;);&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
Use the following jquery code to create the cookie with expiry.&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; overflow: auto;font-size: 17px; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;background-color: transparent; line-height: 18.5714px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;menlo&amp;quot; , &amp;quot;monaco&amp;quot; , &amp;quot;consolas&amp;quot; , &amp;quot;courier new&amp;quot; , monospace;&quot;&gt;$.cookie(&quot;cookieName&quot;, &quot;cookieValue&quot;, { expires: 7 });&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
above cookie expires in 7 days.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Get/Read cookie using JQuery:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
Use the following jquery code to read the cookie value.&lt;br /&gt;
&lt;br /&gt;
&lt;!-- adsense --&gt;

&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; overflow: auto;font-size: 17px; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;background-color: transparent; line-height: 18.5714px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;menlo&amp;quot; , &amp;quot;monaco&amp;quot; , &amp;quot;consolas&amp;quot; , &amp;quot;courier new&amp;quot; , monospace;&quot;&gt;$.cookie(&quot;cookieName&quot;);&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
We just have to use the cookie name to read it&#39;s value.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Edit cookie value using JQuery:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
Use the following jquery code to edit the cookie value.&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; overflow: auto;font-size: 17px; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;background-color: transparent; line-height: 18.5714px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;menlo&amp;quot; , &amp;quot;monaco&amp;quot; , &amp;quot;consolas&amp;quot; , &amp;quot;courier new&amp;quot; , monospace;&quot;&gt;$.cookie(&quot;existingCookieName&quot;, &quot;newValue&quot;);&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
above code updates the existing cookie value.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Delete cookie using JQuery:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
Use the following jquery code to delete the cookie&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; overflow: auto;font-size: 17px; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;background-color: transparent; line-height: 18.5714px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;menlo&amp;quot; , &amp;quot;monaco&amp;quot; , &amp;quot;consolas&amp;quot; , &amp;quot;courier new&amp;quot; , monospace;&quot;&gt;$.removeCookie(&quot;cookieNameToBeRemoved&quot;);&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
In this way we can create/get/edit and delete cookies using JQuery.&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
For more posts on JQuery visit:&amp;nbsp;&lt;a href=&quot;http://coding-issues.blogspot.in/search/label/jquery&quot; target=&quot;_blank&quot;&gt;JQuery&lt;/a&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.coding-issues.in/feeds/8993753639743005718/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.coding-issues.in/2016/03/create-cookie-using-jquery.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/8993753639743005718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/8993753639743005718'/><link rel='alternate' type='text/html' href='http://www.coding-issues.in/2016/03/create-cookie-using-jquery.html' title='Create cookie using JQuery'/><author><name>Ranadheer khyatam</name><uri>http://www.blogger.com/profile/15619027010367952049</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-7718833483200225416.post-4437696332959490004</id><published>2016-03-29T04:04:00.001-07:00</published><updated>2016-03-29T04:04:30.377-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="remove auto focus from first input field"/><category scheme="http://www.blogger.com/atom/ns#" term="remove auto focus in visual force page"/><category scheme="http://www.blogger.com/atom/ns#" term="sales force"/><category scheme="http://www.blogger.com/atom/ns#" term="visual force"/><title type='text'>Remove auto focus from first input field in sales force</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
This articles explains how to remove automatic focus from the first input field in sales force.&lt;br /&gt;
&lt;br /&gt;
In Salesforce by default, the focus is set to the first available input field. To remove the focus from that input field you can use any of the following methods.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Method 1 to Remove focus from first input field:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Add a hidden field in your page and set the focus on this hidden field when page is loaded.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, &#39;Courier New&#39;, monospace; font-size: 13px; line-height: 1.42857; overflow: auto; padding: 9.5px; word-break: break-all; word-wrap: break-word;&quot;&gt;&amp;lt;input id=&quot;myHiddenField&quot; type=&quot;hidden&quot; /&amp;gt;

&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
  window.onload = setFocus
  function setFocus() {
    document.getElementById(&quot;&lt;span style=&quot;line-height: 1.42857;&quot;&gt;myHiddenField&lt;/span&gt;&lt;span style=&quot;line-height: 1.42857;&quot;&gt;&quot;).focus();&lt;/span&gt;
  }
&amp;lt;/script&amp;gt;&lt;/pre&gt;
&lt;br /&gt;
Above code sets the focus on the hidden field so that your first input field (which is visible) will not have the focus now.&lt;br /&gt;
&lt;br /&gt;
&lt;!-- adsense --&gt;
&lt;br /&gt;
&lt;b&gt;Method 2 to Remove focus from first input field:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
You can directly remove focus from the first input field using javaScript once the page is fully loaded.&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: menlo, monaco, consolas, &#39;courier new&#39;, monospace; font-size: 13px; line-height: 1.42857; overflow: auto; padding: 9.5px; word-break: break-all; word-wrap: break-word;&quot;&gt;&amp;lt;input id=&quot;myFirstInputField&quot; type=&quot;text&quot; /&amp;gt;

&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
  window.onload = setFocus
  function setFocus() {
    document.getElementById(&quot;&lt;span style=&quot;line-height: 1.42857;&quot;&gt;myFirstInputField&lt;/span&gt;&lt;span style=&quot;line-height: 1.42857;&quot;&gt;&quot;).&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; color: #222426; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;monaco&amp;quot; , &amp;quot;lucida console&amp;quot; , &amp;quot;liberation mono&amp;quot; , &amp;quot;dejavu sans mono&amp;quot; , &amp;quot;bitstream vera sans mono&amp;quot; , &amp;quot;courier new&amp;quot; , monospace , sans-serif; line-height: 16.9px; white-space: pre-wrap;&quot;&gt;blur&lt;/span&gt;&lt;span style=&quot;line-height: 1.42857;&quot;&gt;();&lt;/span&gt;
  }
&amp;lt;/script&amp;gt;&lt;/pre&gt;
&lt;br /&gt;
In the above javascript code we removed focus from our first input field using blur() function.&lt;br /&gt;
&lt;br /&gt;
In this way we can remove auto focus from first input field in sales force.&lt;br /&gt;
&lt;br /&gt;
If you know any other ways of achieving this, please feel free to post in comment so that we will add that to the article.&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
For more posts on javascript visit:&amp;nbsp;&lt;a href=&quot;http://www.coding-issues.com/search/label/javascript&quot; target=&quot;_blank&quot;&gt;JavaScript&lt;/a&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.coding-issues.in/feeds/4437696332959490004/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.coding-issues.in/2016/03/remove-auto-focus-from-first-input-field-sales-force.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/4437696332959490004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/4437696332959490004'/><link rel='alternate' type='text/html' href='http://www.coding-issues.in/2016/03/remove-auto-focus-from-first-input-field-sales-force.html' title='Remove auto focus from first input field in sales force'/><author><name>Ranadheer khyatam</name><uri>http://www.blogger.com/profile/15619027010367952049</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-7718833483200225416.post-4900640229608507250</id><published>2016-03-17T23:43:00.003-07:00</published><updated>2016-03-17T23:46:14.451-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bootstrap"/><category scheme="http://www.blogger.com/atom/ns#" term="bootstrap modal"/><category scheme="http://www.blogger.com/atom/ns#" term="prevent bootstrap modal from closing on escape"/><category scheme="http://www.blogger.com/atom/ns#" term="prevent bootstrap modal from closing when clicking outside"/><title type='text'>prevent bootstrap modal from closing when clicking outside or escape</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
This article explains&amp;nbsp;&lt;b&gt;how to prevent bootstrap modal from closing/disappearing when clicking outside or escape&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
This can be done in two ways&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Through JavaScript or&lt;/li&gt;
&lt;li&gt;Through HTML&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;b&gt;JavaScript:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot; style=&quot;-webkit-user-select: auto !important; background-color: #eeeeee; border: 0px; color: #393318; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, sans-serif; font-size: 13px; margin-bottom: 1em; max-height: 600px; overflow: auto; padding: 5px; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;-webkit-user-select: auto !important; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, sans-serif; margin: 0px; padding: 0px; white-space: inherit;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: maroon; margin: 0px; padding: 0px;&quot;&gt;&#39;#modalID&#39;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;modal&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;({&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
    backdrop&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: maroon; margin: 0px; padding: 0px;&quot;&gt;&#39;static&#39;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
    keyboard&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: darkblue; margin: 0px; padding: 0px;&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;})&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;HTML:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;!-- adsense --&gt;
&lt;div&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot; style=&quot;-webkit-user-select: auto !important; background-color: #eeeeee; border: 0px; color: #393318; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, sans-serif; font-size: 13px; margin-bottom: 1em; max-height: 600px; overflow: auto; padding: 5px; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;-webkit-user-select: auto !important; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, sans-serif; margin: 0px; padding: 0px; white-space: inherit;&quot;&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; color: maroon; margin: 0px; padding: 0px;&quot;&gt;&amp;lt;div&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;border: 0px; color: red; margin: 0px; padding: 0px;&quot;&gt;id&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;border: 0px; color: blue; margin: 0px; padding: 0px;&quot;&gt;&quot;modalID&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;border: 0px; color: red; margin: 0px; padding: 0px;&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;border: 0px; color: blue; margin: 0px; padding: 0px;&quot;&gt;&quot;modal hide fade in&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;border: 0px; color: red; margin: 0px; padding: 0px;&quot;&gt;data-keyboard&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;border: 0px; color: blue; margin: 0px; padding: 0px;&quot;&gt;&quot;false&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;border: 0px; color: red; margin: 0px; padding: 0px;&quot;&gt;data-backdrop&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;border: 0px; color: blue; margin: 0px; padding: 0px;&quot;&gt;&quot;static&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; color: maroon; margin: 0px; padding: 0px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
According to &lt;b&gt;bootstrap&lt;/b&gt; documentation&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;code style=&quot;-webkit-user-select: auto !important; background: rgb(248, 248, 248); border-radius: 3px; border: 1px solid rgb(234, 234, 234); box-sizing: border-box; color: #333333; font-family: Consolas, &#39;Liberation Mono&#39;, Courier, monospace; font-size: 12px; margin: 0px 2px; padding: 0px 5px;&quot;&gt;backdrop&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;-webkit-user-select: auto !important; background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;(Type:&amp;nbsp;&lt;code style=&quot;-webkit-user-select: auto !important; background: rgb(248, 248, 248); border-radius: 3px; border: 1px solid rgb(234, 234, 234); box-sizing: border-box; font-family: Consolas, &#39;Liberation Mono&#39;, Courier, monospace; font-size: 12px; margin: 0px 2px; padding: 0px 5px;&quot;&gt;boolean|string&lt;/code&gt;, Default:&amp;nbsp;&lt;code style=&quot;-webkit-user-select: auto !important; background: rgb(248, 248, 248); border-radius: 3px; border: 1px solid rgb(234, 234, 234); box-sizing: border-box; font-family: Consolas, &#39;Liberation Mono&#39;, Courier, monospace; font-size: 12px; margin: 0px 2px; padding: 0px 5px;&quot;&gt;true&lt;/code&gt;)&lt;/em&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;&amp;nbsp;- Controls presence of a backdrop. Allowed values:&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;-webkit-user-select: auto !important; background: rgb(248, 248, 248); border-radius: 3px; border: 1px solid rgb(234, 234, 234); box-sizing: border-box; color: #333333; font-family: Consolas, &#39;Liberation Mono&#39;, Courier, monospace; font-size: 12px; margin: 0px 2px; padding: 0px 5px;&quot;&gt;true&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;&amp;nbsp;(default),&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;-webkit-user-select: auto !important; background: rgb(248, 248, 248); border-radius: 3px; border: 1px solid rgb(234, 234, 234); box-sizing: border-box; color: #333333; font-family: Consolas, &#39;Liberation Mono&#39;, Courier, monospace; font-size: 12px; margin: 0px 2px; padding: 0px 5px;&quot;&gt;false&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;&amp;nbsp;(no backdrop),&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;-webkit-user-select: auto !important; background: rgb(248, 248, 248); border-radius: 3px; border: 1px solid rgb(234, 234, 234); box-sizing: border-box; color: #333333; font-family: Consolas, &#39;Liberation Mono&#39;, Courier, monospace; font-size: 12px; margin: 0px 2px; padding: 0px 5px;&quot;&gt;&#39;static&#39;&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;(disables modal closing by click on the backdrop).&lt;/span&gt;&lt;span style=&quot;background-color: cornsilk; color: #222426; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;code style=&quot;-webkit-user-select: auto !important; background: rgb(248, 248, 248); border-radius: 3px; border: 1px solid rgb(234, 234, 234); box-sizing: border-box; color: #333333; font-family: Consolas, &#39;Liberation Mono&#39;, Courier, monospace; font-size: 12px; margin: 0px 2px; padding: 0px 5px;&quot;&gt;keyboard&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;&amp;nbsp;-&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;-webkit-user-select: auto !important; background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;(Type:&amp;nbsp;&lt;code style=&quot;-webkit-user-select: auto !important; background: rgb(248, 248, 248); border-radius: 3px; border: 1px solid rgb(234, 234, 234); box-sizing: border-box; font-family: Consolas, &#39;Liberation Mono&#39;, Courier, monospace; font-size: 12px; margin: 0px 2px; padding: 0px 5px;&quot;&gt;boolean&lt;/code&gt;, Default:&amp;nbsp;&lt;code style=&quot;-webkit-user-select: auto !important; background: rgb(248, 248, 248); border-radius: 3px; border: 1px solid rgb(234, 234, 234); box-sizing: border-box; font-family: Consolas, &#39;Liberation Mono&#39;, Courier, monospace; font-size: 12px; margin: 0px 2px; padding: 0px 5px;&quot;&gt;true&lt;/code&gt;)&lt;/em&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;&amp;nbsp;- Indicates whether the dialog should be closable by hitting the ESC key.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #222426; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;By passing &lt;b&gt;backdrop&lt;/b&gt; option with value &lt;b&gt;&#39;static&#39;&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222426; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;will prevent closing the modal.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222426; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;Also by passing&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222426; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;-webkit-user-select: auto !important; background-color: #eeeeee; border: 0px; color: #222426; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;&quot;&gt;{keyboard: false}&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #222426; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;&amp;nbsp;we can prevent closing the modal by pressing&amp;nbsp;&lt;/span&gt;&lt;kbd style=&quot;-webkit-user-select: auto !important; background-color: #f7f7f7; border-radius: 3px; border: 1px solid rgb(204, 204, 204); box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 0px, rgb(255, 255, 255) 0px 0px 0px 2px inset; color: #333333; display: inline-block; font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 1.4; margin: 0px 0.1em; padding: 0.1em 0.6em; text-shadow: rgb(255, 255, 255) 0px 1px 0px; white-space: nowrap;&quot;&gt;Esc&lt;/kbd&gt;&lt;span style=&quot;background-color: white; color: #222426; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #222426; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #222426; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;In this way we can &lt;b&gt;prevent the bootstrap modal from closing when clicking outside or escape&lt;/b&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #222426; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #222426; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: 18px; line-height: 19.5px;&quot;&gt;For more posts on bootstrap visit:&amp;nbsp;&lt;a href=&quot;http://www.coding-issues.com/search/label/bootstrap&quot; target=&quot;_blank&quot;&gt;BootStrap&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.coding-issues.in/feeds/4900640229608507250/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.coding-issues.in/2016/03/prevent-bootstrap-modal-from-closing-when-clicked-outside-or-escape.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/4900640229608507250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/4900640229608507250'/><link rel='alternate' type='text/html' href='http://www.coding-issues.in/2016/03/prevent-bootstrap-modal-from-closing-when-clicked-outside-or-escape.html' title='prevent bootstrap modal from closing when clicking outside or escape'/><author><name>Ranadheer khyatam</name><uri>http://www.blogger.com/profile/15619027010367952049</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-7718833483200225416.post-250847396525690213</id><published>2016-03-14T02:56:00.000-07:00</published><updated>2016-03-29T04:45:20.894-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="angular datetime picker"/><category scheme="http://www.blogger.com/atom/ns#" term="change date format in angular datetime piker"/><category scheme="http://www.blogger.com/atom/ns#" term="date-time-input directive"/><category scheme="http://www.blogger.com/atom/ns#" term="format date in angular datetime piker"/><title type='text'>Change date format in angular datetime picker</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
This article explains &lt;b&gt;how to format the date in angularjs datetime piker&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;i style=&quot;background-color: #f3f3f3;&quot;&gt;Note: for better understanding of this article please ready my previous article on angular datetime picker&amp;nbsp;&lt;a href=&quot;http://www.coding-issues.com/2016/03/angularjs-datetime-picker.html&quot; target=&quot;_blank&quot;&gt;AngularJS DateTime Picker&lt;/a&gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
For formatting date in &lt;b&gt;angular datetime picker&lt;/b&gt;&amp;nbsp;we have to use the &lt;b&gt;angular-date-time-input&lt;/b&gt; directive.&lt;br /&gt;
&lt;br /&gt;
First, add the &lt;b&gt;dateTimeInput.js&lt;/b&gt; file in your project from the following url.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://github.com/dalelotts/angular-date-time-input/blob/master/src/dateTimeInput.js&quot;&gt;https://github.com/dalelotts/angular-date-time-input/blob/master/src/dateTimeInput.js&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Add &lt;b&gt;dateTimeInput&lt;/b&gt; module as a dependency to your application module.&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #f7f7f7; border-radius: 3px; box-sizing: border-box; color: #333333; font-family: Consolas, &#39;Liberation Mono&#39;, Menlo, Courier, monospace; font-size: 13.6px; font-stretch: normal; line-height: 1.45; overflow: auto; padding: 16px; word-break: normal; word-wrap: normal;&quot;&gt;var myModule = angular.module(&#39;MyApp&#39;, [&#39;ui.dateTimeInput&#39;])&lt;/pre&gt;
&lt;br /&gt;
Finally apply the &lt;b&gt;date-time-input&lt;/b&gt; directive in your form element where you are showing the date.&lt;br /&gt;
&lt;br /&gt;
&lt;!-- adsense --&gt;
&lt;pre style=&quot;background-color: #f7f7f7; border-radius: 3px; box-sizing: border-box; color: #333333; font-family: Consolas, &#39;Liberation Mono&#39;, Menlo, Courier, monospace; font-size: 13.6px; font-stretch: normal; line-height: 1.45; overflow: auto; padding: 16px; word-break: normal; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;box-sizing: border-box; color: #63a35c;&quot;&gt;input&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;box-sizing: border-box; color: #795da3;&quot;&gt;data-date-time-input&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;box-sizing: border-box; color: #183691;&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box;&quot;&gt;&quot;&lt;/span&gt;YYYY-MM-DD&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; /&amp;gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Segoe UI&#39;, Arial, freesans, sans-serif, &#39;Apple Color Emoji&#39;, &#39;Segoe UI Emoji&#39;, &#39;Segoe UI Symbol&#39;; font-size: 16px; line-height: 25.6px;&quot;&gt;The value of the &lt;b&gt;date-time-input attribute&lt;/b&gt; is the format the date values will be displayed.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Segoe UI&#39;, Arial, freesans, sans-serif, &#39;Apple Color Emoji&#39;, &#39;Segoe UI Emoji&#39;, &#39;Segoe UI Symbol&#39;; font-size: 16px; line-height: 25.6px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Segoe UI&#39;, Arial, freesans, sans-serif, &#39;Apple Color Emoji&#39;, &#39;Segoe UI Emoji&#39;, &#39;Segoe UI Symbol&#39;; font-size: 16px; line-height: 25.6px;&quot;&gt;This way we can &lt;b&gt;change the date format of angular datetime picker&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Segoe UI&#39;, Arial, freesans, sans-serif, &#39;Apple Color Emoji&#39;, &#39;Segoe UI Emoji&#39;, &#39;Segoe UI Symbol&#39;; font-size: 16px; line-height: 25.6px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Segoe UI&#39;, Arial, freesans, sans-serif, &#39;Apple Color Emoji&#39;, &#39;Segoe UI Emoji&#39;, &#39;Segoe UI Symbol&#39;; font-size: 16px; line-height: 25.6px;&quot;&gt;For more posts on AngularJS visit:&amp;nbsp;&lt;a href=&quot;http://www.coding-issues.com/search/label/angularJS&quot; target=&quot;_blank&quot;&gt;AngularJS&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.coding-issues.in/feeds/250847396525690213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.coding-issues.in/2016/03/change-date-format-in-angular-datetime-picker.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/250847396525690213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/250847396525690213'/><link rel='alternate' type='text/html' href='http://www.coding-issues.in/2016/03/change-date-format-in-angular-datetime-picker.html' title='Change date format in angular datetime picker'/><author><name>Ranadheer khyatam</name><uri>http://www.blogger.com/profile/15619027010367952049</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-7718833483200225416.post-2930221231912069048</id><published>2016-03-14T01:24:00.000-07:00</published><updated>2016-03-14T03:00:49.120-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="angular datetime picker"/><category scheme="http://www.blogger.com/atom/ns#" term="angularJS"/><category scheme="http://www.blogger.com/atom/ns#" term="bootstrap datetime"/><category scheme="http://www.blogger.com/atom/ns#" term="date picker"/><category scheme="http://www.blogger.com/atom/ns#" term="datetime piker"/><category scheme="http://www.blogger.com/atom/ns#" term="datetimepicker"/><title type='text'>AngularJS Datetime Picker</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Using &lt;b&gt;angular-date-time-input&lt;/b&gt; directive we can format the display of a date in an input box or allow users to enter a valid date with the keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Requirements:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;AngularJS 1.4.x or higher (1.0.x will not work)&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;moment.js 2.8.3 or higher for date parsing and formatting&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;bootstrap&#39;s glyphicons for arrows (Can be overridden in css)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;First add the &lt;b&gt;datetimepiker.js&lt;/b&gt; and&amp;nbsp;&lt;b&gt;datetimepicker.templates.js&lt;/b&gt;&amp;nbsp;javascript files (from&amp;nbsp;&lt;a href=&quot;https://github.com/dalelotts/angular-bootstrap-datetimepicker/tree/master/src/js&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;angular-bootstrap-datetimepicker source files&lt;/a&gt;) in your project.&amp;nbsp;&lt;/li&gt;
&lt;br /&gt;
&lt;div&gt;
Then add the &lt;b&gt;&#39;ui.bootstrap.datetimepicker&#39;&lt;/b&gt;&amp;nbsp;module as a dependency to your application module:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre style=&quot;background-color: #f7f7f7; border-radius: 3px; box-sizing: border-box; color: #333333; font-family: Consolas, &#39;Liberation Mono&#39;, Menlo, Courier, monospace; font-size: 13.6px; font-stretch: normal; line-height: 1.45; overflow: auto; padding: 16px; word-break: normal; word-wrap: normal;&quot;&gt;var myAppModule = angular.module(&#39;MyApp&#39;, [&#39;ui.bootstrap.datetimepicker&#39;])&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Now you can use the datetimepicker directive in your html page as below.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre style=&quot;background-color: #f7f7f7; border-radius: 3px; box-sizing: border-box; color: #333333; font-family: Consolas, &#39;Liberation Mono&#39;, Menlo, Courier, monospace; font-size: 13.6px; font-stretch: normal; line-height: 1.45; overflow: auto; padding: 16px; word-break: normal; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;box-sizing: border-box; color: #63a35c;&quot;&gt;datetimepicker&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;box-sizing: border-box; color: #795da3;&quot;&gt;data-ng-model&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;box-sizing: border-box; color: #183691;&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box;&quot;&gt;&quot;model&lt;/span&gt;.date&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;box-sizing: border-box; color: #63a35c;&quot;&gt;datetimepicker&lt;/span&gt;&amp;gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Above code renders the following datetime picker in the browser.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&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/AVvXsEgGPhuSTrZNYoDf7F0NeTwP-TY74qjvkNlo3649AyrpBP-SDVbdiCW1FZ0e0kPtrlJswUWTVq_Py7WZ4xnX6uZIVRUD1vNabk-7gEO3CRCfjNc-xP6FCu3FBVLXoS64BGD_k-o3cb1r9SY/s1600/angular+datetime+picker.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;235&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGPhuSTrZNYoDf7F0NeTwP-TY74qjvkNlo3649AyrpBP-SDVbdiCW1FZ0e0kPtrlJswUWTVq_Py7WZ4xnX6uZIVRUD1vNabk-7gEO3CRCfjNc-xP6FCu3FBVLXoS64BGD_k-o3cb1r9SY/s320/angular+datetime+picker.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;/h3&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Show Angular datetime picker when textbox clicked&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
This section explains how to show a &lt;b&gt;datetime picker when user clicked on a textbox&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
First add the following textbox.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: whitesmoke; color: #333333; font-family: &amp;quot;menlo&amp;quot; , &amp;quot;monaco&amp;quot; , &amp;quot;consolas&amp;quot; , &amp;quot;courier new&amp;quot; , monospace; font-size: 13px; line-height: 18.5714px; white-space: pre-wrap;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;kw2&quot; style=&quot;background-color: whitesmoke; box-sizing: border-box; color: #333333; font-family: &amp;quot;menlo&amp;quot; , &amp;quot;monaco&amp;quot; , &amp;quot;consolas&amp;quot; , &amp;quot;courier new&amp;quot; , monospace; font-size: 13px; line-height: 18.5714px; white-space: pre-wrap;&quot;&gt;input&lt;/span&gt;&lt;span style=&quot;background-color: whitesmoke; color: #333333; font-family: &amp;quot;menlo&amp;quot; , &amp;quot;monaco&amp;quot; , &amp;quot;consolas&amp;quot; , &amp;quot;courier new&amp;quot; , monospace; font-size: 13px; line-height: 18.5714px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kw3&quot; style=&quot;background-color: whitesmoke; box-sizing: border-box; color: #333333; font-family: &amp;quot;menlo&amp;quot; , &amp;quot;monaco&amp;quot; , &amp;quot;consolas&amp;quot; , &amp;quot;courier new&amp;quot; , monospace; font-size: 13px; line-height: 18.5714px; white-space: pre-wrap;&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: whitesmoke; box-sizing: border-box; color: #333333; font-family: &amp;quot;menlo&amp;quot; , &amp;quot;monaco&amp;quot; , &amp;quot;consolas&amp;quot; , &amp;quot;courier new&amp;quot; , monospace; font-size: 13px; line-height: 18.5714px; white-space: pre-wrap;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot; style=&quot;background-color: whitesmoke; box-sizing: border-box; color: #333333; font-family: &amp;quot;menlo&amp;quot; , &amp;quot;monaco&amp;quot; , &amp;quot;consolas&amp;quot; , &amp;quot;courier new&amp;quot; , monospace; font-size: 13px; line-height: 18.5714px; white-space: pre-wrap;&quot;&gt;&quot;text&quot;&lt;/span&gt;&lt;span style=&quot;background-color: whitesmoke; color: #333333; font-family: &amp;quot;menlo&amp;quot; , &amp;quot;monaco&amp;quot; , &amp;quot;consolas&amp;quot; , &amp;quot;courier new&amp;quot; , monospace; font-size: 13px; line-height: 18.5714px; white-space: pre-wrap;&quot;&gt; data-ng-model&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: whitesmoke; box-sizing: border-box; color: #333333; font-family: &amp;quot;menlo&amp;quot; , &amp;quot;monaco&amp;quot; , &amp;quot;consolas&amp;quot; , &amp;quot;courier new&amp;quot; , monospace; font-size: 13px; line-height: 18.5714px; white-space: pre-wrap;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot; style=&quot;background-color: whitesmoke; box-sizing: border-box; color: #333333; font-family: &amp;quot;menlo&amp;quot; , &amp;quot;monaco&amp;quot; , &amp;quot;consolas&amp;quot; , &amp;quot;courier new&amp;quot; , monospace; font-size: 13px; line-height: 18.5714px; white-space: pre-wrap;&quot;&gt;&quot;model.date&quot; id=&quot;dropdown1&quot; data-toggle=&quot;dropdown&quot;&lt;/span&gt;&lt;span style=&quot;background-color: whitesmoke; color: #333333; font-family: &amp;quot;menlo&amp;quot; , &amp;quot;monaco&amp;quot; , &amp;quot;consolas&amp;quot; , &amp;quot;courier new&amp;quot; , monospace; font-size: 13px; line-height: 18.5714px; white-space: pre-wrap;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Now, add the following &amp;lt;ul&amp;gt; element which has datetime picker inside it.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
&amp;lt;ul class=&quot;dropdown-menu&quot; role=&quot;menu&quot; aria-labelledby=&quot;dLabel&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;datetimepicker data-ng-model=&quot;data.dateDropDownInput&quot; data-datetimepicker-config=&quot;{ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dropdownSelector: &#39;#dropdown2&#39; }&quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
In the above&amp;nbsp;&lt;b&gt;datetimepicker &lt;/b&gt;directive we added&amp;nbsp;&lt;span style=&quot;background-color: whitesmoke; color: #333333; font-family: &amp;quot;menlo&amp;quot; , &amp;quot;monaco&amp;quot; , &amp;quot;consolas&amp;quot; , &amp;quot;courier new&amp;quot; , monospace; font-size: 13px; line-height: 18.5714px; white-space: pre-wrap;&quot;&gt;data-datetimepicker-config&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: whitesmoke; box-sizing: border-box; color: #333333; font-family: &amp;quot;menlo&amp;quot; , &amp;quot;monaco&amp;quot; , &amp;quot;consolas&amp;quot; , &amp;quot;courier new&amp;quot; , monospace; font-size: 13px; line-height: 18.5714px; white-space: pre-wrap;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot; style=&quot;background-color: whitesmoke; box-sizing: border-box; color: #333333; font-family: &amp;quot;menlo&amp;quot; , &amp;quot;monaco&amp;quot; , &amp;quot;consolas&amp;quot; , &amp;quot;courier new&amp;quot; , monospace; font-size: 13px; line-height: 18.5714px; white-space: pre-wrap;&quot;&gt;&quot;{ dropdownSelector: &#39;#dropdown1&#39; }&quot;&lt;/span&gt;&amp;nbsp;attribute. &lt;b&gt;dropdownSelector&lt;/b&gt; should match the &lt;b&gt;id&lt;/b&gt; of the &lt;b&gt;textbox&lt;/b&gt; element.&lt;br /&gt;
&lt;br /&gt;
Now when we click on the textbox, datetimepicker will be visible. Once you select the date and time that value will be visible in that textbox.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
This way we can implement angular datetime picker to select the date and time. Please do comment for any suggestions/queries.&lt;br /&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
To change the date format of angular datetime picker read : &lt;a href=&quot;http://www.coding-issues.com/2016/03/change-date-format-in-angular-datetime-picker.html&quot; target=&quot;_blank&quot;&gt;Change date format in angular datetime picker &lt;/a&gt;&amp;nbsp;&lt;/h4&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
For more posts on AngularJS please visit :&amp;nbsp;&lt;a href=&quot;http://www.coding-issues.com/search/label/angularJS&quot; target=&quot;_blank&quot;&gt;AngularJS&lt;/a&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.coding-issues.in/feeds/2930221231912069048/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.coding-issues.in/2016/03/angularjs-datetime-picker.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/2930221231912069048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/2930221231912069048'/><link rel='alternate' type='text/html' href='http://www.coding-issues.in/2016/03/angularjs-datetime-picker.html' title='AngularJS Datetime Picker'/><author><name>Ranadheer khyatam</name><uri>http://www.blogger.com/profile/15619027010367952049</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/AVvXsEgGPhuSTrZNYoDf7F0NeTwP-TY74qjvkNlo3649AyrpBP-SDVbdiCW1FZ0e0kPtrlJswUWTVq_Py7WZ4xnX6uZIVRUD1vNabk-7gEO3CRCfjNc-xP6FCu3FBVLXoS64BGD_k-o3cb1r9SY/s72-c/angular+datetime+picker.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7718833483200225416.post-702412902389946815</id><published>2015-11-17T11:44:00.001-08:00</published><updated>2015-11-17T11:44:59.710-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="boolean"/><category scheme="http://www.blogger.com/atom/ns#" term="convert string to boolean in javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="string"/><category scheme="http://www.blogger.com/atom/ns#" term="string to boolean"/><title type='text'>Convert string to boolean in javascript</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In this article i am going to explain how to &lt;b&gt;Convert string to&amp;nbsp;Boolean&amp;nbsp;in&amp;nbsp;JavaScript&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
There is no &lt;b&gt;built-in function&lt;/b&gt; in &lt;b&gt;JavaScript&lt;/b&gt;&amp;nbsp;to &lt;b&gt;Convert a string to Boolean&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
Be careful when using following method in &lt;b&gt;JavaScript&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
var boolValue = Boolean(&quot;true&quot;);&lt;/div&gt;
&lt;br /&gt;
The above &lt;b&gt;Boolean() &lt;/b&gt;method, any string which is not empty will be evaluated to &lt;b&gt;&lt;i&gt;true.&lt;/i&gt;&lt;/b&gt; &lt;br /&gt;
&lt;br /&gt;
All the following statements return &lt;b&gt;true &lt;/b&gt;using &lt;b&gt;Boolean()&lt;/b&gt; function in &lt;b&gt;JavaScript&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
var boolValue = Boolean(&#39;true&#39;); &amp;nbsp; // true&lt;br /&gt;
var boolValue = Boolean(&#39;false&#39;); &amp;nbsp;//true&lt;br /&gt;
var boolValue = Boolean(&#39;someOtherString&#39;); &amp;nbsp;//true&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
So, only easy and trusted way to Convert a string to Boolean in JavaScript is by checking string value manually.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Example:&lt;/b&gt;&lt;br /&gt;
&lt;!-- adsense --&gt;

&lt;div class=&quot;code&quot;&gt;
var&lt;b&gt; &lt;/b&gt;myString = &#39;true&#39;;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
var boolValue = (myString == &#39;true&#39;);&lt;br /&gt;
&lt;b&gt;&lt;/b&gt;
&lt;/div&gt;
&lt;br /&gt;
Above statement returns true if &lt;b&gt;myString&lt;/b&gt; value is equal to &lt;b&gt;&#39;true&#39;, &lt;/b&gt;other wise it returns false.&lt;b&gt; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;For live example visit the following JSFiddle :&amp;nbsp;&lt;a href=&quot;http://jsfiddle.net/ranadheerrannu/tbajn8vf/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Convert string to boolean in javascript&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
In this way we can &lt;b&gt;Convert a string to Boolean in JavaScript&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
please leave comment for any queries or suggestions.&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
For more posts on JavaScript visit:&amp;nbsp;&lt;a href=&quot;http://www.coding-issues.com/labels/search/javascript&quot; target=&quot;_blank&quot;&gt;JavaScript&lt;/a&gt;&lt;/h3&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.coding-issues.in/feeds/702412902389946815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.coding-issues.in/2015/11/convert-string-to-boolean-in-javascript.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/702412902389946815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/702412902389946815'/><link rel='alternate' type='text/html' href='http://www.coding-issues.in/2015/11/convert-string-to-boolean-in-javascript.html' title='Convert string to boolean in javascript'/><author><name>Ranadheer khyatam</name><uri>http://www.blogger.com/profile/15619027010367952049</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-7718833483200225416.post-2906924389586761728</id><published>2015-11-09T06:31:00.001-08:00</published><updated>2015-11-09T06:32:43.461-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="file upload"/><category scheme="http://www.blogger.com/atom/ns#" term="file upload with jquery and ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="jquery"/><category scheme="http://www.blogger.com/atom/ns#" term="upload file"/><category scheme="http://www.blogger.com/atom/ns#" term="upload file using jquery"/><title type='text'>Upload file asynchronously using JQuery </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In this post i am going to show you &lt;b&gt;how to upload a file asynchronously using JQuery&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
Using &lt;b&gt;HTML5 &lt;/b&gt;we can &lt;b&gt;upload files with Ajax and JQuery&lt;/b&gt;. We can also do file validations like name, checking size and file type. We can also handle the &lt;b&gt;progress&lt;/b&gt; event. All the above things without using any external plugins.&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
How to upload a file :&amp;nbsp;&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Assume you have following html.&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot; style=&quot;-webkit-user-select: auto !important; background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, sans-serif; font-size: 13px; margin-bottom: 1em; max-height: 600px; overflow: auto; padding: 5px; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, sans-serif; margin: 0px; padding: 0px; white-space: inherit;&quot;&gt;&lt;span class=&quot;tag&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: maroon; margin: 0px; padding: 0px;&quot;&gt;&amp;lt;form&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: red; margin: 0px; padding: 0px;&quot;&gt;enctype&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: blue; margin: 0px; padding: 0px;&quot;&gt;&quot;multipart/form-data&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: maroon; margin: 0px; padding: 0px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: maroon; margin: 0px; padding: 0px;&quot;&gt;&amp;lt;input&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: red; margin: 0px; padding: 0px;&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: blue; margin: 0px; padding: 0px;&quot;&gt;&quot;file_name&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: red; margin: 0px; padding: 0px;&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: blue; margin: 0px; padding: 0px;&quot;&gt;&quot;file&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: maroon; margin: 0px; padding: 0px;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: maroon; margin: 0px; padding: 0px;&quot;&gt;&amp;lt;input&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;id&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: blue; margin: 0px; padding: 0px;&quot;&gt;&quot;btnUpload&quot;&amp;nbsp;&lt;/span&gt;&lt;/code&gt;&lt;span class=&quot;atn&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: red; margin: 0px; padding: 0px; white-space: inherit;&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: black; margin: 0px; padding: 0px; white-space: inherit;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: blue; margin: 0px; padding: 0px; white-space: inherit;&quot;&gt;&quot;button&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: black; margin: 0px; padding: 0px; white-space: inherit;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: red; margin: 0px; padding: 0px; white-space: inherit;&quot;&gt;value&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: black; margin: 0px; padding: 0px; white-space: inherit;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: blue; margin: 0px; padding: 0px; white-space: inherit;&quot;&gt;&quot;Upload_File&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: black; margin: 0px; padding: 0px; white-space: inherit;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;-webkit-user-select: auto !important; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; color: maroon; margin: 0px; padding: 0px; white-space: inherit;&quot;&gt;/&amp;gt;
&lt;/span&gt;&lt;span style=&quot;color: maroon; white-space: inherit;&quot;&gt;&amp;lt;/form&amp;gt;
&lt;/span&gt;&lt;span style=&quot;color: maroon; white-space: inherit;&quot;&gt;&amp;lt;progress&amp;gt;&amp;lt;/progress&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
In the above html we have a form in which we have a &lt;b&gt;file upload control&lt;/b&gt; and a &lt;b&gt;button&lt;/b&gt; to upload the file. We also have a &lt;b&gt;progress&lt;/b&gt; tag using which we can track the file upload status.&lt;br /&gt;
&lt;br /&gt;
To do the &lt;b&gt;validation&lt;/b&gt; we have to use the&amp;nbsp;&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;&lt;b&gt;onChange&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;&amp;nbsp;event of the fine control.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;Validation for file upload :&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot; style=&quot;-webkit-user-select: auto !important; background-color: #eeeeee; border: 0px; color: #393318; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, sans-serif; font-size: 13px; margin-bottom: 1em; max-height: 600px; overflow: auto; padding: 5px; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;-webkit-user-select: auto !important; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, sans-serif; margin: 0px; padding: 0px; white-space: inherit;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: maroon; margin: 0px; padding: 0px;&quot;&gt;&#39;:file&#39;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;change&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: darkblue; margin: 0px; padding: 0px;&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;(){&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: darkblue; margin: 0px; padding: 0px;&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; file &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: darkblue; margin: 0px; padding: 0px;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;files&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: maroon; margin: 0px; padding: 0px;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;];&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: darkblue; margin: 0px; padding: 0px;&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; fileName &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; file&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: darkblue; margin: 0px; padding: 0px;&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; fileSize &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; file&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;size&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: darkblue; margin: 0px; padding: 0px;&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; fileType &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; file&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: grey; margin: 0px; padding: 0px;&quot;&gt;//Add validation code here&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;});&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;In the above code we got the uploaded file&#39;s name, size and type. Validation can be done using these properties.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;JQuery code to upload the file :&lt;/span&gt;&lt;/h3&gt;
&lt;!-- adsense --&gt;
&lt;div&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot; style=&quot;-webkit-user-select: auto !important; background-color: #eeeeee; border: 0px; color: #393318; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, sans-serif; font-size: 13px; margin-bottom: 1em; max-height: 600px; overflow: auto; padding: 5px; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;-webkit-user-select: auto !important; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, sans-serif; margin: 0px; padding: 0px; white-space: inherit;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: maroon; margin: 0px; padding: 0px;&quot;&gt;&#39;#btnUpload&#39;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;click&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: darkblue; margin: 0px; padding: 0px;&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;(){&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: darkblue; margin: 0px; padding: 0px;&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; formData &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: darkblue; margin: 0px; padding: 0px;&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: #2b91af; margin: 0px; padding: 0px;&quot;&gt;FormData&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: maroon; margin: 0px; padding: 0px;&quot;&gt;&#39;form&#39;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;)[&lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: maroon; margin: 0px; padding: 0px;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;]);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
    $&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;ajax&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;({&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
        url&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: maroon; margin: 0px; padding: 0px;&quot;&gt;&#39;url for processing file&#39;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
        type&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: maroon; margin: 0px; padding: 0px;&quot;&gt;&#39;POST&#39;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
        xhr&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: darkblue; margin: 0px; padding: 0px;&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: grey; margin: 0px; padding: 0px;&quot;&gt;// Custom XMLHttpRequest&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: darkblue; margin: 0px; padding: 0px;&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; myXhr &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; $&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;ajaxSettings&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;xhr&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: darkblue; margin: 0px; padding: 0px;&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;myXhr&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;upload&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;){&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: grey; margin: 0px; padding: 0px;&quot;&gt;// Check if upload property exists&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
                myXhr&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;upload&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;addEventListener&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: maroon; margin: 0px; padding: 0px;&quot;&gt;&#39;progress&#39;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;progressHandlingFunction&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: darkblue; margin: 0px; padding: 0px;&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; 
&lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: grey; margin: 0px; padding: 0px;&quot;&gt;                // For handling the progress of the upload&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: darkblue; margin: 0px; padding: 0px;&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; myXhr&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;},&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: grey; margin: 0px; padding: 0px;&quot;&gt;//Ajax events&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
        beforeSend&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; beforeSendHandler&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
        success&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; completeHandler&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
        error&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; errorHandler&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: grey; margin: 0px; padding: 0px;&quot;&gt;// Form data&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
        data&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; formData&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: grey; margin: 0px; padding: 0px;&quot;&gt;//Options to tell jQuery not to process data or worry about content-type.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
        cache&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: darkblue; margin: 0px; padding: 0px;&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
        contentType&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: darkblue; margin: 0px; padding: 0px;&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
        processData&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: darkblue; margin: 0px; padding: 0px;&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;});&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;});&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;Now lets implement the &lt;b&gt;file upload progress&lt;/b&gt; handling function&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot; style=&quot;-webkit-user-select: auto !important; background-color: #eeeeee; border: 0px; color: #393318; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, sans-serif; font-size: 13px; margin-bottom: 1em; max-height: 600px; overflow: auto; padding: 5px; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;-webkit-user-select: auto !important; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, sans-serif; margin: 0px; padding: 0px; white-space: inherit;&quot;&gt;&lt;span class=&quot;kwd&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: darkblue; margin: 0px; padding: 0px;&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt; progressHandlingFunction&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;){&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: darkblue; margin: 0px; padding: 0px;&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;lengthComputable&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;){&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
        $&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: maroon; margin: 0px; padding: 0px;&quot;&gt;&#39;progress&#39;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;attr&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;({&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;value&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;loaded&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;max&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;total&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;});&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;Above code updates the progress tag with the percentage of file uploaded.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
In this way we can &lt;b&gt;upload files using JQuery and Ajax.&lt;/b&gt;&lt;/h4&gt;
&lt;br /&gt;
For any doubts/suggestions please comment in comments section below.&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
For more posts on JQuery visit: &lt;a href=&quot;http://www.coding-issues.com/search/label/jquery&quot; target=&quot;_blank&quot;&gt;JQuery&lt;/a&gt;&amp;nbsp;&lt;/h3&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.coding-issues.in/feeds/2906924389586761728/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.coding-issues.in/2015/11/upload-file-asynchronously-using-jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/2906924389586761728'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/2906924389586761728'/><link rel='alternate' type='text/html' href='http://www.coding-issues.in/2015/11/upload-file-asynchronously-using-jquery.html' title='Upload file asynchronously using JQuery '/><author><name>Ranadheer khyatam</name><uri>http://www.blogger.com/profile/15619027010367952049</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-7718833483200225416.post-698834351645265825</id><published>2015-11-02T10:34:00.000-08:00</published><updated>2015-11-02T10:36:25.827-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bedug"/><category scheme="http://www.blogger.com/atom/ns#" term="c#"/><category scheme="http://www.blogger.com/atom/ns#" term="check debug and release mode"/><category scheme="http://www.blogger.com/atom/ns#" term="debug mode"/><category scheme="http://www.blogger.com/atom/ns#" term="release"/><category scheme="http://www.blogger.com/atom/ns#" term="release mode"/><title type='text'>Check Debug and Release mode in c#</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In this article i am going to explain &lt;b&gt;how to&amp;nbsp;programatically&amp;nbsp;check Debug or Release mode in C#.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;By default, &lt;b&gt;Visual Studio&lt;/b&gt; defines &lt;b&gt;DEBUG&lt;/b&gt; if project is compiled in &lt;b&gt;Debug mode&lt;/b&gt; and doesn&#39;t define it if it&#39;s in &lt;b&gt;Release mode.&lt;/b&gt; So, if you want to add different code for &lt;b&gt;Debug and Release modes&lt;/b&gt;, use the following code&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;!-- adsense --&gt;
&lt;pre class=&quot;lang-cs prettyprint prettyprinted&quot; style=&quot;-webkit-user-select: auto !important; background-color: #eeeeee; border: 0px; color: #393318; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, sans-serif; font-size: 13px; margin-bottom: 1em; max-height: 600px; overflow: auto; padding: 5px; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;-webkit-user-select: auto !important; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, sans-serif; margin: 0px; padding: 0px; white-space: inherit;&quot;&gt;&lt;span class=&quot;com&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: grey; margin: 0px; padding: 0px;&quot;&gt;#if DEBUG&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: grey; margin: 0px; padding: 0px;&quot;&gt;// add debug mode code goes here&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: grey; margin: 0px; padding: 0px;&quot;&gt;#else&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: grey; margin: 0px; padding: 0px;&quot;&gt;// add release mode code goes here&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: grey; margin: 0px; padding: 0px;&quot;&gt;#endif&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;If you only want to check for release mode, then use the following code&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;pre class=&quot;lang-cs prettyprint prettyprinted&quot; style=&quot;-webkit-user-select: auto !important; background-color: #eeeeee; border: 0px; color: #393318; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, sans-serif; font-size: 13px; margin-bottom: 1em; max-height: 600px; overflow: auto; padding: 5px; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;-webkit-user-select: auto !important; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, sans-serif; margin: 0px; padding: 0px; white-space: inherit;&quot;&gt;&lt;span class=&quot;com&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: grey; margin: 0px; padding: 0px;&quot;&gt;#if !DEBUG&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: grey; margin: 0px; padding: 0px;&quot;&gt;// add debug mode code here...&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: black; margin: 0px; padding: 0px;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;-webkit-user-select: auto !important; border: 0px; color: grey; margin: 0px; padding: 0px;&quot;&gt;#endif&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
In this way, we can &lt;b&gt;check for Debug and Release modes programatically in c#&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;font-size:18px;&quot;&gt;
For more posts on c# visit &amp;nbsp;&lt;a href=&quot;http://www.coding-issues.com/search/label/c%23&quot; target=&quot;_blank&quot;&gt;C-Sharp&lt;/a&gt;&lt;/h2&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.coding-issues.in/feeds/698834351645265825/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.coding-issues.in/2015/11/check-debug-and-release-mode-in-csharp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/698834351645265825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718833483200225416/posts/default/698834351645265825'/><link rel='alternate' type='text/html' href='http://www.coding-issues.in/2015/11/check-debug-and-release-mode-in-csharp.html' title='Check Debug and Release mode in c#'/><author><name>Ranadheer khyatam</name><uri>http://www.blogger.com/profile/15619027010367952049</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>