.net, jQuery, programming

Ajax-based data loading using jQuery in ASP.NET

Great article to check out! Ajax-based data loading using jQuery.load() function in ASP.NET – Hajan Selmani takes a back to basics look at using jQuery to load partial chunks of HTML from a page using Ajax and insert them into the current page, providing a nice way of lighting up a web application with an ‘Ajax’ feel whilst easily maintaining…

Continue Reading

.net, programming, software

Use ASP.NET and DotNetZip to Create and Extract ZIP Files

I recently came across this article from Scott Mitchell, that shows how to use DotNetZip to create and extract ZIP files in an ASP.NET application, and covers advanced features like password protection and encryption. The article details all that you can do with the feature-rich, free, open source ZIP implementation for .NET – DotNetZip. Using DotNetZip and a dash of .NET code…

Continue Reading

.net, mac, programming, weight loss, windows

Ways to optimize your ASP.NET applications

I’ve spent quite a bit of time recently optimizing our ASP.NET application to help improve performance.  After spending time analyzing the code and the database for inefficiencies, it was clear that something needed to be done to minimize the data (reduce the request size) that was being delivered to each user for each page request. After lots of reading and…

Continue Reading

windows

Setting up SSL with IIS for ASP.NET

On my project at work I recently had to deal with securing our IIS 6 website with SSL and forcing that no non-secure requests would be honored. What I quickly found was that IIS didn’t offer a way to automatically redirect any non-secure requests to a secure version of the same page, or some other page (i.e. http://www.yoursite.com/login.aspx redirect automatically…

Continue Reading

.net

FormView and ObjectDataSource with nullable types

I recently ran into this problem when using a FormView and and ObjectDataSource where the FormView was binding to nullable data types… Here is a challenging question, as I have not found any suitable information on this after two days of searching: Background: I have a custom Business Class library that includes custom objects with nullable int and DateTime properties.…

Continue Reading

.net

FormView not retaining values when server-side validation fails

I recently spent quite a bit of time trying to figure out why my FormView wasn’t retaining values after some of my custom server-side validation failed in my business logic layer.  I kept seeing that you just had to set KeepInEditMode = true (or KeepInInsertMode if you’re doing an insert) and that would take care of it. Well, after a…

Continue Reading