Playing around with jQuery and jTemplate and I had the following problem: On a page created with jTemplate I could not use asp:FileUpload Control. Additionally it would of course be better to have an Ajax / jQuery control as this would better integrate into a jQuery website. There are several jQuery Fileupload controls, and Ajax-Upload is my favorite, e.g. because it allows multiple fileupload and does not require Flash. Andrew Valums, the creator of the Ajax-Upload, has posted a C#-Example but as it’s just posted in the comments it might be missed easily. Additionally I needed it for Visual Basic so I’ve transfered it and wrote this short blog entry.

Read the rest of this entry

If you haven’t used Sandcastle yet, please have a look at it. It’s easy to create developer documentation with it, especially for dlls you want to share with others. And the comment feature is already included in Visual Studio 2005, so why not use it?
Probably you also now the Sandcastle Help File Builder which will create a HTML-Help or Webpages including your help. Very convenient.
But now I had a problem: While my dll was called something like ‘Windows.Media.Audio.dll’, the xml documentation file was only ‘Windows.Media.xml’. Of course it contained all necessary elements, but it was not automatically found by Sandcastle Help File Builder (but it could be configured manually) and even more important, also Intellisense does not work with this file. I could manually change the filename of the documentation xml to ‘Windows.Media.Audio.xml’, but this could also be done automatically.

Read the rest of this entry

, ,

While reading an article about Encrypting the app.config File for Windows Forms Applications I found one interesting user posting from mpayne79 describing a quick way to encrypt sections in app.config : Just rename the Application.exe.config to web.config and then run aspnet_regiis on it, e.g. aspnet_regiis.exe -pef “connectionStrings” M:\MyApplication . ‘M:\MyApplication’ is the directory where your new ‘web.config’ is located, and ‘connectionStrings’ the section to be encrypted (case-sensitive). After that just rename your web.config back to Application.exe.config and that’s it. Very easy tip without additional programming!

, , , ,