Hello, I'm 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?
I’ve been getting emails from numerous people about a Pennsylvania Cell Phone ban. There’s been two different letters going around. One looks like a legitimate house bill and the other looks like a legislative briefing (http://urbanlegends.about.com/library/n_pa_cell_phone_ban.htm). If you do a quick Google or Live.com search, you’ll quickly find that this is a hoax (such as http://urbanlegends.about.com/library/bl_pa_cell_phone_ban.htm). In fact, there is no legislation currently in the PA State Legislation system that pertains to a cell phone ban.Read More
Microsoft announced that they now offer a Free 411 number for callers to find a business. It is powered by Live Search. The phone number is 1-800-225-5411.Read More
I was struggling with an issue today when converting some C# to VB.NET. C# has a really cool
yield return statement that is used in an iterator block to provide a value to the enumerator object. VB.NET does not have the
yield keyword. So, there are a few solutions (none of which are really clean) to get around this. You could use a return statement to return the value if you are looping through and would like to break an enumerator and return a single value. However, if you’d like to return the entire enumeration, create a
List() of the child type and return the list. Since you are usually using this with an
List() will work nice.
Quite often, vendors pass images or PDFs to customers using the binary contents of the file. To make it more secure, they convert the binary contents to a Base64 string. A full explanation about Base64 encoding can be found at Wikipedia here. Anyway, when you receive the string, you cannot simply write it to a file or to the browser. First, you must convert the data into a
Byte array. The sample code below demonstrates this:
I discovered an issue in VS 2008 Beta 2 that will most likely be an issue when the product goes to RTM. I notified Microsoft of the issue and they have pushed this back to VS 2008 SP1 because its so late in the development process. The issue is with adding a web service to a website. When adding a web service to a pre-existing website, a template for a web service is created. It will take VS 2008 to realize that the file has inline code. Then, when adding a snippet (right-click in the code window and choose Insert Snippet) that contains imports for a namespace, the namespaces are added at the top of the page like:Read More
This is definitely interesting - http://blogs.adobe.com/jnack/2007/09/photoshop_expre.htmlRead More
Scott Cate, the creator of EasySearchASP.net, is offering the product at huge discounts to help Scott Hanselman reach his goal of $50,000 to donate to the American Diabetes Association. You can purchase the $99 version of EasySearchASP.net (200 page limit) for $10.15 or the full $249 version of EasySearchASP.net for $25.15. Find out more about this at http://tinyurl.com/3ygycd. This is the search engine I use on both JasonGaylord.com and DotNetValley.com.Read More
Bertrand Le Roy has moved his old client-side alert code over to CodePlex. You can learn more about it and check out the download here: http://weblogs.asp.net/bleroy/archive/2005/12/01/432016.aspx.Read More