Add a custom IBM i library list to a C# application

Ever find that you need to add a custom library list to a C# application that works with IBM i data? Here is what you need to do. Add LibraryList= to your connection string. So that would look like: connectionString=”DataSource=127.0.0.1;DefaultCollection=MYMAINLIB;Naming=sql; UserID=USERNAME;Password=PASSWORD;LibraryList=MYMAINLIB,LIB2,LIB3;”

First Data Global Gateway Web Service API setup for Visual Studio 2010

First Data’s directions for setting up their web service in Visual Studio is very confusing and I ended up calling them for help. Visual Studio 2010 has different directions than previous versions of Visual Studio. Here is how I got it to work. First install the certificate, go into Internet Options in the Control Panel.… Continue reading First Data Global Gateway Web Service API setup for Visual Studio 2010

Validate the Expiration Date of a Credit Card

I needed an attribute to validate the credit card expiration date and couldn’t find any good examples. I have it working now, so others can use it. Here is the action that does the validation: In your form model, do the following: