Welcome to Michaels Blog

All posts published in February 2005

Blog of latest news, updates, and stories for developers

Microsoft AnitSpyware bug

If have installed the Microsoft AntiSpyware since some weeks. Some applications like DameWare or VNC are marked as spyware, ok, that's ok. But I have big problems while working with scripts (.js and .vbs). Sometimes I want to edit script files with notepad.exe instead of using Visual Studio .NET (it is a little difference when waiting for Visual Studio .NET for a 1 kB file...).

Posted by Michael Schwarz on Friday, February 25, 2005

Update: Using a HttpHandler and Attributes to call C# methods in Javascript

Because many asked me to show a online demo of the C# to Javascript wrapper I put a Javascript chat on http://beta.schwarz-interactive.de/ [1]. You can use Mozilla Firefox or Internet Explorer to try the demo. Check the HTML source code of the page to see how the demo is working. The source code of the C# code can be found here: http://beta.schwarz-interactive.de/class1.txt [2].

Posted by Michael Schwarz on Thursday, February 17, 2005

Using a HttpHandler and Attributes to call C# methods in Javascript

Now, I am back and done a new sample on how to call C# (or simply .NET methods) from the client using Javascript. As you can see on my last posts I had done this using a IFRAME or the XmlHttpRequest object (yes, this is working in FireFox and Mozilla like it is working in Internet Explorer). But the main thing I had to do was to build small wrapper Javascript code, everytime the same way.

Posted by Michael Schwarz on Tuesday, February 15, 2005