I am not known for understatementâdonât mistake my weird academic formalism (near word salad at times) as understatement. So, when I say that my last few weeks of employment is as close to a âdream jobâ (as eating lunch by the hour on the Amgen campus), âsureâ one might sayââwhatever.â
So letâs see how this âdream jobâ thing progresses (to something like dream quality-of-urban-life and dream debt-freedom). What I definitely possess are the following technical skills:
Shelving in TFS also prevents work from being overwrittenâŚ
In âThe IT Workplace: Doing it Basil Styleâ and âThe Politics of Team Foundation Server (TFS),â I clearly reveal that my ignorance of the power of shelving in Team Foundation Server was strong with me. I should have read âWhat is Shelving in TFS? just a soft checkin so others can see code?ââwhich was, by the way, written in the winter of 2009. Hereâs some news to me:
- Shelving is a record (proof) that (incomplete) work was done for the day.
- Shelving allows two (or more) developers to work on the same code filesâsuch that the developers can reconcile their work via merging.
- Shelving allows one developer to work on two (or more) future âchange setsâ pseudo simultaneously.
Using WCF to return JSON from a jQuery AJAX callâŚ
So this âdream jobâ is not perfect: as Iâm the dude who would prefer to work with Azure Table Storage and/or RIA Services, being asked to build an AJAX call from jQuery to a WCF service should be quite unpleasant for me. Instead, I now have something to talk about to an interviewer frozen in the .NET 3.5 timeframe asking me questions about WCF. Here are some related research links:
Justin Smith: ââŚinstead of using the
enableWebScriptbehavior, use the
WebHttpBehavior. Youâll lose compat with the ASP.NET AJAX client stack (and the JS proxy), but you have the URI you are looking for.â
- âPassing an instance of anonymous type over WCFâ from stackoverflow.com: âDonât do this. âŚItâs an attempt to be clever. Donât. Just declare the
datatypeyou need, and use it. If you need a more loosely-defined
datatype, just use a key-value mapping of some sort.â It must be said that it is freaking easy to pass an anonymous type as JSON from an ASP.NET MVC controllerâso I might have my first inkling as to what Glen after his MEF brilliance.
- Rick Strahl: âWCF and JSON Servicesâ and âMaking Ajax Callbacks to the Serverâ
- MSDN: âConfiguring Services Using Configuration Filesâ
- Kirk Evans: âCreating a JSON Service with WebGet and WCF 3.5â
âSplittingâ Web Configuration Files
In 2007, Nikhil Kothari writes, â[Itâs] an odd feeling when you discover something in your own product, you didnât quite knew existed! âŚ [Thereâs] a little known attribute called
configSource, that can be specified on a section which allows the definition of the section to live in another actual file.â
My usual self-critical thing would be to note the year 2007 and wonder why it took me so âlongâ to get the newsâbut I actually have a note about
configSource from 2007. Clearly Iâve forgotten about it and this warning might have encouraged me:
Jon Rista warns, âThe downfall of using the
configSourceattribute is that it requires all configuration settings to be placed in the external file. No inheritance or overriding is possible, which in some cases makes it useless. All external configuration files used with the
configSourceattribute must also reside in a relative child path to the main
.configfile. I believe this is in regards to security concerns with storing the file in a relative parent path in a web environment.â
Using SQL Query Profiler to See Stored Procedures with Decent Parameters
SQL Query Profiler is a performance toolâjust like Fiddler is a performance tool. But like Fiddler, SQL Query Profiler tracks and displays the communication with a server. Click on a link and Fiddler will show you exactly what resources (images, documents, etc.) travelled âacross the wireâ; do the same while SQL Query Profiler is monitoring and you will know exactly which database objects are queried/executed.
Looking at a folder full of stored procedures on your first day of work can be very, very intimidating. Using SQL Query Profiler as a stored procâ snooper can be quite an eye opener, bringing some stress relief.
Using JS Shell to Write Somewhat Involved jQuery DOM Manipulations
Itâs too bad that JS Shell (
A certain Telerik AJAX control needed some modification for my âdream jobâ (which is quite a tedious endeavor) and
jsshell went a long way toward making the tedium short.