<?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-4101132616102118425</id><updated>2024-09-08T20:35:40.749+03:00</updated><category term="Microsoft"/><category term="SharePoint 2013"/><category term="SharePoint Designer 2013"/><category term="Sharepoint"/><category term="AJAX"/><category term="Exception"/><category term="IIS 7.0"/><category term="Imagine Cup"/><category term="Microsoft Ajax"/><category term="Script Manager"/><category term="WCF"/><category term="Workflow"/><category term="Workflow Manager"/><category term="javascript"/><category term=".Net framework 3.5"/><category term=".net framework 3.0"/><category term=".svc"/><category term=".svc/js"/><category term=".svc/jsdebug"/><category term="ASP.NET"/><category term="Activities"/><category term="Barmagy"/><category term="C#"/><category term="Community"/><category term="Competetion"/><category term="Egypt"/><category term="Error"/><category term="Handler Mappings"/><category term="JQuery"/><category term="LinQ"/><category term="Microsoft Egypt"/><category term="Server"/><category term="Service Reference"/><category term="SharePoint App"/><category term="SharePoint Designer"/><category term="Sharepoint 2010"/><category term="Site App Permissions"/><category term="Solution"/><category term="TFS"/><category term="Team Foundation Server"/><category term="Visual Studio"/><category term="Web.config. handlers. ISAPI"/><category term="Windows Communication Foundation"/><category term="svc"/><title type='text'>.Net Dimension</title><subtitle type='html'>It&#39;s all about Microsoft .net framework and how to use Microsoft technologies in your application.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://kholyos.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://kholyos.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Khaled Moawad</name><uri>http://www.blogger.com/profile/18409094683773228045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKXrQFQ5ErhRc6XWDCsrn1Bow5lkzgLf-QkaF9LPmBskrGh4DVtDaIOHZ7IoGZA8IyE2sSQ2bW-IXk2ZcNTCI6ZIjKYs83BveAoeVzO-T85elKsRGZXSp-QcqzZBaBmQ/s220/131_3190.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>18</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4101132616102118425.post-3362437539522977100</id><published>2013-04-18T12:05:00.002+02:00</published><updated>2013-04-18T12:05:49.252+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Exception"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2013"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint App"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint Designer 2013"/><category scheme="http://www.blogger.com/atom/ns#" term="Site App Permissions"/><category scheme="http://www.blogger.com/atom/ns#" term="Solution"/><title type='text'>Workflow Can Use App Permissions Feature and Publish Workflow</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
When trying to enable &quot;Workflow Can Use App Permissions&quot; under Site Settings=&amp;gt; Manage Site Features =&amp;gt; then trying to activate the feature, I found the following exception occurs:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;Exception information:&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&amp;nbsp; &amp;nbsp; Exception type: SPException&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&amp;nbsp; &amp;nbsp; Exception message: We&#39;re sorry, we weren&#39;t able to complete the operation, please try again in a few minutes. If you see this message repeatedly, contact your administrator.&lt;/span&gt;&lt;br style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&amp;nbsp; &amp;nbsp;at Microsoft.SharePoint.SPScaleOutDatabaseMap.CreateSqlSession(ISPScaleOutDatabaseMapProvider mapProvider, Byte[] compositeKey, Guid forceRefreshVersion, Guid&amp;amp; version)&lt;/span&gt;&lt;br style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&amp;nbsp; &amp;nbsp;at Microsoft.SharePoint.SPScaleOutDatabaseCommandExecutor.Execute(ExecuteDelegate operation, ISPScaleOutDatabaseMapProvider mapProvider, SPSqlCommand command, Byte[] compositeKey)&lt;/span&gt;&lt;br style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&amp;nbsp; &amp;nbsp;at Microsoft.SharePoint.AppManagement.AppManagementServiceApplicationProxy.PutApp(SPAppPrincipalInfo appInfo)&lt;/span&gt;&lt;br style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&amp;nbsp; &amp;nbsp;at Microsoft.SharePoint.AppRegistration.AddOrUpdateAppNoPermissionCheck(SPAppPrincipalInfo appInfo)&lt;/span&gt;&lt;br style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&amp;nbsp; &amp;nbsp;at Microsoft.SharePoint.SPAppPrincipalManager.RegisterWithInternalDirectory(SPAppPrincipalIdentityProvider identityProvider, String nameIdentifier, String displayName, List`1 appEndpointAuthorities, List`1 redirectAddresses, Boolean delegateAppPermissions, Boolean isInternalDirectoryApp)&lt;/span&gt;&lt;br style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&amp;nbsp; &amp;nbsp;at Microsoft.SharePoint.SPAppPrincipalManager.CreateAppPrincipal(SPExternalAppPrincipalCreationParameters creationParameters)&lt;/span&gt;&lt;br style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&amp;nbsp; &amp;nbsp;at Microsoft.SharePoint.WorkflowServices.SPWebWorkflowSecurityContext.EnsureAppPrincipal(SPWeb elevatedWeb)&lt;/span&gt;&lt;br style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&amp;nbsp; &amp;nbsp;at Microsoft.SharePoint.WorkflowServices.SPWebWorkflowSecurityContext.&amp;lt;&amp;gt;c__DisplayClass1.&lt;configureapponlypolicy&gt;b__0()&lt;/configureapponlypolicy&gt;&lt;/span&gt;&lt;br style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&amp;nbsp; &amp;nbsp;at Microsoft.SharePoint.SPSecurity.&amp;lt;&amp;gt;c__DisplayClass5.&lt;runwithelevatedprivileges&gt;b__3()&lt;/runwithelevatedprivileges&gt;&lt;/span&gt;&lt;br style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&amp;nbsp; &amp;nbsp;at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)&lt;/span&gt;&lt;br style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&amp;nbsp; &amp;nbsp;at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)&lt;/span&gt;&lt;br style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&amp;nbsp; &amp;nbsp;at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)&lt;/span&gt;&lt;br style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&amp;nbsp; &amp;nbsp;at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce)&lt;/span&gt;&lt;br style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&amp;nbsp; &amp;nbsp;at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce)&lt;/span&gt;&lt;br style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&amp;nbsp; &amp;nbsp;at Microsoft.SharePoint.SPFeatureCollection.AddInternal(SPFeatureDefinition featdef, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly)&lt;/span&gt;&lt;br style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&amp;nbsp; &amp;nbsp;at Microsoft.SharePoint.SPFeatureCollection.AddInternalWithName(Guid featureId, Int32 compatibilityLevel, String featureName, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly, SPFeatureDefinitionScope featdefScope)&lt;/span&gt;&lt;br style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&amp;nbsp; &amp;nbsp;at Microsoft.SharePoint.WebControls.FeatureActivator.ActivateFeature(Guid featid, Int32 compatibilityLevel, SPFeatureDefinitionScope featdefScope)&lt;/span&gt;&lt;br style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&amp;nbsp; &amp;nbsp;at Microsoft.SharePoint.WebControls.FeatureActivatorItem.ToggleFeatureActivation()&lt;/span&gt;&lt;br style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&amp;nbsp; &amp;nbsp;at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)&lt;/span&gt;&lt;br style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&amp;nbsp; &amp;nbsp;at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
Also, Same exception appeared while trying to publish SharePoint 2013 Workflow. I tried to find a related events in the Event Viewer and I found a lot of exceptions related to &quot;App Management Service&quot; service application in SharePoint and I found most of exceptions was related the SQL login fail to the backend database. So, in that case, All you need is to check user permission to the database. Or simply delete the current App Management&amp;nbsp;Service&amp;nbsp;from central administration by going to Application Management, under Service Application click on Manage Service Application. In the page click on App Management Service then click delete from the ribbon. Then, you can go to the configuration wizard again at the left of the central administration and start the configuration again.&lt;br /&gt;
&lt;br /&gt;
Please refer to&amp;nbsp;&lt;a href=&quot;http://technet.microsoft.com/en-us/library/fp161236.aspx&quot;&gt;http://technet.microsoft.com/en-us/library/fp161236.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Also, Please be cautious at the live environment, the above steps are tested at the development environment.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kholyos.blogspot.com/feeds/3362437539522977100/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kholyos.blogspot.com/2013/04/workflow-can-use-app-permissions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/3362437539522977100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/3362437539522977100'/><link rel='alternate' type='text/html' href='http://kholyos.blogspot.com/2013/04/workflow-can-use-app-permissions.html' title='Workflow Can Use App Permissions Feature and Publish Workflow'/><author><name>Khaled Moawad</name><uri>http://www.blogger.com/profile/18409094683773228045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKXrQFQ5ErhRc6XWDCsrn1Bow5lkzgLf-QkaF9LPmBskrGh4DVtDaIOHZ7IoGZA8IyE2sSQ2bW-IXk2ZcNTCI6ZIjKYs83BveAoeVzO-T85elKsRGZXSp-QcqzZBaBmQ/s220/131_3190.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4101132616102118425.post-1503471514204394617</id><published>2013-04-18T11:46:00.000+02:00</published><updated>2013-04-18T11:46:03.754+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Error"/><category scheme="http://www.blogger.com/atom/ns#" term="Exception"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2013"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint Designer 2013"/><category scheme="http://www.blogger.com/atom/ns#" term="Workflow"/><category scheme="http://www.blogger.com/atom/ns#" term="Workflow Manager"/><title type='text'>Cannot Publish SharePoint 2013 Workflow using SharePoint Designer</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
When trying to publish SharePoint 2013 Workflow using SharePoint designer 2013, sometimes the following exception appears:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;Microsoft.Workflow.Client.ActivityValidationException: Workflow XAML failed validation due to the following errors:&lt;/span&gt;&lt;br style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;Cannot set unknown member &#39;CompositeTask.RelatedContentLinkListItemIntegerId&#39;. HTTP headers received from the server - ActivityId: 15459ce7-8e0d-4267-aa59-cc724289e422. NodeId: TECSRVSOL02. Scope: /SharePoint/default/c8ca3a4c-bb1a-4056-b675-597fa0348916/0d4731cd-bfe2-47b6-acd2-6caa6bd45931&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
I tried so hard to find a solution for this until I found this &lt;a href=&quot;http://sp2013-blog.com/2013/04/solution-errors-were-found-when-compiling-the-workflow-the-workflow-files-were-saved-but-cannot-be-run-cannot-set-unknown-member/&quot;&gt;post &lt;/a&gt;(&lt;a href=&quot;http://sp2013-blog.com/2013/04/solution-errors-were-found-when-compiling-the-workflow-the-workflow-files-were-saved-but-cannot-be-run-cannot-set-unknown-member/&quot;&gt;http://sp2013-blog.com/2013/04/solution-errors-were-found-when-compiling-the-workflow-the-workflow-files-were-saved-but-cannot-be-run-cannot-set-unknown-member/&lt;/a&gt;) Michael&lt;span style=&quot;color: #373737; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 24px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;and the following &lt;a href=&quot;http://sharepointserver-2007.blogspot.ae/2013/04/sharepoint-designer-error-while.html&quot;&gt;Post &lt;/a&gt;by Tarek Yehia (&lt;a href=&quot;http://sharepointserver-2007.blogspot.ae/2013/04/sharepoint-designer-error-while.html&quot;&gt;http://sharepointserver-2007.blogspot.ae/2013/04/sharepoint-designer-error-while.html&lt;/a&gt;).&lt;br /&gt;
&lt;br /&gt;
Basically, The solution was to register Workflow service again using SharePoint 2013 Power Shell.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Register-SPWorkflowService -SPSite &#39;https://myhost/mysite&#39; -WorkflowHostUri &#39;https://workflowhost&#39; -AllowOAuthHttp -Force&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kholyos.blogspot.com/feeds/1503471514204394617/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kholyos.blogspot.com/2013/04/cannot-publish-sharepoint-2013-workflow.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/1503471514204394617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/1503471514204394617'/><link rel='alternate' type='text/html' href='http://kholyos.blogspot.com/2013/04/cannot-publish-sharepoint-2013-workflow.html' title='Cannot Publish SharePoint 2013 Workflow using SharePoint Designer'/><author><name>Khaled Moawad</name><uri>http://www.blogger.com/profile/18409094683773228045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKXrQFQ5ErhRc6XWDCsrn1Bow5lkzgLf-QkaF9LPmBskrGh4DVtDaIOHZ7IoGZA8IyE2sSQ2bW-IXk2ZcNTCI6ZIjKYs83BveAoeVzO-T85elKsRGZXSp-QcqzZBaBmQ/s220/131_3190.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4101132616102118425.post-2982234715807801923</id><published>2013-04-07T09:06:00.004+02:00</published><updated>2013-04-07T09:07:44.989+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="Server"/><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2013"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint Designer 2013"/><category scheme="http://www.blogger.com/atom/ns#" term="Workflow"/><category scheme="http://www.blogger.com/atom/ns#" term="Workflow Manager"/><title type='text'>SharePoint 2013 Workflows (Loops and State Machine)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Finally, SharePoint 2013 supports a state machine workflow. It is not mandatory to be sequential. Also, It supports loops now, so you can create loop without the guilty feeling of the workaround developers were doing in old SharePoint servers. Good Job.&lt;br /&gt;
In the image below, you can add go to another stage in the &quot;transition to stage&quot; scope. You have to configure Workflow Manager 1.0 and register the workflow service to the SharePoint 2013 Server. If you need more help about that, Kindly refer to&amp;nbsp;&lt;a href=&quot;http://technet.microsoft.com/en-us/library/jj658588.aspx&quot;&gt;http://technet.microsoft.com/en-us/library/jj658588.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCBhqSigwLrXfjFYOULVlAVMuSwCv_dGmQ6eVMPOxb7bdBIq0YfNXTzQkZJ3mnPTP4xxVtCDhhEzhWIWTpq0kV2cnHLMaDMqY76gq_MnjGHEu6HsA7S2EYErJtJekkaLP01qwhbU2RTRA/s1600/State+Machine.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;SharePoint 2013 Workflow Designer&quot; border=&quot;0&quot; height=&quot;215&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCBhqSigwLrXfjFYOULVlAVMuSwCv_dGmQ6eVMPOxb7bdBIq0YfNXTzQkZJ3mnPTP4xxVtCDhhEzhWIWTpq0kV2cnHLMaDMqY76gq_MnjGHEu6HsA7S2EYErJtJekkaLP01qwhbU2RTRA/s400/State+Machine.png&quot; title=&quot;SharePoint 2013 Workflow Designer&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kholyos.blogspot.com/feeds/2982234715807801923/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kholyos.blogspot.com/2013/04/sharepoint-2013-workflows-loops-and.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/2982234715807801923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/2982234715807801923'/><link rel='alternate' type='text/html' href='http://kholyos.blogspot.com/2013/04/sharepoint-2013-workflows-loops-and.html' title='SharePoint 2013 Workflows (Loops and State Machine)'/><author><name>Khaled Moawad</name><uri>http://www.blogger.com/profile/18409094683773228045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKXrQFQ5ErhRc6XWDCsrn1Bow5lkzgLf-QkaF9LPmBskrGh4DVtDaIOHZ7IoGZA8IyE2sSQ2bW-IXk2ZcNTCI6ZIjKYs83BveAoeVzO-T85elKsRGZXSp-QcqzZBaBmQ/s220/131_3190.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCBhqSigwLrXfjFYOULVlAVMuSwCv_dGmQ6eVMPOxb7bdBIq0YfNXTzQkZJ3mnPTP4xxVtCDhhEzhWIWTpq0kV2cnHLMaDMqY76gq_MnjGHEu6HsA7S2EYErJtJekkaLP01qwhbU2RTRA/s72-c/State+Machine.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4101132616102118425.post-6903454626554529385</id><published>2013-02-03T10:11:00.000+02:00</published><updated>2013-02-03T10:11:37.847+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2013"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint Designer"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint Designer 2013"/><title type='text'>SharePoint 2013 Open Site Issue</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
After installing SharePoint Designer 2013 and&amp;nbsp;after clicking on &quot;Open Site&quot; button, SharePoint designer 2013 crashes. This issue occurs only if you have both SharePoint designer 2010 and 2013 installed (Side by Side installation). To resolve this issue, Check this post by &quot;&lt;span&gt;Bradley Geldenhuys&quot;&lt;/span&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.gtconsult.co.za/blog/Lists/Posts/Post.aspx?ID=8&quot;&gt;http://www.gtconsult.co.za/blog/Lists/Posts/Post.aspx?ID=8&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Thank you &lt;span&gt;Bradley&lt;/span&gt;&amp;nbsp;:)&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kholyos.blogspot.com/feeds/6903454626554529385/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kholyos.blogspot.com/2013/02/sharepoint-2013-open-site-issue.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/6903454626554529385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/6903454626554529385'/><link rel='alternate' type='text/html' href='http://kholyos.blogspot.com/2013/02/sharepoint-2013-open-site-issue.html' title='SharePoint 2013 Open Site Issue'/><author><name>Khaled Moawad</name><uri>http://www.blogger.com/profile/18409094683773228045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKXrQFQ5ErhRc6XWDCsrn1Bow5lkzgLf-QkaF9LPmBskrGh4DVtDaIOHZ7IoGZA8IyE2sSQ2bW-IXk2ZcNTCI6ZIjKYs83BveAoeVzO-T85elKsRGZXSp-QcqzZBaBmQ/s220/131_3190.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4101132616102118425.post-4030096779814902693</id><published>2010-12-02T11:54:00.000+02:00</published><updated>2010-12-02T11:54:37.593+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint 2010"/><title type='text'>Sharepoint 2010 Javascript error when adding or editing items in a list using popups</title><content type='html'>I have discovered a weird problem in Sharepoint 2010 and many of developers have discovered that too. To reproduce the problem follow the following steps:&lt;br /&gt;
&lt;br /&gt;
1. Create new list of any type (Calendar, custom,...etc).&lt;br /&gt;
2. browse the list.&lt;br /&gt;
3. Click on Add new Item.&lt;br /&gt;
4. In the pop up, click on maximize before the page finishes loading (once the maximize button appear). (A).&lt;br /&gt;
5. once maximized or once the pop up appears, click on close to close the pop up dialog. (B)&lt;br /&gt;
&lt;br /&gt;
Expected:&lt;br /&gt;
for A: the pop up should be maximized.&lt;br /&gt;
for B: the pop up should be closed and returns to the list view.&lt;br /&gt;
&lt;br /&gt;
Actual:&lt;br /&gt;
For A: Invalid Argument javascript error occurs in SP.UI.RTE.js.&lt;br /&gt;
For B: Invalid Argument javascript error occurs in SP.UI.Dialog.js.&lt;br /&gt;
&lt;br /&gt;
I have tried the above scenarios in multiple servers and i can reproduce the the error in all cases. i have tried to resolve the problem but i cannot find any straightforward one. However, i discovered that after the javascript errors appear, the pop up behaves normally so, i decided to try handling that error by writing a custom javascript to handle the error. After that, the javascript errors disappeared and everything is now working very well.&lt;br /&gt;
&lt;br /&gt;
To handle that error, just write a custom javascript function to handle the error using the following code:&lt;br /&gt;
&lt;br /&gt;
//START DIRTY WORKAROUND TO HANDLE THE JS ERROR WHEN CLICKING ADD NEW ITEM OR EDIT AND MAXIMIZE BEFORE WINDOW FINISHS LOADING&lt;br /&gt;
//ALSO HANDLES WHEN CLOSING THE POPUP BEFORE FINISHING, IT GIVES JS ERROR.&lt;br /&gt;
function noErrorMessages(err, url) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // HANDLE MAX THE POPUP ERROR&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (err.search(/invalid argument/gi) &amp;gt;= 0 &amp;amp;&amp;amp; url.search(/sp.ui.rte/gi) &amp;gt;= 0) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return true;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // HANDLES CLOSING THE POPUP&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; else if (err.search(/or not an object/gi) &amp;gt;= 0 &amp;amp;&amp;amp; url.search(/sp.ui.dialog/gi) &amp;gt;= 0) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return true;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; return false;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
window.onerror = noErrorMessages;&lt;br /&gt;
&lt;br /&gt;
//END DIRTY WORKAROUND&lt;br /&gt;
&lt;br /&gt;
The above javascript code hides the above errors only and behaves normally for the other javascript errors. (use browser default behavior). By adding the above javascript code to the master page or to the page that shows the adding new item or editing existing item, the javascript errors will disappear and everything will behave normally.</content><link rel='replies' type='application/atom+xml' href='http://kholyos.blogspot.com/feeds/4030096779814902693/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kholyos.blogspot.com/2010/12/sharepoint-2010-javascript-error-when.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/4030096779814902693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/4030096779814902693'/><link rel='alternate' type='text/html' href='http://kholyos.blogspot.com/2010/12/sharepoint-2010-javascript-error-when.html' title='Sharepoint 2010 Javascript error when adding or editing items in a list using popups'/><author><name>Khaled Moawad</name><uri>http://www.blogger.com/profile/18409094683773228045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKXrQFQ5ErhRc6XWDCsrn1Bow5lkzgLf-QkaF9LPmBskrGh4DVtDaIOHZ7IoGZA8IyE2sSQ2bW-IXk2ZcNTCI6ZIjKYs83BveAoeVzO-T85elKsRGZXSp-QcqzZBaBmQ/s220/131_3190.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4101132616102118425.post-6506270240578253976</id><published>2010-09-07T15:37:00.000+02:00</published><updated>2010-09-07T15:37:38.960+02:00</updated><title type='text'>Configuring WCF for Multi Addresses</title><content type='html'>If you have a web site that has two address, for example: http://IP:PORT/ and http://www.YourSiteHere.com, and if you have a WCF that you need it to work in both URLs, then the configuration of the WCF will be different in that case. To achieve that add the following elements under system.ServiceModel&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;serviceHostingEnvironment aspNetCompatibilityEnabled=&quot;true&quot;&amp;gt;&lt;br /&gt;
      &amp;lt;baseAddressPrefixFilters&amp;gt;&lt;br /&gt;
        &amp;lt;add prefix=&quot;http://www.YourSiteHere.com&quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;/baseAddressPrefixFilters&amp;gt;&lt;br /&gt;
    &amp;lt;/serviceHostingEnvironment&amp;gt;</content><link rel='replies' type='application/atom+xml' href='http://kholyos.blogspot.com/feeds/6506270240578253976/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kholyos.blogspot.com/2010/09/configuring-wcf-for-multi-addresses.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/6506270240578253976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/6506270240578253976'/><link rel='alternate' type='text/html' href='http://kholyos.blogspot.com/2010/09/configuring-wcf-for-multi-addresses.html' title='Configuring WCF for Multi Addresses'/><author><name>Khaled Moawad</name><uri>http://www.blogger.com/profile/18409094683773228045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKXrQFQ5ErhRc6XWDCsrn1Bow5lkzgLf-QkaF9LPmBskrGh4DVtDaIOHZ7IoGZA8IyE2sSQ2bW-IXk2ZcNTCI6ZIjKYs83BveAoeVzO-T85elKsRGZXSp-QcqzZBaBmQ/s220/131_3190.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4101132616102118425.post-7385560271178836761</id><published>2010-05-24T15:04:00.001+03:00</published><updated>2010-05-24T15:04:42.454+03:00</updated><title type='text'>Intranet Software - TEMPO: Work in Harmony</title><content type='html'>&lt;a href=http://www.linkdev.com/Tempo/Business_Ready_Intranet.aspx&gt;Intranet Software - TEMPO: Work in Harmony&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Posted using &lt;a href=&quot;http://sharethis.com&quot;&gt;ShareThis&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://kholyos.blogspot.com/feeds/7385560271178836761/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kholyos.blogspot.com/2010/05/intranet-software-tempo-work-in-harmony.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/7385560271178836761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/7385560271178836761'/><link rel='alternate' type='text/html' href='http://kholyos.blogspot.com/2010/05/intranet-software-tempo-work-in-harmony.html' title='Intranet Software - TEMPO: Work in Harmony'/><author><name>Khaled Moawad</name><uri>http://www.blogger.com/profile/18409094683773228045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKXrQFQ5ErhRc6XWDCsrn1Bow5lkzgLf-QkaF9LPmBskrGh4DVtDaIOHZ7IoGZA8IyE2sSQ2bW-IXk2ZcNTCI6ZIjKYs83BveAoeVzO-T85elKsRGZXSp-QcqzZBaBmQ/s220/131_3190.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4101132616102118425.post-1952703967505440109</id><published>2010-02-11T12:09:00.008+02:00</published><updated>2010-03-07T12:20:00.383+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".net framework 3.0"/><category scheme="http://www.blogger.com/atom/ns#" term="IIS 7.0"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft Ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="Script Manager"/><category scheme="http://www.blogger.com/atom/ns#" term="svc"/><category scheme="http://www.blogger.com/atom/ns#" term="WCF"/><category scheme="http://www.blogger.com/atom/ns#" term="Web.config. handlers. ISAPI"/><title type='text'>Fixing Ajax using WCF in Web.config and IIS 7.0</title><content type='html'>Sometimes when you call WCF from javascript (http://Site/Service.svc/js) or adding your WCF URL as service reference in the script manager, you find that the JS Proxy of the WCF returns 404 not found from the server. You can Check my previous post for more error details &lt;a href=&quot;http://kholyos.blogspot.com/2010/02/how-to-solve-404-not-found-when-calling.html&quot;&gt;here&lt;/a&gt;: http://kholyos.blogspot.com/2010/02/how-to-solve-404-not-found-when-calling.html&lt;br /&gt;
