Tanzim Saqib on .NET discovery

Innovate. Create. Share.

  Home  |   Contact  |   Syndication    |   Login
  43 Posts | 0 Stories | 59 Comments | 0 Trackbacks

News

Photo of Tanzim Saqib Tanzim Saqib is a Senior Developer, who spent half of his life on software and worked for many companies like #1 .NET controls provider Telerik Inc, #1 personalized Web 2.0 start-page like Pageflakes (acquired by LiveUniverse). He developed many projects ranging from banking solutions for Citibank, HSBC, Wamu, Wells Fargo etc. to Paperless Virtual University. He is industry's earliest and leading widget developer and as know as "Widget Master" to his peers.

He is a preacher of Microsoft technologies. While he jams with the latest additions to .NET, in his spare time he blogs at http://weblogs.asp.net/TanzimSaqib, maintains his personal website http://www.TanzimSaqib.com, leads .NET Research group. writes articles.

He is an easy going, fun loving, and passionate technology individual who is open to any kind of business opportunity and professional relationship. He currently lives in Bangladesh, but travels anywhere in the world on professional demand.

Email: me at TanzimSaqib dot com

Archives

Post Categories

Personal

Volta

I know there are GetById, GetById<> methods in Document object. But, I often miss a method that I feel should be in Volta, which iterates through its child nodes and find an element for me. Let us say, there is a HTML like the following:<div id="divContainer"> <b>Some text</b> <div id="firstDiv"> <i>Some more text</i> </div> <div id="secondDiv"> Okay, I gotta go now </div> <div anyAttribute="anyValue"> Babye </div> </div>The ......

Microsoft Volta team blogged about me and one of my articles: http://labs.live.com/volta/... ......

HttpRequestFactory was designed for use by tiersplitting internally and was not supposed to be exposed as part of the Volta API as Danny van Velzen from Microsoft Volta team told me today. So, its better if you use XMLHttpRequest instead because this factory class might not show up in the later releases. You will find this class in Microsoft.LiveLabs.Volta.Xml namespace. As like as JavaScript's one, in this .NET version you can also Open URL, specify method name, and of course pass credentials. You ......

This is my first article which is based on the first CTP of Volta considering its current limitations. You will see how you can create a Volta control that the compiler can convert into an AJAX Widget without requiring us writing a single line of JavaScript code: http://dotnetslackers.com/a... ......

Someone had questions about the article recent I wrote on DotNetSlackers are: “i am curious to know how you have hooked the DownloadPhotos to voltaControl1, is it hooked automatically, when added to the volta project, what is the case of using external flickr api ? Also, let me know what is the purpose of screen_name in voltaControl1.” You might have the same questions, so to clarify, here are the answers: Inside VoltaControl, PhotosLoaded event of FlickrHelper class is subscribed and FlickrHelper's ......

Ever wondered how to make web.config work in Volta first CTP release? Simply add a web.config file and add content to it? Unfortunately this is not the case in Volta at least in the first CTP. Five steps to get it done: Add a web.config file Add content to simply by copying from other web.config file Right click on web.config from the Solution Explorer and then Properties Choose Build Action to Embedded Resource In your Volta Page Designer CS file, add the following line of code: [assembly: VoltaFile("web.config")] ......

When a Volta control is rendered, the ID attribute of the generated HTML is changed to something like _vcId_1_DivName which is inconvenient to find from code. But the ID attribute stays the same in case of Volta Page, so it is discoverable by ID like this: Div divContent = Document.GetById<Div>... However, if you add HTML controls to the control like the following, the ID is not changed during the rendering: public VoltaControl1() : base("VoltaControl1.html") { InitializeComponent(); ......

Making a cross domain AJAX call in Volta is piece of cake. Volta compiler generates necessary client codes to make it work. Here is a snippet that can make an AJAX call to some Url and fetch data: public void DownloadPhotos() { IHttpRequest request = HttpRequestFactory.Create(); request.AsyncSend("POST", URL, string.Empty, delegate(string response) { OnPhotosLoaded(new PhotosLoadedEventArgs(respo... }); } Both IHttpRequest and HttpRequestFactory classes can be found in the Microsoft.LiveLabs.Volta.Mu... ......