Hell yes.

Posted March 18th, 2010 in music by Alex Barberis

I just found out.

Stone Temple Pilots Album Cover

New STP May 25th. Teaser here.

Another 13.1

Posted March 9th, 2010 in running by Alex Barberis

So I ran another half marathon. It was the Miami Beach 13.1. Well I attempted to run it. I probably should have stopped when I got foot pain at mile 1. The weather was too nice to pass up…oh well. I got through it and got my medal! I’ll be taking a Brett Favre style retirement from running for a while.

I’m looking forward to running this race again. Hopefully next year I can stay injury free. I’d like to see how I can deal with all the big bridges while not having to deal with pain.

ASP.NET 1.1 Web Services and jQuery

Posted March 5th, 2010 in asp.net, jQuery, javascript, webdev by Alex Barberis

While working on a project today I figured out how to use jQuery’s $.ajax functionality to consume an ASP.NET 1.1 web service. I was always under the impression that this wasn’t possible. However, this is quite easy. By default an ASP.NET 1.1 web service will accept an HTTP GET, HTTP POST, or HTTP SOAP. Calling a 1.1 web service is as easy as:

$.ajax({
	type: "POST",
	url: 'PathToYourService.asmx/FunctionName',
	data: 'foo1=value1&foo2=value&foo3=value',
	dataType: "xml",
	success: function(xml) {
		//do something with your data
	}
});

Replace the data variables with your service parameters and you should be all set. jQuery makes parsing all that XML really easy as well.