Archive for the 'Microsoft' Category

My Virtualized Ubuntu Experience (VirtualPC vs VMWare)

Sunday, April 5th, 2009

It is time for the perennial “try-out-linux” experience, and this year I decided to not waste the effort on a crappy machine, but to try it out in a virtual environment on my more up to date laptop.

So the first decision is what distribution to test. This time I found a Linux […]

How to easily get rid of Vista and install XP

Tuesday, December 30th, 2008

I gave it a chance, but my patience wore out. Vista is no more on my laptop, back to XP pro, but the trip was bumpy and filled with alot of pinched foreheads.

In my scenario, I had an XP Pro ISO which when I made bootable, and attempted to boot and install, was missing […]

ASP.NET Web Services from Javascript with jQuery (without the ScriptManager)

Friday, November 28th, 2008

How to get AJAX functionality out of your ASP.NET web pages, without the javascript bloat of the ScriptManager / Ajax.NET.

Calling web services from javascript with ASP.NET was made easy with the ScriptManager object, but that has the nasty habit of adding over 100k of javascript just by its mere inclusion. Such a price to pay […]

Passing values to SQL server Triggers

Monday, October 1st, 2007

Database triggers are a great thing, and using them to create an audit trail is pretty simple. Yet when you want to pass some custom values to the triggers, like user name when you are using a single DB login for your application, things get tricky.

In the process of building a robust audit trail for […]

Connecting to SQL server using different NT domain credentials

Tuesday, August 21st, 2007

ASP.NET has a nice Impersonation feature that allows server-based web applications to use alternate credentials to perform network activities. Unfortunately, it does not extend into Windows “thick” clients; until now.

My scenario was to read an Excel file from a local and/or shared folder with one set of credentials, and then a Sql Server with a […]

Is AJAX.NET worth it?

Friday, June 22nd, 2007

With our application go-live scheduled for this Monday, I am entering a retrospective mood on everything that we have accomplished, and the hurdles that hurt us. Although scope-creep is always the most painful hurdle, I would place the implementation model of Microsoft’s AJAX.NET as a solid second place pain in my butt.

With AJAX technologies […]

“AndAlso”…VB.NET short circuiting oddity

Wednesday, May 23rd, 2007

It comes as no surprise that Visual Basic frequently breaks away from traditional programming semantics, but the “AndAlso” short circuit conditional simply does not make sense.

For those not familiar with the short circuited conditional, it is a syntax where you can have two conditionals in an IF statement, and if the first conditional fails, the […]

7 Things to remember when working in Sharepoint and/or AJAX.NET

Friday, April 6th, 2007

Alot of heads down code work with our Sharepoint Content Management application, so from that comes alot of lessons learned. Why seven? Because it is lucky, and that is all I got (which is enough!!!).

Besides a few quirky issues, I am pleased with the ASP.NET Ajax ToolKit, and I definitely find value in how […]

Sharepoint List Handlers Under Load

Monday, March 5th, 2007

For Domino developers, the idea of creating an event handler that logs every change to a view (either via the UI or through the backend) is a pipe dream. So when I saw how easy these handlers were to create and deploy in Sharepoint, I thought somebody must have been listening. Alas, I […]

A hack for the Sharepoint list cache issue

Monday, February 12th, 2007

So I noted that Sharepoint has an issue where querying a list with the same criteria will return cached results regardless of the access method, and so I found a hack for it. The idea for the hack goes back to an issue where I would get cached results from a Domino page that […]