Create a Loading Indicator for AJAX Partial-Page Updates in ASP.NET

by Marvin 28. February 2009 04:02

I think one of the coolest things about ASP.NET v3.5 is that they've made it really easy to add AJAX functionality to your web pages.  I mean, hey, if I can pick it up and do it, it can't be too complex, right?  Sometimes, though, your partial-page updates take awhile because of network latency or a lot of processing on the server.  You need a way to let the user know to just be patient and wait a minute before getting overly-excited and clicking that "Submit" button again, and again, and again.  Here's how I do it.  More...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

Web Development

GoDaddy and your MySql Database

by Marvin 6. February 2009 19:39

I have been a customer of GoDaddy's for awhile now, and at this point, I have gotten pretty comfortable with their tools to manage my websites and databases.  I forget sometimes that it was VERY painful for me in the beginning.  I suppose I repressed the memory of how frustrated I was when I got my first ASP.NET website built and everything worked great locally only to fail miserably when uploaded to GoDaddy.  Things like how to get my site published, get my database up and running, connect my published pages to my remote database, etc - these were all tricky for me to figure out the first time.  So, I am going to put together some articles on the basic stuff that you have to know to be able to get your data-driven ASP.NET website up and running using MySQL on GoDaddy.  This article will cover setting up a MySql database on GoDaddy. It will be the first in a series that I will put in the category "GoDaddy Basics". More...

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

GoDaddy Basics | Web Development

Falling in Love With Objects

by Marvin 30. January 2009 17:39

I am about to show just how much of an amateur I am.  The lightbulb has finally come on in my head regarding the value of object-oriented programming.  It has taken awhile for it to sink in, and I most certainly don't have it all figured out yet, but I thought I would share some of the epiphanies I've had about it and how it's making my life as a programmer much easier.  More...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

Web Development

Using Kellner's ASP.NET Membership Console with MySql

by Marvin 25. January 2009 08:35

At this point, I've done a few ASP.NET websites, hosted on GoDaddy, that have user accounts using the ASP.NET Membership and Role providers and all the great web controls that ship with ASP.NET.  Each time, I ended up wanting to give the admin users of the site an interface to be able to manage the site membership accounts, grant access privileges, create, edit and remove accounts.  ASP.NET doesn't come with that, but there are some open-source projects out there which can give you this.  I really like Peter Kellner's membership management console which you can download here.  However, when I tried to use it with MySql and the .NET Connector v5.2.3 and deployed to GoDaddy, I ran into some unique challenges that I hadn't encountered when using Sql Server in the past.  This article explains how I worked around the challenges and successfully implemented the tool in a web application using VS Pro 2008, .NET 3.5, MySql 5.0 and the .NET Connector v5.2.3.  More...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , , ,

Web Development

Implement .NET Membership and Roles using MySql Connector 5.2.3 on GoDaddy

by Marvin 5. September 2008 14:47

I recently completed implementing .NET Membership and Roles on an application I have hosted on GoDaddy and using MySQL .NET Connector v5.2.3 and MySQL v5.0.  I ran into a few hitches along the way, and I figured I better get all this down while it's still fairly fresh in my head in case I ever need to do this again.  This article is intended to be a fairly comprehensive walkthrough of how I did it. More...

Currently rated 4.8 by 4 people

  • Currently 4.75/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , , ,

Web Development

LoginViews in GridView Template Fields and Data That Won't Bind

by Marvin 3. September 2008 12:26

So, I had a GridView with a TemplateField.  The TemplateField contained links that were used for deleting rows.  I had set up Membership and Roles, and I only wanted users in the "admin" role to see these delete links, so I wrapped them in LoginView.  However, when I did this, the links quit working.  Today, I spent several hours searching for a solution to this problem, and I found lots of forum posts where other developers were having the same trouble, but none of the suggestions that were posted worked for me.  They did give me some clues in the right direction, though.  I just needed to simmer in it a little while, and sure enough, while watching The Story Of Us with my wife, the answer came to me.  This article explains the problem in detail and how I solved it.  More...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

Web Development

Trouble with Single Quotes and String.Replace()

by Marvin 1. September 2008 15:05

I've used String.Replace() before and never had a problem.  Tonight, however, I needed to replace a single quote in a string with a backslash followed by a single-quote.  Seemed like a fairly simple task, but for some reason, my string looked exactly the same after applying String.Replace.  It took me an hour of searching the internet to find a solution.  More...

Currently rated 4.5 by 4 people

  • Currently 4.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

Web Development

A Fight with FormView and FindControl

by Marvin 29. August 2008 06:43

So, I am about to conclude a (gulp) three-day battle with a FormView and trying to find controls in it using FindControl.  In general, I have a hard time using FindControl.  It seems like everytime I have to use it, I run into trouble.  More...

Currently rated 1.5 by 2 people

  • Currently 1.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

Web Development

About the author

I am a junior-level C# .NET developer living in Nashville, TN.  I'm currently working in biomedical informatics, developing a web service, a MySql database, and a web application.  Every week or so, I spend hours trying to figure out how to do something, and after I find the solution, I really want to make sure I don't go through that exercise again.  I love to write.  It helps me to remember things.  So, I use this blog as a way to document those painful lessons as I learn them.  It has already helped me to be able to refer back to them.  I hope some of these will save someone else some time as well.