shepherdweb.com

Archive for the 'ASP.NET' Category

ASP.NET Membership Provider Web Service

Saturday, October 31st, 2009

A couple of years ago I was in need of a full featured membership provider provided over web services. I found Shaun Wilde’s project. Shaun’s project provided a membership and role provider over web services, but lacked a profile provider. I added the profile provider. I ended up changing directions with the project I was [...]

ASP.NET MVC Presentation Notes

Wednesday, February 20th, 2008

This post contains notes, links and a .zip of the project I built in my presentation to the Lubbock .NET Users Group. Requirements for this project include the following: ASP.NET 3.5 Framework ASP.NET 3.5 Extensions CTP ASP.NET MVC Toolkit Visual Studio 2008 Sites with Tutorial, Tips, Help, etc.. Scott Guthrie Intro and Tutorials: Intro Part [...]

How to Point CompareValidator’s ControlToCompare Attribute at a HiddenField

Tuesday, January 30th, 2007

If you point the ControlToCompare attribute of the CompareValidator at a HiddenField you’ll get an error that looks something like this: Control ‘hiddenBalance’ referenced by the ControlToCompare property of ‘CompareValidator1′ cannot be validated. With a small amount of “googling” I found two useful articles: Validating against the value in a hidden input MS KB Article [...]

ASP.NET Membership Provider Gotcha!

Friday, January 12th, 2007

It turns out that MembershipUser.UserName is a read only property, there is no Set { } method in the Membership Provider, only Get { }. If you try to use Membership.UpdateUser() to change an existing username, you will get the following error: CS0200: Property or indexer ‘System.Web.Security.MembershipUser.UserName’ cannot be assigned to — it is read [...]

Installing .NET 3.0 Framework on Windows XP SP2

Friday, December 29th, 2006

Why would you want to do this? I’m not sureyet, but as an ASP.NET developer, I know I’m probably going to need to understand how to use it. The .NET Framework 3.0 adds new technologies to the .NET Framework 2.0, which makes the .NET Framework 3.0 a superset of the .NET Framework 2.0. You can [...]

ASP.NET AJAX Control Toolkit AnimationExtender Using a Condition

Tuesday, December 12th, 2006

The ASP.NET AJAX Control Toolkit includes a control called the AnimationExtender which provides a framework for adding animation effects to web pages. One ability of the AnimationExtender is to execute code based on a condition using the Condition Animation rules. Condition Animation will “play” specific child animations based on the boolean result of the conditionScript. [...]

Handling Google Maps API Keys with ASP.NET MasterPages and Web.config

Friday, December 8th, 2006

The Google Maps API requires you to generate a key that is tied to the URL where the map will be deployed. This can be inconvenient if the site exists in multiple places at the same time…as is the case in many development scenarios: Develop Test Deploy These three stages can also represent physical locations. [...]