You can fix this issue using alternative method, by modifying in the web.config of your application. Using the &amp;lt;handlers&amp;gt; tag under &amp;lt;system.webserver&amp;gt; can do the trick for you.&lt;br /&gt;
&lt;br /&gt;
By adding the following Elements under &amp;lt;configuration&amp;gt;&amp;lt;system.webserver&amp;gt;&amp;lt;handlers&amp;gt; you can fix the issue:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;add name=&quot;svc-ISAPI-2.0&quot; path=&quot;*.svc&quot; verb=&quot;*&quot; scriptProcessor=&quot;%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll&quot; requireAccess=&quot;Script&quot; resourceType=&quot;Unspecified&quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;add name=&quot;svc-ISAPI-2.0-64&quot; path=&quot;*.svc&quot; verb=&quot;*&quot; scriptProcessor=&quot;%SystemRoot%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll&quot; requireAccess=&quot;Script&quot; resourceType=&quot;Unspecified&quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
for more Information about handlers tag, you can follow &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms691481.aspx&quot;&gt;this link&lt;/a&gt; to MSDN: http://msdn.microsoft.com/en-us/library/ms691481.aspx&lt;br /&gt;
&lt;br /&gt;
That&#39;s it. And Enjoy :).</content><link rel='replies' type='application/atom+xml' href='http://kholyos.blogspot.com/feeds/1952703967505440109/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kholyos.blogspot.com/2010/02/fixing-ajax-using-wcf-in-webconfig-and.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/1952703967505440109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/1952703967505440109'/><link rel='alternate' type='text/html' href='http://kholyos.blogspot.com/2010/02/fixing-ajax-using-wcf-in-webconfig-and.html' title='Fixing Ajax using WCF in Web.config and IIS 7.0'/><author><name>Khaled Moawad</name><uri>http://www.blogger.com/profile/18409094683773228045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKXrQFQ5ErhRc6XWDCsrn1Bow5lkzgLf-QkaF9LPmBskrGh4DVtDaIOHZ7IoGZA8IyE2sSQ2bW-IXk2ZcNTCI6ZIjKYs83BveAoeVzO-T85elKsRGZXSp-QcqzZBaBmQ/s220/131_3190.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4101132616102118425.post-1961240690854352576</id><published>2010-02-08T22:13:00.005+02:00</published><updated>2010-02-08T22:31:41.483+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".svc"/><category scheme="http://www.blogger.com/atom/ns#" term=".svc/js"/><category scheme="http://www.blogger.com/atom/ns#" term=".svc/jsdebug"/><category scheme="http://www.blogger.com/atom/ns#" term="AJAX"/><category scheme="http://www.blogger.com/atom/ns#" term="Handler Mappings"/><category scheme="http://www.blogger.com/atom/ns#" term="IIS 7.0"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft Ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="Script Manager"/><category scheme="http://www.blogger.com/atom/ns#" term="Service Reference"/><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="WCF"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Communication Foundation"/><title type='text'>How to Solve 404 Not Found When Calling WCF from Javascript using script manager</title><content type='html'>When you and Service reference in the script manager to point to .svc file, and then calling it from javascript, sometimes it gives you script error in the page that the service cannot be found. To solve this issue, follow these steps (Considering you have IIS 7.0):&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Make sure that &lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?familyid=10CC340B-F857-4A14-83F5-25634C3BF043&amp;amp;displaylang=en&quot;&gt;.Net framework 3.0&lt;/a&gt; or later is installed on the server. You can find it &lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?familyid=10CC340B-F857-4A14-83F5-25634C3BF043&amp;amp;displaylang=en&quot;&gt;here&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;Register the service model to the IIS by doing the following:&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Open CMD.exe&lt;/li&gt;&lt;li&gt;Navigate to: &quot;C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation&quot;&lt;/li&gt;&lt;li&gt;Run &quot;ServiceModelReg.exe -r&quot;&lt;/li&gt;&lt;li&gt;then, if you have x64 Windows, Navigate to: &quot;C:\Windows\Microsoft.NET\Framework64\v3.0\Windows Communication  Foundation&quot;&lt;/li&gt;&lt;li&gt;then run: &quot;ServiceModelReg.exe -r&quot;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Open IIS. You can use Run-&gt;inetmgr.&lt;/li&gt;&lt;li&gt;Click on the site that hosts the .svc file, and browse the Features view in the IIS. Then, open the Handler Mappings.&lt;/li&gt;&lt;li&gt;In the right Panel (Actions), Choose Add Script Map.&lt;/li&gt;&lt;li&gt;A window will appear to add new script map, and fill the following parameters:&lt;/li&gt;&lt;p&gt;Request Path : *.svc&lt;/p&gt;&lt;p&gt;Executable :  %SystemRoot%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll&lt;/p&gt;&lt;p&gt;Name:  svc-ISAPI-2.0&lt;/p&gt;&lt;li&gt;Click Add Script Map again if you have x64 Windows and use the following parameters:&lt;/li&gt;&lt;p&gt;Request Path : *.svc&lt;/p&gt;&lt;p&gt;Executable :  %SystemRoot%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll&lt;/p&gt;&lt;p&gt;Name:  svc-ISAPI-2.0-64&lt;/p&gt;&lt;li&gt;Then browse the Service using your internet browser : http://yourURL/...../YourService.svc/js, if you can see the scripts generated by Microsoft Ajax then you are done. Otherwise, you should allow anonymouse in your web site.&lt;/li&gt;&lt;/ol&gt;That&#39;s it and Enjoy :).</content><link rel='replies' type='application/atom+xml' href='http://kholyos.blogspot.com/feeds/1961240690854352576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kholyos.blogspot.com/2010/02/how-to-solve-404-not-found-when-calling.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/1961240690854352576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/1961240690854352576'/><link rel='alternate' type='text/html' href='http://kholyos.blogspot.com/2010/02/how-to-solve-404-not-found-when-calling.html' title='How to Solve 404 Not Found When Calling WCF from Javascript using script manager'/><author><name>Khaled Moawad</name><uri>http://www.blogger.com/profile/18409094683773228045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKXrQFQ5ErhRc6XWDCsrn1Bow5lkzgLf-QkaF9LPmBskrGh4DVtDaIOHZ7IoGZA8IyE2sSQ2bW-IXk2ZcNTCI6ZIjKYs83BveAoeVzO-T85elKsRGZXSp-QcqzZBaBmQ/s220/131_3190.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4101132616102118425.post-6195059246672521340</id><published>2009-07-02T12:31:00.004+03:00</published><updated>2009-07-02T12:41:20.971+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Egypt"/><category scheme="http://www.blogger.com/atom/ns#" term="Imagine Cup"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><title type='text'>Link 2 Imagine Cup</title><content type='html'>Check my blog for &lt;a href=&quot;http://www.imaginecup.com/&quot;&gt;Imagine Cup&lt;/a&gt; at &lt;a href=&quot;http://link2imaginecup.com/English/Blogs/Pages/BlogList.aspx?BlogId=188&amp;amp;U=b1b1cdf2-682f-48b4-9b34-404af305cfc0&quot;&gt;Link 2 Imagine Cup Blog&lt;/a&gt;. It&#39;s all about imagine cup and my experience there. Imagine Cup is the biggest Technology Competition in the world organized by Microsoft. Check imagine cup new in Egypt at &lt;a href=&quot;http://www.link2imaginecup.com&quot;&gt;Link 2 Imagine Cup&lt;/a&gt;, check my posts there and Enjoy :).</content><link rel='replies' type='application/atom+xml' href='http://kholyos.blogspot.com/feeds/6195059246672521340/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kholyos.blogspot.com/2009/07/link-2-imagine-cup.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/6195059246672521340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/6195059246672521340'/><link rel='alternate' type='text/html' href='http://kholyos.blogspot.com/2009/07/link-2-imagine-cup.html' title='Link 2 Imagine Cup'/><author><name>Khaled Moawad</name><uri>http://www.blogger.com/profile/18409094683773228045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKXrQFQ5ErhRc6XWDCsrn1Bow5lkzgLf-QkaF9LPmBskrGh4DVtDaIOHZ7IoGZA8IyE2sSQ2bW-IXk2ZcNTCI6ZIjKYs83BveAoeVzO-T85elKsRGZXSp-QcqzZBaBmQ/s220/131_3190.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4101132616102118425.post-7756468812031809910</id><published>2009-05-20T12:35:00.000+03:00</published><updated>2009-05-20T12:37:16.246+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Activities"/><category scheme="http://www.blogger.com/atom/ns#" term="Barmagy"/><category scheme="http://www.blogger.com/atom/ns#" term="Community"/><title type='text'>Barmagy</title><content type='html'>&lt;p&gt;WOWW, Now I’m one of &lt;a href=&quot;http://www.barmagy.com&quot;&gt;Barmagy Community&lt;/a&gt; and I’m really proud of that. I’m  starting my activities soon to help people learn more and more about  technologies. Wish Barmagy for more progress. Check barmagy Community at: http://www.barmagy.com&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://kholyos.blogspot.com/feeds/7756468812031809910/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kholyos.blogspot.com/2009/05/barmagy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/7756468812031809910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/7756468812031809910'/><link rel='alternate' type='text/html' href='http://kholyos.blogspot.com/2009/05/barmagy.html' title='Barmagy'/><author><name>Khaled Moawad</name><uri>http://www.blogger.com/profile/18409094683773228045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKXrQFQ5ErhRc6XWDCsrn1Bow5lkzgLf-QkaF9LPmBskrGh4DVtDaIOHZ7IoGZA8IyE2sSQ2bW-IXk2ZcNTCI6ZIjKYs83BveAoeVzO-T85elKsRGZXSp-QcqzZBaBmQ/s220/131_3190.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4101132616102118425.post-2445783444145497738</id><published>2009-03-26T17:36:00.003+02:00</published><updated>2009-03-26T17:46:12.757+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AJAX"/><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="JQuery"/><title type='text'>JQuery with ASP.NET</title><content type='html'>&lt;p&gt;In the past few days, I was working in development some components using JQuery. I was really impressed with the functionalities and performance as I am really a big fan of javascript.&lt;/p&gt;  &lt;p&gt;You can take a look on JQuery and download the library from: &lt;a title=&quot;http://jquery.com/&quot; href=&quot;http://jquery.com/&quot;&gt;http://jquery.com/&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;Now, I’m going to give a sample about how to use JQuery ASP.NET to have an AJAX page. &lt;/p&gt;  &lt;p&gt;1.Download the library from &lt;a title=&quot;http://jquery.com/&quot; href=&quot;http://jquery.com/&quot;&gt;http://jquery.com/&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;2.Create New ASP.Net web application using Microsoft Visual Studio.&lt;/p&gt;  &lt;p&gt;3.Add new User Control in your project.&lt;/p&gt;  &lt;p&gt;4.Add the downloaded file of JQuery to your project.&lt;/p&gt;  &lt;p&gt;5. drag and drop the JQuery .js file into your control or just add the following line to your ascx:&lt;/p&gt;  &lt;p&gt;&amp;lt;script src=&quot;jquery-1.3.1.min.js&quot; type=&quot;text/javascript&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;/p&gt;  &lt;p&gt;Now we are going to start the most interesting part.&lt;/p&gt;  &lt;p&gt;Consider a case that you want to have an expand/collapse button, when user clicks on it, it shows a form to let the user enter a data, if it is already expanded, then collapse it. Also you need to expand or collapse with animation (slide the form that will appear), that is, not just appears suddenly to the user. &lt;/p&gt;  &lt;p&gt;Consider the following:&lt;/p&gt;  &lt;div   style=&quot;border: 1px solid gray; margin: 20px 0px 10px; padding: 4px; overflow: auto; line-height: 12pt; background-color: rgb(244, 244, 244); width: 97.5%; max-height: 200px; cursor: text;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;&quot;&gt;   &lt;div    style=&quot;border-style: none; padding: 0px; overflow: visible; line-height: 12pt; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;     &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: white; width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;   1:&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;   2:&lt;/span&gt;         &lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;    &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: white; width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;   3:&lt;/span&gt;             &lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;&amp;lt;!--The button to expand or collapse--&amp;gt;&lt;/span&gt;&lt;/pre&gt;    &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;   4:&lt;/span&gt;             &lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;href&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;=&quot;javascript:;&quot;&lt;/span&gt; &lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;onclick&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;=&quot;ExpandCollapse(this,&#39;expandcpllapse&#39;)&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;gt;&lt;/span&gt;+&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;gt;&lt;/span&gt; Show&lt;/pre&gt;    &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: white; width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;   5:&lt;/span&gt;             Panel&lt;/pre&gt;    &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;   6:&lt;/span&gt;         &lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;    &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: white; width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;   7:&lt;/span&gt;         &lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;&amp;lt;!--The div that needs to be shown or hidden based on expand or collapse--&amp;gt;&lt;/span&gt;&lt;/pre&gt;    &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;   8:&lt;/span&gt;         &lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;=&quot;expandcpllapse&quot;&lt;/span&gt; &lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;style&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;=&quot;display: none&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;    &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: white; width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;   9:&lt;/span&gt;             &lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;asp:Label&lt;/span&gt; &lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;ID&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;=&quot;lblName&quot;&lt;/span&gt; &lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;=&quot;server&quot;&lt;/span&gt; &lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;Text&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;=&quot;Name&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;asp:Label&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;    &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;  10:&lt;/span&gt;             &lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;asp:TextBox&lt;/span&gt; &lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;ID&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;=&quot;txtName&quot;&lt;/span&gt; &lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;=&quot;server&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;asp:TextBox&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;    &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: white; width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;  11:&lt;/span&gt;         &lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;    &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;  12:&lt;/span&gt;     &lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;  &lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;and the javascript to expand/collapse&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div   style=&quot;border: 1px solid gray; margin: 20px 0px 10px; padding: 4px; overflow: auto; line-height: 12pt; background-color: rgb(244, 244, 244); width: 97.5%; max-height: 200px; cursor: text;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;&quot;&gt;&lt;div    style=&quot;border-style: none; padding: 0px; overflow: visible; line-height: 12pt; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;br /&gt;&lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: white; width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;   1:&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;//Represents the current status of the panel to expand/collapse&lt;/span&gt;&lt;/pre&gt; &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;   2:&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;var&lt;/span&gt; status = &lt;span style=&quot;color: rgb(0, 96, 128);&quot;&gt;&#39;Collapsed&#39;&lt;/span&gt;;&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: white; width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;   3:&lt;/span&gt;  &lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;   4:&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;//Expand the form if collapsed. if collapsed, expand it.&lt;/span&gt;&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: white; width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;   5:&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;function&lt;/span&gt; ExpandCollapse(sender, div)&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;   6:&lt;/span&gt; {&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: white; width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;   7:&lt;/span&gt;     &lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;switch&lt;/span&gt; (status)&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;   8:&lt;/span&gt;     {&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: white; width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;   9:&lt;/span&gt;         &lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 96, 128);&quot;&gt;&#39;Collapsed&#39;&lt;/span&gt;:&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;  10:&lt;/span&gt;             {&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: white; width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;  11:&lt;/span&gt;                 &lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;//Show the div that contains the data. the parameter &quot;0&quot; represents the speed to show it&lt;/span&gt;&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;  12:&lt;/span&gt;                 $(&lt;span style=&quot;color: rgb(0, 96, 128);&quot;&gt;&#39;#&#39;&lt;/span&gt; + div).show(&lt;span style=&quot;color: rgb(0, 96, 128);&quot;&gt;&quot;0&quot;&lt;/span&gt;);&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: white; width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;  13:&lt;/span&gt;                 &lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;//Change the text from &quot;+&quot; to &quot;-&quot;&lt;/span&gt;&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;  14:&lt;/span&gt;                 $(sender)[0].innerText = &lt;span style=&quot;color: rgb(0, 96, 128);&quot;&gt;&#39;-&#39;&lt;/span&gt;;&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: white; width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;  15:&lt;/span&gt;                 &lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;//Change the status to be expanded&lt;/span&gt;&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;  16:&lt;/span&gt;                 status = &lt;span style=&quot;color: rgb(0, 96, 128);&quot;&gt;&#39;Expanded&#39;&lt;/span&gt;;&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: white; width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;  17:&lt;/span&gt;             }&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;  18:&lt;/span&gt;             &lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;break&lt;/span&gt;;&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: white; width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;  19:&lt;/span&gt;         &lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 96, 128);&quot;&gt;&#39;Expanded&#39;&lt;/span&gt;:&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;  20:&lt;/span&gt;             {&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: white; width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;  21:&lt;/span&gt;                 &lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;//Hide the div with speed &quot;0&quot;&lt;/span&gt;&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;  22:&lt;/span&gt;                 $(&lt;span style=&quot;color: rgb(0, 96, 128);&quot;&gt;&#39;#&#39;&lt;/span&gt; + div).hide(&lt;span style=&quot;color: rgb(0, 96, 128);&quot;&gt;&quot;0&quot;&lt;/span&gt;);&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: white; width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;  23:&lt;/span&gt;                 &lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;// change the text from &quot;-&quot; to &quot;+&quot;&lt;/span&gt;&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;  24:&lt;/span&gt;                 $(sender)[0].innerText = &lt;span style=&quot;color: rgb(0, 96, 128);&quot;&gt;&#39;+&#39;&lt;/span&gt;;&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: white; width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;  25:&lt;/span&gt;                 &lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;//Change the status to collapsed&lt;/span&gt;&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;  26:&lt;/span&gt;                 status = &lt;span style=&quot;color: rgb(0, 96, 128);&quot;&gt;&#39;Collapsed&#39;&lt;/span&gt;;&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: white; width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;  27:&lt;/span&gt;             }&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;  28:&lt;/span&gt;             &lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;break&lt;/span&gt;;&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: white; width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;  29:&lt;/span&gt;     }&lt;/pre&gt;  &lt;pre    style=&quot;border-style: none; margin: 0em; padding: 0px; overflow: visible; line-height: 12pt; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,&#39;Courier New&#39;,courier,monospace;font-size:8pt;color:black;&quot;&gt;&lt;span style=&quot;color: rgb(96, 96, 96);&quot;&gt;  30:&lt;/span&gt; }&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;that was a very little from JQuery functionalities and how to use it to reach a better user experience.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://kholyos.blogspot.com/feeds/2445783444145497738/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kholyos.blogspot.com/2009/03/jquery-with-aspnet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/2445783444145497738'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/2445783444145497738'/><link rel='alternate' type='text/html' href='http://kholyos.blogspot.com/2009/03/jquery-with-aspnet.html' title='JQuery with ASP.NET'/><author><name>Khaled Moawad</name><uri>http://www.blogger.com/profile/18409094683773228045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKXrQFQ5ErhRc6XWDCsrn1Bow5lkzgLf-QkaF9LPmBskrGh4DVtDaIOHZ7IoGZA8IyE2sSQ2bW-IXk2ZcNTCI6ZIjKYs83BveAoeVzO-T85elKsRGZXSp-QcqzZBaBmQ/s220/131_3190.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4101132616102118425.post-7857099264074409149</id><published>2009-01-07T00:05:00.004+02:00</published><updated>2009-01-19T22:19:07.214+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio"/><title type='text'>Visual Studio 2010</title><content type='html'>Microsoft has announced about Visual Studio 2010. You can take a look about it here: &lt;a href=&quot;http://www.microsoft.com/Visualstudio/products/2010/default.mspx&quot;&gt;http://www.microsoft.com/Visualstudio/products/2010/default.mspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also you can download the CTP version. Enjoy</content><link rel='replies' type='application/atom+xml' href='http://kholyos.blogspot.com/feeds/7857099264074409149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kholyos.blogspot.com/2009/01/visual-studio-2010.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/7857099264074409149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/7857099264074409149'/><link rel='alternate' type='text/html' href='http://kholyos.blogspot.com/2009/01/visual-studio-2010.html' title='Visual Studio 2010'/><author><name>Khaled Moawad</name><uri>http://www.blogger.com/profile/18409094683773228045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKXrQFQ5ErhRc6XWDCsrn1Bow5lkzgLf-QkaF9LPmBskrGh4DVtDaIOHZ7IoGZA8IyE2sSQ2bW-IXk2ZcNTCI6ZIjKYs83BveAoeVzO-T85elKsRGZXSp-QcqzZBaBmQ/s220/131_3190.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4101132616102118425.post-1549656407037195167</id><published>2009-01-06T17:20:00.006+02:00</published><updated>2009-01-06T17:36:48.107+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Competetion"/><category scheme="http://www.blogger.com/atom/ns#" term="Imagine Cup"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft Egypt"/><title type='text'>Imagine Cup 2009</title><content type='html'>In Jan 2006, My life has changed. One of my friends told me about a competition organized by Microsoft called &quot;Imagine Cup&quot; and he asked me to participate in this competition and to costruct a powerful team together to represent Egypt in the finals. I&#39;ve been impressed by the idea and I decided to take the challenge with my friend. We started to collect the team members, and finally we found two of our friends that can represent Egypt in that huge Challenge. Now we are a team that our dreams has no end. We have many ideas many dreams to participate in Imagine Cup. In Feb 2006, we started to develop our chosen idea and we loved that project like one of our sons :). In March 2006, this is my turing point in my life, a phone call from &quot;Ahmed Adel&quot; from Microsoft Egypt to tell us that we have won the 1st rank in the local competition and we were chosen to represent Egypt in the finals in India.&lt;br /&gt;&lt;br /&gt;Now, Imagine Cup competetion will be in Egypt. That makes me really proud and really so happy for that. Go to that link &lt;a href=&quot;http://egyptimaginecup2009.spaces.live.com/&quot;&gt;http://egyptimaginecup2009.spaces.live.com/&lt;/a&gt; to check about the new updates about Imagine Cup in Egypt.&lt;br /&gt;&lt;br /&gt;If you are student, Please don&#39;t hesitate to participate in Imagine Cup. If you are not, try to check the real challenge and the spirit of all participants. That will really make you impressed and proud of the ideas and the students.&lt;br /&gt;&lt;br /&gt;Check Imagine Cup web site at: &lt;a href=&quot;http://imaginecup.com/&quot;&gt;http://imaginecup.com/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://kholyos.blogspot.com/feeds/1549656407037195167/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kholyos.blogspot.com/2009/01/imagine-cup-2009.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/1549656407037195167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/1549656407037195167'/><link rel='alternate' type='text/html' href='http://kholyos.blogspot.com/2009/01/imagine-cup-2009.html' title='Imagine Cup 2009'/><author><name>Khaled Moawad</name><uri>http://www.blogger.com/profile/18409094683773228045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKXrQFQ5ErhRc6XWDCsrn1Bow5lkzgLf-QkaF9LPmBskrGh4DVtDaIOHZ7IoGZA8IyE2sSQ2bW-IXk2ZcNTCI6ZIjKYs83BveAoeVzO-T85elKsRGZXSp-QcqzZBaBmQ/s220/131_3190.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4101132616102118425.post-5454604901838825527</id><published>2008-06-04T20:33:00.004+03:00</published><updated>2009-01-19T22:20:45.530+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="Team Foundation Server"/><category scheme="http://www.blogger.com/atom/ns#" term="TFS"/><title type='text'>Great Experience with TFS 2005</title><content type='html'>&lt;p align=&quot;justify&quot;&gt;In the last two weeks, I decided to install Team Foundation Server (TFS) 2005 on a virtual machine at my home. It was really a great experience. I worked in the check-in policy before but I decided to get more experience about TFS. &lt;/p&gt;&lt;p align=&quot;justify&quot;&gt;Installing TFS is not so hard but all you need to do is to follow the installation guide. You can find the guide file burned on your DVD of TFS or you can find it at Microsoft web site. also you can try TFS 2005 trial version. It&#39;s trial for six months. Find the TFS 2005 trial at:&lt;/p&gt;&lt;p align=&quot;justify&quot;&gt;&lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?FamilyID=D5C12289-F4E4-49A9-9235-AB2F6D4CA097&amp;amp;displaylang=en&quot;&gt;Team Foundation Server 2005 Trial Download link&lt;/a&gt;&lt;/p&gt;&lt;p align=&quot;justify&quot;&gt;But unfortunately, After Installation, I found that Microsoft has just released Microsoft Team Foundation Server 2008 and i knew that after installing TFS 2005 :( but I&#39;ll install it soon.&lt;/p&gt;&lt;p align=&quot;justify&quot;&gt;Remember, just follow the guide and everything will be OK. &lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://kholyos.blogspot.com/feeds/5454604901838825527/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kholyos.blogspot.com/2008/06/great-experience-with-tfs-2005.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/5454604901838825527'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/5454604901838825527'/><link rel='alternate' type='text/html' href='http://kholyos.blogspot.com/2008/06/great-experience-with-tfs-2005.html' title='Great Experience with TFS 2005'/><author><name>Khaled Moawad</name><uri>http://www.blogger.com/profile/18409094683773228045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKXrQFQ5ErhRc6XWDCsrn1Bow5lkzgLf-QkaF9LPmBskrGh4DVtDaIOHZ7IoGZA8IyE2sSQ2bW-IXk2ZcNTCI6ZIjKYs83BveAoeVzO-T85elKsRGZXSp-QcqzZBaBmQ/s220/131_3190.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4101132616102118425.post-7778008645289637622</id><published>2008-05-27T14:16:00.005+03:00</published><updated>2009-01-19T22:20:34.025+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".Net framework 3.5"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="LinQ"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><title type='text'>What is LinQ?</title><content type='html'>&lt;p align=&quot;justify&quot;&gt;LinQ stands for &quot;Language Integrated Query&quot;. It extends C# and visual basic syntax with the new LinQ syntax to provide more capabilities in your code.&lt;/p&gt;&lt;p align=&quot;justify&quot;&gt;It&#39;s an interesting feature in C# 3.0. I&#39;ll hit an example for LinQ. consider the following class:&lt;/p&gt;&lt;div style=&quot;BORDER-BOTTOM-COLOR: gray; BORDER-LEFT: gray 1px solid; PADDING-BOTTOM: 4px; LINE-HEIGHT: 12pt; MARGIN: 20px 0px 10px; PADDING-LEFT: 4px; WIDTH: 97.5%; PADDING-RIGHT: 4px; BORDER-BOTTOM-WIDTH: 1px; COLOR: rgb(244,244,244); MAX-HEIGHT: 200px; OVERFLOW: auto; BORDER-TOP: gray 1px solid; CURSOR: text; BORDER-RIGHT: gray 1px solid&quot;&gt;&lt;div style=&quot;PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; BORDER-TOP-STYLE: none; COLOR: rgb(244,244,244); BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0pxfont-size:8pt;&quot; &gt;&lt;pre style=&quot;PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; BORDER-TOP-STYLE: none; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0pxfont-size:8pt;color:white;&quot;  &gt;&lt;span style=&quot;COLOR: rgb(96,96,96)&quot;&gt;   1:&lt;/span&gt; &lt;span style=&quot;COLOR: rgb(0,0,255)&quot;&gt;class&lt;/span&gt; Student&lt;/pre&gt;&lt;br /&gt;&lt;pre style=&quot;PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; BORDER-TOP-STYLE: none; COLOR: rgb(244,244,244); BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0pxfont-size:8pt;&quot; &gt;&lt;span style=&quot;COLOR: rgb(96,96,96)&quot;&gt;   2:&lt;/span&gt;  {&lt;/pre&gt;&lt;br /&gt;&lt;pre style=&quot;PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; BORDER-TOP-STYLE: none; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0pxfont-size:8pt;color:white;&quot;  &gt;&lt;span style=&quot;COLOR: rgb(96,96,96)&quot;&gt;   3:&lt;/span&gt;      &lt;span style=&quot;COLOR: rgb(0,0,255)&quot;&gt;int&lt;/span&gt; id;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style=&quot;PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; BORDER-TOP-STYLE: none; COLOR: rgb(244,244,244); BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0pxfont-size:8pt;&quot; &gt;&lt;span style=&quot;COLOR: rgb(96,96,96)&quot;&gt;   4:&lt;/span&gt;  &lt;/pre&gt;&lt;br /&gt;&lt;pre style=&quot;PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; BORDER-TOP-STYLE: none; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0pxfont-size:8pt;color:white;&quot;  &gt;&lt;span style=&quot;COLOR: rgb(96,96,96)&quot;&gt;   5:&lt;/span&gt;      &lt;span style=&quot;COLOR: rgb(0,0,255)&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;COLOR: rgb(0,0,255)&quot;&gt;int&lt;/span&gt; Id&lt;/pre&gt;&lt;br /&gt;&lt;pre style=&quot;PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; BORDER-TOP-STYLE: none; COLOR: rgb(244,244,244); BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0pxfont-size:8pt;&quot; &gt;&lt;span style=&quot;COLOR: rgb(96,96,96)&quot;&gt;   6:&lt;/span&gt;      {&lt;/pre&gt;&lt;br /&gt;&lt;pre style=&quot;PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; BORDER-TOP-STYLE: none; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0pxfont-size:8pt;color:white;&quot;  &gt;&lt;span style=&quot;COLOR: rgb(96,96,96)&quot;&gt;   7:&lt;/span&gt;          get { &lt;span style=&quot;COLOR: rgb(0,0,255)&quot;&gt;return&lt;/span&gt; id; }&lt;/pre&gt;&lt;br /&gt;&lt;pre style=&quot;PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; BORDER-TOP-STYLE: none; COLOR: rgb(244,244,244); BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0pxfont-size:8pt;&quot; &gt;&lt;span style=&quot;COLOR: rgb(96,96,96)&quot;&gt;   8:&lt;/span&gt;          set { id = &lt;span style=&quot;COLOR: rgb(0,0,255)&quot;&gt;value&lt;/span&gt;; }&lt;/pre&gt;&lt;br /&gt;&lt;pre style=&quot;PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; BORDER-TOP-STYLE: none; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0pxfont-size:8pt;color:white;&quot;  &gt;&lt;span style=&quot;COLOR: rgb(96,96,96)&quot;&gt;   9:&lt;/span&gt;      }&lt;/pre&gt;&lt;br /&gt;&lt;pre style=&quot;PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; BORDER-TOP-STYLE: none; COLOR: rgb(244,244,244); BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0pxfont-size:8pt;&quot; &gt;&lt;span style=&quot;COLOR: rgb(96,96,96)&quot;&gt;  10:&lt;/span&gt;      &lt;span style=&quot;COLOR: rgb(0,0,255)&quot;&gt;string&lt;/span&gt; studentName;&lt;/pre&gt;&lt;br /&gt;&lt;pre style=&quot;PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; BORDER-TOP-STYLE: none; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0pxfont-size:8pt;color:white;&quot;  &gt;&lt;span style=&quot;COLOR: rgb(96,96,96)&quot;&gt;  11:&lt;/span&gt;  &lt;/pre&gt;&lt;br /&gt;&lt;pre style=&quot;PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; BORDER-TOP-STYLE: none; COLOR: rgb(244,244,244); BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0pxfont-size:8pt;&quot; &gt;&lt;span style=&quot;COLOR: rgb(96,96,96)&quot;&gt;  12:&lt;/span&gt;      &lt;span style=&quot;COLOR: rgb(0,0,255)&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;COLOR: rgb(0,0,255)&quot;&gt;string&lt;/span&gt; StudentName&lt;/pre&gt;&lt;br /&gt;&lt;pre style=&quot;PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; BORDER-TOP-STYLE: none; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0pxfont-size:8pt;color:white;&quot;  &gt;&lt;span style=&quot;COLOR: rgb(96,96,96)&quot;&gt;  13:&lt;/span&gt;      {&lt;/pre&gt;&lt;br /&gt;&lt;pre style=&quot;PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; BORDER-TOP-STYLE: none; COLOR: rgb(244,244,244); BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0pxfont-size:8pt;&quot; &gt;&lt;span style=&quot;COLOR: rgb(96,96,96)&quot;&gt;  14:&lt;/span&gt;          get { &lt;span style=&quot;COLOR: rgb(0,0,255)&quot;&gt;return&lt;/span&gt; studentName; }&lt;/pre&gt;&lt;br /&gt;&lt;pre style=&quot;PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; BORDER-TOP-STYLE: none; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0pxfont-size:8pt;color:white;&quot;  &gt;&lt;span style=&quot;COLOR: rgb(96,96,96)&quot;&gt;  15:&lt;/span&gt;          set { studentName = &lt;span style=&quot;COLOR: rgb(0,0,255)&quot;&gt;value&lt;/span&gt;; }&lt;/pre&gt;&lt;br /&gt;&lt;pre style=&quot;PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; BORDER-TOP-STYLE: none; COLOR: rgb(244,244,244); BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0pxfont-size:8pt;&quot; &gt;&lt;span style=&quot;COLOR: rgb(96,96,96)&quot;&gt;  16:&lt;/span&gt;      }&lt;/pre&gt;&lt;br /&gt;&lt;pre style=&quot;PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; BORDER-TOP-STYLE: none; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0pxfont-size:8pt;color:white;&quot;  &gt;&lt;span style=&quot;COLOR: rgb(96,96,96)&quot;&gt;  17:&lt;/span&gt;  &lt;/pre&gt;&lt;br /&gt;&lt;pre style=&quot;PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; BORDER-TOP-STYLE: none; COLOR: rgb(244,244,244); BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0pxfont-size:8pt;&quot; &gt;&lt;span style=&quot;COLOR: rgb(96,96,96)&quot;&gt;  18:&lt;/span&gt;  }&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p align=&quot;justify&quot;&gt;List&amp;lt;Student&amp;gt; studentList = GetStudentList();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;now you need to find all student with name John:&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;BORDER-BOTTOM-COLOR: gray; BORDER-LEFT: gray 1px solid; PADDING-BOTTOM: 4px; LINE-HEIGHT: 12pt; MARGIN: 20px 0px 10px; PADDING-LEFT: 4px; WIDTH: 97.5%; PADDING-RIGHT: 4px; BORDER-BOTTOM-WIDTH: 1px; COLOR: rgb(244,244,244); MAX-HEIGHT: 200px; OVERFLOW: auto; BORDER-TOP: gray 1px solid; CURSOR: text; BORDER-RIGHT: gray 1px solid&quot;&gt;&lt;br /&gt;&lt;div style=&quot;PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; BORDER-TOP-STYLE: none; COLOR: rgb(244,244,244); BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0pxfont-size:8pt;&quot; &gt;&lt;pre style=&quot;PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; BORDER-TOP-STYLE: none; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0pxfont-size:8pt;color:white;&quot;  &gt;&lt;span style=&quot;COLOR: rgb(0,0,0)&quot;&gt;   1:&lt;/span&gt; &lt;span style=&quot;COLOR: rgb(51,102,255)&quot;&gt;var&lt;/span&gt; &lt;span style=&quot;COLOR: rgb(0,0,0)&quot;&gt;studentQurey&lt;/span&gt; = &lt;span style=&quot;COLOR: rgb(51,102,255)&quot;&gt;from&lt;/span&gt; &lt;span style=&quot;COLOR: rgb(0,0,0)&quot;&gt;student&lt;/span&gt; &lt;span style=&quot;COLOR: rgb(0,0,255)&quot;&gt;in&lt;/span&gt; &lt;span style=&quot;COLOR: rgb(0,0,0)&quot;&gt;students&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre style=&quot;PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; BORDER-TOP-STYLE: none; COLOR: rgb(244,244,244); BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0pxfont-size:8pt;&quot; &gt;&lt;span style=&quot;COLOR: rgb(0,0,0)&quot;&gt;   2:&lt;/span&gt;                    &lt;span style=&quot;COLOR: rgb(51,51,255)&quot;&gt;where&lt;/span&gt; &lt;span style=&quot;COLOR: rgb(0,0,0)&quot;&gt;student.StudentName ==&lt;/span&gt; &lt;span style=&quot;COLOR: rgb(255,0,0)&quot;&gt;&quot;John&quot;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre style=&quot;PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; BORDER-TOP-STYLE: none; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0pxfont-size:8pt;color:white;&quot;  &gt;&lt;span style=&quot;COLOR: rgb(0,0,0)&quot;&gt;   3:                    select student;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre style=&quot;PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; BORDER-TOP-STYLE: none; COLOR: rgb(244,244,244); BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0pxfont-size:8pt;&quot; &gt;&lt;span style=&quot;COLOR: rgb(0,0,0)&quot;&gt;   4: studentQurey.ToList();&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;style type=&quot;text/css&quot;&gt;&lt;br /&gt;&lt;br /&gt;.csharpcode, .csharpcode pre&lt;br /&gt;{&lt;br /&gt; font-size: small;&lt;br /&gt; color: black;&lt;br /&gt; font-family: consolas, &quot;Courier New&quot;, courier, monospace;&lt;br /&gt; background-color: #ffffff;&lt;br /&gt; /*white-space: pre;*/&lt;br /&gt;}&lt;br /&gt;.csharpcode pre { margin: 0em; }&lt;br /&gt;.csharpcode .rem { color: #008000; }&lt;br /&gt;.csharpcode .kwrd { color: #0000ff; }&lt;br /&gt;.csharpcode .str { color: #006080; }&lt;br /&gt;.csharpcode .op { color: #0000c0; }&lt;br /&gt;.csharpcode .preproc { color: #cc6633; }&lt;br /&gt;.csharpcode .asp { background-color: #ffff00; }&lt;br /&gt;.csharpcode .html { color: #800000; }&lt;br /&gt;.csharpcode .attr { color: #ff0000; }&lt;br /&gt;.csharpcode .alt&lt;br /&gt;{&lt;br /&gt; background-color: #f4f4f4;&lt;br /&gt; width: 100%;&lt;br /&gt; margin: 0em;&lt;br /&gt;}&lt;br /&gt;.csharpcode .lnum { color: #606060; }&lt;/style&gt;&lt;/p&gt;&lt;p align=&quot;justify&quot;&gt;that was a so simple example for LinQ. You can use LinQ to SQL to search in a database in your application and a lot of feature included in LinQ.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://kholyos.blogspot.com/feeds/7778008645289637622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kholyos.blogspot.com/2008/05/what-is-linq.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/7778008645289637622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/7778008645289637622'/><link rel='alternate' type='text/html' href='http://kholyos.blogspot.com/2008/05/what-is-linq.html' title='What is LinQ?'/><author><name>Khaled Moawad</name><uri>http://www.blogger.com/profile/18409094683773228045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKXrQFQ5ErhRc6XWDCsrn1Bow5lkzgLf-QkaF9LPmBskrGh4DVtDaIOHZ7IoGZA8IyE2sSQ2bW-IXk2ZcNTCI6ZIjKYs83BveAoeVzO-T85elKsRGZXSp-QcqzZBaBmQ/s220/131_3190.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4101132616102118425.post-7019516973707684699</id><published>2008-04-21T20:14:00.001+02:00</published><updated>2008-04-21T20:14:35.602+02:00</updated><title type='text'>Need for performance</title><content type='html'>&lt;blockquote&gt;   &lt;p&gt;Wrong Thoughts:&lt;/p&gt;    &lt;p align=&quot;justify&quot;&gt;Some people think that the hardware power has been increased in the last few years and that makes them think that they can develop applications without taking in consideration the minimum requirements for their applications. For example: your application needs 150 MB in the memory to work and you found your team telling you: &amp;quot;Whatever, the laptops now support up to 4 GB, just release it.&amp;quot;. This is totally wrong vision. You have to think if you are really in need to these 150 MB in memory, or you can optimize your code to reduce the memory required for your application.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p align=&quot;justify&quot;&gt;&lt;font color=&quot;#666666&quot;&gt;Now, if your application is taking 3 seconds to perform a user task, the user will consider this application as a slow application. Later, we will find that it will be reduced to 1 second. The target now is to build applications with the highest performance we could reach. For example: if you have a list of objects and you need just one of them, you can loop to find it or you can think if you can get it when constructing that list. Try to use the latest tools like LinQ from Microsoft to search for an object in a list. Also, if you need some objects only from that list, try not to put them in another list, just try to remove the unwanted objects from it if that is possible.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p align=&quot;justify&quot;&gt;&lt;font color=&quot;#666666&quot;&gt;All you need to do now is to think how to optimize your code to reach the maximum possible performance for your application. Do not think that you are protected by the increasing of the hardware power, just optimize your code.&lt;/font&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://kholyos.blogspot.com/feeds/7019516973707684699/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kholyos.blogspot.com/2008/04/need-for-performance.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/7019516973707684699'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/7019516973707684699'/><link rel='alternate' type='text/html' href='http://kholyos.blogspot.com/2008/04/need-for-performance.html' title='Need for performance'/><author><name>Khaled Moawad</name><uri>http://www.blogger.com/profile/18409094683773228045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKXrQFQ5ErhRc6XWDCsrn1Bow5lkzgLf-QkaF9LPmBskrGh4DVtDaIOHZ7IoGZA8IyE2sSQ2bW-IXk2ZcNTCI6ZIjKYs83BveAoeVzO-T85elKsRGZXSp-QcqzZBaBmQ/s220/131_3190.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4101132616102118425.post-7531790592216493177</id><published>2008-04-18T15:27:00.001+02:00</published><updated>2008-04-18T15:27:26.449+02:00</updated><title type='text'>My First Post</title><content type='html'>&lt;blockquote&gt;   &lt;p&gt;&lt;font color=&quot;#333333&quot; size=&quot;2&quot;&gt;.Net Dimension, I spend a lot of time thinking about that title for this blog. One of my friends called Amr Sawy suggested this name for me. Thanks Amr for this name. I&#39;ll talk in this blog about any thing that carries Microsoft Name :) but my target is to build application using these products.&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;  </content><link rel='replies' type='application/atom+xml' href='http://kholyos.blogspot.com/feeds/7531790592216493177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kholyos.blogspot.com/2008/04/my-first-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/7531790592216493177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4101132616102118425/posts/default/7531790592216493177'/><link rel='alternate' type='text/html' href='http://kholyos.blogspot.com/2008/04/my-first-post.html' title='My First Post'/><author><name>Khaled Moawad</name><uri>http://www.blogger.com/profile/18409094683773228045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKXrQFQ5ErhRc6XWDCsrn1Bow5lkzgLf-QkaF9LPmBskrGh4DVtDaIOHZ7IoGZA8IyE2sSQ2bW-IXk2ZcNTCI6ZIjKYs83BveAoeVzO-T85elKsRGZXSp-QcqzZBaBmQ/s220/131_3190.JPG'/></author><thr:total>0</thr:total></entry></feed>