Archive for the 'Microsoft' Category

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 […]

Sharepoint from the Domino Developer perspective : Part 1

Tuesday, November 21st, 2006

What is Sharepoint? Alot more than I thought when I started down the path of learning about Sharepoint products in support of our enterprise content management project. There is alot to learn, so I’ll only be scratching the surface but I wanted to try and show what this product is all about while avoiding the […]

Making your .NET AJAX responses a little easier

Sunday, September 17th, 2006

If you find value in creating server-side javascript statements that an ajax callback can simply execute with the EVAL statement, then in the ASP.NET environment you have probably found that to be difficult since .NET objects are named differently on the client than on the server. I started to use a little trick that […]

Ajax in the .NET world without ATLAS (YUI instead)

Sunday, August 27th, 2006

So I took a quick stab at the ATLAS (asp.net ajax) framework, and I came away with the distinct impression that it is too much for too little. The biggest issue with AJAX in the .NET environment is that the fields you name on the back end have a different name on the front […]