I had a request from a client today to save something uploaded through WCF to the local disk to a particular sub folder.
Normally this is easy in ASP.NET with Server.MapPath but this isn’t available in the WCF application.
Random thoughts about development on the Microsoft platform
Viewing entries in
Development
I had a request from a client today to save something uploaded through WCF to the local disk to a particular sub folder.
Normally this is easy in ASP.NET with Server.MapPath but this isn’t available in the WCF application.
I previously wrote about a cross browser copy and paste using jQuery.Copy. Everything was fine until flash updated to version 10. It now throws a security warning. Jojo pointed out that were was another plugin using the same concept that avoids this security warning. Enter Zero Clipboard
Dates in Javascript have always been a bit of a pain to work with because of the very limited API. Take this for example:
var d = new Date(Date.parse("15/04/2009")); d = d.setDate(d.getDate() + 7);
The above code is painful and unintuitive.
Enter DateJS
Ran into a bit of an issue today when I upgraded the jQuery on a website I was working on to the new 1.3.2 version. I got the following error:
There is a fix for this.
I got asked a question recently about ASP.NET Dynamic Data and how to customize the display text of foreign key dropdownlists/comboboxes
The exact question was “I have a foreign key to a list of store locations. Each location has an address but the default drop down only shows the state. How do I get it to show: “State - Region - StoreName”