<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">Bits and Pieces</title><subtitle type="html" /><id>http://blogs.msdn.com/kadriu/atom.xml</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/kadriu/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/kadriu/atom.xml" /><generator uri="http://communityserver.org" version="2.1.61025.2">Community Server</generator><updated>2006-11-20T09:20:00Z</updated><entry><title>Updated SAPBridge Web Services for the SAP OBA Sample Application 2.0</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/kadriu/archive/2009/12/23/updated-sapbridge-web-services-for-the-sap-oba-sample-application-2-0.aspx" /><id>http://blogs.msdn.com/kadriu/archive/2009/12/23/updated-sapbridge-web-services-for-the-sap-oba-sample-application-2-0.aspx</id><published>2009-12-23T10:37:06Z</published><updated>2009-12-23T10:37:06Z</updated><content type="html">&lt;p&gt;The moment you start going through the 43 page OBA SAP SAK 2.0 installation document you will realize that once you come to the end which is installing the ADF components for Sharepoint Server 2007 BDC web parts, it doesn’t work. When you try to put a BDC web part for the ADF’s, you get an error which states that something has happened and look for the log file. I was wondering what happened and which log file? So I decided to take this off my demo that I was preparing for a major event next day as it was very late night. I went back home and started to dig what the issue was about and it turned out to be that the SAPBridge web services were a bit outdated. The webservices are quite improved with the new versions of SAP Netweaver (the version I am using is 7.0) hence the code needs to be updated. While the old versions of SAP had a multitude of webservices, which is 3 different in the original SAP SAK code, the new versions had a few with updated namespaces, method names and URLs. The schemas and method signatures is not drastically different, but needs a bit of a modification.&lt;/p&gt; &lt;p&gt;I dropped all web service definitions and created two instead for the following:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Z_FLIGHTCUSTOMER_WS : &lt;a title="http://10.1.1.5:8000/sap/bc/srt/rfc/sap/Z_FLIGHTCUSTOMER_WS?sap-client=000" href="http://&amp;lt;SAP Host Name&amp;gt;:8000/sap/bc/srt/rfc/sap/Z_FLIGHTCUSTOMER_WS?sap-client=000"&gt;http://&amp;lt;SAP Host Name&amp;gt;:8000/sap/bc/srt/rfc/sap/Z_FLIGHTCUSTOMER_WS?sap-client=000&lt;/a&gt;  &lt;li&gt;Z_FLIGHT_WS : &lt;a title="http://10.1.1.5:8000/sap/bc/srt/rfc/sap/Z_FLIGHTCUSTOMER_WS?sap-client=000" href="http://&amp;lt;SAP Host Name&amp;gt;:8000/sap/bc/srt/rfc/sap/Z_FLIGHT_WS?sap-client=000"&gt;http://&amp;lt;SAP Host Name&amp;gt;:8000/sap/bc/srt/rfc/sap/Z_FLIGHT_WS?sap-client=000&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;Wait, read the rest, although this is a simple ad web reference or add service reference exercise it doesn’t work as expected:&lt;/p&gt; &lt;p&gt;First and foremost, instead of directing the wizard to the above url, you should get the wsdl and copy it to a local text file. Then you need to do a Ctrl+H (find and replace) job. Do the following&lt;/p&gt; &lt;table border="0" cellspacing="0" cellpadding="2" width="400"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign="top" width="200"&gt;Replace&lt;/td&gt; &lt;td valign="top" width="200"&gt;With&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="200"&gt;parameters&lt;/td&gt; &lt;td valign="top" width="200"&gt;parameter&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="200"&gt;System&lt;/td&gt; &lt;td valign="top" width="200"&gt;SYSTEM&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;Save the files with a WSDL extension are you’re all set. Point your browser to the file and generate the proxies, don’t forget to change the URL in the web.config pointing to your SAP Server. &lt;/p&gt; &lt;p&gt;Second, once you create your proxies and try connecting to SAP you might get the error “Virtual Interface not found” (I got this with the FLIGHTCUSTOMER web service but other one was working) You keep on wondering what virtualization and what interface, it turns out to be that this related with the SAP side. You can follow the below steps to resolve the issue or ask you SAP administrator for help.&lt;/p&gt; &lt;p&gt;&lt;b&gt;Symptom:&lt;/b&gt; The attempted use of an SAP BW query returns a virtual interface not found error: &lt;em&gt;Error 32010: Cannot execute query. No result returned or XML returned in the result contains an error. Virtual Interface not found&lt;/em&gt;.&lt;/p&gt; &lt;p&gt;The reason is that the virtual interface … is not activated or needs to be reactivated.  &lt;ol&gt; &lt;li&gt;Log on to SAP, go to the Object Navigator (Transaction SE80), and click on the &lt;b&gt;Edit Object&lt;/b&gt; button.  &lt;li&gt;On the &lt;b&gt;Enterprise Services&lt;/b&gt; tab, select the &lt;b&gt;Virtual Interface&lt;/b&gt; radio button and enter the name of the virtual interface.  &lt;li&gt;Click on the &lt;b&gt;Continue&lt;/b&gt; icon.  &lt;li&gt;In the next screen, click on the &lt;b&gt;Activate&lt;/b&gt; button. The Virtual Interface is activated.&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;Last but not least, if you’re using Add Service Reference and decide using WCF instead of asmx, you should change the binding at the client side after creating the proxy, it doesn’t work with the standard bindings the custom binding that worked for me is below.&lt;/p&gt; &lt;p&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;  &lt;p&gt;&amp;lt;configuration&amp;gt;  &lt;p&gt;&amp;lt;system.serviceModel&amp;gt;  &lt;p&gt;&amp;lt;bindings&amp;gt;  &lt;p&gt;&amp;lt;customBinding&amp;gt;  &lt;p&gt;&amp;lt;binding name="Z_Flight_WSSoapBinding"&amp;gt;  &lt;p&gt;&amp;lt;textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16"  &lt;p&gt;messageVersion="Soap11" writeEncoding="utf-8"&amp;gt;  &lt;p&gt;&amp;lt;readerQuotas maxDepth="10000000" maxStringContentLength="10000000"  &lt;p&gt;maxArrayLength="67108864" maxBytesPerRead="65536" maxNameTableCharCount="100000" /&amp;gt;  &lt;p&gt;&amp;lt;/textMessageEncoding&amp;gt;  &lt;p&gt;&amp;lt;httpTransport authenticationScheme="Basic" bypassProxyOnLocal="false"  &lt;p&gt;hostNameComparisonMode="StrongWildcard" keepAliveEnabled="false"  &lt;p&gt;proxyAuthenticationScheme="Basic" realm="NSP" useDefaultWebProxy="true" maxReceivedMessageSize="653630" /&amp;gt;  &lt;p&gt;&amp;lt;/binding&amp;gt;  &lt;p&gt;&amp;lt;/customBinding&amp;gt;  &lt;p&gt;&amp;lt;/bindings&amp;gt;  &lt;p&gt;&amp;lt;client&amp;gt;  &lt;p&gt;&amp;lt;endpoint address="http://&amp;lt;SAP Host Name&amp;gt;:8000/sap/bc/srt/rfc/sap/Z_FLIGHT_WS?sap-client=000"  &lt;p&gt;binding="customBinding" bindingConfiguration="Z_Flight_WSSoapBinding"  &lt;p&gt;contract="ServiceReference1.Z_Flight_WS" name="Z_Flight_WSSoapBinding" /&amp;gt;  &lt;p&gt;&amp;lt;/client&amp;gt;  &lt;p&gt;&amp;lt;/system.serviceModel&amp;gt;  &lt;p&gt;&amp;lt;/configuration&amp;gt;  &lt;p&gt;I have posted the updated version of SAPBridge web services to the following location &lt;a href="http://sapbridge.codeplex.com"&gt;http://sapbridge.codeplex.com&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Happy Integration projects with SAP.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9940459" width="1" height="1"&gt;</content><author><name>kadriu</name><uri>http://blogs.msdn.com/members/kadriu.aspx</uri></author></entry><entry><title>Announcing : Arabic Silverlight Web Slice Templates</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/kadriu/archive/2009/04/19/announcing-arabic-silverlight-web-slice-templates.aspx" /><id>http://blogs.msdn.com/kadriu/archive/2009/04/19/announcing-arabic-silverlight-web-slice-templates.aspx</id><published>2009-04-19T16:33:17Z</published><updated>2009-04-19T16:33:17Z</updated><content type="html">&lt;p&gt;We recently started a project under the link &lt;a title="http://arslie8ws.codeplex.com" href="http://arslie8ws.codeplex.com"&gt;http://arslie8ws.codeplex.com&lt;/a&gt; for Silverlight 2.0 based Arabic Internet Explorer 8 Web Slices. These slices could be downloaded and modified to fit the needs of Arabic websites. The initial set of web slices include a News Slice that reads from RSS feeds of newspapers, Stock Data Slice that reads information from a stock feed an provides graphical information and a Airline Reservation Slice.&lt;/p&gt; &lt;p&gt;We are planning to customize the slices for local sites and put the code here for immediate consumption.&lt;/p&gt; &lt;p&gt;Special thanks to Emad Abdelaziz our Silverlight MVP for putting these samples together.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9555673" width="1" height="1"&gt;</content><author><name>kadriu</name><uri>http://blogs.msdn.com/members/kadriu.aspx</uri></author></entry><entry><title>Internet Explorer 8 Features Could Stickiness to Your Website in Minutes – Part 3 Web Slices, Ideas for Saudi Sites?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/kadriu/archive/2009/04/13/internet-explorer-8-features-could-stickiness-to-your-website-in-minutes-part-3-web-slices-ideas-for-saudi-sites.aspx" /><id>http://blogs.msdn.com/kadriu/archive/2009/04/13/internet-explorer-8-features-could-stickiness-to-your-website-in-minutes-part-3-web-slices-ideas-for-saudi-sites.aspx</id><published>2009-04-13T22:13:17Z</published><updated>2009-04-13T22:13:17Z</updated><content type="html">&lt;p&gt;&lt;font size="2"&gt;Add a Web Slice and you won't have to go back to the same website again and again for updates on news, stock quotes, online auctions, weather, or even sports scores—now those updates will come to you. The new Web Slice feature provides up-to-the-minute information on the sites (it will alert you of new content by changing color or going bold) you care about most in one convenient place on the new Favorites bar.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;WebSlices have four main behaviors. &lt;/font&gt;&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;font size="2"&gt;Discovery : users discover webslices in the page and subscribe to it, adding it to the Favorites bar.&lt;/font&gt;  &lt;li&gt;&lt;font size="2"&gt;Update&lt;/font&gt; : IE8 uses the feed download engine to check for the updates.  &lt;li&gt;&lt;font size="2"&gt;Notify&lt;/font&gt; : When WebSlice content is changes it is bolded on the Favorites bar.  &lt;li&gt;&lt;font size="2"&gt;Display : The information displayed on the dropdown area when user clicks the WebSlice on the favorites bar.&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;font size="2"&gt;I will start with a sample showing how to implement these behaviors.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;Discovery&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;First you need an html page and a DIV tag within the page that will be used a “WebSlice Aware” area.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;&amp;lt;html&amp;gt;&lt;br&gt;&amp;lt;head&amp;gt;&lt;br&gt;&amp;lt;/head&amp;gt;&lt;br&gt;&amp;lt;body&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div id="useless" class="hslice"&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt;&amp;lt;span class="entry-title"&amp;gt;Useless WebSlice&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;br&gt;&amp;lt;/body&amp;gt;&lt;br&gt;&amp;lt;/html&amp;gt;&lt;/em&gt;  &lt;ul&gt; &lt;li&gt;&lt;font size="2"&gt;id=”useless” : ID for the webslice, should be unique within the page, the ID for this webslice is set to “useless” and it could be set to any value.&lt;/font&gt;  &lt;li&gt;&lt;font size="2"&gt;class=”hslice” : defines this div to be webslice aware.&lt;/font&gt;  &lt;li&gt;&lt;font size="2"&gt;class=”entry-title” : this entry maps to the WebSlice button text on the favorites bar.&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;font size="2"&gt;It will be rendered in the page as follows&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_thumb.png" width="244" height="99"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;Hover the mouse over the text and you’ll see the green webslice button&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_4.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_thumb_1.png" width="244" height="116"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;Click the button and dismiss the warning message box, the webslice will be on the favorites bar&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_6.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_thumb_2.png" width="244" height="143"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;Note that nothing happens when you click it as we didn’t define the content yet&lt;/font&gt;  &lt;p&gt;&lt;strong&gt;&lt;font size="2"&gt;Update&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;When changes occur in the&amp;nbsp; WebSlice data, IE8 automatically updates. &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;&amp;lt;html&amp;gt;&lt;br&gt;&amp;lt;head&amp;gt;&lt;br&gt;&amp;lt;/head&amp;gt;&lt;br&gt;&amp;lt;body&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div id="useless" class="hslice"&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt;&amp;lt;span class="entry-title"&amp;gt;Less Useless WebSlice&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class="ttl" style="display:none;"&amp;gt;15&amp;lt;/div&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;abbr class="endtime" title="2008-04-29T17:50:00-08:00"&amp;gt;&amp;lt;/abbr&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;br&gt;&amp;lt;/body&amp;gt;&lt;br&gt;&amp;lt;/html&amp;gt;&lt;/em&gt;  &lt;p&gt;&lt;font size="2"&gt;The following tags are used to control the update behavior.&lt;/font&gt;&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;font size="2"&gt;class=”ttl” : check for updates every 15 minutes&lt;/font&gt;  &lt;li&gt;&lt;font size="2"&gt;class=”endtime” : the content for webslice will expire at this time, i.e if you’re checking the availability of a flight, it doesn’t make sense to check after the flight has taken off&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;font size="2"&gt;We’ll show how it works with a full webslice at the end of this article&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;Notify&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;The WebSlice gleams when new data is present&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_10.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_thumb_4.png" width="244" height="161"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font size="2"&gt;Display&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;We did all of this to display information to the user, the reason why we did all of the plumbing until now. We have 3 models to display data and depending on the need and information that needs to be displayed, you can do the implementation using pure html. Content is displayed in a small area which drops down when you click the WebSlice in the Favorites bar.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_12.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_thumb_5.png" width="244" height="192"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;For security reasons, the Web Slice preview does not allow script or Microsoft ActiveX controls. Consequently, HTML forms and buttons are not supported. Instead, you can use links that contain URL parameters to perform related actions. Navigations occur within the currently selected tab. To get around this limitation, consider using an alternative display source, described below.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;See &lt;/font&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/cc848871(VS.85).aspx"&gt;&lt;font size="2"&gt;Internet Explorer 8 Web Slice Guide&lt;/font&gt;&lt;/a&gt;&lt;font size="2"&gt; for how to design, format and style Web Slices.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font size="2"&gt;Basic&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;The selected “WebSlice Aware Area (div with class=”hslice”)” in the page is used the define and display the content.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;&amp;lt;html&amp;gt;&lt;br&gt;&amp;lt;head&amp;gt;&lt;br&gt;&amp;lt;/head&amp;gt;&lt;br&gt;&amp;lt;body&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div id="useless" class="hslice"&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class="entry-content"&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt;&amp;lt;span class="entry-title"&amp;gt;Less Useless WebSlice with Useless Content&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;img src="images/sunny.png" id="image" style="padding:5px;float:left;" alt="Sunny" height="128" width="128" /&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class="entry-title" style="font-size:2.5em;margin-top:24px;font-weight:bold;"&amp;gt;70&amp;amp;deg; F&amp;lt;/div&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p class="entry-title" style="font-weight:bold;font-size:1.5em"&amp;gt;Sunny&amp;lt;/p&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt;&amp;lt;i&amp;gt;All fictional, of course!&amp;lt;/i&amp;gt;&amp;lt;/p&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt;Current conditions as of 4:56 PM&amp;lt;/p&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class="ttl" style="display:none;"&amp;gt;15&amp;lt;/div&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;abbr class="endtime" title="2008-04-29T17:50:00-08:00"&amp;gt;&amp;lt;/abbr&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;br&gt;&amp;lt;/body&amp;gt;&lt;br&gt;&amp;lt;/html&amp;gt;&lt;/em&gt;  &lt;p&gt;class=”entry-content” defines the are that will be displayed in the dropdown area.&lt;/p&gt; &lt;p&gt;This is what is rendered.&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_14.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_thumb_6.png" width="244" height="202"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;And this is the content for the WebSlice. Observe that since I didn’t do proper styling and formatting on the WebSlice, it is wide. One thing worth noting is look at the small red circle at the bottom, this indicates that the webslice has expired. Why? (Hint: Check the class=”endtime” at the Notify section above)&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_16.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_thumb_7.png" width="454" height="186"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;Not so interesting? Or simple and serves your needs? Still we didn’t write any single piece of script, code or didn’t use any plugin. It is all html, attributes and elements. If this is all you need, you’re done with your first slice, put it in your web site and enjoy the extra traffic and usage.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;Alternative Update Source&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;You are trying to build a WebSlice where static data is not enough. You want to display the data you get from an RSS feed. Like a simple Tadawul Webslice taht shows the stock market information or a WebSlice for AlRiyadh or AlWatan Newspapers showing the latest news, or your are fan of AlHilal Football Club and want to get the latest information about a match. You can create a webslice and assign the source of the slice to an RSS feed. You have a page to display the WebSlice aware area for discovery, update and notify settings which is named as Basic.html. Second you need the content through an RSS feed.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_20.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_thumb_9.png" width="449" height="267"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;This is how the Basic.html looks like, click the Green Icon to subscribe&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_22.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_thumb_10.png" width="385" height="217"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;WebSlice “Gleams” on the favorites bar&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_24.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_thumb_11.png" width="383" height="244"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;This is the resulting web slice display, again it doesn’t look nice because of the formatting and lack of style&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_26.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_thumb_12.png" width="523" height="214"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;This is how the code looks like&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&amp;lt;html&amp;gt;&lt;br&gt;&amp;lt;head&amp;gt;&lt;br&gt;&amp;lt;/head&amp;gt;&lt;br&gt;&amp;lt;body&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h2&amp;gt;AlRiyadh Newspaper&amp;lt;/h2&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div id="weather" class="hslice"&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h3&amp;gt;&amp;lt;span class="entry-title"&amp;gt;Riyadh&amp;lt;/span&amp;gt;, Breaking News&amp;lt;/h3&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class="entry-content"&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a rel="feedurl" href=&lt;a href="http://localhost/WebSlice/Sample.xml"&gt;http://localhost/WebSlice/Sample.xml&lt;/a&gt;&amp;gt;&amp;lt;/a&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;br&gt;&amp;lt;/body&amp;gt;&lt;br&gt;&amp;lt;/html&amp;gt;  &lt;p&gt;&lt;font size="2"&gt;This is how the Sample.xml looks like&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&lt;br&gt;&amp;lt;rss version="2.0" &amp;gt;&lt;br&gt;&amp;lt;channel&amp;gt;&lt;br&gt;&amp;lt;title&amp;gt;جريدة الرياض : تقنية المعلومات&amp;lt;/title&amp;gt; &lt;br&gt;&amp;nbsp; &amp;lt;link&amp;gt;&lt;/em&gt;&lt;a href="http://www.alriyadh.com/"&gt;&lt;em&gt;http://www.alriyadh.com/&lt;/em&gt;&lt;/a&gt;&lt;em&gt;&amp;lt;/link&amp;gt; &lt;br&gt;&amp;nbsp; &amp;lt;description&amp;gt;جريدة يومية تصدر عن مؤسسة اليمامة الصحفية&amp;lt;/description&amp;gt; &lt;br&gt;&amp;nbsp; &amp;lt;language&amp;gt;ar&amp;lt;/language&amp;gt; &lt;br&gt;- &amp;lt;image&amp;gt;&lt;br&gt;&amp;nbsp; &amp;lt;title&amp;gt;Riyadh Newspaper&amp;lt;/title&amp;gt; &lt;br&gt;&amp;nbsp; &amp;lt;url&amp;gt;&lt;/em&gt;&lt;a href="http://www.alriyadh.com/img/logo.gif"&gt;&lt;em&gt;http://www.alriyadh.com/img/logo.gif&lt;/em&gt;&lt;/a&gt;&lt;em&gt;&amp;lt;/url&amp;gt; &lt;br&gt;&amp;nbsp; &amp;lt;link&amp;gt;&lt;/em&gt;&lt;a href="http://www.alriyadh.com/"&gt;&lt;em&gt;http://www.alriyadh.com/&lt;/em&gt;&lt;/a&gt;&lt;em&gt;&amp;lt;/link&amp;gt; &lt;br&gt;&amp;nbsp; &amp;lt;/image&amp;gt;&lt;br&gt;- &amp;lt;item&amp;gt;&lt;br&gt;&amp;nbsp; &amp;lt;link&amp;gt;&lt;/em&gt;&lt;a href="http://www.alriyadh.com/2009/03/10/article414830.html"&gt;&lt;em&gt;http://www.alriyadh.com/2009/03/10/article414830.html&lt;/em&gt;&lt;/a&gt;&lt;em&gt;&amp;lt;/link&amp;gt; &lt;br&gt;&amp;nbsp; &amp;lt;title&amp;gt;الأمير جلوي يفتتح الملتقى الرابع للخدمات الإلكترونية بالمنطقة الشرقية أكثر من (1000) مشارك يمثلون (60) جهة علمية وفنية وهندسية متخصصة&amp;lt;/title&amp;gt; &lt;br&gt;&amp;nbsp; &amp;lt;description&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;div id=&amp;amp;quot;AlRiyadhNews&amp;amp;quot; class=&amp;amp;quot;hslice&amp;amp;quot;&amp;amp;gt; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;div class=&amp;amp;quot;entry-content&amp;amp;quot;&amp;amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;img src=&amp;amp;quot;&lt;/em&gt;&lt;a href="http://www.alriyadh.com/img_s/02/02cf8fa515b6ba079a1477129af05ef9_w210_h160.jpg&amp;amp;quot;"&gt;&lt;em&gt;http://www.alriyadh.com/img_s/02/02cf8fa515b6ba079a1477129af05ef9_w210_h160.jpg&amp;amp;quot;&lt;/em&gt;&lt;/a&gt;&lt;em&gt; id=&amp;amp;quot;image&amp;amp;quot;/&amp;amp;gt; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;p&amp;amp;gt;&amp;amp;lt;i&amp;amp;gt;أكد صاحب السمو الأمير جلوي بن عبدالعزيز بن مساعد نائب أمير المنطقة الشرقية أن العمل جار لايجاد بوابة الكترونية موحدة للمنطقة الشرقية&amp;amp;lt;/i&amp;amp;gt;&amp;amp;lt;/p&amp;amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;/div&amp;amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;/div&amp;amp;gt;&lt;br&gt;&amp;nbsp; &amp;lt;/description&amp;gt; &lt;br&gt;&amp;nbsp; &amp;lt;/item&amp;gt;&lt;br&gt;&amp;lt;/channel&amp;gt;&lt;br&gt;&amp;lt;/rss&amp;gt;&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;Alternative Display Source&lt;/strong&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;When user clicks the Web Slice on the Favorites bar, a flyout appears with the stored value of entry-content property which links to a different page which can host content including ActiveX and scripts. My favorite is Silverlight, where you can display appealing content. Download and test the new MSN Toolbar on &lt;/font&gt;&lt;a title="http://www.newmsntoolbar.com/" href="http://www.newmsntoolbar.com/"&gt;&lt;font size="2"&gt;http://www.newmsntoolbar.com/&lt;/font&gt;&lt;/a&gt;&lt;font size="2"&gt; which uses Web Slices built on Silverlight technology.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=0811052&amp;amp;Image=McLaughlin_figure 5.tif"&gt;&lt;img border="0" alt="Click for a larger version of this image." src="http://www.code-magazine.com/ArticleImage.aspx?QuickID=0811052&amp;amp;Image=McLaughlin_figure 5.tif"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;The code for&amp;nbsp; Basic.html is very very simple&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;&amp;lt;html&amp;gt;&lt;br&gt;&amp;lt;head&amp;gt;&lt;br&gt;&amp;lt;/head&amp;gt;&lt;br&gt;&amp;lt;body&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h2&amp;gt;AlRiyadh Newspaper&amp;lt;/h2&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div id="weather" class="hslice"&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h3&amp;gt;&amp;lt;span class="entry-title"&amp;gt;Riyadh&amp;lt;/span&amp;gt;, Breaking News&amp;lt;/h3&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a rel="entry-content" href="&lt;/em&gt;&lt;a href="http://www.level70.de/silverlight/mcpluscsXS/Default.html&amp;quot;"&gt;&lt;em&gt;http://www.level70.de/silverlight/mcpluscsXS/Default.html"&lt;/em&gt;&lt;/a&gt;&lt;em&gt;&amp;gt;&amp;lt;/a&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;lt;/body&amp;gt;&lt;br&gt;&amp;lt;/html&amp;gt;&lt;/em&gt;  &lt;p&gt;&lt;font size="2"&gt;the href for content in this case links to a sample site for Silverlight displaying content. The WebSlice wil open a flyout and show the sample content which could be any Silverlight control which opens up unlimited opportunities. The sample content is displayed as:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_28.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_thumb_13.png" width="487" height="360"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;Hint: Follow the link on the address bar for the RIA WebSlice article.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;Some ideas based on MSN Toolbar:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;Displaying Tadawul Data&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_30.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_thumb_14.png" width="399" height="215"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;Newspapers&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_32.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_thumb_15.png" width="399" height="215"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;Sports&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_34.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_E41B/image_thumb_16.png" width="401" height="206"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;We are creating Fully Arabic Silverlight based sample Web Slices and will put them on Codeplex. Please follow the announcements in my blog for the location of the slices.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;To get more information on the IE8 Features in general I recommend the MSDN Article &lt;a href="http://msdn.microsoft.com/tr-tr/magazine/dd458804(en-us).aspx"&gt;New Features To Slice, Store, And Accelerate Your Web Applications&lt;/a&gt;.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;See &lt;a href="http://www.microsoft.com/windows/internet-explorer/readiness/default.aspx"&gt;Internet Explorer 8 Readiness Toolkit&lt;/a&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;See &lt;a href="http://blogs.msdn.com/ie/"&gt;Internet Explorer 8 Team Blog&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9547161" width="1" height="1"&gt;</content><author><name>kadriu</name><uri>http://blogs.msdn.com/members/kadriu.aspx</uri></author></entry><entry><title>Internet Explorer 8 Features Could Stickiness to Your Website in Minutes – Part 2 Accelerators, Adventures with Tadawul Site?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/kadriu/archive/2009/04/12/internet-explorer-8-features-could-stickyness-to-your-website-in-minutes-part-2-accelerators-adventures-with-tadawul-site.aspx" /><id>http://blogs.msdn.com/kadriu/archive/2009/04/12/internet-explorer-8-features-could-stickyness-to-your-website-in-minutes-part-2-accelerators-adventures-with-tadawul-site.aspx</id><published>2009-04-12T15:53:11Z</published><updated>2009-04-12T15:53:11Z</updated><content type="html">&lt;p&gt;&lt;font size="2"&gt;Building an accelerator is a simple task. Number one site that comes to mind in Saudi Arabia is obviously the Tadawul, which is the Saudi Stock Market and I decided to build an accelerator that searches the stock information in this site. The only challenge here was the only way to search in the site was based on Stock Symbol which is a numeric value. Searching with Stock Symbol may not seem intuitive but this is a limitation from the site itself, you can invoke any service through GET or POST.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;1) Create an XML document using the &lt;/font&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/cc304163(VS.85).aspx"&gt;&lt;font size="2"&gt;OpenService Format Specification for Accelerators&lt;/font&gt;&lt;/a&gt;&lt;font size="2"&gt;. Here I will only build the basic functionality but the specification is comprehensive in the features that could be implemented. Publish document to your website. I named it TadawulAccelerator.xml and put it under root.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;br&gt;&amp;lt;openServiceDescription xmlns="&lt;a href="http://www.microsoft.com/schemas/openservicedescription/1.0&amp;quot;"&gt;http://www.microsoft.com/schemas/openservicedescription/1.0"&lt;/a&gt;&amp;gt;&lt;br&gt;&amp;nbsp; &amp;lt;homepageUrl&amp;gt;&lt;a href="http://www.tadawul.com.sa"&gt;http://www.tadawul.com.sa&lt;/a&gt;&amp;lt;/homepageUrl&amp;gt;&lt;br&gt;&amp;nbsp; &amp;lt;display&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;Search Stock Symbol in Tadawul&amp;lt;/name&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;icon&amp;gt;&lt;a href="http://www.tadawul.com.sa/favicon.ico"&gt;http://www.tadawul.com.sa/favicon.ico&lt;/a&gt;&amp;lt;/icon&amp;gt;&lt;br&gt;&amp;nbsp; &amp;lt;/display&amp;gt;&lt;br&gt;&amp;nbsp; &amp;lt;activity category="define"&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activityAction context="selection"&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;preview method="get" action="&lt;a href="http://www.tadawul.com.sa/wps/portal/!ut/p/.cmd/cs/.ce/7_0_A/.s/7_0_4A0/_s.7_0_A/7_0_4A0&amp;quot;/"&gt;http://www.tadawul.com.sa/wps/portal/!ut/p/.cmd/cs/.ce/7_0_A/.s/7_0_4A0/_s.7_0_A/7_0_4A0"/&lt;/a&gt;&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;execute method="get" action="&lt;a href="http://www.tadawul.com.sa/wps/portal/!ut/p/_s.7_0_A/7_0_4BC?CompanySymbol=&amp;amp;amp;ANN_ACTION=ANN_SEARCH&amp;amp;amp;symbol={selection}&amp;amp;amp;tabOrder=1&amp;quot;/"&gt;http://www.tadawul.com.sa/wps/portal/!ut/p/_s.7_0_A/7_0_4BC?CompanySymbol=&amp;amp;amp;ANN_ACTION=ANN_SEARCH&amp;amp;amp;symbol={selection}&amp;amp;amp;tabOrder=1"/&lt;/a&gt;&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/activityAction&amp;gt;&lt;br&gt;&amp;nbsp; &amp;lt;/activity&amp;gt;&lt;br&gt;&amp;lt;/openServiceDescription&amp;gt;  &lt;p&gt;&lt;font size="2"&gt;The XML is self explanatory. &lt;/font&gt; &lt;blockquote&gt; &lt;ul&gt; &lt;li&gt;&lt;font size="2"&gt;display tags control what you see when you right click. One thing worth mentioning here is the favicon link. This doesn’t exist in the Tadawul site but I’m putting it here just for showing how it should be done.&lt;/font&gt;  &lt;li&gt;&lt;font size="2"&gt;activity tags define how to call the service. &lt;/font&gt; &lt;li&gt;&lt;font size="2"&gt;preview section : An Accelerator can provide an optional HTML preview that is displayed when the user hovers over an Accelerator on the menu. Previews are useful to quickly obtain a map, in-place definition or translation, content ratings, or links to related content. In our case to demonstrate the functionality I’m displaying the ticker. Again this is a limitation of the site, if we provide a backend service that provides preview information we can easily call it here. As an example the Virtual Earth Accelerator displays a quick map during the preview mode. The preview window is limited to 320 width and 240 height on a 96 dots per inch (dpi) display. All content outside of the region is cut off. That’s why if you try the above accelerator some of the ticker is cutoff.&lt;/font&gt;  &lt;li&gt;&lt;font size="2"&gt;execute element specifies the main action triggered when the user invokes the Accelerator. Note the {selection} parameter, which means replace this token with the text the user selected in the page. There are different parameter types you can use.&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/blockquote&gt; &lt;p&gt;&lt;font size="2"&gt;2) Add a link or input to your web page and attach the following code.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;&amp;lt;button onclick="window.external.AddService('TadawulAccelerator.xml')"&amp;gt;Install Accelerator&amp;lt;/button&amp;gt;&lt;/font&gt;  &lt;p&gt;&lt;font size="2"&gt;Sample web page I created looks like. Very simple page hence I didn’t give the code here. &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_D767/image_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_D767/image_thumb.png" width="365" height="240"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;3) When you click the Install Accelerator button, you get a warning message, click to install the accelerator.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;4) Open any page, select an item. In our case it should be a numeric value that is a Stock Symbol. I’ve added two valid stock symbols which could be seen in the above page, 6010 or 6020.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_D767/image_4.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_D767/image_thumb_1.png" width="373" height="339"&gt;&lt;/a&gt; &lt;a href="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_D767/image_6.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_D767/image_thumb_2.png" width="346" height="338"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;As you see building an accelerator for Tadawul was very simple. It only took couple of hours including the learning. The only thing that needs to be considered is the backend services that are called by the accelerator. We can use GET or POST to call the service and pass the following variables.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_D767/image_8.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_D767/image_thumb_3.png" width="430" height="258"&gt;&lt;/a&gt; &lt;/p&gt;&lt;font size="2"&gt;&lt;/font&gt; &lt;p&gt;&lt;font size="2"&gt;To get more information on the IE8 Features in general I recommend the MSDN Article &lt;a href="http://msdn.microsoft.com/tr-tr/magazine/dd458804(en-us).aspx"&gt;New Features To Slice, Store, And Accelerate Your Web Applications&lt;/a&gt;.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;Also the following article gives a complete overview of accelerator development see &lt;a href="http://msdn.microsoft.com/en-us/library/cc289775(VS.85).aspx#_preview"&gt;OpenService Accelerators Developer Guide&lt;/a&gt;.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;See &lt;a href="http://www.microsoft.com/windows/internet-explorer/readiness/default.aspx"&gt;Internet Explorer 8 Readiness Toolkit&lt;/a&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;See &lt;a href="http://blogs.msdn.com/ie/"&gt;Internet Explorer 8 Team Blog&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9546354" width="1" height="1"&gt;</content><author><name>kadriu</name><uri>http://blogs.msdn.com/members/kadriu.aspx</uri></author></entry><entry><title>Internet Explorer 8 Features Could Stickiness to Your Website in Minutes – Part 1 Why Should I Do It?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/kadriu/archive/2009/04/12/internet-explorer-8-features-could-stickyness-to-your-website-in-minutes-part-1-why-should-i-do-it.aspx" /><id>http://blogs.msdn.com/kadriu/archive/2009/04/12/internet-explorer-8-features-could-stickyness-to-your-website-in-minutes-part-1-why-should-i-do-it.aspx</id><published>2009-04-12T12:31:00Z</published><updated>2009-04-12T12:31:00Z</updated><content type="html">&lt;p&gt;&lt;font size="2"&gt;Internet Explorer 8 comes with a number of features that could help you with increasing the expected benefits from your website. Before starting the important things to keep mind is;&lt;/font&gt;&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;font size="2"&gt;All IE8 features I will introduce are “technology independent”, you can use it on your ASP.NET, JSP, PHP, Phyton, Ruby on Rails website.&lt;/font&gt;  &lt;li&gt;&lt;font size="2"&gt;Implementing is “simple”, it doesn’t take more than a week.&lt;/font&gt;  &lt;li&gt;&lt;font size="2"&gt;They’re declarative, you create a simple XML document or add few html attributes and tags&amp;nbsp; to your website.&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;What’s in it for you, why should you spend a week and put it on your website?&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;You build a website to &lt;/font&gt;&lt;/p&gt; &lt;ul&gt; &lt;ul&gt; &lt;li&gt;&lt;font size="2"&gt;Deliver a service to the user, examples are airlines, stock market, healthcare, etc…&lt;/font&gt;  &lt;li&gt;&lt;font size="2"&gt;Sell yourself, an idea or product, examples are ecommerce, social, personal site, forums, photo sharing, etc…&lt;/font&gt;  &lt;li&gt;&lt;font size="2"&gt;Make revenue from advertisement, which is related with the above but you might build a site with a high hit rate and make money from advertisement, you have to have a high hit rate and low bounce rate&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt; &lt;p&gt;&lt;font size="2"&gt;To achieve this you have to &lt;/font&gt;&lt;/p&gt; &lt;ul&gt; &lt;ul&gt; &lt;li&gt;&lt;font size="2"&gt;Bring people to your site&lt;/font&gt;  &lt;li&gt;&lt;font size="2"&gt;Make people feel at home&lt;/font&gt;  &lt;li&gt;&lt;font size="2"&gt;Create new connections&lt;/font&gt;  &lt;li&gt;&lt;font size="2"&gt;Have people spend more time&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt; &lt;p&gt;&lt;font size="2"&gt;In summary, your site should be sticky, people should register and continue using it.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;I will walk you through two simple usage scenarios which should be familiar to anybody using the internet.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;Checking Status of an Entity Continuously&lt;/strong&gt; – You browse the Saudi Airlines site and search for a flight to Jeddah, obviously it is full, you want to check if the availability of the flight if it changes. You browse to your favorite eAuction site, check the final price of the item every 10 minutes. You browse Tadawul, register for the stocks you are interested or you own, you want follow-up the prices and want to take action.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;How do you do this today from the browser? 1) Browse the site, 2) logon if needed, 3) enter the information and search for the entity, 4) analyze the information you’re interested within the page which has all other information you’re not interested and distracting user interface elements, 5) go back to work on another browser tab, 6) remember to check for the updates, 7) alt + tab, go back to the tab and realize that the session has expired, 8) logon again, 9) enter information and search again, 9+n) …. &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;Get Contextual Information from Another Site Based on Current Selection&lt;/strong&gt; - For example, in an non-IE8 browser—Firefox or IE7-- just count the typical number of steps a user would take to map an address, translation, check for comments on the stock in Saudi Stocks or Hawamer: 1) Highlight the address, 2) right-click to copy the address, 3) Click to open a new tab or window, 3) Type in site address of the page (mapping service, stock market site, Arabic translation) 4) click enter to load the page or service, 5) click the field to enter the search information, 6) right-click to paste the address into the field, 6) click enter, 7) wait for the respective page to display results: 7 steps in all!&amp;nbsp; &lt;/font&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;How does IE8 address these scenarios?&lt;/font&gt;&lt;/p&gt; &lt;table border="0" cellspacing="0" cellpadding="2" width="970"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign="top" width="475"&gt; &lt;p&gt;&lt;font size="2"&gt;With IE8 accelerators &lt;/font&gt;&lt;/p&gt; &lt;ol&gt; &lt;li&gt;&lt;font size="2"&gt;Highlight the information &lt;/font&gt; &lt;li&gt;&lt;font size="2"&gt;Right-click on the page&lt;/font&gt;  &lt;li&gt;&lt;font size="2"&gt;Select the Tadawul Search option and you instantly see the preview of the location, without ever leaving the page or site you’re on. &lt;/font&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/td&gt; &lt;td valign="top" width="493"&gt; &lt;p&gt;&lt;font size="2"&gt;With IE8 Web Slices&lt;/font&gt;&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;&lt;font size="2"&gt;1. Go over WebSlice enabled area, click the green button to register for the webslice&lt;br&gt;2. The Web Slice will be added and provides up-to-the-minute information on the sites (it will alert you of new content by changing color or going bold) you care about most in one convenient place on the new Favorites bar.&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="475"&gt;&lt;a href="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_B7E7/image_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_B7E7/image_thumb.png" width="401" height="365"&gt;&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_B7E7/image_4.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_B7E7/image_thumb_1.png" width="397" height="302"&gt;&lt;/a&gt;&lt;/td&gt; &lt;td valign="top" width="493"&gt;&lt;a href="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_B7E7/image_6.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_B7E7/image_thumb_2.png" width="485" height="283"&gt;&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_B7E7/image_8.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_B7E7/image_thumb_3.png" width="244" height="112"&gt;&lt;/a&gt; &lt;br&gt;&lt;br&gt;&lt;a href="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_B7E7/image_10.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/kadriu/WindowsLiveWriter/InternetExplorer8FeaturesCouldStickyness_B7E7/image_thumb_4.png" width="244" height="224"&gt;&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;&lt;font size="2"&gt;In user tests, Accelerators and Web Slices saved users 10s of seconds performing common tasks like check on an eBay auction, finding products on Amazon.com, checking a weather report. For all the accelerators and web slices (with new ones being added every day) just go to &lt;/font&gt;&lt;a href="http://ieaddons.com"&gt;&lt;font size="2"&gt;http://ieaddons.com&lt;/font&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;In forthcoming parts of this blog, I will be explaining my adventures in building Accelerators and Web Slices for some of the well known local websites.&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9546324" width="1" height="1"&gt;</content><author><name>kadriu</name><uri>http://blogs.msdn.com/members/kadriu.aspx</uri></author></entry><entry><title>IE8 Beta 2 is Out, Get It</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/kadriu/archive/2008/08/30/ie8-beta-2-is-out-get-it.aspx" /><id>http://blogs.msdn.com/kadriu/archive/2008/08/30/ie8-beta-2-is-out-get-it.aspx</id><published>2008-08-30T13:42:47Z</published><updated>2008-08-30T13:42:47Z</updated><content type="html">&lt;p&gt;From &lt;a href="http://www.microsoft.com/windows/internet-explorer/beta/default.aspx"&gt;here&lt;/a&gt;. &lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8909277" width="1" height="1"&gt;</content><author><name>kadriu</name><uri>http://blogs.msdn.com/members/kadriu.aspx</uri></author></entry><entry><title>Minimalist Architectures</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/kadriu/archive/2008/08/27/minimalist-architectures.aspx" /><id>http://blogs.msdn.com/kadriu/archive/2008/08/27/minimalist-architectures.aspx</id><published>2008-08-27T17:30:30Z</published><updated>2008-08-27T17:30:30Z</updated><content type="html">&lt;p&gt;So what does this mean? I believe this is closely related with the definition of IT Architecture and how we architects are performing this art. When building a solution why do we need complex patterns? Why are those block diagrams so complex and big? Do we really need these boxes here and there? If you look from an artistic viewpoint painting a very simple drawing is risky for the artist. If you draw a 15m x 15m drawing on the wall of a building then people seeing it will appreciate the amount of labor and the difficulties on painting such a big thing.&lt;/p&gt; &lt;p&gt;However there are artists who draws couple of lines on the canvas and yet be much more famous. To me this is what differentiates an artist from a painter. There are so many painters around who can reproduce a Picasso or Rembrandt exactly however this doesn’t make them an artist.&lt;/p&gt; &lt;p&gt;I think now it should be clear to everyone where I’m coming from.&lt;/p&gt; &lt;p&gt;Any IT architect could take any patterns and apply them to the solution without thinking how and why it fits to the specific problem, which doesn’t make them an IT architect. If we take it one step further, building a very complex architecture and writing hundreds of pages of documentation explaining it also doesn’t make one a true architect. However it gives a good reason and justifies the paychecks given by the customer who sees the labor put into the solution.&lt;/p&gt; &lt;p&gt;I’m a great fan of minimalist architecture which is sort of an extension to the agile paradigm for the software development.&lt;/p&gt; &lt;p&gt;Why would a business owner in any customer want a complex solution which takes years to build and hard and expensive to operate? So there should be a good justification for complexity, otherwise it would have been done for the sake of giving something “with meat” to the customer and get a good payment.&lt;/p&gt; &lt;p&gt;Think of this scenario, as an architect you’ve been hired to build a solution and you go ahead and do technology validations and prototypes&amp;nbsp; and find a specific solution to the customers problem which decreases the development time of the project from 2 years to 1 month. However you’ve spent 2 months for the idea and the only deliverable you give to this customer is a presentation explaining solution and a simple solution with a few lines of code. &lt;/p&gt; &lt;p&gt;What is the value to the customer? Enormous reduction in the time to market, simple application with reduced operational costs, productivity boosts in the development team. Who wouldn’t want this? I call this a minimalist architecture and to do this you have to be smart and innovative. You always have to ask yourself why does the customer this complex piece, what has the support team done to you to deserve this continuous torture.&lt;/p&gt; &lt;p&gt;Unfortunately as the architects, we don’t want. We are afraid that it will devalue our work. Show off with the simples projects you’ve done, brag about how simple the architecture you’ve put together for project X is how did it simplify the lives of the customer’s IT team. How did it solve specific business problem and how did it enable organization Y to gain market share against the competition.&lt;/p&gt; &lt;p&gt;In the following weeks I’ll try to give solid samples on how complex an architecture could be and how can it be refactored to a minimalist architecture. I’m still putting together the framework however what I have in mind is sort of a unit testing framework, we may call it ArchUnit, for ensuring that the proposed architecture delivers the requires functional and non-functional requirements and incrementally simplifying points of complexities to come up with a minimalist architecture.&lt;/p&gt; &lt;p&gt;I do keep in mind that certain things could not be simplified. If you’re sending a space shuttle to the moon, it can’t be simple, but still it can be “minimalized”. As a good example I want to finish with the famous US space pen project that cost millions of USD vs Russian’s using a simple pencil at the space. The original “business” requirement was the ability to take notes at the space however the techies turned it into “We have to use a pen” and and the problem became “how can we build a complex space pen which has pressurized air in it so that it can write in gravityless conditions”. A mouthful hah, go for the real need and try to solve it instead of building a solution architecture based on well known patterns and try to make it work your specific case.&lt;/p&gt; &lt;p&gt;Did you see the antipattern here? Deciding on an architectural pattern up front, then look for the requirements and tweaking the pre-selected architecture to fit the needs. It would be easier to listen to the requirements and select the architecture. In our case the selected architecture is “use a pen” and then work on the requirements of using it in space.&lt;/p&gt; &lt;p&gt;I’ve written this article before reading Roger Sessions book “Simple Architectures for Complex Enterprises”. This book is fantastic in putting a framework around complexity and how to avoid it. Please read the book for a more scientific approach from a guru in the field. I’m really enjoying every single sentence in the book.&lt;/p&gt; &lt;p&gt;I will continue providing examples from my experience in the field as how we can think out of the box and provide minimalist architectures to simple need.&lt;/p&gt; &lt;p&gt;Stay tuned.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8900174" width="1" height="1"&gt;</content><author><name>kadriu</name><uri>http://blogs.msdn.com/members/kadriu.aspx</uri></author></entry><entry><title>Now writing is part of my job</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/kadriu/archive/2007/12/10/now-writing-is-part-of-my-job.aspx" /><id>http://blogs.msdn.com/kadriu/archive/2007/12/10/now-writing-is-part-of-my-job.aspx</id><published>2007-12-10T10:08:00Z</published><updated>2007-12-10T10:08:00Z</updated><content type="html">&lt;P&gt;It was a hard period. Running here to there delivering projects. However I do have experience accumulated and as the name implies bit and pieces that you have to dig in for days and you can't make the think work without them. Good news is I've changed my role within Microsoft and writing is part of my duties. I hope I'll be back soon. If you're integrating anything with anhother thing and they look completely different with nothing in&amp;nbsp;common. You can search my blog for interesting integration stories or drop me an email and I'll try to do my best to give an answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Hope to see you soon with interesting stories.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6720447" width="1" height="1"&gt;</content><author><name>kadriu</name><uri>http://blogs.msdn.com/members/kadriu.aspx</uri></author></entry><entry><title>At Last, I'm writing</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/kadriu/archive/2006/11/20/at-last-i-m-writing.aspx" /><id>http://blogs.msdn.com/kadriu/archive/2006/11/20/at-last-i-m-writing.aspx</id><published>2006-11-20T10:20:00Z</published><updated>2006-11-20T10:20:00Z</updated><content type="html">&lt;P&gt;I'm working for Microsoft Services on the field as an Architect. I'm the "Do It" sort of person rather than "Tell It". Writing is always an overhead for me. When I think about the amount of code I can develop or the systems I can build within that same timeframe I usually skip this "Unnecessary" piece.&amp;nbsp;Having the&amp;nbsp;background of&amp;nbsp;both Infrastructure and Development I provide unique solution to customers. I use the term Swiss Army Knife approach. Sometimes good sometimes bad, however I do beleive that without being aware of the deployment, hardware and operational issues, the software or solution desinged is never&amp;nbsp;complete.&lt;/P&gt;
&lt;P&gt;I will post information to&amp;nbsp;my blog on the interesting issues&amp;nbsp;I&amp;nbsp;am faced with at the customers each and every day. From time to time I will put thoughts and "Bits and Pieces" on half baked ideas.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1107265" width="1" height="1"&gt;</content><author><name>kadriu</name><uri>http://blogs.msdn.com/members/kadriu.aspx</uri></author></entry></feed>