Geeks With Blogs

News

Locations of visitors to this page

View ► Sanjay Uttam [sanjay.uttam@gmail.com]'s profile on LinkedIn


Add to Google Reader or Homepage




Sanjay Uttam Predominantly .NET January 2010 Entries
jQuery AJAX call working in IE but not FF?
Just ran into this one. The following is the code I was working with:$.ajax({ type: "GET", url: 'http://services.somewhere.... data: { 'param1':'something', 'param2': 'somethingElse' }, cache: false, dataType: 'json', success: function(view) { alert('success'); }, error: function(xhr, ajaxOptions, thrownError) { alert(xhr.status); alert(xhr.responseText); alert(xhr.statusText); } }); This worked in IE 8, but not FF 3.5. The strange part, though, was that the xhr object in my error function ......

Posted On Thursday, January 21, 2010 3:43 PM

Searching TFS for code changes
Eventually you're going to need to search their source-control for latest changes given some parameters. I recently came across a couple of handy ways to do this, using TFS Powertools (and Powershell). First, ensure you have the latest version of TFS Powertools installed. Also ensure you have included Powershell CmdLets when you install (or make sure this option was enabled if you've already got TFS Powertools installed) To search TFS via the command line, fire up the Powershell window and execute ......

Posted On Tuesday, January 19, 2010 6:14 PM

Making your code instantly readable...
I'm currently reading the second edition of _Code Complete_ from cover-to-cover. More on that later, I'm sure - but for now I'll just say that you should read this right now if you haven't read it already. This is one of those books that you should really just leave by your dev machine. In any case, Steve McConnell mentions the importance of making code readable throughout the book. This is far from profound, yet in practice I don't see it done very much. Frankly, if you examine your coding practices ......

Posted On Friday, January 8, 2010 5:20 PM

Copyright © Sanjay Uttam | Powered by: GeeksWithBlogs.net