January 2009 - Posts

3
Comments

IIS 7, Dynamic Compression and tons of AJAX web services means massive performance increases by joelvarty

I work on a product called Agility CMS . Agility CMS is a hosted web content management system - including a web application dedicated to actually editing website content, pages, sitemaps and other good stuff. Last week we updated the app moved the whole...
Filed under: , , ,
8
Comments

javascript:void() will throw a javascript error - you need to use javascript:void(0) by joelvarty

  This is one of those javascript errors that makes me shake my head a bit, but with more and more Ajax style apps being built in Asp.Net, I have started seeing this quite a bit. If you have something like this: <a href="javascript:void(...
Filed under: , ,
2
Comments

TSQL - Distance in kilometers between 2 points, given the latitude and longitude by joelvarty

It's always good to know the distance between 2 points. Here's the SQL to get you started - notice the @dtor constant - this will get you the return value in kilometers. DECLARE @dtor float,               ...
Filed under: ,
0
Comments

Control Output Caching and RegisterClientScriptInclude by joelvarty

Always remember that if you are using Control output caching, RegisterClientScriptInclude will NOT run if the used control is returning a cached version. This also goes for any controls (user or custom) nested within your ascx. The workaround?  You...
Filed under: ,
1
Comments

Binding an RSS Feed with an XmlDataSource by joelvarty

I'm sure this has been blogged on a zillion times before, but this is super easy.  Look! Here is the code as text (so you can copy and paste :) <asp:XmlDataSource ID="xmlRSS"            ...
0
Comments

For WCF Services hosted in non IIS apps - add permissions for a user to change the IIS namespace reservations by joelvarty

If you are hosting a WCF services in a console app, windows service or any other non-IIS application, you need to listen on a particular url address.  A normal user running an app or service doesn't have permission to do this unless that user is...
Filed under: ,
More Posts