Category: C#

Store images on Flickr using Flickrnet.dll and ASP.NET MVC

For one of my recent projects I had to use Flickr as an image repository, so this code just shows how I was able to do that with the help of the fantastic Flickrnet.dll library. You can download the latest Flickrnet library here: http://flickrnet.codeplex.com/. You can also download the article’s full working Flickr demo code. [...]

March 30 / 2010
Author bill sternberger
Category ASP.NET MVC, C#
Comments 5 Comments

Check username availability with jQuery, ASP.NET MVC, C#

This post shows how to add dynamic username availability lookup to an ASP.NET MVC view, using jQuery and C#. There are three parts to the solution: the html form, jQuery function, and the controller. Html form This part is pretty simple: a textbox for the username field with an onchange event, a div to hold [...]

February 22 / 2010

Latitude and Longitude Lookup with jQuery, C#, ASP.NET MVC

I recently had a requirement for a mapping application that required me to pass in longitude and latitude coordinates. It wasn’t realistic to have the user look those values up, so I had to figure out a way to automatically lookup the coordinates given a zip code. There are tons of pay services (some of [...]

February 18 / 2010
Author bill sternberger
Category ASP.NET MVC, C#, jquery
Comments 13 Comments

Advanced Auto-Complete with jQuery, MVC, and thumbnail pictures

This post extends an earlier post I wrote for a basic auto complete/auto suggest textbox. In this version, we are going to return a list of our favorite social media websites, by adding a new method to the prior post’s controller which allows thumbnail pictures to appear in the auto-suggest list. New MVC Controller Method [...]

Import CSV or Tab Delimited Data with C#, ASP.NET MVC

In this sample we are going to take a different approach to importing data from the traditional file upload method. This sample has a textarea and a button. Users will open their .csv or .txt file, copy the contents, paste them into the textarea, and submit. Setting up the form This part is pretty basic: [...]

February 11 / 2010