MSBuild Script to Compress All JavaScript Files in a Project
I’ve got one project in my solution which has a lot of JavaScript files and they keep on coming. We’ve been using the YUI Compressor for quite a while and it’s proven an effective tool. After a lot of time of fiddling with the project’s MSBuild script, I came up with the following:… You can read the copy of the original post, or if that goes down too, you can try the Wayback Machine’s copy of it.
2008-12-18
1 min read
Your Mouth Says Windows-1255, But Your Eyes Say ISO-8859-1
I recently wrote an engine that gets XML files stored at our clients’ servers using HTTP requests. One of our clients decided to serve the XML file with one encoding and encode the file itself with another. This posed a problem to XDocument…. You can read the copy of the original post, or if that goes down too, you can try the Wayback Machine’s copy of it. Context: This post was automatically imported from my old blog, which was originally hosted on Microsoft’s ASP.NET Community Blogs. When they shut it down, I dumped all of my old posts to Wordpress. You can still check out the original blog on the Wayback Machine.
2008-12-18
1 min read
HTML to JavaScript HTML DOM Converter
One of our products demands converting quite a large amount of HTML to equivalent scripts, written in JavaScript that create said HTML. Looking around the Internet, I found no tool that will automate this process for me, so I went ahead and created this simple little application…. You can read the copy of the original post, or if that goes down too, you can try the Wayback Machine’s copy of it. Context: This post was automatically imported from my old blog, which was originally hosted on Microsoft’s ASP.NET Community Blogs. When they shut it down, I dumped all of my old posts to Wordpress. You can still check out the original blog on the Wayback Machine.
2008-12-18
1 min read