.NET 4 and FTP

It comes baked in. Yay! Update: Apparently seeing products that do FTP in .NET for years made me think this wasn’t built in. It’s been around since .NET 2.0… Another blogger has even created a helper class that encapsulates everything you want to do in .NET with FTP (and it works on mono!).

ASP.NET Padding Oracle

I’m doing research to better understand the padding oracle attack that was recently disclosed to affect ASP.NET and thought to provide a quick list of links that I’ve found most helpful: Microsoft SharePoint Team Blog: Security Advisory 2416728 (Vulnerability in ASP.NET) and SharePoint Automated Padding Oracle Attacks with PadBuster How to check if your application is vulnerable to the ASP.NET Padding Oracle Vulnerability Duncan Smart’s post on ASP.NET detailing how to check if your application masks the oracle Duncan Smart’s blog entry on the matter (with link to a wsh script to use for testing) ASP.
Read More...

Unreal Tournament Server on Ubuntu Linux (10.04)

I’m putting together a server for some friends to play Unreal Tournament (yes, the original). I had heard this was doable on Linux, and I have a friend’s old laptop here to play with. I’ll be putting good links here that have helped me to get this working. I got it all setup in a VirtualBox VM, but need it on the separate machine. This old laptop has a broken screen and no hard drive…no problem!
Read More...

Dev Cheat Sheets

Found this site via downloadsquad. It has lots of condensed “cheat sheets” for different programming languages, tools, etc. that could be handy. I know I’ll be using the built-in VS 2010 Code snippets for C#.

GIMP How to make fuzzy border transparent

Do not use the “Flatten Image” option. A new layer will be created containing only the border (this layer will be the active layer). Perform “Layer->Transparency->Alpha to Selection” Perform “Layer->Delete”. (you don’t need this layer any more) Perform “Layer->Transparency->Add Alpha Channel” (if possible) Perform “Edit->Clear” Note: the “Layer” commands are also available on the context menu accessed by right-clicking on the layer’s thumbnail preview in the Layer Dialog.

Anonymous users and aspx pages inside the _layouts folder

I ran smack into an issue that was looking to be a serious problem yesterday. One of my development projects (SharePoint) is an anonymous access public-facing website. This site using built-in SharePoint web services and the download.aspx page in the \_layouts directory to facilitate lookup of related documents and provide download capability. The issue? Anonymous users can’t use any of the application pages in the \_layouts folder. Lots of head scratching and some creative Google searches led me to the “DotNetIdeas” blog, specifically this post.
Read More...

Fastest XML Editor/Viewer

I use Visual Studio every day for just about all of my development tasks. However, I attempted to open a large xml file (> 20 megs) and Visual studio spiked up to 1.5 gigs of memory consumption and I couldn’t do anything… My old standby notepad++ (great editor!) also hung on opening the file. A quick search yielded First Object’s XML Editor. Worked great. Super fast.

Occasional SPException from GetListItemDataWithCallback

Wrote a new field control today (SharePoint) that queried a specific list in another site collection based on the value of a field from the current list item. This worked great each time I’d test it out and add some additional functionality. When I finished the control, I did a little harder testing by hitting the refresh button in my browser over and over again. Randomly, my control wouldn’t render. Other times it would be fine.
Read More...

Unable to delete field in SharePoint library

Trying to delete a field in a SharePoint library and get the message “Cannot complete this action. Pleast try again.”? This drove me nuts, as even invoking the delete method via the object model gives this message. What I found to allow a delete was pushing down changes via the content type gallery in the site collection (if the field was ever a part of that content type). This can be found by going to the following:
Read More...

Terminal Cancer Patient gets restored car

From AutoBlog: Tyler Shipman was an 18-year-old Fiero nut from Frazee, Minnesota. In the middle of restoring his favorite car last October he was diagnosed with terminal cancer, and posted a note on a Fiero forum to ask for help with the restoration so that he wouldn’t leave his parents with the burden. He got his wish. In the middle of this crazy all and everything, Tyler is more proof that simple humanity still works.
Read More...