<?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-7393014549534116</id><updated>2024-09-15T18:25:53.860-07:00</updated><category term="DOTNET"/><category term="asp.net 3.5 mvc"/><category term="MVC"/><category term="c#"/><category term="Sql"/><category term="sharepoint2013"/><category term="JQuery"/><category term="Windows phone"/><category term="linq"/><category term="sharepoint"/><category term="Metro Apps"/><category term="html"/><category term=".Net  interview Questions"/><category term="asp.net"/><category term="deploy"/><category term="javascript"/><category term="sharepoint2010"/><category term="Networking"/><category term="Windows"/><category term="Visual Studio"/><category term="Windows Azure"/><category term="css"/><category term="Java"/><category term="Shortcuts"/><category term="Visual Studio 2012"/><category term="sharepoint designer"/><category term="Client Side Export"/><category term="Custmisation in sharepoint"/><category term="Excel export"/><category term="VS 2012"/><category term="commands"/><category term="Avoid mistakes in Hr Round"/><category term="CTS Update"/><category term="Expand Forms"/><category term="Json"/><category term="Outlook"/><category term="Tips for beep codes"/><category term="Unix"/><category term="cloud computing"/><category term="iis"/><category term="os"/><category term="software engineer"/><category term="vpn"/><category term="windo"/><category term="workflows"/><title type='text'>Sharepoint 2013 Apps, Azure, .Net, Windows Apps, Mvc, JQuery, JS, Html-Css Simple Solutions</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://firstinterviewquestions.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://firstinterviewquestions.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>First interview questions</name><uri>http://www.blogger.com/profile/08571981480387865622</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>161</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7393014549534116.post-2169683398861973220</id><published>2016-10-09T17:38:00.000-07:00</published><updated>2016-10-09T17:38:12.059-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Custmisation in sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint designer"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint2010"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint2013"/><title type='text'>Understanding Task Actions in SharePoint Designer 2013</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
A task in SharePoint Server 2013 is used to assign work to a person or group and then track the progress of that work over time. There are two workflow actions in SharePoint Designer 2013 designed for working with tasks.&lt;br /&gt;
These actions are:&lt;br /&gt;
Assign a task is used to create a SharePoint 2013 task and assign it to a single participant.&lt;br /&gt;
Start a task process is used to assign a task to multiple participants.&lt;br /&gt;
The Task Actions are accessed in the Action drop-down menu of the SharePoint Designer 2013 ribbon, as shown in the figure.&lt;br /&gt;
Figure: Task Actions in SharePoint Designer 2013&lt;br /&gt;
&lt;br /&gt;
&lt;img alt=&quot;Task Actions are available from the Action drop-down menu of the SharePoint Designer 2013 Preview ribbon&quot; src=&quot;https://i-msdn.sec.s-msft.com/dynimg/IC616053.png&quot; /&gt;&lt;br /&gt;
Using Task Actions in SharePoint 2013&lt;br /&gt;
A business process often consists of tasks that must be performed by people. A workflow orchestrates the steps of a process. A workflow uses Task Actions to assign tasks to people. For example, when a new employee is hired a number of tasks need to be performed. One such task might be a new employee orientation. The task might need to be performed by a member of the Human Resources department.&lt;br /&gt;
The Assign a task and Start a task process actions are located on the Actions drop-down menu in the SharePoint Designer 2013 ribbon. You can add the actions to your workflow and then customize them for your particular circumstance. The Assign a task action is used to assign a task to a single participant. The Start a task process action is used to assign a task to multiple participants.&lt;br /&gt;
Assign a task&lt;br /&gt;
The Assign a task action is shown in the figure.&lt;br /&gt;
Figure: The Assign a task action in SharePoint Designer 2013&lt;br /&gt;
&lt;img alt=&quot;&amp;quot;Assign a task&amp;quot; action in SharePoint Designer 2013.&quot; src=&quot;https://i-msdn.sec.s-msft.com/dynimg/IC616054.png&quot; /&gt;&lt;br /&gt;
The Assign a task action takes three inputs: the user to assign a task, the outcome variable, and the task id variable.&lt;br /&gt;
this user: Opens the Assign a Task dialog as shown in the figure. Use the dialog to set the participant, task title, description, due date, task options, email options, and outcome options.&lt;br /&gt;
Variable: Outcome: Assigns the variable that will hold the outcome of the task.&lt;br /&gt;
Variable: TaskID: Assigns the variable that will hold the id of the task.&lt;br /&gt;
Figure: The Assign a Task dialog box&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;img alt=&quot;Use the &amp;quot;Assign a task&amp;quot; dialog box to set the participant, task title, description, due date, task options, email options, and outcome options.&quot; src=&quot;https://i-msdn.sec.s-msft.com/dynimg/IC616055.png&quot; /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
Start a task process&lt;/div&gt;
&lt;div&gt;
The Start a task process action is shown in the figure.&lt;/div&gt;
&lt;div&gt;
Figure: The &quot;Start a task process&quot; action.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;img alt=&quot;The &amp;quot;Start a task process&amp;quot; action takes two inputs: &amp;quot;users&amp;quot; and an &amp;quot;outcome&amp;quot; variable&quot; src=&quot;https://i-msdn.sec.s-msft.com/dynimg/IC616056.png&quot; /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
The Start a task process action takes two inputs: the users that will participate in the task and the outcome variable.&lt;/div&gt;
&lt;div&gt;
these users: Opens the Start a Task Process dialog box as shown in the figure. Use the dialog box to set the participants, task title, description, due date, task options, email options, and outcome options.&lt;/div&gt;
&lt;div&gt;
Variable: Outcome: Assigns the variable that holds the outcome of the task process.&lt;/div&gt;
&lt;div&gt;
Figure: The Start a Task Process dialog box&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;img alt=&quot;Use the &amp;quot;Start a Task Process&amp;quot; dialog box to set the participants, task title, description, due date, task options, email options, and outcome options.&quot; src=&quot;https://i-msdn.sec.s-msft.com/dynimg/IC616057.png&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://firstinterviewquestions.blogspot.com/feeds/2169683398861973220/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://firstinterviewquestions.blogspot.com/2016/10/understanding-task-actions-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/2169683398861973220'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/2169683398861973220'/><link rel='alternate' type='text/html' href='http://firstinterviewquestions.blogspot.com/2016/10/understanding-task-actions-in.html' title='Understanding Task Actions in SharePoint Designer 2013'/><author><name>First interview questions</name><uri>http://www.blogger.com/profile/08571981480387865622</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-7393014549534116.post-6328768018090528656</id><published>2016-10-08T17:33:00.000-07:00</published><updated>2016-10-08T17:33:14.262-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Custmisation in sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint designer"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint2010"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint2013"/><title type='text'>SharePoint 2013 Workflow: ‘Start a Task Process’ vs. ‘Assign a Task’ and Retrieving Comments from a Task List Item</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #555555; font-family: Lato, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 18px; line-height: 1.7; margin-bottom: 1.1em; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
While working on a SharePoint Designer 2013 (SPD2013) workflow for a document library, I ran into a particular scenario where I needed to get the value from a workflow task list item and include this value in the next assigned task. The specific scenario is noted below:&lt;br /&gt;
&lt;br /&gt;
An approval task gets assigned to ‘Approver A’&lt;br /&gt;
If ‘Approver A’ approves, the workflow continues&lt;br /&gt;
If ‘Approver A’ rejects, the approver enters a reason for rejection in a ‘Comments’ column.&lt;br /&gt;
On rejection, ‘User A’ gets a task to review and complete the task once ready to resubmit for approval.&lt;br /&gt;
The requirement: ‘User A’ needs to be able to quickly see why their item (i.e. document) was rejected – ‘User A’ should be able to see the rejection reason as part of their ‘review’ task description.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;table style=&quot;background-color: white; border-collapse: collapse; border-spacing: 0px; border: 0px; box-sizing: border-box; color: #555555; font-family: Lato, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.6rem; margin: 0px 0px 1.1em; outline: 0px; padding: 0px; vertical-align: baseline; width: 662px;&quot;&gt;&lt;tbody style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-size: 16px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;tr style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;td style=&quot;background: rgb(249, 249, 249); border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: border-box; font-family: inherit; font-style: inherit; line-height: 1.2; margin: 0px; outline: 0px; overflow: visible; padding: 13.2344px; vertical-align: baseline;&quot; width=&quot;156&quot;&gt;Action&lt;/td&gt;&lt;td style=&quot;background: rgb(249, 249, 249); border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: border-box; font-family: inherit; font-style: inherit; line-height: 1.2; margin: 0px; outline: 0px; overflow: visible; padding: 13.2344px; vertical-align: baseline;&quot; width=&quot;156&quot;&gt;Multiple Assignees&lt;/td&gt;&lt;td style=&quot;background: rgb(249, 249, 249); border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: border-box; font-family: inherit; font-style: inherit; line-height: 1.2; margin: 0px; outline: 0px; overflow: visible; padding: 13.2344px; vertical-align: baseline;&quot; width=&quot;156&quot;&gt;Single Assignee&lt;/td&gt;&lt;td style=&quot;background: rgb(249, 249, 249); border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: border-box; font-family: inherit; font-style: inherit; line-height: 1.2; margin: 0px; outline: 0px; overflow: visible; padding: 13.2344px; vertical-align: baseline;&quot; width=&quot;156&quot;&gt;Returns Values&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;td style=&quot;border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: border-box; font-family: inherit; font-style: inherit; line-height: 1.2; margin: 0px; outline: 0px; overflow: visible; padding: 13.2344px; vertical-align: baseline;&quot; width=&quot;156&quot;&gt;Start a Task Process&lt;/td&gt;&lt;td style=&quot;border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: border-box; font-family: inherit; font-style: inherit; line-height: 1.2; margin: 0px; outline: 0px; overflow: visible; padding: 13.2344px; vertical-align: baseline;&quot; width=&quot;156&quot;&gt;YES&lt;/td&gt;&lt;td style=&quot;border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: border-box; font-family: inherit; font-style: inherit; line-height: 1.2; margin: 0px; outline: 0px; overflow: visible; padding: 13.2344px; vertical-align: baseline;&quot; width=&quot;156&quot;&gt;YES&lt;/td&gt;&lt;td style=&quot;border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: border-box; font-family: inherit; font-style: inherit; line-height: 1.2; margin: 0px; outline: 0px; overflow: visible; padding: 13.2344px; vertical-align: baseline;&quot; width=&quot;156&quot;&gt;Task Outcome&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;td style=&quot;background: rgb(249, 249, 249); border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: border-box; font-family: inherit; font-style: inherit; line-height: 1.2; margin: 0px; outline: 0px; overflow: visible; padding: 13.2344px; vertical-align: baseline;&quot; width=&quot;156&quot;&gt;Assign a Task&lt;/td&gt;&lt;td style=&quot;background: rgb(249, 249, 249); border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: border-box; font-family: inherit; font-style: inherit; line-height: 1.2; margin: 0px; outline: 0px; overflow: visible; padding: 13.2344px; vertical-align: baseline;&quot; width=&quot;156&quot;&gt;NO&lt;/td&gt;&lt;td style=&quot;background: rgb(249, 249, 249); border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: border-box; font-family: inherit; font-style: inherit; line-height: 1.2; margin: 0px; outline: 0px; overflow: visible; padding: 13.2344px; vertical-align: baseline;&quot; width=&quot;156&quot;&gt;YES&lt;/td&gt;&lt;td style=&quot;background: rgb(249, 249, 249); border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: border-box; font-family: inherit; font-style: inherit; line-height: 1.2; margin: 0px; outline: 0px; overflow: visible; padding: 13.2344px; vertical-align: baseline;&quot; width=&quot;156&quot;&gt;Task Outcome&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;Task ID&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; line-height: 1.7; margin-bottom: 1.1em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
In SharePoint Designer you can directly access the workflow task list related columns under ‘Association: Task List’ if you have the Task ID of the particular task. Having this option was both fortunate and unfortunate at the time. Fortunate, since it allowed me to quickly accomplish my requirement with an OOTB solution. Unfortunate, because I did not have the Task ID. If you have created SPD2013 workflows, you may have noticed that the ‘Assign a Task’ action returns the Task ID. You also may or may have noticed that in 2013, there is also an action called ‘Start a Task Process.’&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; line-height: 1.7; margin-bottom: 1.1em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;https://ramirezmery.files.wordpress.com/2015/10/comparisontaskactions.png&quot; style=&quot;border: 0px; box-sizing: border-box; color: #ff706c; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; transition: all 0.1s ease-in-out; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;ComparisonTaskActions&quot; class=&quot;alignnone size-full wp-image-49&quot; src=&quot;https://ramirezmery.files.wordpress.com/2015/10/comparisontaskactions.png?w=788&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; line-height: 1.7; margin-bottom: 1.1em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Let’s take a look at the main differences between these 2 types of actions:&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; line-height: 1.7; margin-bottom: 1.1em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Note: Only differences relevant to the context of this post have been listed.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #555555; font-family: Lato, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 18px; line-height: 1.7; margin-bottom: 1.1em; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;https://ramirezmery.files.wordpress.com/2015/10/startataskprocess.png&quot; style=&quot;border: 0px; box-sizing: border-box; color: #ff706c; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; transition: all 0.1s ease-in-out; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;StartATaskProcess&quot; class=&quot;alignnone size-full wp-image-50&quot; src=&quot;https://ramirezmery.files.wordpress.com/2015/10/startataskprocess.png?w=788&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #555555; font-family: Lato, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 18px; line-height: 1.7; margin-bottom: 1.1em; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;https://ramirezmery.files.wordpress.com/2015/10/assignatask.png&quot; style=&quot;border: 0px; box-sizing: border-box; color: #ff706c; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; transition: all 0.1s ease-in-out; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;AssignATask&quot; class=&quot;alignnone size-full wp-image-47&quot; src=&quot;https://ramirezmery.files.wordpress.com/2015/10/assignatask.png?w=788&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; line-height: 1.7; margin-bottom: 1.1em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Note that both of these actions are very similar, and in essence, do the same thing – assign an approval task. The way I see it, if you need to assign the same task to multiple people or to be able to assign a task to each individual person within a group (SharePoint or AD), consider using the ‘Start a Task Process.’ If not, the latter might come in handier if you need the Task ID for anything.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; line-height: 1.7; margin-bottom: 1.1em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
In my case, there was a requirement where I needed to assign the task to multiple people and take the first response as the outcome for the task. In this scenario, the ‘Start a Task Process’ was the right way to go. It was also the cause of the issue, this action did not return the key piece of information I needed, a Task ID. At the time, I turned to finding an alternative solution. I considered more complex routes such as using the ‘Call HTTP Web Service’ to get all tasks related to the current instance of the workflow but such options came with a variety of unnecessary complexities.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; line-height: 1.7; margin-bottom: 1.1em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
As I was concluding that a more complex solution may be unavoidable, between conversations with the client, it was noted that the business process could be tweaked. Turns out that while the particular task could have multiple approvers, 99% of the times it only had 1. Considering this, the client was ok with making it a part of the business process to only allow 1 approver. Luckily for me, tweaking the business process allowed me to use the ‘Assign a Task’ action and put me back in the OOTB business: Use the Task ID to locate the task of interest, get the value needed and save it in a variable. Add the variable to the next task’s description and there you go, requirement met.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; line-height: 1.7; margin-bottom: 1.1em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; line-height: 1.7; margin-bottom: 1.1em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;https://ramirezmery.files.wordpress.com/2015/10/associationtasklist.png&quot; style=&quot;border: 0px; box-sizing: border-box; color: #ff706c; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; transition: all 0.1s ease-in-out; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;AssociationTaskList&quot; class=&quot;alignnone size-full wp-image-48&quot; src=&quot;https://ramirezmery.files.wordpress.com/2015/10/associationtasklist.png?w=788&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://firstinterviewquestions.blogspot.com/feeds/6328768018090528656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://firstinterviewquestions.blogspot.com/2016/10/sharepoint-2013-workflow-start-task.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/6328768018090528656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/6328768018090528656'/><link rel='alternate' type='text/html' href='http://firstinterviewquestions.blogspot.com/2016/10/sharepoint-2013-workflow-start-task.html' title='SharePoint 2013 Workflow: ‘Start a Task Process’ vs. ‘Assign a Task’ and Retrieving Comments from a Task List Item'/><author><name>First interview questions</name><uri>http://www.blogger.com/profile/08571981480387865622</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-7393014549534116.post-5608663941183245700</id><published>2016-10-04T23:06:00.000-07:00</published><updated>2016-10-04T23:06:55.295-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint designer"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint2013"/><category scheme="http://www.blogger.com/atom/ns#" term="workflows"/><title type='text'>Server-side activities have been updated. You need to restart SharePoint Designer</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
The usual advice is:&lt;br /&gt;
&lt;br /&gt;
Level 1: Clear the cache folders&lt;br /&gt;
See for example How to Clear Your SharePoint Designer 2010/2013 Cache. If you&#39;ve just deployed some custom workflow activities to your site, this will probably solve your problem (and you should clear the cache folders every time you deploy custom activities). If the error occurs spontaneously, this approach often won&#39;t help.&lt;br /&gt;
&lt;br /&gt;
Level 2: Reinstall SharePoint Designer&lt;br /&gt;
This might work if you&#39;ve got a preview version of SharePoint Designer installed. If not, it&#39;s unlikely to help. It didn&#39;t work for me, and it didn&#39;t work for countless others on the forums.&lt;br /&gt;
&lt;br /&gt;
Level 3: Install SharePoint Designer on another machine&lt;br /&gt;
This one kind of annoys me... it usually works, but it&#39;s hardly a practical solution to the problem.&lt;br /&gt;
&lt;br /&gt;
In my case, having tried approach 1 and 2 and having established that the problem was client-specific (a colleague was able to connect to the same sites and create workflows just fine), I did some digging around to see what else could be causing the problem.&lt;br /&gt;
&lt;br /&gt;
For me, I copied these files across to my own cache folder. The key file turned out to be the Microsoft.SharePoint.WorkflowServices.Activities.Proxy.dll assembly. Have to download this and copy to WebsiteCache\&amp;lt;Sitecollectionname&amp;gt;\15.0.0.4455. After that, my designer worked properly and I&#39;m&amp;nbsp;able to create a workflow in SharePoint designer without error. Thanks for reading.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://firstinterviewquestions.blogspot.com/feeds/5608663941183245700/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://firstinterviewquestions.blogspot.com/2016/10/server-side-activities-have-been.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/5608663941183245700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/5608663941183245700'/><link rel='alternate' type='text/html' href='http://firstinterviewquestions.blogspot.com/2016/10/server-side-activities-have-been.html' title='Server-side activities have been updated. You need to restart SharePoint Designer'/><author><name>First interview questions</name><uri>http://www.blogger.com/profile/08571981480387865622</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-7393014549534116.post-2711127045422487009</id><published>2014-12-07T22:33:00.001-08:00</published><updated>2014-12-07T22:36:55.835-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Client Side Export"/><category scheme="http://www.blogger.com/atom/ns#" term="Excel export"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint2013"/><title type='text'>Understanding Window.Open()</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Most of you would be familiar with Window.Open() but i will explain in detail :&lt;br /&gt;
&lt;br /&gt;
window.open(URL, name , specs , replace )&lt;br /&gt;
&lt;br /&gt;
In new version we can use it as&lt;br /&gt;
&lt;br /&gt;
window.open(MIMEtype, ContainerItems)&lt;br /&gt;
&lt;br /&gt;
window.open (MIMEtype &amp;nbsp; , &amp;nbsp;replace ) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &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;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |________ &amp;nbsp;It takes the element from window opener &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|___________ &amp;nbsp; Default MIME type is &quot;text/html&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We have to just specify our required MIMEtype and it does the job for us! So for converting into MS Excel, we will specify data:application/vnd.ms-excel as MIME type. Replace is the item taken from opener-window whose html we are going to send into Excel sheet. This container element shouldn&#39;t have special characters. If it contains then we have to encode those characters using JavaScript&#39;s encodeURIComponent().&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://firstinterviewquestions.blogspot.com/feeds/2711127045422487009/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://firstinterviewquestions.blogspot.com/2014/12/understanding-windowopen.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/2711127045422487009'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/2711127045422487009'/><link rel='alternate' type='text/html' href='http://firstinterviewquestions.blogspot.com/2014/12/understanding-windowopen.html' title='Understanding Window.Open()'/><author><name>First interview questions</name><uri>http://www.blogger.com/profile/08571981480387865622</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-7393014549534116.post-1196088614996814118</id><published>2014-12-07T22:28:00.002-08:00</published><updated>2014-12-07T22:28:18.482-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Client Side Export"/><category scheme="http://www.blogger.com/atom/ns#" term="Excel export"/><category scheme="http://www.blogger.com/atom/ns#" term="JQuery"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint2013"/><title type='text'>Client side Export table data to Excel</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
We can use method Window.Open() which will do our job easy. with this method we can easy export our table data to excel from client side.&lt;br /&gt;
&lt;br /&gt;
Bellow code will help :&lt;br /&gt;
&lt;br /&gt;
$(&quot;[id$=buttonControlID]&quot;).click(function(e) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; window.open(&#39;data:application/vnd.ms-excel,&#39; + encodeURIComponent( $(&#39;div[id$=divTableData]&#39;).html()));&lt;br /&gt;
&amp;nbsp; &amp;nbsp; e.preventDefault();&lt;br /&gt;
});​&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here above method will do export our data to excel.&lt;br /&gt;
&lt;br /&gt;
Understanding of &quot;Window.Open()&quot; i will post in very next post once i understood.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://firstinterviewquestions.blogspot.com/feeds/1196088614996814118/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://firstinterviewquestions.blogspot.com/2014/12/client-side-export-table-data-to-excel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/1196088614996814118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/1196088614996814118'/><link rel='alternate' type='text/html' href='http://firstinterviewquestions.blogspot.com/2014/12/client-side-export-table-data-to-excel.html' title='Client side Export table data to Excel'/><author><name>First interview questions</name><uri>http://www.blogger.com/profile/08571981480387865622</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-7393014549534116.post-4493715111184076844</id><published>2014-11-12T05:21:00.000-08:00</published><updated>2014-11-12T05:21:07.244-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint2010"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint2013"/><title type='text'>Differences between site definition and site templates</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Site Template :&lt;/b&gt;&lt;br /&gt;
The first option for getting the SharePoint Designer changes beyond the current site is to take the site you have modified with SharePoint designer and save it as a template. You can download the template and upload this to another site collection and can create a site based on this template. Whenever you need a new site you can create it from the site template you have created. This is a good approach if the design is finalized and you want to reuse the same template in different site collections. But keep in mind you can&#39;t go back and apply the changes after the site is created. If you make any changes to the work that you did on the original site then those changes won&#39;t be reflected across the other SharePoint sites that were created from the same template. This is because each page exists separately in the SharePoint database. So site templates solve the problem of getting SharePoint Designer changes into multiple sites but without the ability to adapt to changes in the future. Once the design is done we have to go to each site then do the same changes we want.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Site Definitions :&lt;/b&gt;&lt;br /&gt;
This approach solves the problem of site templates. Here changes can be affected to them after they have been created. Site definitions exist on the file system of each of the front end web server. But as I mentioned earlier site templates exist in the content database. Each site which is created from the site definition doesn&#39;t make a copy of the page in the content database; but it stores a pointer to the site definition file. When a page on the file system changes it changes all of the references in the database thus solving the problem of making changes to existing branding or other functionalities. Site Definitions are stored on the hard drive of the SharePoint front end servers. They are used by the SharePoint application to generate the sites. Site Templates are created by users as a copy of a site they have configured and modified so that they do not have to recreate lists, libraries, views and columns every time they need a new instance of a site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. &amp;nbsp; &amp;nbsp; &amp;nbsp;To create or use a site definition you need server admin access, but site template can install from web UI by site owners.&lt;br /&gt;
&lt;br /&gt;
2. &amp;nbsp; &amp;nbsp; &amp;nbsp;Site definition supports feature stapling, but for site template additional features must be activated in gallery.&lt;br /&gt;
&lt;br /&gt;
3. &amp;nbsp; &amp;nbsp; &amp;nbsp; Site definitions are stored on hard disk, but site templates are stored in content DB.&lt;br /&gt;
&lt;br /&gt;
4. &amp;nbsp; &amp;nbsp; &amp;nbsp; Site definition can provision multiple webs, but site templates are for single web only.&lt;br /&gt;
&lt;br /&gt;
5. &amp;nbsp; &amp;nbsp; &amp;nbsp;Creating site definition is relatively more complex than site template creation.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://firstinterviewquestions.blogspot.com/feeds/4493715111184076844/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://firstinterviewquestions.blogspot.com/2014/11/differences-between-site-definition-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/4493715111184076844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/4493715111184076844'/><link rel='alternate' type='text/html' href='http://firstinterviewquestions.blogspot.com/2014/11/differences-between-site-definition-and.html' title='Differences between site definition and site templates'/><author><name>First interview questions</name><uri>http://www.blogger.com/profile/08571981480387865622</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-7393014549534116.post-8974373722398525283</id><published>2014-11-11T00:43:00.000-08:00</published><updated>2014-11-11T00:43:22.182-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint2010"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint2013"/><title type='text'>SharePoint 2013 getting all webs in a given site collection including root web using JavaScript Object Model</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Using JSOM I&#39;am getting the collection of all the webs(sub-sites) including the root web of a given site collection and display there title.&lt;br /&gt;
&lt;br /&gt;
Below is the code :&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
function getWebs()&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
{&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp;var context = SP.ClientContext.get_current();&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp;var web = context.get_web();&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp;var site = context.get_site();&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp;var rootWeb = site.get_rootWeb();&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp;var subWebs = rootWeb.get_webs();&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp;context.load(subWebs, &#39;Include(Title, ServerRelativeUrl,ParentWeb)&#39;);&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp;context.executeQueryAsync(&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; function () { &amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (var i = 0; i &amp;lt; subWebs.get_count(); i++) {&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var subWeb = subWebs.itemAt(i);&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var parentWeb = subWeb.get_parentWeb(); &amp;nbsp;//parent web == &amp;nbsp;root web&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; console.log(subWeb.get_title());&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; },&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; function (sender, args) {&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;console.log(args.get_message());&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp;); &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
}&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://firstinterviewquestions.blogspot.com/feeds/8974373722398525283/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://firstinterviewquestions.blogspot.com/2014/11/sharepoint-2013-getting-all-webs-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/8974373722398525283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/8974373722398525283'/><link rel='alternate' type='text/html' href='http://firstinterviewquestions.blogspot.com/2014/11/sharepoint-2013-getting-all-webs-in.html' title='SharePoint 2013 getting all webs in a given site collection including root web using JavaScript Object Model'/><author><name>First interview questions</name><uri>http://www.blogger.com/profile/08571981480387865622</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-7393014549534116.post-2473844504344241866</id><published>2014-10-22T13:10:00.004-07:00</published><updated>2014-10-22T13:10:46.831-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint2013"/><title type='text'>Error occurred in deployment step &#39;Add Solution&#39;: Failed to extract the cab file in the solution</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I tried to deploy script file in scripts folder. But I couldn&#39;t deploy because above error message fired. After half and hour I found one file named with &lt;b&gt;script..js&lt;/b&gt; and renamed with &lt;b&gt;script.js&lt;/b&gt; and deploy solution. Its working fine.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Resolution:&lt;/u&gt; To work around this problem, remove any parentheses/special characters in the names of SharePoint project items.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://firstinterviewquestions.blogspot.com/feeds/2473844504344241866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://firstinterviewquestions.blogspot.com/2014/10/error-occurred-in-deployment-step-add.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/2473844504344241866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/2473844504344241866'/><link rel='alternate' type='text/html' href='http://firstinterviewquestions.blogspot.com/2014/10/error-occurred-in-deployment-step-add.html' title='Error occurred in deployment step &#39;Add Solution&#39;: Failed to extract the cab file in the solution'/><author><name>First interview questions</name><uri>http://www.blogger.com/profile/08571981480387865622</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-7393014549534116.post-3658376853758446644</id><published>2014-09-24T23:00:00.000-07:00</published><updated>2014-09-27T21:59:00.275-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint2010"/><title type='text'>Difference between Sandbox and Farm solution in SharePoint 2010</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15.6pt;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;When we are compiling
the SharePoint Solution, it deploys to the SharePoint server and we are going
to attaching the process (worker Process) to debug it. The process used to
debug the solution depends on the setting of the Solution property (Solution property
is nothing but type of the Deployment either you are going to deploying the
sandbox solution or form solution).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;u&gt;Farm Solutions&lt;/u&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; margin-bottom: 0.0001pt; text-indent: -18pt;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;·&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;While using the Form
solution, which is hosted in the&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;IIS worker process&lt;/b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;&amp;nbsp;(W3WP.exe),
run code that can affect the whole&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;farm&lt;/b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;·&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;If you are deploying
the Form Solution, you should be having administrator permissions until unless
you can’t deploy, you are run code.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;·&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;If you want debug you
are code you need to attaches the worker process, how do I know my worker
process id (in our SharePoint Farm we have no of web applications, each web
application having the separate worker process and id.)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;·&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;To know you are
worker process id. From you are server go to Start-&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;à&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;run-&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;à&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;type cmd -&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;à&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;from the command
Prompt type the command “cd windows” -&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;à&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;”cd System32” -&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;à&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;”cd inetsrv”&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;à&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;&amp;nbsp;from here
onwards execute the command -&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;à&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;“Appcmd list wp” we will get the list
of the Application Pools name as well worker process ids.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;·&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;Or else go to
directly&amp;nbsp;&amp;nbsp;Start-&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;à&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;&amp;nbsp;Run&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;à&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;Type the command
“inetmgr” ---&amp;gt;you will directly landing to the IIS server--&amp;gt;from here
under the IIS Section you can see the “Worker Process” click on that, when you
click on that you can able to see the Worker Processes like Application Pool
Name , Process Id , State etc..&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;b style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;u&gt;Sandbox
Solutions&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; margin-bottom: 0.0001pt; text-indent: -18pt;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;·&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;While using the
Sandboxed solutions, which are hosted in the SharePoint User Code Solution
Worker Process (SPUCWorkerProcess.exe)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;·&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;While deploy the
sandboxed solution run code that can only affect the&amp;nbsp;&lt;b&gt;site Collection&lt;/b&gt;&amp;nbsp;of
the Solution. Because sandboxed solutions do not run in the IIS Worker process
(neither the IIS application pool nor the IIS Server). To deploy this solution
no need to have farm level administrator Permissions if it is&amp;nbsp;site
collection administrator is enought&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;·&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -18pt;&quot;&gt;To debug you are
sandboxed solutions attachés the&amp;nbsp;&lt;b&gt;SPUCWorkerProcess&amp;nbsp;&lt;/b&gt;process
that is the&lt;b&gt;SPUserCodeV4&lt;/b&gt;&amp;nbsp;service in SharePoint automatically
triggers. It is not necessary for the&lt;b&gt;SPUCWorkerProcess&amp;nbsp;&lt;/b&gt;process to
recycle to load the latest version of the solution.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt; text-indent: -18pt;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://firstinterviewquestions.blogspot.com/feeds/3658376853758446644/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://firstinterviewquestions.blogspot.com/2014/09/difference-between-sandbox-and-farm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/3658376853758446644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/3658376853758446644'/><link rel='alternate' type='text/html' href='http://firstinterviewquestions.blogspot.com/2014/09/difference-between-sandbox-and-farm.html' title='Difference between Sandbox and Farm solution in SharePoint 2010'/><author><name>First interview questions</name><uri>http://www.blogger.com/profile/08571981480387865622</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-7393014549534116.post-1099645264067503194</id><published>2014-09-24T06:11:00.000-07:00</published><updated>2014-09-24T06:14:43.017-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint2010"/><title type='text'>SharePoint 2010 14 Hive Directories</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;line-height: 18.75pt; margin-bottom: 18.75pt; margin-left: 0cm; margin-right: 0cm; margin-top: 0cm;&quot;&gt;
&lt;span style=&quot;color: #333333;&quot;&gt;In this post I will list
out some important directories or folders used with SharePoint 2010 server.
Lets Start with some directories that are related to SharePoint 2010
installation,Configration and its files, later in the post we will discuss
about other 14 hive directories.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;strong&gt;C:\Inetpub\wwwroot\wss -&lt;/strong&gt;&lt;/b&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;This
directory (or the corresponding directory under the Inetpub root on the server)
is used as the default location for IIS Web sites.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 18.75pt; margin: 0cm 0cm 18.75pt;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: #333333;&quot;&gt;C:\ProgramFiles\Microsoft
Office Servers\14.0 -&lt;/span&gt;&lt;/strong&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;This directory
is the installation location for SharePoint Server 2010 binaries and data. The
directory can be changed during installation.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 18.75pt; margin: 0cm 0cm 18.75pt;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: #333333;&quot;&gt;C:\ProgramFiles\Microsoft
Office Servers\14.0\WebServices -&lt;/span&gt;&lt;/strong&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;This directory is the root directory where SharePoint
back-end Web services are hosted, for example, Excel and Search.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 18.75pt; margin: 0cm 0cm 18.75pt;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: #333333;&quot;&gt;C:\ProgramFiles\Microsoft
Office Servers\14.0\Data -&lt;/span&gt;&lt;/strong&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;This
directory is the root location where local data is stored, including search
indexes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 18.75pt; margin: 0cm 0cm 18.75pt;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: #333333;&quot;&gt;C:\ProgramFiles\Microsoft
Office Servers\14.0\Logs –&lt;/span&gt;&lt;/strong&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;This
directory is the location where the run-time diagnostic logging is generated.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;strong&gt;14 hive folders :&lt;/strong&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;strong&gt;Program Files\Common files\Microsoft Shared\Web Server Extensions\14 -&lt;/strong&gt;&lt;/b&gt;&lt;br /&gt;
This directory is the installation directory for core SharePoint Server files.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;strong&gt;Program Files\Common files\Microsoft Shared\Web Server
Extensions\14\ADMISAPI -&lt;/strong&gt;&lt;/b&gt;&lt;br /&gt;
This directory contains the soap services for Central Administration. If this
directory is altered, remote site creation and other methods exposed in the
service will not function correctly.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 18.75pt; margin: 0cm 0cm 18.75pt;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Program Files\Common
files\Microsoft Shared\Web Server Extensions\14\CONFIG -&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;br /&gt;
This directory contains files used to extend IIS Web sites with SharePoint
Server. If this directory or its contents are altered, Web application
provisioning will not function correctly.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;strong&gt;Program Files\Common files\Microsoft Shared\Web Server
Extensions\14\LOGS -&lt;/strong&gt;&lt;/b&gt;&lt;br /&gt;
This directory contains setup and run-time tracing logs.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 18.75pt; margin: 0cm 0cm 18.75pt;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Program Files\Common
files\Microsoft Shared\Web Server Extensions\Policy -&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 18.75pt; margin: 0cm 0cm 18.75pt;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Program Files\Common files\Microsoft
Shared\Web Server Extensions\UserCode -&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;br /&gt;
This directory contains files used to support your sandboxed solutions.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 18.75pt; margin: 0cm 0cm 18.75pt;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Program Files\Common
files\Microsoft Shared\Web Server Extensions\WebClients -&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;br /&gt;
This directory contains files related to the new Client Object Model.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;line-height: 18.75pt; margin: 0cm 0cm 18.75pt;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Program Files\Common
files\Microsoft Shared\Web Server Extensions\WebServices -&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;br /&gt;
This directory contains new wcf or .svc related files.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://firstinterviewquestions.blogspot.com/feeds/1099645264067503194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://firstinterviewquestions.blogspot.com/2014/09/sharepoint-2010-14-hive-directories.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/1099645264067503194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/1099645264067503194'/><link rel='alternate' type='text/html' href='http://firstinterviewquestions.blogspot.com/2014/09/sharepoint-2010-14-hive-directories.html' title='SharePoint 2010 14 Hive Directories'/><author><name>First interview questions</name><uri>http://www.blogger.com/profile/08571981480387865622</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-7393014549534116.post-2074022849658842808</id><published>2014-09-15T21:00:00.000-07:00</published><updated>2014-09-15T21:00:03.954-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint2013"/><title type='text'>How to customize model popup?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hi i gone through an issue, that how to customize the existing model popup form properties in sharepoint 2013 apps. In this we have to assign the value by giving property &lt;b&gt;&quot;ShowInNewForm&quot;&lt;/b&gt; &amp;nbsp;to &lt;b&gt;&quot;false&quot;&lt;/b&gt; so that you can hide your field in model popup.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://firstinterviewquestions.blogspot.com/feeds/2074022849658842808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://firstinterviewquestions.blogspot.com/2014/09/how-to-customize-model-popup.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/2074022849658842808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/2074022849658842808'/><link rel='alternate' type='text/html' href='http://firstinterviewquestions.blogspot.com/2014/09/how-to-customize-model-popup.html' title='How to customize model popup?'/><author><name>First interview questions</name><uri>http://www.blogger.com/profile/08571981480387865622</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-7393014549534116.post-1607831518523087323</id><published>2014-09-15T06:05:00.001-07:00</published><updated>2014-09-15T06:05:30.684-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sql"/><title type='text'>How to get data from corrupted sql server?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hi, today i will explain ho to get data from SQL server if sqlserver get corrupted. you can find data files from SQL program-files in follow location&lt;br /&gt;
&lt;br /&gt;
&quot;C:\Program Files\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\Template Data&quot;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://firstinterviewquestions.blogspot.com/feeds/1607831518523087323/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://firstinterviewquestions.blogspot.com/2014/09/how-to-get-data-from-corrupted-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/1607831518523087323'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/1607831518523087323'/><link rel='alternate' type='text/html' href='http://firstinterviewquestions.blogspot.com/2014/09/how-to-get-data-from-corrupted-sql.html' title='How to get data from corrupted sql server?'/><author><name>First interview questions</name><uri>http://www.blogger.com/profile/08571981480387865622</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-7393014549534116.post-7525543574644982405</id><published>2014-09-14T23:45:00.000-07:00</published><updated>2014-09-14T11:00:56.823-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint2013"/><title type='text'>Share point 2013 apps development overview</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Introducing SharePoint Apps&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Microsoft is moving to the cloud as quickly as the market will allow,
and this means that their architecture is shifting towards a
software-as-a-service model. As the end-goal is to have a model where
businesses pay a monthly subscription fee for their users to access a
SharePoint instance that is owned and operated by Microsoft.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;One problem with a hosted model, however, is that SharePoint is a lot
more useful when it can be completely customized around the particular needs of
a business. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Microsoft set out to create an extensibility point in SharePoint 2013
that would allow customers to build their own solutions for SharePoint without
hurting the hosted model whenever a customer’s code was found to be
‘executionally challenged’. They came up with a model called a&amp;nbsp;SharePoint
App, which is simply&amp;nbsp;a&amp;nbsp;solution&amp;nbsp;with no&amp;nbsp;SharePoint&amp;nbsp;server
side code.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Seriously, I mean there is no server-side code that is executed by the
SharePoint server. A SharePoint App is essentially a solution that can only
include HTML, CSS, JavaScript, Silverlight XAP files, images, and any other
static files. However, you can’t include an assembly with custom code because
that would need to be executed on the server. Of course, this leads to the
question ‘how do you build something useful without server side code in
SharePoint?’&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;What are the Three
SharePoint 2013 App Deployment Models?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Before we get into the details of how it’s possible to build useful apps
without SharePoint server side code, we need to go over the three deployment
models for SharePoint 2013 Apps:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;SharePoint-hosted&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Self-Hosted&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Automatically
Provisioned Azure Web Application&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;SharePoint-Hosted App&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;A SharePoint-Hosted App is an application made entirely of static files
that reside directly in your instance of SharePoint. When you add an
application to one of your sites, SharePoint deploys the files in your App to a
special App domain where your App lives. When a user accesses your App, they
are redirected to a page that lives in the App domain and from which,
presumably, they can use your App. There is absolutely no server-side code
allowed in this model.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Self-Hosted App&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;A Self-Hosted App is an application where the files for the application
exist on an external server (e.g. you are hosting those files yourself
somewhere outside of SharePoint). When a user accesses your application, they
are redirected to a page on this external server where the application resides.
In this model, you can run server-side code, but it has to be run on the
external server. There is still no way to run custom code on the SharePoint
server. One of the benefits of this model is that the external server does not
need to be a Windows server: SharePoint is really just redirecting users to a
web page, so you can use any operating system and application server you want
as long as it can fulfill web requests. You could be a PHP developer with a
Linux machine and still make SharePoint apps.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Another interesting reason to use this model is that it puts you in
complete control of upgrades. Since you own the server, you can deploy updates
and have them applied immediately for all of your clients. In the other models,
the user has to take some action to upgrade because you do not have access to
the server on which the App is hosted.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Automatically Provisioned Azure App&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;An Automatically-Provisioned Azure App is an interesting concept that
requires a bit of a back story to describe. First, I believe this type of App
is designed to be run only from Microsoft’s hosted SharePoint environment, so
its primary audience is really software vendors looking to sell to SharePoint
online customers. The other two App model options are available in the hosted
SharePoint environment as well as on a SharePoint 2013 corporate install.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;An Automatically-Provisioned Azure App is the best of both worlds. It is
an App that is designed to be deployed to Azure. This means that it will be
hosted outside of SharePoint and can run custom code. However, when a SharePoint
Online user adds the App to their SharePoint instance, SharePoint Online tells
them that the App needs to be provisioned to Azure, and if they opt to let that
happen then the Azure instance will be billed to their SharePoint Online
account. So you get all of the capabilities and flexibly server side code
without any of the costs associated with hosting it yourself. This was clearly
a brilliant plan hatched by the accountants at Microsoft.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Building Useful
Apps without Server Side Code on SharePoint&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;The &lt;b&gt;Client-Side Object Model&lt;/b&gt;
(CSOM) was one of the areas into which Microsoft poured a ton of work.
SharePoint 2010 had a very limited set of functionality, but the CSOM in
SharePoint 2013 really allows you to execute just about any operation you can
think of. As you can imagine, you must have a fully-functional client-side API
when you are trying to encourage people to move away from using server side
code.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;There are three ways that you can access CSOM functionality, so the
deployment model that you are using for your SharePoint 2013 app will determine
he option that you choose.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;.NET /
Silverlight API&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;JavaScript API&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;REST API&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;u&gt;SharePoint-Hosted
App&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;If you plan to use a SharePoint-Hosted deployment model, then you are
limited to static files. However, static files can include JavaScript and
Silverlight XAP files that run dynamic code on the client side. As such, you
are likely to employ the JavaScript API if you’re coding on an HTML / ASPX page
or the Silverlight runtime if you decide to deploy a Silverlight XAP file. You
can technically use the REST API from JavaScript and Silverlight if you so
wish, but the other APIs are a better fit.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;u&gt;Self-Hosted App&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;A self-hosted App can take on a number of forms because it can run on
any number of different operating systems with any number of different
application servers. If you opt for this deployment model, then I assume you
want to run server-side code. If you are hosting on a server that runs ASP.NET,
then it is a natural fit to use the .NET API. If you are running a LINUX / UNIX
system then the REST API is going to be a better fit because most non-Windows
servers really don’t run .NET code. JavaScript and Silverlight are available in
any deployment model, but these are both client-side and not server-side
technologies.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;u&gt;Azure Provisioned
App&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Azure is a .NET technology, so it makes the most sense to use the .NET
API when implementing an Azure-provisioned application. Once again, note that
you have the option of using any CSOM API mode that you want in an Azure
application, but the .NET CSOM assemblies are the best fit, considering that
Azure is running on the .NET platform.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://firstinterviewquestions.blogspot.com/feeds/7525543574644982405/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://firstinterviewquestions.blogspot.com/2014/09/share-point-2013-apps-development.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/7525543574644982405'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/7525543574644982405'/><link rel='alternate' type='text/html' href='http://firstinterviewquestions.blogspot.com/2014/09/share-point-2013-apps-development.html' title='Share point 2013 apps development overview'/><author><name>First interview questions</name><uri>http://www.blogger.com/profile/08571981480387865622</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-7393014549534116.post-661995259553125357</id><published>2014-09-14T10:36:00.001-07:00</published><updated>2014-09-14T10:38:40.316-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows phone"/><title type='text'>Overview about Windows Phone Apps Development :</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Hi in this article i would like to post my overview on apps development for windows phone. Have a look and let me know if you have any questions on this.&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;iframe frameborder=&quot;0&quot; height=&quot;400&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;//www.slideshare.net/slideshow/embed_code/39070090&quot; width=&quot;476&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://firstinterviewquestions.blogspot.com/feeds/661995259553125357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://firstinterviewquestions.blogspot.com/2014/09/overview-about-windows-phone-apps.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/661995259553125357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/661995259553125357'/><link rel='alternate' type='text/html' href='http://firstinterviewquestions.blogspot.com/2014/09/overview-about-windows-phone-apps.html' title='Overview about Windows Phone Apps Development :'/><author><name>First interview questions</name><uri>http://www.blogger.com/profile/08571981480387865622</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-7393014549534116.post-578335942463551740</id><published>2014-09-04T23:04:00.002-07:00</published><updated>2014-09-04T23:20:07.524-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint2013"/><title type='text'>How to check whether current user is site collection administrator using javascript ?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;&lt;br /&gt;In this post i will show how to get user, In sharepoint we can get user role from &lt;br /&gt;client object model in javascript. Here in the following &#39;user&#39; object we can know that user details. &lt;br /&gt;From that in my scenario i&#39;m getting user role to checkthat he is admin or not in &quot;value&quot;. &lt;br /&gt;&lt;br /&gt;var user = SP.ClientContext.get_web().get_currentUser();&lt;br /&gt;var value = user.get_isSiteAdmin ();&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://firstinterviewquestions.blogspot.com/feeds/578335942463551740/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://firstinterviewquestions.blogspot.com/2014/09/how-to-check-whether-current-user-is.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/578335942463551740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/578335942463551740'/><link rel='alternate' type='text/html' href='http://firstinterviewquestions.blogspot.com/2014/09/how-to-check-whether-current-user-is.html' title='How to check whether current user is site collection administrator using javascript ?'/><author><name>First interview questions</name><uri>http://www.blogger.com/profile/08571981480387865622</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-7393014549534116.post-6560477493880845184</id><published>2014-02-06T11:56:00.000-08:00</published><updated>2014-02-06T11:56:16.912-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp.net"/><category scheme="http://www.blogger.com/atom/ns#" term="asp.net 3.5 mvc"/><category scheme="http://www.blogger.com/atom/ns#" term="c#"/><category scheme="http://www.blogger.com/atom/ns#" term="DOTNET"/><category scheme="http://www.blogger.com/atom/ns#" term="MVC"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio 2012"/><category scheme="http://www.blogger.com/atom/ns#" term="VS 2012"/><title type='text'>Converting VS2012 Solution to VS2010</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Open you solution file in notepad. Make 2 changes&lt;br /&gt;
&lt;br /&gt;
Replace &quot;Format Version 12.00&quot; with &quot;Format Version 11.00&quot; (without quotes.)&lt;br /&gt;
Replace &quot;# Visual Studio 2012&quot; with &quot;# Visual Studio 2010&quot; (without quotes.)&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;you should see a slight difference: projects created in VS2010 work in VS2012 but thing is if you dont have the VS2012 installed this will make you things to be done. enjoy.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://firstinterviewquestions.blogspot.com/feeds/6560477493880845184/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://firstinterviewquestions.blogspot.com/2014/02/converting-vs2012-solution-to-vs2010.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/6560477493880845184'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/6560477493880845184'/><link rel='alternate' type='text/html' href='http://firstinterviewquestions.blogspot.com/2014/02/converting-vs2012-solution-to-vs2010.html' title='Converting VS2012 Solution to VS2010'/><author><name>First interview questions</name><uri>http://www.blogger.com/profile/08571981480387865622</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-7393014549534116.post-4339690811564650146</id><published>2013-11-10T20:04:00.000-08:00</published><updated>2013-11-10T20:04:07.145-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows Azure"/><title type='text'>Will IP Address be Stable in Azure?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;For Cloud Services, Virtual Machines, and Windows Azure Web Sites the IP address – once assigned – is stable, provided I do not remove the deployment. If you delete the deployment, your IP address goes back into the pool. For most production cloud applications it would very unusual to ever delete the deployment, so this is reasonable. Windows Azure supports in-place updates as well as the VIP Swap approach for Cloud Services, both of which always preserve the IP Address.&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://firstinterviewquestions.blogspot.com/feeds/4339690811564650146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://firstinterviewquestions.blogspot.com/2013/11/will-ip-address-be-stable-in-azure.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/4339690811564650146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/4339690811564650146'/><link rel='alternate' type='text/html' href='http://firstinterviewquestions.blogspot.com/2013/11/will-ip-address-be-stable-in-azure.html' title='Will IP Address be Stable in Azure?'/><author><name>First interview questions</name><uri>http://www.blogger.com/profile/08571981480387865622</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-7393014549534116.post-5851095789568179074</id><published>2013-11-09T18:38:00.006-08:00</published><updated>2013-11-10T20:04:42.177-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows Azure"/><title type='text'>Configuring a custom domain name for a Windows Azure web site</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
When you create a web site, Windows Azure provides a friendly subdomain on the azurewebsites.net domain so your users can access your web site using a URL like http://&amp;lt;mysite&amp;gt;.azurewebsites.net. However, if you configure your web sites for Shared or Standard mode, you can map your web site to your own domain name.&lt;br /&gt;
&lt;br /&gt;
The steps in this task require you to configure your web sites for Shared or Standard mode.&lt;br /&gt;
&lt;br /&gt;
You can use a CNAME record to point your domain name to your Windows Azure web site. You can also configure an A record to point the domain name to Windows Azure web site. The process requires that you wait for the CNAME and A records propagate before you can finally set the domain name in the management portal.&lt;br /&gt;
&lt;br /&gt;
There are two ways you can configure the Domain Name Server (DNS) settings on your domain registrar to point to your Windows Azure web site:&lt;br /&gt;
&lt;br /&gt;
CNAME or Alias record&lt;br /&gt;
&lt;br /&gt;
With a CNAME, you map a specific domain, such as www.contoso.com or myblog.contoso.com, to the &amp;lt;mysite&amp;gt;.azurewebsites.net domain name of your Windows Azure web site.&lt;br /&gt;
&lt;br /&gt;
Using the Microsoft sample domain, contoso.com, as an example:&lt;br /&gt;
&lt;br /&gt;
You can typically map subdomains such as www.contoso.com or MySubSite.contoso.com.&lt;br /&gt;
Typically you cannot map bare domains such as contoso.com or wildcard names such as *.contoso.com.&lt;br /&gt;
A record&lt;br /&gt;
&lt;br /&gt;
With an A record, you map a domain (e.g., contoso.com or www.contoso.com) or a wildcard domain (e.g., *.contoso.com) to the single public IP address of a deployment within a Windows Azure web site.&lt;br /&gt;
&lt;br /&gt;
The main benefit of this approach over using CNAMEs is that you can map root domains (e.g., contoso.com) and wildcard domains (e.g., *.contoso.com), in addition to subdomains (e.g., www.contoso.com).&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Configure your web sites for shared mode&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
Setting a CNAME record is the recommend way to map your domain name to your Windows Azure web site. Mapping a CNAME record insulates your web site from changes that could affect the underlying IP address of the site.&lt;br /&gt;
&lt;br /&gt;
1. In your browser, open the Management Portal.&lt;br /&gt;
2. In the Web Sites tab, click the name of your site.&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/AVvXsEg6rg966uZtsmGnhHOJt1Ar74MxPFtGXzUDgXP6kbfhq236PfK76MYR7W4BZjRpJEJCOnxu3k_OoCdxnLlZB38yLdD6Dv9oJZKmgrCgCoCRPlYLbm7UyGqM2uEL2frSC-D_ujaaVWzLH1I/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;185&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6rg966uZtsmGnhHOJt1Ar74MxPFtGXzUDgXP6kbfhq236PfK76MYR7W4BZjRpJEJCOnxu3k_OoCdxnLlZB38yLdD6Dv9oJZKmgrCgCoCRPlYLbm7UyGqM2uEL2frSC-D_ujaaVWzLH1I/s320/1.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #666666; font-family: wf_SegoeUI, Segoe UI, Segoe, Segoe WP, HelveticaNeue, Helvetica, Tahoma, Garuda, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;3. Click the SCALE tab.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLE6-KGM9ME-oiLPbDmpDyHDdBXC-vEpT_8oFpV6lYv21-CkvaLDSvX2RvJTwDUeVMG0rtXpaYIXWYYE0wyoq5ryBpAlp0Anm-lw1m3v4YGwjSphb7E55wZkLzloSaMpdstetWYVM7x00/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;157&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLE6-KGM9ME-oiLPbDmpDyHDdBXC-vEpT_8oFpV6lYv21-CkvaLDSvX2RvJTwDUeVMG0rtXpaYIXWYYE0wyoq5ryBpAlp0Anm-lw1m3v4YGwjSphb7E55wZkLzloSaMpdstetWYVM7x00/s320/2.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #666666; font-family: wf_SegoeUI, Segoe UI, Segoe, Segoe WP, HelveticaNeue, Helvetica, Tahoma, Garuda, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;4.&amp;nbsp;In the general section, set the web site mode by clicking SHARED&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkgQgoyAMCfHzcyqcUSxNLgRr6fdK7haepXl7M6i1nwQKcF0TFwO1d2B0XNkJN54D-wRSTIij_E0td44COpi0dfmneDTIpO_TroXtTUvK04aZRz_zVgAtL6HQnLC9zWtg1DyD9GC_IX1k/s1600/3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;176&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkgQgoyAMCfHzcyqcUSxNLgRr6fdK7haepXl7M6i1nwQKcF0TFwO1d2B0XNkJN54D-wRSTIij_E0td44COpi0dfmneDTIpO_TroXtTUvK04aZRz_zVgAtL6HQnLC9zWtg1DyD9GC_IX1k/s320/3.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #666666; font-family: wf_SegoeUI, Segoe UI, Segoe, Segoe WP, HelveticaNeue, Helvetica, Tahoma, Garuda, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;5. Click Save.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: wf_SegoeUI, Segoe UI, Segoe, Segoe WP, HelveticaNeue, Helvetica, Tahoma, Garuda, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #666666; font-family: wf_SegoeUI, Segoe UI, Segoe, Segoe WP, HelveticaNeue, Helvetica, Tahoma, Garuda, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;6. When prompted about the increase in cost for Shared mode (or for Standard mode if you choose Standard), click Yes if you agree.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: wf_SegoeUI, Segoe UI, Segoe, Segoe WP, HelveticaNeue, Helvetica, Tahoma, Garuda, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #666666; font-family: wf_SegoeUI, Segoe UI, Segoe, Segoe WP, HelveticaNeue, Helvetica, Tahoma, Garuda, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;Note&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: wf_SegoeUI, Segoe UI, Segoe, Segoe WP, HelveticaNeue, Helvetica, Tahoma, Garuda, Arial, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: wf_SegoeUI, Segoe UI, Segoe, Segoe WP, HelveticaNeue, Helvetica, Tahoma, Garuda, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;If you receive a &quot;Configuring scale for web site &#39;web site name&#39; failed&quot; error, you can use the details button to get more information.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: wf_SegoeUI, Segoe UI, Segoe, Segoe WP, HelveticaNeue, Helvetica, Tahoma, Garuda, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;b&gt;&lt;u&gt;Configure the CNAME on your domain registrar&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
To configure a custom domain name, you must create a CNAME record in your custom domain name&#39;s DNS table. Each registrar has a similar but slightly different method of specifying a CNAME record, but the concept is the same. Once you have configured the CNAME record, it will take some time to propagate.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 14px;&quot;&gt;
&lt;/div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;In your browser, open the Windows Azure Management Portal.&lt;/li&gt;
&lt;li&gt;In the Web Sites tab, locate the name of your site.&lt;/li&gt;
&lt;li&gt;Log on to your DNS registrar&#39;s web site, and go to the page for managing DNS. You might find this in a section, such as Domain Name, DNS, or Name Server Management.&lt;/li&gt;
&lt;li&gt;Now find the section for managing CNAMEs. You may have to go to an advanced settings page and look for the words CNAME, Alias, or Subdomains.&lt;/li&gt;
&lt;li&gt;Finally, you must provide a subdomain alias, such as www. Then, you must provide a hostname, which is your application&#39;s azurewebsites.net domain which consists of the name you located in step two and the azurewebsites.net domain. For example, using the Microsoft sample domain of contoso.com, the following CNAME record example forwards all traffic from www.contoso.com to mysite.azurewebsites.net, the DNS name of your deployed application: &amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; style=&quot;background-color: white; border: 1px solid rgb(0, 0, 0); color: #666666; font-family: wf_SegoeUI, &#39;Segoe UI&#39;, Segoe, &#39;Segoe WP&#39;, HelveticaNeue, Helvetica, Tahoma, Garuda, Arial, sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 14px; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;th&gt;&lt;strong&gt;Alias&lt;/strong&gt;&lt;/th&gt;&lt;th&gt;&lt;strong&gt;TTL&lt;/strong&gt;&lt;/th&gt;&lt;th&gt;&lt;strong&gt;Type&lt;/strong&gt;&lt;/th&gt;&lt;th&gt;Value&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;www.contoso.com&lt;/td&gt;&lt;td&gt;86400&lt;/td&gt;&lt;td&gt;CNAME&lt;/td&gt;&lt;td&gt;mysite.azurewebsites.net&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;Set the domain name in management portal&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
After the CNAME or A record for domain name has propagated, you must associate it with your web site.&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;In your browser, open the Windows Azure Management Portal.&lt;/li&gt;
&lt;li&gt;In the Web Sites tab, click the name of your site.&lt;/li&gt;
&lt;li&gt;Click the Dashboard tab.&lt;/li&gt;
&lt;li&gt;At the bottom of the screen, click Manage Domains.&lt;/li&gt;
&lt;/ol&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/AVvXsEgIzO_2bNpSsaX6mNuCjIy2LNPiyF3qbRNQkJhh0_yFA-TnjTvYasnrSfFgYHacZPgjFW9fudsNBKi1vMboGAknnpDrdSJB7C0xynCqVs4w2D7f416Vl-_1PoFR-_gPoIduIP7ykIwbjxA/s1600/12.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;214&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIzO_2bNpSsaX6mNuCjIy2LNPiyF3qbRNQkJhh0_yFA-TnjTvYasnrSfFgYHacZPgjFW9fudsNBKi1vMboGAknnpDrdSJB7C0xynCqVs4w2D7f416Vl-_1PoFR-_gPoIduIP7ykIwbjxA/s320/12.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;5. In the DOMAIN NAMES text box, type the domain name that you have configured.&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/AVvXsEgNwTMZy3CB5WBzveEsOU_VP5JhG9RX-x8gwRJe8reeHydixp-YxSdQTND5Lt3C53nwlNYnvW-RY9qWTt_MlpAnNZW7Brsr2eprrjNl3j__WYyyzC8f8-YZAYTlOpPmbwDwIfwhk31UjnA/s1600/13.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;98&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNwTMZy3CB5WBzveEsOU_VP5JhG9RX-x8gwRJe8reeHydixp-YxSdQTND5Lt3C53nwlNYnvW-RY9qWTt_MlpAnNZW7Brsr2eprrjNl3j__WYyyzC8f8-YZAYTlOpPmbwDwIfwhk31UjnA/s320/13.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;6. Click the check mark to accept the domain name.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Windows Azure validates the existence of the hostname in the public DNS before it save changes and updates the internal Windows Azure DNS. Windows Azure validates the hostname before committing the save. By waiting until the CNAME change propagates, Windows Azure can verify that the custom domain belongs to the site owner. Verification allows Windows Azure routing to set up the route for each hostname, and ensures that every hostname belongs to one and only one site.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;Configure an A record for the domain name&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
To configure an A record, you must configure a CNAME record used to verify the domain name. This process is the same as the one used to configure a CNAME record to point to your web site, except that you configure the CNAME record domain names that will be used for verification purposes. For example, using the Microsoft sample domain contoso.com, the hostname will be awverify.www.contoso.com and the value will be awverify.mysite.azurewebsites.net. Once this has propagated, you can configure the A record.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;In your browser, open the Windows Azure Management Portal.&lt;/li&gt;
&lt;li&gt;In the Web Sites tab, click the name of your site.&lt;/li&gt;
&lt;li&gt;Click the Dashboard tab.&lt;/li&gt;
&lt;li&gt;At the bottom of the screen click Manage Domains.&lt;/li&gt;
&lt;/ol&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/AVvXsEj98V8DYJC9u386DmpXPHXA47Y17Y5G9uxznkUqsaOq4Q4m55vzBiddL5zCbJc2Th2MeMUXHRUnLWnBFNL6U4per12Qpoh-NP-w8ptepYhJIDlVtqE8i9N-m8xgR5WZ1jH0mEzk6sH60tU/s1600/45.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;214&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj98V8DYJC9u386DmpXPHXA47Y17Y5G9uxznkUqsaOq4Q4m55vzBiddL5zCbJc2Th2MeMUXHRUnLWnBFNL6U4per12Qpoh-NP-w8ptepYhJIDlVtqE8i9N-m8xgR5WZ1jH0mEzk6sH60tU/s320/45.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;&amp;nbsp; 5. On the Manage custom domains dialog, locate The IP Address to use when configuring A records.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;Copy the IP address.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 6. Log on to your DNS registrar&#39;s web site, and go to the page for managing DNS. You might find this in a section such as Domain Name, DNS, or Name Server Management.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 7. Configure the domain name and the IP address you copied in step 5. For example, the following DNS example forwards all traffic from contoso.com to 172.16.48.1.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; style=&quot;background-color: white; border: 1px solid rgb(0, 0, 0); color: #666666; font-family: wf_SegoeUI, &#39;Segoe UI&#39;, Segoe, &#39;Segoe WP&#39;, HelveticaNeue, Helvetica, Tahoma, Garuda, Arial, sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 14px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;th&gt;&lt;strong&gt;Alias&lt;/strong&gt;&lt;/th&gt;&lt;th&gt;&lt;strong&gt;TTL&lt;/strong&gt;&lt;/th&gt;&lt;th&gt;&lt;strong&gt;Type&lt;/strong&gt;&lt;/th&gt;&lt;th&gt;&lt;strong&gt;Value&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;awverify.www.contoso.com&lt;/td&gt;&lt;td&gt;86400&lt;/td&gt;&lt;td&gt;CNAME&lt;/td&gt;&lt;td&gt;awverify.mysite.azurewebsites.net&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;contoso.com&lt;/td&gt;&lt;td&gt;7200&lt;/td&gt;&lt;td&gt;A&lt;/td&gt;&lt;td&gt;172.16.48.1&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://firstinterviewquestions.blogspot.com/feeds/5851095789568179074/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://firstinterviewquestions.blogspot.com/2013/11/configuring-custom-domain-name-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/5851095789568179074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/5851095789568179074'/><link rel='alternate' type='text/html' href='http://firstinterviewquestions.blogspot.com/2013/11/configuring-custom-domain-name-for.html' title='Configuring a custom domain name for a Windows Azure web site'/><author><name>First interview questions</name><uri>http://www.blogger.com/profile/08571981480387865622</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/AVvXsEg6rg966uZtsmGnhHOJt1Ar74MxPFtGXzUDgXP6kbfhq236PfK76MYR7W4BZjRpJEJCOnxu3k_OoCdxnLlZB38yLdD6Dv9oJZKmgrCgCoCRPlYLbm7UyGqM2uEL2frSC-D_ujaaVWzLH1I/s72-c/1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7393014549534116.post-6307456766542079400</id><published>2013-11-09T04:00:00.000-08:00</published><updated>2013-11-09T04:00:05.873-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp.net"/><category scheme="http://www.blogger.com/atom/ns#" term="asp.net 3.5 mvc"/><category scheme="http://www.blogger.com/atom/ns#" term="c#"/><category scheme="http://www.blogger.com/atom/ns#" term="deploy"/><category scheme="http://www.blogger.com/atom/ns#" term="DOTNET"/><category scheme="http://www.blogger.com/atom/ns#" term="iis"/><title type='text'>Redirect non-www to www</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 14px; line-height: 22.390625px;&quot;&gt;To redirect requests without the www to www on sites on IIS7, adding the following rules to your web.config.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14px; line-height: 22.390625px;&quot;&gt;Make sure&lt;/span&gt;&lt;span style=&quot;background-color: white; color: red; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;your.domain.name&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-size: 14px; line-height: 22.390625px;&quot;&gt;below is changed to your domain name.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 14px; line-height: 22.390625px;&quot;&gt;NOTE: If you already have a web.config with rules configured, add the rule below, otherwise a full web.config example is below it.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: #707172; font-size: 14px; line-height: 22.390625px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-size: 14px; line-height: 22.390625px;&quot;&gt;Rule&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 14px; line-height: 22.390625px;&quot;&gt;=========================================================================&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br style=&quot;background-color: white; color: #707172; font-size: 14px; line-height: 22.390625px;&quot; /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: maroon; font-size: 14px; line-height: 22.390625px;&quot;&gt;rule&lt;/span&gt;&lt;span style=&quot;background-color: white; color: red; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;name&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;=&quot;Redirect to WWW&quot;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: red; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;stopProcessing&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;=&quot;true&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: maroon; font-size: 14px; line-height: 22.390625px;&quot;&gt;match&lt;/span&gt;&lt;span style=&quot;background-color: white; color: red; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;url&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;=&quot;.*&quot;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: red; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: maroon; font-size: 14px; line-height: 22.390625px;&quot;&gt;conditions&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: maroon; font-size: 14px; line-height: 22.390625px;&quot;&gt;add&lt;/span&gt;&lt;span style=&quot;background-color: white; color: red; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;input&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;=&quot;{HTTP_HOST}&quot;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: red; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;pattern&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;=&quot;^your.domain.name$&quot;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: red; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style=&quot;background-color: white; color: maroon; font-size: 14px; line-height: 22.390625px;&quot;&gt;conditions&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: maroon; font-size: 14px; line-height: 22.390625px;&quot;&gt;action&lt;/span&gt;&lt;span style=&quot;background-color: white; color: red; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;type&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;=&quot;Redirect&quot;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: red; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;url&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;=&quot;http://www.your.domain.name/{R:0}&quot;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: red; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;redirectType&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;=&quot;Permanent&quot;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: red; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style=&quot;background-color: white; color: maroon; font-size: 14px; line-height: 22.390625px;&quot;&gt;rule&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br style=&quot;background-color: white; color: #707172; font-size: 14px; line-height: 22.390625px;&quot; /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Verdana, sans-serif; font-size: 14px; line-height: 22.390625px;&quot;&gt;Full Web.Config with Rule&lt;br /&gt;==========================================================================&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br style=&quot;background-color: white; color: #707172; font-size: 14px; line-height: 22.390625px;&quot; /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: maroon; font-size: 14px; line-height: 22.390625px;&quot;&gt;configuration&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: maroon; font-size: 14px; line-height: 22.390625px;&quot;&gt;system.webServer&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: maroon; font-size: 14px; line-height: 22.390625px;&quot;&gt;rewrite&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: maroon; font-size: 14px; line-height: 22.390625px;&quot;&gt;rules&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: maroon; font-size: 14px; line-height: 22.390625px;&quot;&gt;rule&lt;/span&gt;&lt;span style=&quot;background-color: white; color: red; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;name&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;=&quot;Redirect to WWW&quot;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: red; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;stopProcessing&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;=&quot;true&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: maroon; font-size: 14px; line-height: 22.390625px;&quot;&gt;match&lt;/span&gt;&lt;span style=&quot;background-color: white; color: red; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;url&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;=&quot;.*&quot;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: red; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: maroon; font-size: 14px; line-height: 22.390625px;&quot;&gt;conditions&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: maroon; font-size: 14px; line-height: 22.390625px;&quot;&gt;add&lt;/span&gt;&lt;span style=&quot;background-color: white; color: red; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;input&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;=&quot;{HTTP_HOST}&quot;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: red; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;pattern&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;=&quot;^your.domain.name$&quot;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: red; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style=&quot;background-color: white; color: maroon; font-size: 14px; line-height: 22.390625px;&quot;&gt;conditions&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: maroon; font-size: 14px; line-height: 22.390625px;&quot;&gt;action&lt;/span&gt;&lt;span style=&quot;background-color: white; color: red; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;type&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;=&quot;Redirect&quot;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: red; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;url&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;=&quot;http://www.your.domain.name/{R:0}&quot;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: red; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;redirectType&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;=&quot;Permanent&quot;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: red; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style=&quot;background-color: white; color: maroon; font-size: 14px; line-height: 22.390625px;&quot;&gt;rule&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;background-color: white; color: maroon; font-size: 14px; line-height: 22.390625px;&quot;&gt;rules&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;background-color: white; color: maroon; font-size: 14px; line-height: 22.390625px;&quot;&gt;rewrite&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;background-color: white; color: maroon; font-size: 14px; line-height: 22.390625px;&quot;&gt;system.webServer&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: black; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;background-color: white; color: maroon; font-size: 14px; line-height: 22.390625px;&quot;&gt;configuration&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-size: 14px; line-height: 22.390625px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://firstinterviewquestions.blogspot.com/feeds/6307456766542079400/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://firstinterviewquestions.blogspot.com/2013/11/redirect-non-www-to-www.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/6307456766542079400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/6307456766542079400'/><link rel='alternate' type='text/html' href='http://firstinterviewquestions.blogspot.com/2013/11/redirect-non-www-to-www.html' title='Redirect non-www to www'/><author><name>First interview questions</name><uri>http://www.blogger.com/profile/08571981480387865622</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-7393014549534116.post-363057694826664919</id><published>2013-11-07T18:06:00.002-08:00</published><updated>2013-11-07T18:06:58.175-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c#"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio 2012"/><title type='text'>Using Assembly from the Web in Visual Studio</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Hi today i&#39;ll explain how to use web assembly in visual studio. for security reasons they don&#39;t allow the web assembly Dll&#39;s we need to do the following steps to use them in our project.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;If your Visual Studio was opened please Close Visual Studio.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Using Windows Explorer, browse to the assembly that you downloaded from the Web.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Right-click the assembly, and from the shortcut menu, select Properties.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The Properties dialog box opens.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;On the General tab, click the Unblock button to indicate that this assembly is trusted&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;u&gt;For your Info&lt;/u&gt;:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The Unblock button will not appear if the assembly is already unblocked and available.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Click OK to close the Properties dialog box.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You should now be able to browse to the assembly in the Choose Items or Add Reference dialog boxes.&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://firstinterviewquestions.blogspot.com/feeds/363057694826664919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://firstinterviewquestions.blogspot.com/2013/11/using-assembly-from-web-in-visual-studio.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/363057694826664919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/363057694826664919'/><link rel='alternate' type='text/html' href='http://firstinterviewquestions.blogspot.com/2013/11/using-assembly-from-web-in-visual-studio.html' title='Using Assembly from the Web in Visual Studio'/><author><name>First interview questions</name><uri>http://www.blogger.com/profile/08571981480387865622</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-7393014549534116.post-8278452237303826837</id><published>2013-11-06T20:19:00.003-08:00</published><updated>2013-11-07T18:00:09.081-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c#"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows phone"/><title type='text'>how to Detect lock and unlock in windowsphone</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In this article I will explain about how to detect Windows Phone is locking or incoming phone calls or Alarm is going to ring, etc. The similarities among all these actions are shell crome covers the frame of Windows Phone (Some UI covers the screen)&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;br /&gt;Microsoft.Phone.Controls has Obscured event is triggered whenever shell crome covers the frame of Windows Phone.&lt;br /&gt;Example:&lt;br /&gt;If you are making any FM player, it should stop playing in case of incoming phone call or alarms or on locking of screen.&lt;br /&gt;It should resume playing when phone call ends, when alarms is dismissed or on unlocking of screen.&lt;br /&gt;Obscured and Unobscured event can be used in such scenarios.&lt;br /&gt;Let&#39;s write small code:&lt;br /&gt;Step 1: Create a Silverlight for Windows Phone project.&lt;br /&gt;Step 2: Add two textboxes inside contentpanel of MainPage.xaml&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;lt;TextBlock Name=&quot;txtObs&quot; Grid.Column=&quot;0&quot; Margin=&quot;0,10,0,0&quot; Grid.Row=&quot;2&quot;/&amp;gt;&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Step 3: Add below lines of code in the constructor of the MainPage.xaml.cs. Create instance of RootFrame and add Obscured and Unobscured event to it.&lt;br /&gt;&lt;br /&gt;PhoneApplicationFrame rootFrame = (Application.Current as App).RootFrame;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;Step 4: Add OnObscured method and Unobscured method. For example OnObscured method will be triggered when phone is getting locked and Unobscured event will be triggered when phone is getting unlocked.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;lt;TextBlock Name=&quot;txtUnobs&quot; Grid.Column=&quot;0&quot; Margin=&quot;0,80,0,0&quot; Grid.Row=&quot;2&quot;/&amp;gt;&lt;br /&gt;&lt;br /&gt;rootFrame.Obscured += OnObscured;&lt;br /&gt;&lt;br /&gt;rootFrame.Unobscured += Unob&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;scured;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana; font-size: 12px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: x-small; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;color: blue; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;color: blue; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;color: blue; margin: 0px; padding: 0px;&quot;&gt;void&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;OnObscured(&lt;span style=&quot;color: #2b91af; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af; margin: 0px; padding: 0px;&quot;&gt;Object&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;sender,&amp;nbsp;&lt;span style=&quot;color: #2b91af; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af; margin: 0px; padding: 0px;&quot;&gt;ObscuredEventArgs&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; font-size: 12px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: x-small; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;e)&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&lt;span style=&quot;background-color: transparent;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp;txtObs.Text = &quot;Obscured at &quot; + DateTime.Now.ToString();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; font-size: 12px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: x-small; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;color: blue; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;color: blue; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;color: blue; margin: 0px; padding: 0px;&quot;&gt;void&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;Unobscured(&lt;span style=&quot;color: #2b91af; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af; margin: 0px; padding: 0px;&quot;&gt;Object&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;sender,&amp;nbsp;&lt;span style=&quot;color: #2b91af; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af; margin: 0px; padding: 0px;&quot;&gt;EventArgs&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; font-size: 12px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: x-small; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;e)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp;txtUnobs.Text = &quot;Unobscured at &quot; + DateTime.Now.ToString();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Step 5: Now run the application and lock and unlock the screen you will notice. Timestamp of Onbscured is when screen is locked and Timestamp of Unobscured is when screen is unlocked.&lt;br /&gt;This can be tested only on device.&lt;br /&gt;Points to remember:&lt;br /&gt;1. Use Obscured event when you want your application to do something in background even if phone is locked or even when incoming phone call.&lt;br /&gt;2. Make sure when you are using Obscured event to do some task in background, it should use minimal CPU or battery consumption.&lt;br /&gt;3. The end user should be prompted the user for confirmation to run something on background.&lt;br /&gt;4. To run your application in locked mode ApplicationIdleDetectionMode needs to be disabled.&lt;br /&gt;PhoneApplicationService.Current.ApplicationIdleDetectionMode = IdleDetectionMode.Disabled;&lt;br /&gt;Once ApplicationIdleDetectionMode is disable can be enabled by restart of the Application.&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://firstinterviewquestions.blogspot.com/feeds/8278452237303826837/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://firstinterviewquestions.blogspot.com/2013/11/how-to-detect-lock-and-unlock-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/8278452237303826837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/8278452237303826837'/><link rel='alternate' type='text/html' href='http://firstinterviewquestions.blogspot.com/2013/11/how-to-detect-lock-and-unlock-in.html' title='how to Detect lock and unlock in windowsphone'/><author><name>First interview questions</name><uri>http://www.blogger.com/profile/08571981480387865622</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-7393014549534116.post-8221276860415569972</id><published>2013-11-03T07:44:00.000-08:00</published><updated>2013-11-03T07:48:27.368-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="html"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="JQuery"/><title type='text'>Image preview using jquery</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hi today i&#39;ll explain how to show image preview for an uploaded image using jquery which will work in IE9 &amp;amp; IE10 hve a look in bellow code which an simple sampe to do the image preview.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; $(document).ready(function(){ &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(&#39;#imgInput&#39;).live(&#39;change&#39;,function(){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; readURL(this);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;br /&gt;
&amp;nbsp; &amp;nbsp; });&lt;br /&gt;
function readURL(input) {&lt;br /&gt;
var isIE = (navigator.appName==&quot;Microsoft Internet Explorer&quot;); &lt;br /&gt;
var path = input.value;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var $prev = $(&#39;#blah&#39;);&lt;br /&gt;
if(isIE) { &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if($(&quot;imgInput&quot;).val()!=&#39;&#39;){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $prev.attr(&#39;src&#39;, path);&lt;br /&gt;
&amp;nbsp;$prev.show();&lt;br /&gt;
&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;else{&lt;br /&gt;
&amp;nbsp;$prev.hide();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; else{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (input.files &amp;amp;&amp;amp; input.files[0]) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var reader = new FileReader();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; reader.onload = function (e) {&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; $prev.attr(&#39;src&#39;, e.target.result);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; reader.readAsDataURL(input.files[0]);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $prev.show();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $prev.hide();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;form id=&quot;form1&quot; runat=&quot;server&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;input id=&quot;imgInput&quot; type=&#39;file&#39; /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;img id=&quot;blah&quot; src=&quot;#&quot; alt=&quot;your image&quot; style=&quot;display:none; width:100px;height:100px;border:1px solid red;&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;/form&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://firstinterviewquestions.blogspot.com/feeds/8221276860415569972/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://firstinterviewquestions.blogspot.com/2013/11/image-preview-using-jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/8221276860415569972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/8221276860415569972'/><link rel='alternate' type='text/html' href='http://firstinterviewquestions.blogspot.com/2013/11/image-preview-using-jquery.html' title='Image preview using jquery'/><author><name>First interview questions</name><uri>http://www.blogger.com/profile/08571981480387865622</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-7393014549534116.post-7634166608834146149</id><published>2013-10-31T22:10:00.000-07:00</published><updated>2013-11-03T07:37:57.471-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp.net"/><category scheme="http://www.blogger.com/atom/ns#" term="c#"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows phone"/><title type='text'>remove web browser flickering in windows phone</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hi today i&#39;ll explain how to remove flicker effect for web browser in windows phone.&lt;br /&gt;
&lt;br /&gt;
for windows phone web browser that effect will occurs while refreshing with new content when ever we use navigate method. so for that we have to use following trick to make this work fine without flickering.&lt;br /&gt;
&lt;br /&gt;
when your document was loading use the below method that calls afters your document was loaded&lt;br /&gt;
&lt;br /&gt;
&amp;lt;phone:WebBrowser x:Name=&quot;webBrowser&quot; &amp;nbsp;Visibility=&quot;Collapsed&quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this.webBrowser.LoadCompleted += new System.Windows.Navigation.LoadCompletedEventHandler(webBrowser_LoadCompleted);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;private void webBrowser_LoadCompleted(object sender, NavigationEventArgs e)&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; web.OpacityMask = null;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; web.Opacity = 1;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; web.Visibility = System.Windows.Visibility.Visible;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
here this makes your browser not to flicker. we here nothing doing just making the browser collapsed and after the browser loaded we making the browser opacity visible and visibility visible, this makes hidden the &amp;nbsp;browser flickering. :)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://firstinterviewquestions.blogspot.com/feeds/7634166608834146149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://firstinterviewquestions.blogspot.com/2013/10/remove-web-browser-flicker-in-windows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/7634166608834146149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/7634166608834146149'/><link rel='alternate' type='text/html' href='http://firstinterviewquestions.blogspot.com/2013/10/remove-web-browser-flicker-in-windows.html' title='remove web browser flickering in windows phone'/><author><name>First interview questions</name><uri>http://www.blogger.com/profile/08571981480387865622</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-7393014549534116.post-306581655284910349</id><published>2013-10-30T09:00:00.000-07:00</published><updated>2013-11-07T22:11:11.432-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows Azure"/><title type='text'>Using Scheduled Task on a Web Role to replace Azure Worker Role for background job.</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&#39;ll explain how to deploy Schedule tast .exe on web role to replace the worker role for background job.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
create one Web project there just create your task folder and past your &quot;.exe&quot; task and &quot;config&quot; to that folder like follows&amp;nbsp;&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/AVvXsEgBd6CdBAFrfaorev_cjgnAPse0pshj8PLIR-ljj6tY3a2WDiZShfanAxuS9SueniyaOkOQJQTveDrxtixFxKD3TvVfiIosWUxyWVBOqzIVfVplkw9m-tv5HRYoyRsxErRLvjqz0o0CksE/s1600/menu.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBd6CdBAFrfaorev_cjgnAPse0pshj8PLIR-ljj6tY3a2WDiZShfanAxuS9SueniyaOkOQJQTveDrxtixFxKD3TvVfiIosWUxyWVBOqzIVfVplkw9m-tv5HRYoyRsxErRLvjqz0o0CksE/s1600/menu.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
then create one start-up task for that to make the task run for every particular time or every day or every month by giving command to make execute&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
for example if you want to execute that task for every 10mins use this commant&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
@echo off&lt;br /&gt;
REM ********************************************************&lt;br /&gt;
REM Start the Task Scheduler Service&lt;br /&gt;
REM ********************************************************&lt;br /&gt;
net start &quot;task scheduler&quot;&lt;br /&gt;
REM ********************************************************&lt;br /&gt;
REM Create scheduled tasks.&lt;br /&gt;
REM ********************************************************&lt;br /&gt;
SCHTASKS /Create /SC MINUTE /MO 10 /TN TaskScheduler /TR &quot;%~dp0TaskRunner.exe&quot; /RU SYSTEM /F /RL HIGHEST&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
To create an startup task file use notepad and save it as &quot;.CMD&quot; form them it will create the file.&lt;br /&gt;
and add startup in your webrole &quot;servicedefinition.csdef&quot; file add below code under your webrole.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Startup&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Task commandLine=&quot;TaskScheduler&amp;nbsp;.cmd&quot; executionContext=&quot;elevated&quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/Startup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
then do deploy your web role in azure like previous post i explained. thanks for reading.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://firstinterviewquestions.blogspot.com/feeds/306581655284910349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://firstinterviewquestions.blogspot.com/2013/10/using-scheduled-task-on-web-role-to_30.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/306581655284910349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/306581655284910349'/><link rel='alternate' type='text/html' href='http://firstinterviewquestions.blogspot.com/2013/10/using-scheduled-task-on-web-role-to_30.html' title='Using Scheduled Task on a Web Role to replace Azure Worker Role for background job.'/><author><name>First interview questions</name><uri>http://www.blogger.com/profile/08571981480387865622</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/AVvXsEgBd6CdBAFrfaorev_cjgnAPse0pshj8PLIR-ljj6tY3a2WDiZShfanAxuS9SueniyaOkOQJQTveDrxtixFxKD3TvVfiIosWUxyWVBOqzIVfVplkw9m-tv5HRYoyRsxErRLvjqz0o0CksE/s72-c/menu.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7393014549534116.post-4208758238590310556</id><published>2013-10-29T23:42:00.000-07:00</published><updated>2013-10-29T23:42:03.784-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows Azure"/><title type='text'>deploy existing wcf service to azure</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;margin-bottom: .0001pt; margin: 0cm;&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;Hi today i&#39;ll explain how to deploy existing service to Azure
cloud web role to make your services for your client app/web faster.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;first just&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;add&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;an&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;cloud project&lt;/b&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;to your exiting service project&lt;/span&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; class=&quot;separator&quot; style=&quot;margin: 0cm 0cm 0.0001pt; 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/AVvXsEgTFO3OKwNK06De8dGG5ArxYlmEBtrgd14m2hhZxmV6IHnWbyZFwFgMUJfAceKKBdnnaQxru2UTsbj9mqYQ-CRiapGiiLHz_AfGTBufWvPzB27v-JDVPxg63oWQu1ClUYXmJpaYfG3Kkww/s1600/azure+template.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;221&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTFO3OKwNK06De8dGG5ArxYlmEBtrgd14m2hhZxmV6IHnWbyZFwFgMUJfAceKKBdnnaQxru2UTsbj9mqYQ-CRiapGiiLHz_AfGTBufWvPzB27v-JDVPxg63oWQu1ClUYXmJpaYfG3Kkww/s320/azure+template.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; class=&quot;separator&quot; style=&quot;margin: 0cm 0cm 0.0001pt; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;Now&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;select&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;that&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;azure cloud service&lt;/b&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;just after that it will ask for the
project type that you want you create like bellow :&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfVnI_hT0ZhE4cRxtdlxnV1Ip7Imoy8sUx9GUlNFmiDN0vuCM_9T0wSJ8OYpOkBGAKGk5BTdfPWM8YQLkKrKmzFmprHpqiRCtjB19XxVALmFuBGm8qhfcEooMQSB1ehvP625Ro6m8AdOU/s1600/Select+cancel.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;213&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfVnI_hT0ZhE4cRxtdlxnV1Ip7Imoy8sUx9GUlNFmiDN0vuCM_9T0wSJ8OYpOkBGAKGk5BTdfPWM8YQLkKrKmzFmprHpqiRCtjB19XxVALmFuBGm8qhfcEooMQSB1ehvP625Ro6m8AdOU/s320/Select+cancel.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; class=&quot;separator&quot; style=&quot;margin: 0cm 0cm 0.0001pt; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;for new project you can create the dependency under your
requirement for our service you don&#39;t need to create new project just click
cancel and create the azure cloud service with out any roles given to that.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;under that then go to your project and select the&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&amp;nbsp;roles --&amp;gt; Add --&amp;gt;
Web-role Project in solution&lt;/b&gt;. then select ok, then it will show you the
current project file references then select the project reference as role.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhXmDWQ7dArcBsLblX7Q2wjZq3_dMCr-wlnK34ROYv4_yUTMDNBtXhyz1yUXlZNmA5mT_gRdeJ13eflQaNDR4DlBfPf84oHXK6BdWlz_xcNxa9uiftQ0CCD3nE_Dm7u9Rx7KRq2luX2iA/s1600/Azure+adding+exists.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;73&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhXmDWQ7dArcBsLblX7Q2wjZq3_dMCr-wlnK34ROYv4_yUTMDNBtXhyz1yUXlZNmA5mT_gRdeJ13eflQaNDR4DlBfPf84oHXK6BdWlz_xcNxa9uiftQ0CCD3nE_Dm7u9Rx7KRq2luX2iA/s320/Azure+adding+exists.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;then after give your&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;cloud
SQL database connection in your &#39;config file&#39;&amp;nbsp;&lt;/b&gt;for the service to serve
data from the clod database. you can find the&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;Connection
string in your database account under Dashboard.&amp;nbsp;&lt;/b&gt;Then&amp;nbsp;publish
your azure project. it will shown up the windows like bellow :&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZskY5WrLXU0wehPQRrI-E9p-XkoCyn9qJuthcWZwhEpDdnmi4MXRArTrcsbtn31ykPeNSXruXTpe2Ii_IXod7a8x_GtCCihtaK0UIsFfapcwpH9iO-SjlYmZc1LXqIqcai42LGhwq5sI/s1600/FileCapture.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;215&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZskY5WrLXU0wehPQRrI-E9p-XkoCyn9qJuthcWZwhEpDdnmi4MXRArTrcsbtn31ykPeNSXruXTpe2Ii_IXod7a8x_GtCCihtaK0UIsFfapcwpH9iO-SjlYmZc1LXqIqcai42LGhwq5sI/s320/FileCapture.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;&amp;nbsp;for first time it will ask for log in to download the
credential file at start-up then click&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&quot;Sign
in to Download credentials&quot;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;then
after that your log in it will download an file then go for import and load
your subscription file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;Then select next option there you can find the&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;clould service&lt;/b&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;go for&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;create new&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;it will shown up like this.&lt;/span&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhso-gyn8EwAcyflw-4HtuqbOqWmLASvieexbLPKVZ_6xbTJ8j4ldcS6PZUwSC4HIcOEBi2IQ-mO-ctvlM2VLmhMoEkG-s1DQkgml0u8uKNaakb7n-qI5ct43KqE9aH3BFyRQ50zurAjbM/s1600/cloudcreate.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;214&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhso-gyn8EwAcyflw-4HtuqbOqWmLASvieexbLPKVZ_6xbTJ8j4ldcS6PZUwSC4HIcOEBi2IQ-mO-ctvlM2VLmhMoEkG-s1DQkgml0u8uKNaakb7n-qI5ct43KqE9aH3BFyRQ50zurAjbM/s320/cloudcreate.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; class=&quot;separator&quot; style=&quot;margin: 0cm 0cm 0.0001pt; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;then create with name instance that you want to create cloud
service and location that the cloud server that you want to deploy it.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;then select&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;Remote
enable for roles&lt;/b&gt;&amp;nbsp;it will help to check the server errors via remotely.
then do publish your cloud service by clicking publish then after some time it
will be published. you can prompt your info&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;regarding publishing under&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;Windows
Azure Activity Log&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;like
bellow&lt;/span&gt;&lt;/div&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;div style=&quot;margin: 0cm 0cm 0.0001pt;&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/AVvXsEhjrrcDRh-TJhdsjtrgWgjSIB4sgdk9Rqrd6Po2MY2mhwu0VkQ2z5U2xfpvazZqSFLOOr8GY4XavdzcpYNx1TykeDXnxEVYYTNLQbaaOg6ivBXFecaoU6YAOqbDkEKIzBt7sVHiD04EUH8/s1600/Start+of+deployment.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;72&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjrrcDRh-TJhdsjtrgWgjSIB4sgdk9Rqrd6Po2MY2mhwu0VkQ2z5U2xfpvazZqSFLOOr8GY4XavdzcpYNx1TykeDXnxEVYYTNLQbaaOg6ivBXFecaoU6YAOqbDkEKIzBt7sVHiD04EUH8/s320/Start+of+deployment.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; class=&quot;separator&quot; style=&quot;margin: 0cm 0cm 0.0001pt; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;after success full deployment the service will serve you with
faster.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://firstinterviewquestions.blogspot.com/feeds/4208758238590310556/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://firstinterviewquestions.blogspot.com/2013/10/deploy-existing-wcf-service-to-azure_29.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/4208758238590310556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7393014549534116/posts/default/4208758238590310556'/><link rel='alternate' type='text/html' href='http://firstinterviewquestions.blogspot.com/2013/10/deploy-existing-wcf-service-to-azure_29.html' title='deploy existing wcf service to azure'/><author><name>First interview questions</name><uri>http://www.blogger.com/profile/08571981480387865622</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/AVvXsEgTFO3OKwNK06De8dGG5ArxYlmEBtrgd14m2hhZxmV6IHnWbyZFwFgMUJfAceKKBdnnaQxru2UTsbj9mqYQ-CRiapGiiLHz_AfGTBufWvPzB27v-JDVPxg63oWQu1ClUYXmJpaYfG3Kkww/s72-c/azure+template.PNG" height="72" width="72"/><thr:total>1</thr:total></entry></feed>