Jason N. Gaylord
Coder
from Northeast PA
Small planet on JasonGaylord.com A planet with rings on JasonGaylord.com
Visit JasonGaylord.com

Hello, I'm  jasongaylord Jason

I live with my family in the rolling hills of Northeastern Pennsylvania. I'm a web developer by trade, but have broad experience in various business areas. Want to know more about me?

Learn More

Creating a Simple Configuration Section Handler Using ASP.NET 2.0

In this article Jason examines how to create a simple configuration section handler using ASP.NET 2.0 with the help of code samples. You can read the new article at http://aspalliance.com/924.

Read More

How To: Use a CheckBox In A Template Column And Still Access GridViewRow Data

Teemu “Joteke” Keiski has helped me solve a very trivial task. I had the simple request of accessing a GridView row data by checking a checkbox within that row. Based on the row data, I’d perform a particular task.

My GridView had a few bound columns with a few template columns. One of the template columns contained a checkbox. When the checkbox was clicked, I wanted to run the Checked event and pull information from the row that it was clicked. So, using the Checked event, I can then take that information and based on that information, I can perform a task. The example I have provided below does just that. It is a simple example where the first field in the GridView is a username from the Membership.GetUsers collection. The second and third fields are two roles that the user may or may not be part of. I want the administrator to click the checkbox to add or remove the user from a particular role. Here’s the example:

Read More

How the stacks stack up: Microsoft vs Open Source

I was reading an article earlier by Jim Rapoza of eWeek. In the eWeek labs, eWeek setup “stack packs”. Each pack had their own server OS, web server, database, scripting/development language, and test portal.

The Windows JBoss had Server 2k3, Apache, MySQL, JSP, and JBoss Portal. The Windows Python had Server 2k3, Zope, ZODB, Python, and Plone. The WAMP had Server 2k3, Apache, MySQL, PHP, XOOPS. The Linux Python had SUSE Linux, Zope, ZODB, Python, and Plone. The LAMP had Linux, Apache, MySQL, PHP, and XOOPS. The Linux JBoss had CentOS, Apache, MySQL, JSP, JBoss Portal. The Linux J2EE had CentOS, Apache, Hypersonic SQL, JSP, and Liferay. The .NET solution had Server 2k3, IIS, Sql 2k5, ASP, and SharePoint 2003.

According to their tests, the Windows JBoss, Python, and WAMP solutions all were between 14 and 18 transactions per second. The .NET solution was around 6 transactions per second. The rest were all below 3 transactions per second. However, The Linux J2EE solution averaged 240 hits per second with .NET behind around 165 hits per second. The others were all below 25. .NET also performed the best or near the top in the average throughput per second, average page download time, and average document download time. All stacks used Borland’s SilkPerformer to gauge performance.

The issue I have with these results is that I believe they are not accurate. Easily said without proving it, but if you are going to take the time to test these IT “stack packs”, why wouldn’t use use additional software for measuring purposes? Also, why wouldn’t you include the specs of the hardware? Is the hardware the same throughout? What kind of application is being executed? Is it the portal? In my opinion, I think this article proved nothing. It was nice to see .NET at the top or near the top through all the tests, but the results mean very little without answering these questions.

Read More

Membership Management on Remote Websites

I was reading a post by Richard Dudley earlier regarding membership management on remote websites. He mentioned a tool that seems to be pretty useful and costs $59. That’s not bad at all for users who don’t have the time or desire to whip up a membership console themselves. However, minus the AJAX enabled interface, it’s not that difficult. During my talk at Philly.net back in May, I discussed different ways to manage roles and membership. You can download my talk with examples here.

Read More

'Losing' Membership Data When Migrating ASP.NET 2.0 Websites

On one of the email lists earlier in the week, someone struggled with moving the Membership portion of their website from a staging environment to production environment. I’ve seen this many times before and have a solution. Scott Guthrie has posted about this awhile ago. Many developers use the built-in providers without specifying the properties of each section. It is important that the applicationName be set in the web.config. If not, you’ll run into the same struggles. Scott’s post detailing what I’m talking about can be found here.

Read More

Fellow ASPInsider to Present at .NET Valley

Julie Lerman, an ASPInsider from Vermont, will be visiting Northeastern Pennsylvania on July 20th, 2006 to present to the .NET Valley User Group in Wilkes-Barre, PA. Julie will be speaking about the 5 scariest things about .NET that don’t have to be. If you’ve never seen Julie present before, it’s a real treat. Be sure to stop on out. Visit DotNetValley.com for more event details including directions.

Read More

See Windows Vista

Want to see a pretty good flash site on Windows Vista? Visit Microsoft’s seewindowsvista.com website. It’s a pretty cool design. I wonder how many flying windows there were before they started scrapping features?

Read More

Referencing Classes in ASP.NET 2.0

I was reading a list response by Joteke (Teemu Keiski) earlier about referencing a class in an ASP.NET 2.0 project. In ASP.NET 2.0, if your class is in a code file in the App_Code folder, you do not need to include the assembly in the page directive in the page code. Also, if you are referencing a class in the web.config, you no longer have to reference the “class library name, class name” if the class file is in the App_Code folder. All files in the App_Code folder will be pre-compiled and will use the same class library name as the IL pulled from the rest of the project uses.

Read More

.NET Valley Event - July 20th INETA Sponsored Julie Lerman

.NET Valley

.NET Valley Meeting: Thursday July 20th

INETA Sponsored Event

The next .NET Valley meeting will be held on Thursday July 20th at Luzerne County Community College, Nanticoke PA. A map of the campus can be found here. We will meet in building 7, room 703. The event will begin at 6pm. This will be an INETA sponsored event.

Presenting for .NET Valley will be Julie Lerman, a Microsoft MVP, leader of the Vermont .NET User Group, and brain power behind the Data Farm.

5 Supposedly Scary Things about .NET (That Don’t Have to Be) (6:00pm - 7:45pm)
There are a number of topics that many developers typically tend to avoid when learning .NET. But they really don’t need to be so intimidating. This session will explore five of these daunting challenges - delegates, reflection, threading, Code Access Security (CAS) and declarative programming. The goal of this talk is to give attendees a high level, conceptual understanding of these topics – enough to recognize where they can help you in your application development and confidence to dig deeper on your own.

Read More

Microsoft Incentives for Licensing

Ever receive those spam messages saying that you can save up to 50% on your Microsoft licensing? Well, you can. Microsoft has a website for submitting rebates and for viewing licensing incentives. To see what I mean, visit MicrosoftIncentives.com.

Read More