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?
Writing a Base64 String to the File System or Browser
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:
Week In Review - Base Class Library Source, MVP, ASPInsiders
On Wednesday, Scott Guthrie announced that beginning with version 3.5 of the .NET Framework (and VS2008), the base class libraries will be browsable and can be used for debugging purposes.
Read MoreVisual Studio 2008 Web Service Issue
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 MoreRemix Boston
I was going to be a presenter at Remix Boston, but had to back down due to a previous conflict. However, it is definitely promising to be a great event! Be sure to check out the details at http://www.remix07boston.com/.
Read MorePhotoshop Express - Free web-based tool
This is definitely interesting - http://blogs.adobe.com/jnack/2007/09/photoshop_expre.html
Read MorePurchase EasySearchASP.net at a huge discount and support ADA
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 MoreClient-Side Alerts in ASP.NET
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 MoreUsing Animations with the PopupControlExtender
I was looking for a solution to provide a “fly-in” form when a user would click on a particular button. I found it with the PopupControlExtender. The documentation for Animations with controls is poor so with some testing, I finally got a solution working for me. I added a button and a panel on my page. I set the panel below the button and set the style to:
Read MoreResolved: "Please rerun your monitor calibration software." in Photoshop
A few days ago I reformatted my Dell D820 and installed Windows Vista Ultimate. I also added Photoshop CS3 Extended to my laptop. Usually my laptop is docked and my current monitors are Dell 1907. When I opened Photoshop for the first time on the new configuration, I received an error message stating:
Read MoreLife with Visual Studio 2008
Wally McClure, a Microsoft MVP and ASPInsider, has put together a group of posts regarding “his life with Visual Studio 2008.” It’s great that someone has time to blog about their experience with VS 2008. Seriously though, Wally does a great job explaining his experiences and working through the bugs that I have no patience to deal with.
Read More