Welcome to Michaels Blog

All posts tagged with label English

Blog of latest news, updates, and stories for developers

Letter Design in Affinity Designer

My son is using Affinity Designer [1] on the iPad do draw all kind of designs, images or nice logos.

Posted by Michael Schwarz on Tuesday, January 26, 2021


Siemens Smart Grid Innovation Contest

The Smart Grid Innovation Contest is an open international competition to find new, sustainable Smart Grid business models and technologies for the near future.

Posted by Michael Schwarz on Thursday, April 28, 2011


Build a Quadrocopter using .NET Micro Framework and win a VS2010 + MSDN Subscription

For those of you are interested or working on a Quadrocopter controlled by the .NET Micro Framework, there is a contest where the winner of a flying Quadrocopter will get a free VS2010 license including 1 year MSDN subscription.

Posted by Michael Schwarz on Wednesday, September 22, 2010


Visual Studio – would like to see some new features in the next version

Yesterday evening I was sitting on my laptop and thought about what I like in Visual Studio and what I’m missing. Well, at all I’m very happy with Visual Studio, cannot remember any other development environment that is working as good as Visual Studio on Windows.

Posted by Michael Schwarz on Wednesday, September 22, 2010


Google scribe ausprobiert

Habt ihr schon mal Google scribe [1] aus den Google Labs ausprobiert? Na ja, der erste Satz ging schon gleich in die Hose:

Posted by Michael Schwarz on Wednesday, September 8, 2010


Microsoft Silverlight 4 Business Application Development: Beginner's Guide

Build enterprise-ready business applications with Silverlight

Posted by Michael Schwarz on Tuesday, April 20, 2010


Microsoft MVP Award 2010 – Thank you!

Reading my mails today:

Posted by Michael Schwarz on Friday, January 1, 2010


ZigBee Smart Energy Blog

While I’m currently working on a ZigBee Smart Energy device running on Microsoft .NET Micro Framework 4.0 [1] (beta) I have started a new blog writing about news concerning Smart Energy (Smart Grid) around the world: http://smartenergy-news.blogspot.com/ [2]

Posted by Michael Schwarz on Tuesday, October 13, 2009


Quick thoughts on the Microsoft AJAX CDN

Today reading on idunno.org [1] about Microsoft AJAX CDN, something I was thinking about a bit, too:

Posted by Michael Schwarz on Wednesday, September 16, 2009


New Version of Expression Web SuperPreview for Internet Explorer Available

There is a new version available for Microsoft Expression SuperPreview for Windows Internet Explorer. Expression Web SuperPreview for Internet Explorer is a visual debugging tool that makes it easier to migrate your web sites from Internet Explorer 6 to Internet Explorer 7 or 8.

Posted by Michael Schwarz on Tuesday, September 15, 2009


How to download Internet Explorer 8 for Windows 7 E without any Web browser?

Windows 7 RTM will be available in the next days and for all European users there will be no Internet Explorer 8. I’m not sure if there will be an option to install Internet Explorer from the setup DVD or if we can simple add this as a Windows feature in control panel.

Posted by Michael Schwarz on Wednesday, July 15, 2009


Results of AJAX Statistic for .NET Development

Simone [1] has created another survey [2] concerning AJAX usage with ASP.NET. The results are available, now, and it is really interesting to see that there are only small changes in the use of AJAX libraries for ASP.NET developers.

Posted by Michael Schwarz on Tuesday, June 23, 2009


Moving .NET Micro Framework Stuff to a New Blog

As this blog is more about ASP.NET and AJAX development I’m moving the .NET Micro Framework related stuff to a new blog. If you want to continue reading update your RSS reader to http://netmicroframework.blogspot.com/ [1].

Posted by Michael Schwarz on Monday, February 23, 2009


Ajax.NET M! (mobile edition) cancelled

Some months ago I started to implement an Ajax.NET Professional version for .NET Compact and Micro Framework. Some weeks later I decided to build a library with several network related features and I’m now moving the Ajax.NET M! to this new project at CodePlex.

Posted by Michael Schwarz on Friday, February 13, 2009


Follow me on Twitter

A long time ago I registered at twitter but never posted any message there. But things are changing and I have started using Twitter, now. You’ll find my Twitter feed at https://twitter.com/applemichl [1].

Posted by Michael Schwarz on Friday, January 16, 2009


How to bridge 40 km (or more) with two XBee-PRO 868 modules?

xbeeproxsc-rpsma Since I first used the XBee modules from Digi International I got questions from developers how to get higher ranges. Well, the XBee 802.15.4 modules I’m currently using have a maximum range of nearly 100 m. The XBee-PRO modules that are using 63 mW (+18dBm) power output could reach up to 1 mile (~1.6 km). In Germany you have to limit the XBee-PRO modules to +10dBm because of some restrictions in the 2.4 GHz band, so you loose some meters.

Posted by Michael Schwarz on Thursday, December 11, 2008


AppCmd Migrate Config and Remove HttpModules

In some of my Web projects I’m using the <remove name="..."/> [1] tag in web.config section system.web/httpModules. When you’re using the appcmd migrate config command not all removed httpModule configurations are copied to the new section below system.webServer.

Posted by Michael Schwarz on Tuesday, November 18, 2008


SmallBasic - A Microsoft DevLabs Project

Not sure if you already heard about Small Basic [1]? Small Basic derives its inspiration from the original BASIC programming language.

Posted by Michael Schwarz on Sunday, November 16, 2008


Encrypt your AJAX traffic using Microsoft Silverlight and Ajax.NET Professional

Some of you maybe remember that I had added some security related features in Ajax.NET Professional [1]. It is possible to put an AJAX token or to simple encrypt the data that gets over the lines. With Silverlight [2] we get the System.Security.Cryptography namespace on the client – before it was not very easy to encrypt a string without any plug-in (well, there are some implementations of Blowfish available in JavaScript [3]).

Posted by Michael Schwarz on Thursday, November 13, 2008


Windows Media Center as a Silverlight Application

Yesterday I have noticed that the Windows Media Center web site [1] has added an Silverlight application [2] that is showing how the Windows Media Center on Windows Vista is working. Hey, I did this with one of the first beta versions of Silverlight, but not as impressive as the demo.

Posted by Michael Schwarz on Thursday, November 13, 2008


Really Cool Internet Explorer 6 – But how will it perform on 400 MHz?

I have downloaded the new emulator images [1] and I’m really impressed that the IE6 render engine [2] really fits in such a small device. I have created some screenshots below.

Posted by Michael Schwarz on Wednesday, November 12, 2008


Windows Mobile 6.1.4 – Download Emulator Images

Yesterday Microsoft has published the new emulator images for Windows Mobile 6.1.4. One of the most important new features is the Internet Explorer Mobile 6 version.

Posted by Michael Schwarz on Wednesday, November 12, 2008


DNS, Zigbee, XBee, Web, SMTP and POP classes in my MSchwarz Toolkit for .NET Micro Framework

As I wrote [1] already some days ago I'm currently working on a library that will offer networking features that I'm missing in .NET Micro Framework. All features are first implemented in desktop .NET Framework 3.0 and then modified to fit the smaller .NET Micro Framework [2]. The Zigbee/XBee C# implementation [3] is already 60% finished, DNS resolver is finished for most common DNS queries.

Posted by Michael Schwarz on Monday, November 10, 2008


Xtopia 2008 – Ask-The-Expert (ATE)

Offizieller ATE @ Xtopia 08: Treffen Sie mich in den Ask the Experts-Sessions! [1]I will attend the Xtopia 2008 [2] and be available as an Ask-The-Expert (ATE) for questions concerning ASP.NET and Silverlight. Of course, feel free to ask me anything about the .NET Micro Framework 3 [3] that has been released some days ago.

Posted by Michael Schwarz on Friday, November 7, 2008


AppCmd Migrate Config and HTTP Error 500.22

Yesterday I tried to migrate an Web Application from IIS 6 to IIS 7 integrated managed pipeline mode. After copying the files to the new folder I opened a Web browser and got following error message:

Posted by Michael Schwarz on Friday, November 7, 2008


Microsoft .NET Framework ZigBee Library

prd-xbeepromoduleseries1_smI'm currently working on a ZigBee [1] (XBee) library written in C# for the Microsoft .NET Framework. I published a first demo project that will support already some of the most important API modes. You can download [2] this demo project, any feedback is welcome.

Posted by Michael Schwarz on Tuesday, October 28, 2008


.NET Micro Framework SDK Release Candidate Available

The .NET Micro Framework team [1] has announced [2] the release candidate of .NET Micro Framework SDK on Connect [3]. Here are the most important new changes:

Posted by Michael Schwarz on Tuesday, October 7, 2008


Internet Explorer 6 running on Windows Mobile - Do I have to wait for WM7?

Microsoft has canceled the Deepfish [1] research project lab. I was not sure if I would love the Deepfish browser as there was a big lack of missing features like AJAX, JavaScript, Flash/Silverlight. Yesterday I read in the news that Microsoft will port their Internet Explorer 6 render engine to Windows Mobile [2]. Hey, does this mean that Internet Explorer 6 will get a rebirth?

Posted by Michael Schwarz on Friday, September 12, 2008


Microsoft Live Labs - Deepfish Project Canceled

deepfish Some of you have heard about the Deepfish project at Microsoft Research. In March 2007 Microsoft announced [1] a new mobile Web browser to bring desktop-like browsing to mobile devices. Since some days the Deepfish project Web site has been removed, you'll get an http 404 (file not found) or get redirected to the new Live Labs overview [2] (there is only one page a Microsoft New Zealand talking still about Deepfish [3]). Deepfish is canceled, and there is no other news about a better Web experience on Windows Mobile devices.

Posted by Michael Schwarz on Wednesday, September 10, 2008


Google Chrome now available

dlpage_lg Google Chrome is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier.

Posted by Michael Schwarz on Tuesday, September 2, 2008


Google Chrome – Some Links

Google_Chrome_Logo Google has announced their own Web browser called Google Chrome, the Browser War 2.0 has been started. Here are some useful links:

Posted by Michael Schwarz on Tuesday, September 2, 2008


Browser War 2.0

logo_sm Yesterday Google announced [1] that they are working on a own Web browser. The first beta version will be available for Windows today in more than 100 countires, Mac and Linux versions are coming soon. An official starting point could be http://www.google.com/chrome [2] as it returns an http error 404 instead of a simple redirect to the Google search.

Posted by Michael Schwarz on Tuesday, September 2, 2008


Windows Live Writer – 30 days remaining

Hm, Windows Live Writer [1] will expire on 1st October 2008? A manual checking for updates tells me that I have installed the current version. Maybe it is because I’m using the technical preview (Build 14.0.3913.522)?

Posted by Michael Schwarz on Monday, September 1, 2008


Internet Explorer Application Compatibility VPC Image

Do you want to try Internet Explorer [1] 8 beta 2? Or do you want to test your website with XP and Internet Explorer 6? VPC Hard Disk Images [2] for testing websites with different IE versions on Windows XP SP2, Windows XP SP3 and Windows Vista are available at Microsoft Download Center:

Posted by Michael Schwarz on Saturday, August 30, 2008


Tahoe Board Running .NET MF 3.0

Device Solution [1] has published their first beta firmware and SDK for .NET Micro Framework 3.0 [2] beta. The firmware version includes basic support for everything on the Tahoe [3] board excluding Ethernet and PWM.

Posted by Michael Schwarz on Tuesday, August 19, 2008


Application and Firmware Signatures in the .NET Micro Framework

Device Solutions have decided to change the way they deal with firmware signatures on the Meridian/Tahoe board.

Posted by Michael Schwarz on Tuesday, August 19, 2008


GHI Electronics First .NET MF 3 Beta Firmware Update

GHI Electronics [1] has published first beta firmware update for the new .NET Micro Framework 3 [2] which is currently in beta. You can download the files and a user guide at their beta info page [3].

Posted by Michael Schwarz on Monday, August 4, 2008


EntryPoint not specified for manifest – VS 2008 SP1 (beta)

Just for your information if you have tried the .NET MF 3.0 beta 2 [1] with Visual Studio 2008 and installed SP1 beta: when trying to compile a console or window application (library projects are ok) you’ll get an error message after compiling:

Posted by Michael Schwarz on Wednesday, July 30, 2008


.NET Micro Framework 3.0 Multi Targeting

The .NET Micro Framework 3.0 beta now enables developers to use Visual Studio 2008 for the current version 2.5 and the upcoming version 3.0. This was introduced for other .NET frameworks with Visual Studio 2008. Wow, now I don’t need to install Visual Studio 2005 and 2008 on one machine:

Posted by Michael Schwarz on Monday, July 28, 2008


Microsoft .NET Micro Framework 3.0 Beta Open

Microsoft .NET Micro Framework SDK 3.0 - Setup Wizard The Microsoft .NET MF team [1] has opened [2] the beta of .NET Micro Framework 3.0 [3] right now. This beta includes following features (all planned features are available here: Opening the .NET MF 3.0 kimono [4]):

Posted by Michael Schwarz on Monday, July 28, 2008


Internet Explorer 8 Address Bar like Windows Vista

Yesterday I brought up the question [1] if there could be a change to the address bar of the next version of Internet Explorer [2]. Since I’m using Windows Vista I’m very happy with the new view of the path in explorer.exe. It is very easy to navigate to parent folders by simple clicking on the part of the name. If you click on the small arrow you’ll get a list of folders that are located in the same folder.

Posted by Michael Schwarz on Friday, July 18, 2008


Internet Explorer 8 Expert Chat Zone Resume

Internet Explorer 8 [1] is in beta and we're able to improve features that we need. Last week I sent a short message to the Microsoft DPE here in Germany with some comments what I like more in Firefox 3 [2] than in Internet Explorer. Well, there are a couple of great features like the star-it function to easily bookmark a Web page. Another great feature in Firefox 3 is that you are able to input any part of a visited URL or parts of the title that a visited page was using i.e. when you want to open Google Analytics you only have to enter "analy" and select the URL below, really clever.

Posted by Michael Schwarz on Thursday, July 17, 2008


Silverlight 2 Beta 2 Update - kb955011

image Since yesterday there is an update available for Silverlight 2 [1]. This update improves stability, media streaming, and the auto-update component. This update also improves support for Firefox 3 [2].

Posted by Michael Schwarz on Thursday, July 17, 2008


Using a Touch Screen with .NET Micro Framework 2.5

HiCO_ARM9_Emulator

Posted by Michael Schwarz on Wednesday, July 16, 2008


Connecting XBee module to Tahoe

Tahoe_XBee_Assembled Pavel Bánský [1] explains how he did connect the Digi XBee module [2] to the Tahoe development board [3]:

Posted by Michael Schwarz on Sunday, July 13, 2008


Low Cost Hardware Platform for .NET Micro Framework - USBizi

usbizi-devsys GHI Electronics [1] (known from the great Embedded Master™ module) have announced the USBizi module for the .NET Micro Framework [2]. The module is really small and costs only $99 for a single unit. As it is the smallest .NET Micro Framework system it keeps all the unique features Embedded Master [3] has, like USB host and FAT file system.

Posted by Michael Schwarz on Sunday, July 13, 2008


.NET Micro Framework and Robotic Vehicle

Pavel [1] has some great posts on his blog about robotic vehicles using the .NET Micro Framework [2].

Posted by Michael Schwarz on Saturday, July 12, 2008


Data Acquisition in .NET Micro Framework 2.0 using SPI

Carlo Mendoza is modifying the i.MXS board for SPI:

Posted by Michael Schwarz on Saturday, July 12, 2008


GHI Electronics with Touch Screen Support

[1]embeddedmastertft_v1 Embedded Master Module [2] is adding support for TFT LCDs on their .NET Micro Framework device. The new version is based on LPC2478 processor [3] with built in LCD controller.

Posted by Michael Schwarz on Saturday, July 12, 2008


Emtrion Starter-Kit HiCO.ARM9 (AT91RM9200) .NET Micro Framework

skit_hico7760_wince_normEmtrion [1] offers a .NET Micro Framework starter kit with an HiCO.ARM9 (AT91RM9200) [2]. The latest firmware updates adds support for ethernet as well as support for the TFT touch screen display.

Posted by Michael Schwarz on Saturday, July 12, 2008


Microsoft .NET Framework Assistant (Firefox browser extension)

Today I have installed Microsoft .NET Framework 3.5 SP1 [1] and noticed that it adds a Firefox [2] add-on called Microsoft .NET Framework Assistant. This browser extension adds ClickOnce installation support using Firefox browsers.

Posted by Michael Schwarz on Monday, July 7, 2008


.NET Micro Framework Library FusionWare.SPOT

Library of classes and tools useful for development with the Microsoft .NET Micro Framework. This library originally shipped as part of the SDK for the EmbeddedFusion Tahoe Development kit [1]. All of the code was covered by a BSD like license, however since it was only included in the Tahoe kit that fact was lost and most users didn't realize that. So the plan came to place the code up on CodePlex [2] so there as no confusion about what is covered under the BSD license.

Posted by Michael Schwarz on Monday, April 28, 2008


MFDeploy and MAC Address / DHCP

Today I got a Embedded Master [1] development kit from GHI Electronics [2]. First I tried the examples that are already on the board, wow, working great. To get a network application working I had to change the IP address (or change it to use DHCP). I downloaded MFDeploy [3] (MSDN Library [4]) from the Microsoft Download site. The manual says that you have to enter 00-21-03-80-00-00 and for the last two numbers you have to use the hex value of the serial number of the board. I tried this but MFDeply didn't accept my value until I have noticed that I have to use the colon instead of the dash as separator.

Posted by Michael Schwarz on Friday, April 18, 2008


TFT LCD Support for Embedded Master Module

embeddedmastertft_v1 Embedded Master Module is adding support to TFT LCDs [1]. The new version is based on LPC2478 processor with built in LCD controller. The module includes a 0.5mm 40 pin connector for LQ043T3DX02 or LQ043T1DG01 TFT displays from Sharp. These color TFT LCDs are 480x272 and are compatible with LCDs used in PSP from Sony. Using any other TFT LCD is possible, as well.. The new board will have 70 pins instead of 60 with more Analog inputs and PWM pins. New board is backward compatible as far as the old pins. All new pins are on the extra added space, total size 1.55x1.8 inches.

Posted by Michael Schwarz on Thursday, April 17, 2008


Microsoft TCP/IP Stack on .NET Micro Framework Devices

More an more devices are ready for the Microsoft TCP/IP stack that is available with the .NET Micro Framework version 2.5 introduced at the EmbeddedWorld2008 in Nuremberg.

Posted by Michael Schwarz on Tuesday, April 15, 2008


Ajax.NET and IIS 7 Integrated Mode

As there are some questions on how to run Ajax.NET [1] on IIS 7 (i.e. Windows Vista) in integrated mode instead of classic mode here are two things you have to check:

Posted by Michael Schwarz on Monday, April 14, 2008


Tahoe .NET Micro Framework Development Platform

For those of you didn't noticed the lower price of the Tahoe .NET Micro Framework development platform [1]: it is now USD $299 (USD $399 ). The Tahoe development platform provides an ideal development system for the Meridian CPU and the .NET Micro Framework.  The platform includes: tahoe

Posted by Michael Schwarz on Thursday, April 10, 2008


Silverlight Roadmap Questions

I came across a great post about updated Silverlight 2 roadmap [1].

Posted by Michael Schwarz on Monday, April 7, 2008


Silverlight Control Skin Sets

Corrina Barber [1] has publish four different Silverlight [2] control skin sets that looks very nice and shows the power of skinning in Silverlight [3].

Posted by Michael Schwarz on Monday, March 24, 2008


Breaking Changes in Silverlight 2

There is an MSDN article that focuses on changes that might cause your older Silverlight [1]-based applications to now fail or behave differently not on new features/enhancements for this release:

Posted by Michael Schwarz on Wednesday, March 19, 2008


Surface Demo - Silverlight 2 Update and DeepZoom

Today I updated my Surface Demo [1] (original source from Silverlight examples [2]). Well, there are only some small changes since last beta 1.1. So I have added a DeepZoom [3] control (MultiScaleImage) to the demo [4]:

Posted by Michael Schwarz on Tuesday, March 18, 2008


Getting Silverlight from Microsoft Update

Since some weeks Microsoft offers a Silverlight [1] update (KB946609 [2]) through Microsoft Update. As it is an optional component you have to select it in the Microsoft Update web site or with Windows Vista from the optional updates. As the knowledge base says it is an update it is working as new installation as well. I'm very happy about that because Silverlight gets on more client PCs.

Posted by Michael Schwarz on Wednesday, March 12, 2008


Wake-on-LAN from a .NET Micro Framework Device

Well, I love the easy development of embedded devices with the .NET Micro Framework. As the device I'm currently using is really small I tried to build a small Web site on it to start my private servers at home using Wake-on-LAN [1]. You'll find a lot of helper methods samples on the Internet but I couldn't find on source code that was working on the .NET Micro Framework. The problem is that there are too many missing methods or enum values.

Posted by Michael Schwarz on Sunday, March 9, 2008


Wrong DateTime on .NET Micro Framework Devices

Since embeddedworld2008 in Nuremberg I'm playing in my free time with the .NET Micro Framework [1] and the Digi Connect ME network device [2]. I've created a small Web server and ported the Ajax.NET Professional library to the really cool and small .NET framework.

Posted by Michael Schwarz on Sunday, March 9, 2008


Maybe Socket Bug in Policy Code in Silverlight 2 beta 1

In my last post [1] I wrote about how you can use sockets in Silverlight 2 beta 1 [1]. Well, when publishing my application to a Internet domain the code didn't work. I always get a socket exception: error code 10013, access denied. I have put an example online at http://frankfurt.schwarz-interactive.de:4510/test.aspx [2].

Posted by Michael Schwarz on Saturday, March 8, 2008


Silverlight 2 and Apple Safari for Windows

Yesterday evening I have played with the new Silverlight 2 [1] beta 1 bits and tried to run it on different Web browsers. The system requirements for Silverlight 2 [2] are:

Posted by Michael Schwarz on Friday, March 7, 2008


Silverlight 2, Images,... running on .NET Micro Framework Web Server

The next beta of Silverlight 2 [1] is available online since yesterday. Another announcement appeared in the news [2] is that Silverlight (maybe only version 1.0 for now) will be available on Windows Mobile 6  and Nokia S60 and S40.

Posted by Michael Schwarz on Thursday, March 6, 2008


My own small .NET Micro Framework Web Server

While developing my small Ajax.NET M! library [1] for creating Web applications that run on the .NET Micro Framework [2] I have started to write my own Web server. Some years ago I wrote a simple SMTP/POP server [3] and using some code from there was a great help. The first version will only return static HTML pages e.g. for documentation or help files. As there is no file system on those devices I use the embedded resource strings to return the content.

Posted by Michael Schwarz on Thursday, March 6, 2008


Silverlight Web Site Updated

You may have noticed that the Silverlight web site at Microsoft.com [1] has been updated. Well, I looks nicer than before, I like it. The system requirements are available here [2].

Posted by Michael Schwarz on Wednesday, February 27, 2008


LINQ to JSON

James has published a first beta of LINQ to JSON [1] support in his Json.NET library [2]. It looks very similar to my LINQ support in an internal build of Ajax.NET Professional [3] which never has been released.

Posted by Michael Schwarz on Tuesday, February 12, 2008


Silverlight Rectangles, Paths and Line Comparison

More than half a year ago Dave Campbell [1], Luis Abreu [2] and I had a discussion [3] about the 1px line width problem in Silverlight and WPF [4]. A short summary of the problem when drawing lines with 1px and using an anti-alias effect:

Posted by Michael Schwarz on Friday, January 4, 2008


[MVP] Congratulations! You have received the Microsoft MVP Award

Wow, another gift I got from Microsoft today:Michael Schwart - MVP

Posted by Michael Schwarz on Tuesday, January 1, 2008


Microsoft Download Center using Silverlight 1.0

Some weeks ago Microsoft already published a preview version of the Microsoft Download Center. Now, there is a new URL for the preview version (which is now called beta): http://www.microsoft.com/beta/downloads/ [1].

Posted by Michael Schwarz on Sunday, December 23, 2007


.NET AJAX Survey Results

Simone [1] has finished the survey and published the results of the survey about the usage of AJAX among .NET web developers [2]. The results are very interesting. The most used AJAX toolkit is ASP.NET AJAX [3] with about 73.7% followed by the AJAX Control Toolkit [4] which is used by almost half of the .NET developers that are using AJAX.

Posted by Michael Schwarz on Friday, December 21, 2007


Ajax View: Remotely Monitoring Web 2.0 Applications

I'm using Ajax View [1] more and more and find it very useful.

Posted by Michael Schwarz on Thursday, December 20, 2007


Debug .NET Source Code

Scott Guthrie announced [1] some weeks ago that Microsoft will offer the source code of the .NET framework. The source code will be released under the Microsoft Reference License [2] (MS-RL) and includes all comments which is very useful.

Posted by Michael Schwarz on Wednesday, December 19, 2007


LINQ Quickly (Book Review)

1847192548 I got a copy of LINQ Quickly from Packt Publishing. Language Integrated Query (LINQ) is a new feature in Visual Studio 2008 that extends its query capabilities, using C# and Visual Basic. Visual Studio 2008 comes with LINQ provider assemblies that enable the use of LINQ with data sources such as in-memory collections, SQL relational databases, ADO.NET DataSets, XML documents, ect.

Posted by Michael Schwarz on Wednesday, December 19, 2007


Ajax usage among .NET developers

Simone Chiaretta [1] had a look at the results of Ajaxian's survey [2] about the state of the usage in the Web development community. He decided to make a new survey [3], but this time only focused on .NET developers.

Posted by Michael Schwarz on Wednesday, December 19, 2007


Object and Collection Initializers in VS.NET 2008

While working with the new Visual Studio .NET 2008 I'm using more and more the new features that are available in Visual Studio .NET and C# compile options. One of those features are object and collection initializers. I like it to write source code like following lines (I always have my JavaScript code in mind, which is sometimes very similar):

Posted by Michael Schwarz on Monday, November 26, 2007


MVC Framework and Mobile Device

The last days I spent nearly all my time with the MVC Framework. As you may expect I absolutely like the way to control my HTML output more and get rid of the viewstate. When you read my blog you know that I'm using a lot of JavaScript and AJAX to make Web pages to Web applications.

Posted by Michael Schwarz on Monday, November 26, 2007


MSDN Webcast: Silverlight 1.0 Overview

Rob Bagby [1], MSDN Developer Evangelist, will present Silverlight [2] 1.0 on Wednesday, 15th August at 11:00 AM Pacific Time (US & Canada).

Posted by Michael Schwarz on Tuesday, August 14, 2007


PrettyPrint Fiddler2 Plugin (Alpha)

I put a first alpha version of the PrettyPrint Fiddler2 plugin [1] online. There are still some problems with regular expressions and lines that don't end with a semicolon, and some unknown maybe...

Posted by Michael Schwarz on Wednesday, August 1, 2007


Fiddler2 - JavaScript Beautifier Plugin

Update: download first alpha version of the PrettyPrint plugin for Fiddler2 [1].

Posted by Michael Schwarz on Wednesday, August 1, 2007


Upgrading your project to Silverlight Alpha 1.1 Refresh

Scott Hanselman [1] wrote on his blog about how to upgrade your project from Silverlight 1.1 Alpha to Alpha Refresh [2]. There are a couple of breaking changes in Silverlight 1.0 RC1 [3]. Because the 1.1 version does include the same core it will be necessary to change Silverlight Alpha 1.1 projects, too.

Posted by Michael Schwarz on Tuesday, July 31, 2007


SwirlChat Module v2 (for DNN)

swirlhost [1] has released their new chat module [2] that is designed specifically for DotNetNuke [3]:

Posted by Michael Schwarz on Monday, July 30, 2007


Silverlight Configuration Tool

With the latest Silverlight bits you will find a new configuration tool in the Silverlight application folder (i.e. c:\Program Files\Microsoft Silverlight) names slup.exe (SilverLight UPdate?). You can open the configuration from any Silverlight host, too, by right-clicking on the host control and click on Silverlight Configuration.

Posted by Michael Schwarz on Monday, July 30, 2007


Updated My Silverlight Surface Version

I have updated the Silverlight "Surface" demonstration with video support [1], too. The only thing I had to do is to replace the Silverlight.js JavaScript file and change the boolean properties in the createObjectEx to their string representations (true becomes "true").

Posted by Michael Schwarz on Monday, July 30, 2007


ASP.NET AJAX Roles and Security

David Barkol [1] writes on his blog about ASP.NET AJAX Role Application Service with Visual Studio 2008 (Orcas). [2] Well, it is a new service that is working similar to the profile [3] and authentication [4] service. As it is very easy to call it from the client-side JavaScript code you should be a little bit more careful using these new methods.

Posted by Michael Schwarz on Monday, July 30, 2007


New Silverlight Links

The last weeks I was a little bit busy because of some projects and other work I had to do at home. But today I will publish some new links about Silverlight:

Posted by Michael Schwarz on Monday, July 30, 2007


Authentication and Session

In my current project I'm using a own User object that I store in the HttpContext.Session to have personalized data available without connecting on each AJAX method / page refresh to the database. If the session will end because of timeouts, Web server resets/crash or application pool recycle this data will not be available any more, I have to read all again and store it in the session.

Posted by Michael Schwarz on Monday, July 30, 2007


Throw new Exception with AjaxPro

Last Friday I had a discussion with Kris about some problems [1] he had with Ajax.NET Professional. The thing was that he was using Response.Write somewhere in his code to write exception details to the output, but that failed because the result was not a JSON response.

Posted by Michael Schwarz on Monday, July 30, 2007


Implementing Silverlight in 21 Days

Miguel de Icaza [1] is writing yesterday on his blog that he wrote a Silverlight plugin for Linux [2]:

Posted by Michael Schwarz on Friday, June 22, 2007


Expression Studio in German

The German trial versions [1] of Microsoft Expression Studio [2] are now available. The full versions will be available in about 6 weeks, Expression Web is already available.

Posted by Michael Schwarz on Thursday, June 14, 2007


Silverlight and Infragistics

Infragistics [1] is already deeply involved in Silverlight development [2]. They are excited about the platform as the next-generation Web UI. They think there are several key wins in Silverlight [3] for Web application development and are exploring how they can best provide controls and tooling to complement what Microsoft provides in the box.

Posted by Michael Schwarz on Thursday, June 14, 2007


Balder - 3D Engine for Silverlight

The source code of the 3D engine called Balder is available on CodePlex [1], now. The state of the source code is not 100% yet, but people can download it for now and have a look at how you could do a simple 3D engine.

Posted by Michael Schwarz on Wednesday, June 13, 2007


Apple Safari for Windows and Microsoft Silverlight

Since yesterday you can download Safari 3 Plublic Beta for Windows [1]. "The world's best browser.", "the fastest, easiest-to-use Web browser in the world" - does this really be true? 

Posted by Michael Schwarz on Tuesday, June 12, 2007


Silverlight 1.1 Plug-in installed

Well, during the weekend I added a small test to log how many visitors of my blog have installed the Silverlight [1] plug-in already.

Posted by Michael Schwarz on Monday, June 11, 2007


New Examples and Tutorials

During the last days I have added some new tutorials [1] and examples [2] to my list. Dave Campbell sent me a short message that he has already a kind of Silverlight examples collection. Have a look on his list of Silverlight tagged articles he wrote [3] and external Silverlight examples as well [4].

Posted by Michael Schwarz on Friday, June 8, 2007


Updated Silverlight Surface Demo

Ok, it was a very simple bug on my side with the ZIndex property. I have updated the online version [1] and the download [2]. If you have a slow connection you may have to wait some seconds to see the video.

Posted by Michael Schwarz on Tuesday, June 5, 2007


Microsoft Silverlight Introduction (LiveMeeting)

Tomorrow there is an online event for developers talking about Silverlight at 2:00 PM Eastern Time (US & Canada):

Posted by Michael Schwarz on Tuesday, June 5, 2007


Bubblemark Animation Test

Did you ever compared client-side RIA frameworks? Alexey Gavrilov [1] has written a great test to directly compare performance [2]: Silverlight (WPF/e) vs. DHTML vs. Flash (Flex) vs. WPF vs Apollo vs. Java (Swing):

Posted by Michael Schwarz on Tuesday, June 5, 2007


Silverlight Surface Demonstration (Video Support)

In one of my last posts [1] I wrote about the Silverlight Surface [2] demo of the "photo table". If you had a look on the live demo [3] you only see images, no video. I have added this because it is a very great idea to do it with Silverlight and the high media support inside.

Posted by Michael Schwarz on Monday, June 4, 2007


Silverlight Examples

During the weekend I spent some minutes to collect some of the greatest Silverlight [1] examples. Most of them need the Silverlight 1.1 alpha runtime which is available for download here [2].

Posted by Michael Schwarz on Monday, June 4, 2007


Silverlight with Visual Studio .NET 2005

Could Silverlight [1] 1.1 assemblies be generated with Visual Studio .NET 2005? Well, if you read the GetStarted [2] page of Silverlight you see only upcoming Visual Studio codename Orcas as development platform.

Posted by Michael Schwarz on Monday, June 4, 2007


Silverlight Streaming

Microsoft Silverlight Streaming [1] is a new service by Windows Live that makes it easier for developers and designers to deliver and scale rich meda as part of their Silverlight applications. The new service offers web designers and developers a free and convenient solution for hosting and streaming cross-platform, cross-browser media experiences and rich interactive applications that run on Windows and Mac.

Posted by Michael Schwarz on Monday, June 4, 2007


JavaScript and .NET Arrays in Silverlight

During my tests with the DLR (Dynamic Language Runtime) in Silverlight 1.1 [1] I came accross several things that didn't work first. Most of them could be fixed by using small workarounds.

Posted by Michael Schwarz on Friday, June 1, 2007


Silverlight and JSON

Silverlight 1.1 [1] comes with an built-in JSON serializer which can serialize common data types like string, numbers and arrays. It includes a object serializer, too, I think it is nearly the same as in ASP.NET AJAX or Ajax.NET Professional.

Posted by Michael Schwarz on Friday, June 1, 2007


Call Scribtable Methods from JavaScript with Silverlight

Today I wrote a very simple example how to call a C# method from JavaScript code. I was using this because I'd like to access the IsolatedStorage with a small wrapper that is working similar to the registry.

Posted by Michael Schwarz on Friday, June 1, 2007


Silverlight 1.0 and OnLoad

There are some changes for the OnLoad event handler from older beta versions (code name WPF/E). In Silverlight 1.0 beta you will use following event handler, now:

Posted by Michael Schwarz on Friday, June 1, 2007


DLR and Performance

The idea was to put all JavaScript libraries into the DLR of Silverlight to get better performance, but a first tests failed or is compared to JavaScript directly in the Web browser very slow.

Posted by Michael Schwarz on Thursday, May 31, 2007


Running managed JavaScript in Silverlight

At MIX 07 Jim Hugunin announced a new level of support for dynamic languages on .NET that they're calling the DLR (Dynamic Language Runtime). With Silverlight 1.1 you get support for dynamic languages today: Phyton, JavaScript (EcmaScript 3.0), Visual Basic and Ruby.

Posted by Michael Schwarz on Thursday, May 31, 2007


Silverlight .NET Support

The Silverlight team has released a new version [1] today at the MIX with .NET support. Since Mike announced [2] this Web developers are waiting for this new feature.

Posted by Michael Schwarz on Monday, April 30, 2007


Orcas and JavaScript IntelliSense

I had a great discussion [1] with Bertrand [2] about the feature to have dynamically (Assembly Resources or on-the-fly created JavaScript files) added JavaScripts in IntelliSense available, too. Currently it is only possible to add JavaScript files by hand that are more or less static files, and ASP.NET AJAX does not come with plain JavaScript files, too, but it is working because ScriptManager is doing his job.

Posted by Michael Schwarz on Monday, April 30, 2007


AjaxPro more JSON compliant

I put the next beta version online to test the new JSON converters. I have added a new web.config paramter which will bring JSON converters to render a different output.

Posted by Michael Schwarz on Monday, April 23, 2007


AjaxPro User Experience

DotNetSlackers [1] creator Sonu Kapoor writes [2] about Ajax.NET Professional [3]:

Posted by Michael Schwarz on Thursday, April 19, 2007


Silverlight Support on Windows Mobile

I got several questions about when and if Silverlight [1] (code name WPF/E) will be supported on Windows Mobile devices. The code name has included the word everywhere. Do you still remeber this:

Posted by Michael Schwarz on Wednesday, April 18, 2007


Microsoft Silverlight

For all of you didn't noticed the name change of code name WPF/E, it is now Microsft Silverlight. Silverlight is a cross-browser, cross-platform plug-in for delivering the next generation of media experiences and rich interactive applications (RIAs) for the Web. Silverlight integrates with existing Web applications and, of course, almost all Web technologies you are already using like Ajax.NET Professional [1] or ASP.NET in common.

Posted by Michael Schwarz on Monday, April 16, 2007


Download AjaxPro Beta with jQuery Support

I forgot to put the beta version online that will support jQuery and json.js from http://www.json.org [1]. You can download the latest beta of the AjaxPro library at http://www.ajaxpro.info/download/jQueryAjaxPro.zip [2]. The download currently includes only the .NET 2.0 library including a Visual Studio .NET 2005 Web Site project.

Posted by Michael Schwarz on Sunday, April 15, 2007


AjaxPro and the jQuery JavaScript Provider

Because jQuery is a often used JavaScript framework I will have a provider available in the next release of Ajax.NET Professional [1] that will render only the wrapper JavaScript files in the jQuery [2] JavaScript code.

Posted by Michael Schwarz on Friday, April 13, 2007


Looking Forward to next AjaxPro Release

Some developers mentioned that it would be nice if Ajax.NET Professional [1] could be more JSON compliant to use with some JavaScript frameworks that are not using the eval statement. And, if you have a look at json.org [2] JSON message always have to be an object or array, not a string or boolean directly. Well, I absolutly see the need of these changes and I have done this already in a beta version which I will provide this evening.

Posted by Michael Schwarz on Friday, April 13, 2007


Tip #2 - Display JSON String from Object

Sometimes it is necessary to see i.e. the full result you will get inside the asynchronous callback function to see all properties. The AjaxPro JavaScript includes a method to convert a JavaScript object into a JSON string.

Posted by Michael Schwarz on Thursday, April 12, 2007


Tip #1 - Using AjaxPro.AjaxNoTypeUsage

If you want to hide name and assembly details of classes you return in your AjaxMethod simple add the AjaxPro.AjaxNoTypeUsage attribute as meta information:

Posted by Michael Schwarz on Thursday, April 12, 2007


jQuery and Ajax.NET Professional (AjaxPro)

jQuery [1] is a fast, concise JavaScript library that simplifies how you traverse HTML documents, handle events, perform animations, and add Ajax interactions to your web pages. jQuery is designed to change the way that you write JavaScript, but it can be only used on the client-side JavaScript code. That means you need a framework on the server-side code if you want to add Ajax interactions to your web pages.

Posted by Michael Schwarz on Tuesday, April 10, 2007


Intel Software Network Videos using AjaxPro

I talked today with a Intel developer and he showed me where the are using Ajax.NET Professional JSON Library [1]. The Intel Software Developer Network [2] has it's own video library where you can see great videos on several technologies Intel is offering with it's processors. We talked about why they are using AjaxPro and the answer (that I get more and more) is: "we are using Microsoft .NET Framework 1.1". I'm happy to see that the decission to support .NET 1.1 in all my releases was one of the biggest benefits you get when using AjaxPro. Well, Intel talked about using AjaxPro as AJAX library, too. So, maybe we will see more web applications from Intel next time.

Posted by Michael Schwarz on Saturday, April 7, 2007


JSON Hijacking and How Ajax.NET Professional (AjaxPro) Avoids these Attacks

There are a couple of web sites reporting about security issues that hackers can use to invoke AJAX methods or use the JSON output to get data from other web applications. Specificallly, these attacks use HTTP GET requests invoked via an HTML <script src=""> include element to circumvent the "same origin policy" enforced by browsers (which limits JavaScript objects like XmlHttpRequest to only calling URLs on the same domain that the page was loaded from), and then look for ways to exploit the JSON payload content. The use of HTTP POST is only working if you are in the same domain, which does not mean this is not a dangerous security issue if used in web sites where different users can access data (i.e. spaces.live.com, blogger.com,...); there it is very easy to run HTTP POST with XmlHttpRequest object in the same domain (see Google XSS bug [1]).

Posted by Michael Schwarz on Saturday, April 7, 2007


Windows DreamScene Preview

Windows DreamScene Preview [1] is available for Windows Vista Ultimate users, simply go to Windows Update and Windows Ultimate-Extras and you will find it.

Posted by Michael Schwarz on Tuesday, February 13, 2007


WPF/E SDK (February CTP) available (and Windows Vista running in a web browser)

The WPF/E SDK [1] (February CTP) is now available, you can download the files from the MSDN web page [2]. The WPF/E QuickStart is not yet available as download.

Posted by Michael Schwarz on Sunday, February 4, 2007


WPF/E February CTP and Problems with Firefox

I tried a some of the WPF/E examples I collected [1] with Firefox on Windows Vista . Oh, sorry, a lot of them are not working correct, and some kills my Firefox here.

Posted by Michael Schwarz on Thursday, February 1, 2007


New aghost.js JavaScript for WPF/E

In my last post [1] I wrote that there is a new aghost.js you need. The main reason is that the December CTP of the WPF/E plugin [2] is only running until end of January, so you have to update your plugin with the February version [1]. If you have installed the old version you will get following error message:

Posted by Michael Schwarz on Thursday, February 1, 2007


The February CTP Of WPF/E Is Live

Like Mark Harsh is writing on his blog [1] the new February CTP of WPF/E is live. Download the Windows [2] and the Mac [3] version, but keep in mind that there is a change in the aghost.js for the new version, see more details here and download the changed JavaScript file [4]. Joe Stegman is writing [5] about some changes:

Posted by Michael Schwarz on Thursday, February 1, 2007


Windows Vista Updates: Language Packs and Ultimate Extras

During the Windows Vista event in New York I noticed the new updates including some language packs:

Posted by Michael Schwarz on Monday, January 29, 2007


The WPF/E Gear Keeps Turning

As you may have read on my blog I have added an animation to the gear example [1] from Mike Harsh. Now, the gear community is here! Read Bryant Likes's Blog [2] post about the gears:

Posted by Michael Schwarz on Friday, January 26, 2007


How to surf the Internet more safely

In the past you may have heared about more and more security bugs on well-known web sites you use maybe more often a day. Below there are some tips you should have in mind when browsing:

Posted by Michael Schwarz on Tuesday, January 16, 2007


Thumboo moved...!

Today my snapshot service Thumboo [1] has moved to Sonu Kapoor (owner of DotNetSlackers [2]). Sonu will add much more features and make it a really nice site for the community. If you are still interessted in the original source code write me a message and I will send you the C# source code.

Posted by Michael Schwarz on Thursday, January 11, 2007


How do I hack a web site?

On next Tuesday I will talk at the .NET User Group in Munich / Germany [1] about following topics:

Posted by Michael Schwarz on Wednesday, January 10, 2007


DotNetPro’s Search Engine Spam

My friend Philipp Lenssen [1] wrotes some days ago about the German magazine DotNetPro which offers different html output when Google's crawler is fetching the site.

Posted by Michael Schwarz on Wednesday, January 10, 2007


Merry Christmas and a Happy New Year!

I will say Thank You! for all your help and discussions I had this year! 2006 was a great year where AJAX became very important to web applications, AJAX, JavaScrippt, CSS and Web 2.0 are the most used terms we used for web development, and I'm happy to see more and more web sites using AJAX to improve usability.

Posted by Michael Schwarz on Friday, December 22, 2006


Web Developer Tools

Taylor Hayward [1] has launched a new web site that will collect useful helpers for web developers, a lot of great examples and free icons or images, thePeoplesToolbox [2].

Posted by Michael Schwarz on Thursday, December 21, 2006


Rules you need for Fiddler

From time to time I install Fiddler [1] on new PCs and everytime I have the same problem: which rules do I need to get most from Fiddler. Here are my top 5 rules [2] I use:

Posted by Michael Schwarz on Tuesday, December 5, 2006


POST vs. GET

I'm reading a lot of performance issues when using POST instead of GET in AJAX enabled web applications. What are the key benefits of each http method? And is POST really slower than GET?

Posted by Michael Schwarz on Monday, December 4, 2006


IE6 and IE7 Running on a Single Machine

Brian is writing on his blog [1] that Microsoft offers a free Windows XP including Internet Explorer 6 as a VPC image to test web sites with IE6:

Posted by Michael Schwarz on Saturday, December 2, 2006


Microsoft Network Monitor 3.0 released

The Microsoft Network Monitor Development Team [1] has released the new Network Monitor 3.0 [2]. Here are the key features:

Posted by Michael Schwarz on Wednesday, November 29, 2006


The idea of UpdatePanels combined with JavaScript

I come across more and more web sites where JavaScript is used to get great user experience on the client-side. There are a couple of JavaScript frameworks written only to add animation effects to static html web pages. My favorite is the Yahoo! UI Library [1] and the great library yui-ext [2] (written by Jack Slocum [3]) that will extend the Yahoo! UI with common form elements like a dialog [4], a grid or layout panels.

Posted by Michael Schwarz on Tuesday, November 28, 2006


Why some of my AJAX mistakes are nothing new

On my last post [1] I wrote about some common mistakes when upgrading your web application to an AJAX enabled one. I got a great feedback on this post... and a couple of developers wrote something like "Don't use Microsoft products!" or "Use JSP instead of ASPX and you are fine...!".

Posted by Michael Schwarz on Tuesday, November 21, 2006


Get your AjaxPro Web Application running on Mono (for Linux Dummies)

For all of us who are not familiar with Linux here is a short description how to get your ASP.NET web application using AjaxPro [1] running on Mono [2]. The Mono project offers a great VMware virtual machine (Suse) which you can download here [3]. There is a free VMware player [4] which you need if you don't have the VMware workstation.

Posted by Michael Schwarz on Friday, November 17, 2006


JavaScript performance - access to global variables [part 1]

While reading several posts about JavaScript performance [1 [1]] [2 [2]] I did a simple test, too. My first part will compare Firefox and IE7 using global variables compared with local ones.

Posted by Michael Schwarz on Friday, November 17, 2006


AjaxPro on Mono

Today I meet Miguel de Icaza [1] (blog [2]) at the Prio conference [3] in Baden-Baden. Miguel is the founder of the Mono project [4] which implements a common language runtime on linux that will be 100% compatible to the Microsoft .NET Framework (means: you can develop using Microsoft Visual Studio .NET and run it on cheap linux servers). We had a great discussion about Microsoft .NET (all the available versions), WCF/WPF and, of course, ASP.NET AJAX [5] (Atlas) and Ajax.NET Professional [6] (AjaxPro).

Posted by Michael Schwarz on Wednesday, November 15, 2006


Where thumboo is already used?

My new started service for creating screenshots of any web page is used more and more. http://www.sharepointkicks.com/, http://www.dotnetkicks.com/ (those two sides only used it while WebSnapr was not working) and http://www.worldwidirectory.com/ [1] are using the thumbnail service to visualize outgoing links on their web site.

Posted by Michael Schwarz on Friday, October 27, 2006


Google Search for AjaxPro

Google offers a new search engine service that can be personalized. I have created a first test that will only return results for AjaxPro (hopefully):

Posted by Michael Schwarz on Tuesday, October 24, 2006


Avoid using Impersonation in ASP.NET

Scott Hanselman [1] is writing on his blog [2]:

Posted by Michael Schwarz on Tuesday, October 24, 2006


More MS Ajax Pain

Rick Strahl is writing about his experience about the new Atlas files:

Posted by Michael Schwarz on Tuesday, October 24, 2006


Who is linking me?

I added a new page where urls are listed that are linking to http://www.ajaxpro.info [1]. The web page is updated frequently and will show small captured screenshots. This service will be available for your web site and blog end of this week.

Posted by Michael Schwarz on Monday, October 23, 2006


PRIO Conference and Ready for a New Day

I will attend the PRIO Conference [1] in Baden-Baden/Germany, the conference will be held from 15-16th November. Next, on 1st December I will attend the Ready for a New Day [2] Windows Vista and Office System 2007 product launch in Frankfurt. I would be happy to meet you or have a lunch together.

Posted by Michael Schwarz on Monday, October 16, 2006


Yahoo! JavaScript Library and AjaxPro

There are a lot of great JavaScript libraries available that are used be developers to add Ajax and Web 2.0 to their web sites. While AjaxPro [1] is optimized to run on all web browsers including Windows Mobile devices I got some requests on supporting the Yahoo! JavaScript libraries [2]. I have done some internal changes that will allow you do use the Yahoo! JavaScript files instead of the generated files from AjaxPro. Because there is no JSON parser in the Yahoo! lib I'm using the json.js written by Douglas Crockford [3]. But first have a look at the ASP.NET page (C#):

Posted by Michael Schwarz on Friday, October 6, 2006


Google Search for Source Code

Google offers a great way to search for source code: http://www.google.com/codesearch [1]. If you search for RegisterTypeForAjax [2] (which is the method to create the JavaScript proxies for AjaxPro [3]) you will find a lot of examples:

Posted by Michael Schwarz on Thursday, October 5, 2006


Search.Live.Com. I want to like it, I really do... [Part 2]

I read the post [1] from Graig Gemmill and was thinking the same. When search.live.com has removed the beta logo I started several tests. Every test failed because I didn't get the results on the first page. Try to search for Ajax.NET (which is my Ajax library [2]) and you will get only results for the domain ajax.net. I think this is a very bad result when searching for my library. I'm happy that the domain owner added a link to my web site at the bottom of the page.

Posted by Michael Schwarz on Thursday, September 28, 2006


AjaxPro for Java Developers?

I have started to create a AjaxPro Java Edition which will be 100% code compatible on the client-side. That means there is no change of JavaScript and HTML when moving around, no code change when developing JavaScript controls. Look at the following code:

Posted by Michael Schwarz on Wednesday, September 27, 2006


AjaxPro JSON serialization about three (3!!!) times faster

The weekend I had time to do some serialization performance changes. The new beta version that is available here [1] is about three times faster than the current release version [2]. I have done some changes to the IJavaScriptConverter interface (method Serialize) to support the StringBuilder like it was in earlier days with Ajax.NET (not AjaxPro). There are some more changes done to improve the serialization from .NET types to JSON.

Posted by Michael Schwarz on Monday, September 25, 2006


AjaxPro JSON Parser and Dates

Because there are a lot of developers using the stand-alone JSON parser (which is included in the release package of AjaxPro [1]) I decided today to serialize the .NET data type System.DateTime with the UniversalSortableDateTimePattern (yyyy'-'MM'-'dd HH':'mm':'ss'Z') as a simple string. You can use this string as input value, too, it will be parsed to an .NET System.DateTime.

Posted by Michael Schwarz on Friday, September 22, 2006


AjaxPro Release include VS Template now

As I mentioned already that new AjaxPro [1] releases will include a simple Visual Studio .NET 2005 template for C# and VB.NET. You can download the latest version 6.9.22.2 [2] including this file at the CodePlex project site [2].

Posted by Michael Schwarz on Friday, September 22, 2006


AjaxPro at Google Groups with more than 4.000 members

Today the Ajax.NET Professional Google group [1] has reach the 4.000 member border. I did a search for AJAX [2] for all the Google groups available and was very happy to see my group at the second top position. Only Google with the Google Web Toolkit hits this group with additional 500 more members.

Posted by Michael Schwarz on Thursday, September 21, 2006


Books: Ajax with ASP.NET

I read a nice post here [1] from Long Zheng who got two copies of the new book Ajax with ASP.NET [2] you can win, read his blog.

Posted by Michael Schwarz on Wednesday, September 20, 2006


C# and VB.NET Visual Studio .NET 2005 Template

I will add the VS.NET 2005 project templates for C# and VB.NET to the next releases, too. A current version is available at Google Groups - AjaxPro [1].

Posted by Michael Schwarz on Monday, September 18, 2006


How to prevent System.NotSupportedException: This method is either not marked with an AjaxMethod or is not available

The was a discussion at the Google group about the System.NotSupportedException after changing files in App_Code folder. As there is no static assmebly name for the App_Code folder it will generated on each "rebuild" a new name that will look like very strange. The name of the assembly is used for any AjaxPro call and this will be a problem when the name changes after sending the JavaScript wrapper to the client.

Posted by Michael Schwarz on Monday, September 18, 2006


AjaxPro Source Code available!!

Today I put the source code online at http://www.codeplex.com/Wiki/View.aspx?ProjectName=AjaxPro [1]. New releases will be still uploaded to http://www.ajaxpro.info/ [2]. If you find any error, bug or problem please ask the community first at http://groups.google.com/group/ajaxpro/ [3]. There is a search box for all post that may help. Bugs that are not fixed in the Google group should be added to the issue tracker page at http://www.codeplex.com/WorkItem/List.aspx?ProjectName=AjaxPro [4].

Posted by Michael Schwarz on Wednesday, September 13, 2006


Moving Source Code to CodePlex.com

Today I will start with moving the source code to http://www.codeplex.com [1]. Hopefully it is done in some hours, during this time period I have stopped the download option on my web site.

Posted by Michael Schwarz on Monday, September 11, 2006


AjaxPro, GPS, Windows Mobile 5 and Google Maps

While I was on a busines trip I started to write a small application that is using the Windows Mobile 5 GPS API to get the current location. After this I build a small web server that was running on the Windows Mobile device to offer a small web application that will show the current position on the Google Map, very funny application. I hope I can fix some bugs when there is no signal. The next step was to get a list of available wireless networks at the current location, added some pushpins to the Google map and... the result is a own map of wireless access points.

Posted by Michael Schwarz on Wednesday, August 23, 2006


Why addNamespace(...) is removed?

I removed addNamespace because of the missing support on older web browsers or mobile devices. The problem is that addNamespace will add a new property to the window object. This is working great on all common web browsers. See the next lines to see how you can change addNamespace usage to get your JavaScript working on all web browsers.

Posted by Michael Schwarz on Tuesday, July 18, 2006


Yahoo! Web Services Request and AjaxPro JSON Parser - I love it!

Yesterday night I build an example on how to use Yahoo! Web Services [1] with the AjaxPro JSON parser [2]. The example will call a Yahoo! Web Service with output type set to JSON (see http://developer.yahoo.com/common/json.html [3]). The response will be deserialized to an .NET structure using the AjaxPro JSON parser (from the stand-alone version or the build-in parser in Ajax.NET Professional).

Posted by Michael Schwarz on Tuesday, July 11, 2006


Download new JSON stand-alone library for Microsoft .NET 1.1/2.0

There is a new stand-alone version for JSON [1] serialization/deserialization library available for Microsoft .NET 1.1/2.0. The JSON parser is extracted from my Ajax.NET Professional [2] library and will be available in the download package in the future. Download the new version at http://www.ajaxpro.info/ [2] (see the new link for the stand-alone version).

Posted by Michael Schwarz on Monday, July 10, 2006


AJAX Web Applications and Time Zones

Because I'm currently playing with a lot of AJAX frameworks I'm searching for the correct use of dates and times in web applications. Ajax.NET Professional [1] is using time zone indentifier to know from which time zone the request is comming from. See following server-side C# code:

Posted by Michael Schwarz on Friday, July 7, 2006


Why Ajax.NET Professional is using the __type property?

Ajax.NET Professional [1] is using attributes, there is no need to inherit from special pages or include dummy web controls to do all the job, there is no need to write special source code. Any .NET assembly can include classes with AjaxMethods that can be used in your ASP.NET web application.

Posted by Michael Schwarz on Friday, July 7, 2006


Serializing Objects as JSON using Atlas, JSON.NET and AjaxPro [Part 1]

I read the post from Scott Hanselman [1] today comparing the internal use of JSON de-/serializer from the Atlas framework [2] and Ajax.NET Professional [3].

Posted by Michael Schwarz on Wednesday, July 5, 2006


Work off-line with Ajax

In Internet Explorer (and all other common web browsers) you have an menu item File -> Work off-line. What does this do with you web application? Of course, it is working offline, no communication possible to the web server. When connected with a dial-up connection it can happen that this is done automatically if you disconnect from your internet service provider.

Posted by Michael Schwarz on Monday, July 3, 2006


RSS feed available for Ajax.NET Professional Releases

I will start to publish new releases with an RSS feed in the next days. The URL for the RSS feed is http://www.ajaxpro.info/changes.xml [1] where you can see a first version of the latest changes already. The links for each release (post) is currently the same for each release. I will add links for each release to the Ajax.NET Professional Google group [2] threads that are talking about the changes for each version.

Posted by Michael Schwarz on Thursday, June 29, 2006


Autcompletion Issues with Yahoo, Scriptaculous Libraries

Cheng Guangnan reports on a potential issue [1] with the autocompletion/suggestion [2] support offered by both Yahoo UI and Scriptaculous libraries. The problem involves parallel calls - there’s the potential for an initial list of suggestions to be displayed after a subequent list. His screencasts show what’s going on.

Posted by Michael Schwarz on Thursday, June 22, 2006


Why I hate Web 2.0/AJAX?

Posted by Michael Schwarz on Wednesday, June 21, 2006


Download Windows Live TM Messenger 8.0

The download link [1] for the final version of Windows Live TM Messenger 8.0 (the next-generation MSN Messenger) is currently not working correct, use following link instead:

Posted by Michael Schwarz on Tuesday, June 20, 2006


XML -> JSON Serialization

With the next release of Ajax.NET Professional you will be able to transform any XmlDocument or XmlNode into a JSON object. This is really cool because we have already a lot of xml documents in our web applications. Currently you have to write a custom class or struct where you have to fill the properties or public fields. Now, you simply call the JavaScriptUtil.GetIJavaScriptObjectFromXmlNode method to return a JavaScript object. At http://munich.schwarz-interactive.de/datatype.aspx [1] I have added a new test (Test 32) which will read the RSS from the Google group and display the title and last 10 posts.

Posted by Michael Schwarz on Monday, June 19, 2006


AJAX on I-Mate JASJAR, Smartphones and Opera Mini for Pocket PC

See following web browser user agents accessed my web site at http://www.ajaxpro.info/ [1], all are working with Ajax.NET Professional:

Posted by Michael Schwarz on Wednesday, June 14, 2006


Pocket PC 2003 Support

The new version 6.6.13.2 will support Pocket PC 2003 and Windows Mobile 5 devices including Smart Phones, too.

Posted by Michael Schwarz on Tuesday, June 13, 2006


Ajax.NET Professional and Windows Mobile 5

Yesterday I put my new release online that will have support for Windows Mobile 5. The new release 6.6.12.1 is available at http://www.ajaxpro.info/ [1]. Because of the missing DHTML support I didn't changed all the examples that make heavy use of DHTML to work on Windows Mobile 5, too. So, the Ajax.NET Professional stuff is working..., that is great for me! One code, multiple web browser support!

Posted by Michael Schwarz on Tuesday, June 13, 2006


AJAX books promotion code: 25% off!

I have a promotion code that will give you 25% off for the two books Professional Ajax and Ajax For Dummies. Use the promotion code FCE on the online shop at http://www.wiley.com/go /computing [1].

Posted by Michael Schwarz on Friday, June 9, 2006


Windows Mobile 5 and Ajax.NET Professional

I put an example online that will show the current beta version of Ajax.NET Professional. Try the page http://munich.schwarz-interactive.de/default.aspx [1] with your Windows Mobile 5 device. You will see two alerts, one showing the current time of the web server, the second one will return two properties of an PersonX object in a List<PersonX>. Would be nice to see if we get it running on older Pocket PCs, too.

Posted by Michael Schwarz on Friday, June 9, 2006


The Bitmap is back...!

Today I added the BitmapConverter.cs which will support returning a Bitmap directly from Ajax.NET Professional [1]. Attached to the Google groups thread [2] you will see what is working today (the Bitmap example is the method Test27). Of course, I didn't add all data types...  ;)

Posted by Michael Schwarz on Thursday, June 1, 2006


Ajax.NET Professional Starter Kit will move to CodePlex

The new Starter Kit for Ajax.NET Professional [1] will move to a new location where everyone can help building great AJAX enabled web pages and controls. The new URL where you can post your bugs, feedback or whishes is http://www.codeplex.com/Wiki/View.aspx?ProjectName=AjaxProStarterKit [2].

Posted by Michael Schwarz on Tuesday, May 23, 2006


Beta Starter Kit available online

I've started a new url where I put the beta Starter Kit online. It includes the AutoComplete [1], Security [2], Feedback [3] and Wiki [4] example (editor/p@ssw0rd). The default.aspx [5] is testing several data types. The next Starter Kit update will be available end of this month. During this time period I will collect feedback and new ideas to be added to the kit. The download will be available at http://www.ajaxpro.info/ [6].

Posted by Michael Schwarz on Thursday, May 18, 2006


AutoComplete or Suggest Control for Ajax.NET

I have a new demo at http://munich.schwarz-interactive.de/autocomplete.aspx [1] which will use a textbox and Ajax.NET Professional [2] to search for customer names (1st textbox) and then for the orders of this selected customer (2nd textbox).

Posted by Michael Schwarz on Thursday, May 18, 2006


Fiddler and Visual Studio built-in web server

There are some problems when using Fiddler [1] with the Visual Studio built-in web server. By default Fiddler is only changing the proxy settings for http and https. The problem is that Visual Studio will start a web server on a random port address which will not be captured using Fiddler. To fix this you start Fiddler and modify the proxy settings in Internet Explorer (or any other web browser): set proxy to 127.0.0.1 and port 8888 for all protocols, not only http and https. This will allow you to use the one and only debugging proxy.

Posted by Michael Schwarz on Thursday, May 18, 2006


Web 2.0 Effects with Ajax.NET Professional

I have modified an example form the script.aculo.us [1] web site that is showing some effects for a shopping cart web application. The example is using a generic dictionary (Dictionary<string,int>) to store the article and count in a session variable. Note: you must use the latest version of Ajax.NET Professional [2] (6.5.17.1 or higher).

Posted by Michael Schwarz on Wednesday, May 17, 2006


Ajax.NET Professional working with IE 5.0!!

I'm glad to see that my Ajax.NET Professional [1] library (version 6.5.15.2 or higher) is working with Internet Explorer 5.0 and 5.5. Both versions are supporting requests using the ActiveX XmlHttpRequest object or (if ActiveXs are disabled) the IFrame proxy. I've started logging Ajax.NET requests on my demo site http://www.ajaxpro.info/ [1], and here is the statistic I got after collecting data for some days only (sorted by web browser agent):

Posted by Michael Schwarz on Monday, May 15, 2006


Security and Ajax.NET Professional

I have written a short example about how to use web forms security with Ajax.NET Professional. The example (C# and VB.NET) is included in the latest version available at http://www.ajaxpro.info/ [1]. Discuss the security.aspx example at Google groups [2]. (Update: there are about 2.500 members reading and writing posts!!!)

Posted by Michael Schwarz on Friday, May 12, 2006


Google Trends, very interessting...

Without any comment, have a look at these images from Google Trends LABS:

Posted by Michael Schwarz on Thursday, May 11, 2006


Ajax.NET Professional Starter Kit available (C#/Visual Basic .NET)

I got already a lot of feedback to build Starter Kits for Ajax.NET Professional [1]. Today I started to create an environment where I can simple build C# and Visual Basic .NET example web pages. The Starter Kit will be included in every release, now. The latest version 6.5.4.1 [1] includes this kit already. I will add more and more examples how to use Ajax.NET Professional in your web application, and everytime I will create C# AND Visual Basic.NET source code.

Posted by Michael Schwarz on Friday, May 5, 2006


Download latest Ajax.NET Professional 6.5.4.1

Download the latest Ajax.NET Professional [1] library and examples for free at http://www.ajaxpro.info/ [1]. Support and feedback welcome at the Google group [2].

Posted by Michael Schwarz on Wednesday, May 3, 2006


Download latest Ajax.NET Professional 6.4.28.1

Download the latest Ajax.NET Professional [1] library and examples for free at http://www.ajaxpro.info/ [1]. Support and feedback welcome at the Google group [2].

Posted by Michael Schwarz on Friday, April 28, 2006


Updated Ajax.NET Professional source code

To let others check changes made to the current release of Ajax.NET Professional [1] I have updated the source code that is available at http://www.ajaxpro.info/ [1]. If you find any bug or have other great ideas or changes please visit the Google group at http://groups.google.com/group/ajaxpro/ [2].

Posted by Michael Schwarz on Wednesday, April 19, 2006


App_Offline.htm and Ajax.NET Professional

I read the nice article about the App_Offline.htm on Scotts [1] blog [2]. If you are using Ajax.NET Professional [3] you can simply check in the callback function if there is any error. While the App_Offline.htm is placed in your web application you will get the res.error.status = 404. This indicates that the file you are trying to download (the request to your Ajax.NET method) could not be found. It would be nice to get a more AJAX enabled friendly error message while the web application is offline. In my local version I have added <!-- App_Offline.htm --> to my App_Offline.htm source which indicates the Ajax.NET Professional library to throw a different error event than http status 404. It would be nice if Microsoft would add such information to a http header like this:

Posted by Michael Schwarz on Tuesday, April 11, 2006


Download new Ajax.NET Professional version 6.4.11.1

Changes done for version 6.4.11.1:

Posted by Michael Schwarz on Tuesday, April 11, 2006


Removed Object.prototype.extend for third-party libraries

I have published a new beta versiont that will get rich of the Object.prototype.extend that is in conflict with several third-party libraries. Download the beta at http://schwarz-interactive.de/download/6.4.5.2-beta.zip [1] and if you have any feedback please use the thread in the Google group here [2].

Posted by Michael Schwarz on Wednesday, April 5, 2006


Cookieless Session running with Ajax.NET Professional (ASP.NET 1.1, fix for 2.0)

The problem why cookieless sessions are not working in ASP.NET 2.0 is very easy, there is a change how it works internal. I have already fixed the code that it will work with ASP.NET 2.0 as with the older version 1.1. Have a look on the new release version 6.4.5.1 (or higher) in the next minutes on my web site [1].

Posted by Michael Schwarz on Wednesday, April 5, 2006


Ajax.NET Professional, enums and global onError/onLoading events

The version 6.4.4.1 [1] has fixed the missing enum support, now. To register an enum for client-side JavaScript code you have to add following code (the old AjaxEnum attribute is not needed):

Posted by Michael Schwarz on Tuesday, April 4, 2006


How to use a different file extension for Ajax.NET Professional

As a result of my last blogs [1], if you want to use a different file extension for the Ajax.NET Professional [2] JavaScript wrappers you can simply use ASPX or any other file extension. You only have to change your web.config file and tell the Ajax.NET Professional library to use that extension. I put an example project [3] in the Google group [4] that will use the ASPX file extension that is enabled by default for ASP.NET web applications.

Posted by Michael Schwarz on Monday, April 3, 2006


Download latest Ajax.NET Professional 6.4.3.2

Feel free to download the latest assemblies [1] for the .NET Framework 1.1 and 2.0 (ajaxpro.2.dll) from my web site. The example project download still includes the old version, don't forget to replace it with the newer release.

Posted by Michael Schwarz on Monday, April 3, 2006


Missing .ASHX Mapping will stop Ajax.NET running

Some web server hoster have removed the default .ASHX file extension mapping. Ajax.NET Professional (and the older library) will work using this mapping. Please ask your hosting company to add this file mapping for you, or if you have access to the IIS configuration go to your web site properties -> HomeDirectory.

Posted by Michael Schwarz on Monday, April 3, 2006


SQL Server 2005 and Ajax.NET Professional - RowNumber Example

I often want to display something like a DataGrid on my web sites with next and prev buttons to scroll through the complete table. Using SQL Server 2005 it is very easy to build such controls that are using the new RowNumber feature to get only a page of rows that are displayed on the page. If you click on next you will get the next n rows.

Posted by Michael Schwarz on Wednesday, March 15, 2006


Download your copy of the Ajax.NET Professional Source Code

The download of the Ajax.NET Professional [1] source code is available at http://www.ajaxpro.info/sourcecode.aspx [2]. Notice, that it is only the latest snapshot of my version to show my comments, and how I did it internal.

Posted by Michael Schwarz on Monday, February 20, 2006


AJAX Community (focus on .NET)

Yesterday on the launch event of Visual Studio .NET 2005 and SQL Server 2005 in Karlsruhe/Germany we had the idea to create a usergroup/community here in Germany for all Web 2.0 and AJAX developers. If you are interessted in joining such a group please write me a short email or use the contact form at this web site.

Posted by Michael Schwarz on Friday, February 10, 2006


Comparison of AJAX frameworks for ASP.NET

Daniel sent me his comparison of indirect AJAX programming frameworks for ASP.NET. As Ajax.NET [1] is a framework where you have to do JavaScript programming other frameworks allow you to use AJAX stuff simply by adding some configuration to you web.config or by inheriting from a special page class.

Posted by Michael Schwarz on Friday, February 3, 2006


I'm back...

Today I will talk to all of you and thank you for your help on Ajax.NET! Since end of last year I had to slow down the work on Ajax.NET because my body asked me for some hours to sleep. My nightly work on Ajax.NET was to much, I was working on the lib sometimes from 10 o'clock in the evening until 4 o'clock in the morning, had 3-4 hours to sleep, not enough for such a long periode.

Posted by Michael Schwarz on Thursday, February 2, 2006


I have received the Microsoft MVP Award

Congratulations and Welcome to the Microsoft® MVP Program! [...]*

Posted by Michael Schwarz on Thursday, January 5, 2006


XmlHttpRequest not working

The last weeks I done a lot of test because of the memory leaks using .innerHTML or events (closures). When building some test pages I ran into a problem. I reached 65.000 handles for iexplore.exe. From time to time I got a dialog box asking if I want to send data to a different location (the same question you get if you post data to a different domain). I clicked on yes, I clicked on no - both buttons are working, and my AJAX method, too. But some requests later I got the dialog box again, ...and again.

Posted by Michael Schwarz on Thursday, November 17, 2005


Fixed pre-release for Exception Handling

I posted a pre-release version to the Google group, download the latest pre-release version here [1].

Posted by Michael Schwarz on Friday, November 11, 2005


AutoComplete AJAX Control with Ajax.NET Professional

I have finished a more complex auto complete textbox you can use in you Ajax.NET Professional [1] web application. The control can be added on the server like other HtmlControls:

Posted by Michael Schwarz on Friday, November 11, 2005


AJAX problems for newbies

I have some items I learned about AJAX (or Ajax.NET Professional [1]) developer newbies:

Posted by Michael Schwarz on Wednesday, November 9, 2005


Ajax.NET Professional and the "missing" context

I had done a lot of changes to the JavaScript methods. With the new version I had removed the context that you could provide to have something like a "this" context.

Posted by Michael Schwarz on Tuesday, November 8, 2005


My wishlist... ;)

This week I got two mails from different companies asking me: "Michael, what can we do for you?"

Posted by Michael Schwarz on Saturday, November 5, 2005


More controls for Ajax.NET Professional

I get a lot of requests for new controls that are using Ajax.NET Professional [1]. Some don't want to use other controls, they are searching for the best (or right) way to develop such controls. I have added some examples already to my web site at http://www.schwarz-interactive.de/ [2]. Because AJAX controls and web sites have to be developed different to current web applications I will create some more examples.

Posted by Michael Schwarz on Saturday, November 5, 2005


Hey, VB.NET is back...!

I created the VB.NET examples and put the new files online. You can download the latest Ajax.NET Professional library 5.11.4.2 at http://www.schwarz-interactive.de/ [1]. I added the different control examples, too.

Posted by Michael Schwarz on Friday, November 4, 2005


An simple AjaxButton using Ajax.NET Professional

I have created an simple AjaxButton that will only call a method on the server-side code. There are no values sent to the server or back to the client. A new AjaxButton could serialize the form and send the data to the AjaxMethod.

Posted by Michael Schwarz on Friday, November 4, 2005


WebControls/ASCX and Ajax.NET Professional

I put a new example online that will show the use of WebControls and ASCX files: Examples/Special/controls.aspx [1]

Posted by Michael Schwarz on Thursday, November 3, 2005


Opera Technology Preview 9 and XMLHttpRequest http headers

Update: I get one request for the favicon.ico on every XMLHttpRequest request, that is strange, too.

Posted by Michael Schwarz on Wednesday, November 2, 2005


Chat about AJAX and Ajax.NET Professional tomorrow

The next chat will be on Thursday, 3 November at 20:00 UTC. I will use the same AJAX chat at http://treehouse.ofb.net/chat/ ?lang=en [1]. If you have problems calculating the correct time to your time zone use this link timeanddate.com [2].

Posted by Michael Schwarz on Wednesday, November 2, 2005


Ajax.NET Professional 5.11.2.1 examples online

I put the new examples for the Microsoft .NET Framework 1.1 and 2.0 online:

Posted by Michael Schwarz on Wednesday, November 2, 2005


Pre-release 5.10.31.1

I have put online one more pre-release version of the Ajax.NET Pro [1]version. See the list of changes and bug fixes (not complete):

Posted by Michael Schwarz on Monday, October 31, 2005


Pre-release 5.10.28.2

I published a new pre-release to the Google Ajax.NET Professional group [1].

Posted by Michael Schwarz on Friday, October 28, 2005


IJavaScriptConverter and class attribute

If you want to use a converter for your classes you can add the JavaScriptProvider attribute to your class that it will be used without the need of changing the web.config. This will allow developers to use components from third parties without changing their web.config.

Posted by Michael Schwarz on Saturday, October 22, 2005


IJavaScriptConverter are back in the next version

Because I got a lot of feedback that sometimes it would be nice to have my own converter I included the converter interface again. The default converter like IEnumerable, IList, NameValueCollection, HtmlControls (!!!!) , DateTime, all DataSet objects and IDictionary are included as source code.

Posted by Michael Schwarz on Friday, October 21, 2005


IHttpAsyncHandler in Ajax.NET Professional

In the next version I'm using the IHttpAsyncHandler instead of the synchronous handler IHttpHandler. The request now will run in a separate thread that cannot access the HttpContext.Current object. For this reason you have to implement the IContextInitializer interface to get the HttpContext in your class:

Posted by Michael Schwarz on Friday, October 21, 2005


IJavaScriptObject in the new version

With the new version you are able to get the real JavaScript wrapper objects that are used internal to representate the JavaScript objects. This will allow you to post any object from the client-side JavaScript code you want that does not exist as a CLR type:

Posted by Michael Schwarz on Friday, October 21, 2005


AJAX working as a TCP/IP connection

Today I have finished a working demonstration using AJAX as a TCP connection. With that demonstration you can use a HTTP connection as a real TCP/IP connection:

Posted by Michael Schwarz on Friday, October 21, 2005


AJAX in South Africa

My parents are currently on a business trip in South Africa, and they saw this AJAX writing:

Posted by Michael Schwarz on Friday, October 21, 2005


HTTP Limits Connections Per Server

"Clients that use persistent connections SHOULD limit the number of simultaneous connections that they maintain to a given server. A single-user client SHOULD NOT maintain more than 2 connections with any server or proxy. A proxy SHOULD use up to 2*N connections to another server or proxy, where N is the number of simultaneously active users. These guidelines are intended to improve HTTP response times and avoid congestion."

Posted by Michael Schwarz on Thursday, October 20, 2005


Ajax.NET Date Picker Control

AJAX Date Picker is a free ASP.NET 2.0 calendar control that utilizes AJAX techniques to get data from the server without an entire page postback. You can specify the clickable dates on a given month as well as other days like holidays, etc. A great application for this control is for those sites that uses some reservation system to select valid dates. For example a travel site can use this control to render only valid dates. This controls limits the user on what dates to click. As a result you have a hybrid client/server validation.

Posted by Michael Schwarz on Friday, October 14, 2005


Sample chat app using .NET 2.0

You can download [1]the changed chat [2] demo application at the Ajax.NET Professional Google group [3]. This is using an internal version of the library that will not have the memory bug.

Posted by Michael Schwarz on Friday, October 14, 2005


Chat today about Ajax.NET Professional

I got some requests on having chat sessions from time to time. Because we didn't searched for a good chat application we are using http://treehouse.ofb.net/chat/ ?lang=en for a first chat test today:

Posted by Michael Schwarz on Tuesday, October 11, 2005


Ajax.NET/Atlas Client Debugging

I read the blog from Rob Chartier [1] and want to show you a feature that is available in Ajax.NET and Atlas. Both libraries are adding debug methods to the client-side JavaScript code.

Posted by Michael Schwarz on Thursday, October 6, 2005


Pre-build to fix prototype problem with third party controls

I have uploaded a new pre-build 5.10.6.1 [1] of Ajax.NET Professional that will fix several bugs.

Posted by Michael Schwarz on Thursday, October 6, 2005


Inline code usage and Ajax.NET

I got some requests on how to use inline code with Ajax.NET. Here is a small demo that will get the server time:

Posted by Michael Schwarz on Thursday, October 6, 2005


Initial AJAX JavaScript objects

In some scenarios you will call an AJAX method direct after the window.onload event. The window.onload event will start an asyncronous method and wait for the response. As you can imagine the call will need some milliseconds to get the data back from the server. If you want to have the data available when the page first renderes you can add following code to you Page_Load event.

Posted by Michael Schwarz on Thursday, October 6, 2005


Awash in the myKB.com Ajax.NET Code

Scott Cate, a Microsoft MVP, has recently upgraded his popular myKB.com [1] site to use Ajax.NET. In this video, he takes us both on a tour of his new code, and at the same time also a little tour of the Pacific ocean!

Posted by Michael Schwarz on Thursday, September 29, 2005


Using Ajax.NET to create a real time user interface

With any web application there will need to be requests made to the web server to get the latest versions of dynamic data.  In an application like bttlxeMail Webmail every little action requires data to be retrieved from the server.  Selecting a message, flagging a message, checking for new e-mail, managing contacts, notes, calendar, meeting requests, etc - all of that data needs to be retrieved from the server.  Typically each request would be sent back to the web server and a new HTML page returned to the user’s browser with the updated content.  For a data-intensive system like ours though such an approach would introduce a serious performance problem, both putting stress of the server and causing long delays for the user.

Posted by Michael Schwarz on Thursday, September 29, 2005


Ajax.NET Professional - Google Group

Because I get a lot of questions several times I have decided to create a Google Group [1] (http://groups.google.com/group/ajaxpro [1]) to have something like a forum available for all Ajax.NET developers. Feel free to join this group [2] and give feedback about using Ajax.NET Professional. The current version of the library is available at http://ajaxpro.schwarz-interactive.de/ [3].

Posted by Michael Schwarz on Thursday, September 29, 2005


AJAX and back button

I had already some discussion about the back button problem with AJAX related applications. In some scenarios we need this behavior, not for every action. But what we should seperate: the back button is not an undo button. I'm not sure if it is possible to create such a undo function. If it is possible the page must call a method on the server to undo all the actions, ... hm, very difficult.

Posted by Michael Schwarz on Wednesday, September 28, 2005


Ajax.NET Visual Studio .NET 2005 Installer

I put a small template installer on my web site at http://ajaxpro.schwarz-interactive.de/download/AjaxNetProfessional.vsi [1]. This Visual Studio installer will add a web site project template for C# and VB.NET.

Posted by Michael Schwarz on Wednesday, September 28, 2005


Atlas Callback, Timeout and Error Handler

Because we are still missing some more docs about the Atlas Framework I have check the JavaScript files to give you a short overview over the use of how to write callbacks in the same way Ajax.NET Professional [1] is doing this. The JavaScript wrappers are generated on-the-fly, without any caching. If you have a look in the generated files you will see that they are similar to the generated files using Ajax.NET Professional [1]:

Posted by Michael Schwarz on Wednesday, September 14, 2005


Atlas AutoComplete Feature (UPDATED)

Yesterday evening I build some example code for the AutoComplete feature in Atlas. What you need as first it the AtlasCore.js JavaScript which will give core functions to the page:

Posted by Michael Schwarz on Wednesday, September 14, 2005


Atlas Framework Fiddler Plugin

I tried the new Fiddler [1] inspector plugin [2] and it is working for the Atlas response, too! Atlas is returning an JSON string back to the client-side JavaScript that can be displayed as a tree view in Fiddler. Download the free Fiddler inspector plugin at http://ajaxpro.schwarz-interactive.de/download/AJAX.zip [2].

Posted by Michael Schwarz on Wednesday, September 14, 2005


Fiddler Inspector for Ajax.NET Professional

While here at the PDC 05 in Los Angeles I got the request to upload the Fiddler inspector for Ajax.NET Professional calls. Click here [1] to download the latest Ajax.NET Professional library and the Fiddler inspector DLL. Please copy the file AjaxFiddlerInspector.dll to the folder c:\Program Files\Fiddler\Inspectors. The should appear a new inspector called Ajax.NET which will display the request and response in a tree view control.

Posted by Michael Schwarz on Monday, September 12, 2005


Ajax.NET Professional Update

I have updated the example web site with the latest beta version of Ajax.NET Professional [1]. The current version has fixed some small bugs and added full date support including time zone.

Posted by Michael Schwarz on Thursday, September 8, 2005


Second beta with caching, token, ... support

I have published the second beta for the Ajax.NET Professional [1] library. Feel free to download the free library including the online example written in C#.

Posted by Michael Schwarz on Tuesday, September 6, 2005


Download new latest beta version for Ajax.NET Professional

I have added a very simple demo page that will show the features are currently in the downloadable beta [1]version. See my new web site at http://ajaxpro.schwarz-interactive.de/ [2].

Posted by Michael Schwarz on Friday, September 2, 2005


Ajax.NET Professional - everyone invited to test the beta

I have put a first beta of the new library that is rewritten to support objects as arguments (like submitting a complete DataSet from JavaScript code), export of enums to JavaScript, script wrappers are cached on the server and marked with the HTTP ETag to save bandwidth, allow encryption of data stream (client and server-side), using Namespaces on client-side JavaScript, ...

Posted by Michael Schwarz on Thursday, September 1, 2005


Caching of AJAX script files

I added the HTTP header value ETag [1] to my scripts that they can be cached on the client. This will fasten up initial loading of the complete page if the scripts are not changed, what is the default on running systems. I think this feature was missing in the old library, all the client-side stuff was sent to the client.

Posted by Michael Schwarz on Thursday, September 1, 2005


Searching for Ajax.NET Professional beta testers...

Hi to all Ajax.NET developers,

Posted by Michael Schwarz on Thursday, September 1, 2005


Sending a System.Data.DataSet to an Ajax.NET Professional method

I have added some small .NET object wrappers to the client-side JavaScript. As an example I have build a DataSet wrapper that you can use to submit a DataSet to the server using AJAX in the same way you are using DataSets on the server-side .NET code:

Posted by Michael Schwarz on Thursday, September 1, 2005


Enums working with the new library

As enums are not working very good using my Ajax.NET library I have added a new implementation of handling enums. Each enum value will be returned as the integer value inside the enum.

Posted by Michael Schwarz on Tuesday, August 30, 2005


Ajax.NET Professional and how we can secure our calls

I had some requests asking if it would be possible to encrypt the JSON string without changing the common.js or any other file. Yes, you will be able to integrate your encryption algorithm. In the first version I will add a simple encryption to show you how encryption will work. For each Ajax.NET method you can define if you want to use it or not.

Posted by Michael Schwarz on Tuesday, August 30, 2005


Ajax.NET Professional Demonstation Site

I'm working on a first demonstration site for Ajax.NET Professional. Maybe you can help me to decide which examples you want to see: AutoComplete, Banners, HtmlUpdater, FormUpdater, ...

Posted by Michael Schwarz on Tuesday, August 30, 2005


Combine JavaScript, Ajax and WebControls

There are a lot of ways how to combine these three technologies: JavaScript, Ajax and WebControls. One problem is how a control can be rendered on the client-side JavaScript and on the server-side. If you have a look at http://demo2.pctopp.com/default.aspx [1] (username and password "danny", demo is only working in Internet Explorer 5.x or higher) you can see at the right side a green box with some counting values. If you refresh the page the initial values are already there. On the server I write the initial values as a JavaScript variable to the HTML page using the Ajax.JSON.DefaultConverter:

Posted by Michael Schwarz on Thursday, August 25, 2005


JavaScript and Namespaces (howto)

On one of my last blogs [1] I wrote about the way using namespaces in JavaScript. Some developers asked me how to create namespaces in JavaScript. Following short example will have a registerNS method which will create the necessary objects (our namespaces).

Posted by Michael Schwarz on Thursday, August 25, 2005


Google Talk is cool!

I have downloaded the new Google Talk IM Client [1], really cool! I love the new UI. You can reach me at my Gmail account michael.schwarz. For those of you do not have a Gmail account: https://www.google.com/accounts/SmsMailSignup1 [2] or write me a message (I still have enough invitations). What I am missing is a simple file transfer and getting a notify if someone is connecting. But the VoIP call is working great.

Posted by Michael Schwarz on Wednesday, August 24, 2005


BorgWorX Ajax.NET - howto get a free license

Because there are a lot of developers frustrated by the license of the BorgWorX Ajax.NET source code I will help [1] you how to use the source code in your environment. If you send me your email and mailing address including company name you will get a license to use the Ajax.NET source code in your projects. The only thing you have to do is: send bugfixes or new features (C# source code) to one of the authors email address or using SVN (account needed first). You are not allowed to create a standalone AJAX library with the Ajax.NET source code. Build your own controls using the powerful Ajax.NET library.

Posted by Michael Schwarz on Wednesday, August 24, 2005


Google Talk website online

If you have already heard about the Google Instant Messanger client Google Talk [1], the domain is already available: http://talk.google.com/ [2]. This sub domain will redirect to http://www.google.com/talk/ [3] like Gmail and other Google Services are redirecting. So, we have to wait... maybe until tomorrow [1]? See more details on Google News [4].

Posted by Michael Schwarz on Tuesday, August 23, 2005


Using NameSpaces in JavaScript

For those of you still working with the problem of same variable names in JavaScript. Why don't use namespaces on the client, too? On my working library I have added this feature and some namespace-related methods to all my JavaScript files:

Posted by Michael Schwarz on Friday, August 19, 2005


BorgWorX - The Open Source development platform for Ajax.NET

Christian Hubinger has updated the Wiki at http://www.borgworx.com/ [1]. You will find detailed information how you can get a license to use the Ajax.NET library in your projects. Also, Christian has added a info how you can become a BorgWorX developer [2] to submit changes using the SVN repository. A forum will be online next week, too.

Posted by Michael Schwarz on Friday, August 19, 2005


What is AJAX? And why we (don't) use AJAX...

I read the blog from Wallace What is AJAX [1]? Yes, what is AJAX and why do we want to use AJAX?

Posted by Michael Schwarz on Monday, August 8, 2005


Ajax.NET Source Code moved to SediSys

Since the day before yesterday SediSys (http://www.sedisys.com [1]) is the new owner of the source code for the Ajax.NET library. SediSys will make the source code be available as an Open Source Project. Hopefully we can make the Ajax.NET library together a powerful AJAX related free library.

Posted by Michael Schwarz on Friday, August 5, 2005


WebServices and Ajax.NET

Some developers asked me if it is possible to use WebServices (WebMethods) in Ajax.NET. Yes, of course, you can add the AjaxMethod attribute to the method. Ok, you do not want to change the WebService source code? My next release will include the possibility to add a simple JavaScript line in your HTML page to access your web services from the client side.

Posted by Michael Schwarz on Monday, August 1, 2005


Large IIS LogFiles using Ajax.NET

For those of you did not had a look at the LogFiles: using Ajax.NET or any other AJAX library will increase the HTTP requests made to the server. If you have enabled the log files you will get very large files.

Posted by Michael Schwarz on Tuesday, July 26, 2005


Ajax.NET for Microsoft ASP.NET 2.0 (beta)

I have compiled the Ajax.NET library for the Microsoft .NET Framework 2.0 (beta). You can download the ajax.dll from http://ajax.schwarz-interactive.de/download/ajaxbeta.zip [1]. If you have time please give me some feedback if it is running or not in your ASP.NET 2.0 projects.

Posted by Michael Schwarz on Monday, July 25, 2005


Ajax.NET version 5.7.22.2

I updated the latest release of the Ajax.NET library (5.7.22.2) on my website http://ajax.schwarz-interactive.de/ [1]. To download the library click here [2]. The new ajax.dll is not included in the exmaple zip file!

Posted by Michael Schwarz on Friday, July 22, 2005


AJAX in Microsoft ASP.NET 2.0

As you can read on the Microsoft Product Feedback Center the idea of adding AJAX support to Whidbey is to late. But Microsoft will think about it:

Posted by Michael Schwarz on Wednesday, June 8, 2005


Ajax.NET is now supporting all build-in types

Sorry, I still forgot some types. Now, I added all build-in types. You can download the latest Ajax.NET Library at http://ajax.schwarz-interactive.de/ [1]. The current version is 5.6.3.1.

Posted by Michael Schwarz on Friday, June 3, 2005


Ajax.NET and HtmlControls, Request Cache, Namespace Mappings,...

I have released the next version of the free Ajax.NET Library [1]. You can download the latest version 5.6.2.1 at http://ajax.schwarz-interactive.de/ [2].

Posted by Michael Schwarz on Thursday, June 2, 2005


Cojax, an Ajax style code viewer using Ajax.NET

Scott Watermasysk put together a nice example of Ajax called Cojax [1]. Cojax is an ajaxian source code viewer using the free Ajax.NET Library [2] which consists of:

Posted by Michael Schwarz on Monday, May 30, 2005


Ajax.NET 5.5.30.3 (cookieless support)

There is a new version available at http://ajax.schwarz-interactive.de [1]. Feel free to download the version 5.5.30.3 with following fixes:

Posted by Michael Schwarz on Monday, May 30, 2005


Ajax.NET and large arguments

On issue I never tested was the length of the request. Because browsers do not allow to use long URLs (I don't know the maximum lenght) you could get a script error on the client-side if the arguments send to the server are too long. I have fixed this in version 5.5.12.3 [1] that will be available for download.

Posted by Michael Schwarz on Wednesday, May 11, 2005


Ajax.NET Library version 5.5.10.1

I fixed the ArrayList and custom class problem. The C# example has been changed to make a test method for arrays (ArrayList, StringCollection, []). There is also a test for a custom class. (Note: currently there is no support for classes that inherit from CollectionBase, I will have to check how to do this in JSON.)

Posted by Michael Schwarz on Tuesday, May 10, 2005


Ajax.NET - new version available (5.5.8.1)

Sorry for the delay on my current release, but the new version is available, now!!

Posted by Michael Schwarz on Monday, May 9, 2005


Ajax.NET - static methods and AjaxRequireSessionState

The session state will be available only if you add the new Ajax.AjaxRequireSessionStateAttribute . The last release did add the session state for all methods. See the new examples at http://ajax.schwarz-interactive.de/ [1].

Posted by Michael Schwarz on Tuesday, April 26, 2005


Ajax.NET and GotDotNet workspace

As I wrote in one of my last blog source code has been copied from the GotDotNet workspace and some files have been changed (removed Copyright,...). I have stopped the workspace because I am not sure how to handle this. Also there is a problem with the maximum member count on GotDotNet. There are still 22 pending users.

Posted by Michael Schwarz on Friday, April 22, 2005


Debug Internet Explorer Javascript

Only one tip that I didn't know before: When you want to debug Javascript code you can start your debugger (Visual Studio .NET or Script Debugger), search for the correct iexplore.exe process, attach it and go on debugging.

Posted by Michael Schwarz on Tuesday, April 19, 2005


Gmail and forbidden extensions

Some months ago I tried to send a ZIP file containing a EXE file which is forbidden to be sent on Gmail. Gmail is extracting the ZIP file and will not send the email until it is removed. Some users have renamed the ZIP file to something like dummy.dat. The receipient has to reanme it back...

Posted by Michael Schwarz on Saturday, April 16, 2005


Ajax.NET - new release with Usage Guide

A new version is available free for download at http://ajax.schwarz-interactive.de/download/ajax.zip [1] including a usage guide and a quick start.

Posted by Michael Schwarz on Thursday, April 14, 2005


Download Ajax.NET Wrapper usage guide

You can download a first usage guide for the Ajax.NET Wrapper DLL at http://ajax.schwarz-interactive.de/download/AjaxGuide.doc [1]. Thanks Karl for writing this useful documentation!!! A quick guid is available as text file at http://ajax.schwarz-interactive.de/download/quickGuide.txt [2].

Posted by Michael Schwarz on Thursday, April 14, 2005


Ajax.NET Wrapper with new features

I have added this night some features for the Ajax.NET Wrapper DLL:

Posted by Michael Schwarz on Wednesday, April 13, 2005


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


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


Multiple Browsers Window Injection Vulnerability (Fix?)

I have done some test on the new vulnerability of most common browsers. I tried to get more information on how to fix this. First I tried to get the URL of the popup window, but the problem is that you get your URL, not the URL of the hijacked displayed page, you cannot check if the current page is your page. Also, the HTML code (window.document.body.outerHTML) is the HTML code of your page.

Posted by Michael Schwarz on Thursday, December 9, 2004


SQL Server Stored Procedures Class

The last days I had to build a web application with a lot of stored procedures to a SQL Server database. Because I had to change parameters very often I decided to write a simple wrappr for these stored procedures.

Posted by Michael Schwarz on Wednesday, December 8, 2004


Google indexing your hard disk

For all the Google fans, here is the first local Google search: <font color="#0000ff" size="2">http://www.desktop.google.com/</font> [1]

Posted by Michael Schwarz on Thursday, October 14, 2004


Create a copy of an existing SQL Server database

I was searching for an easy way to create a copy of an existing live database and put it on the same SQL Server in a test database. Because I didn't find a good stored procedure I build my own SQL. To use it I put the code to the master database as a stored procedure, now I can run one short command to get a copy!

Posted by Michael Schwarz on Thursday, August 26, 2004


Windows XP Service Pack 2 Security Problems

I read on the heise c't magazine security list some security issues with the Service Pack 2 for Windows XP. The article talks about the zone identifier in the NTFS file. If you download a file from the internet the file will be marked with a ZoneIdentifier in a NTFS stream. This stream will be used to decide to show a warning dialog. The warning dialog will allow you to decide wether you want to start this file or not.

Posted by Michael Schwarz on Wednesday, August 18, 2004


Check you Internet Explorer (Win XP SP2) Settings

On this german website you can run several test for the new security settings:

Posted by Michael Schwarz on Tuesday, August 17, 2004


SMTP Server (create temporary email addresses)

I am still developing my own SMTP server. A lot of people asked me why do I don't offer a POP3 server to get the emails. "Only a webfrontent is not enough for us...!" Ok, I started to create a POP3 server that will offer the messages. As you know already a demo server is running for the domain schwarz-webtools.de. If you want to have a test account you can a message to robot @ schwarz-webtools.de with the subject new email and you will get the account details for your POP3 mailbox.

Posted by Michael Schwarz on Friday, July 16, 2004


A sample on how to use the SetCookieEx function

A lot of pages in my intranet application are using now the SetCookieEx functions. One of my .HTC components will be similar to the System.Collections.CollectionBase object in .NET. You can add this .HTC component to your page and use it f.e. for a shopping cart.

Posted by Michael Schwarz on Friday, July 16, 2004


Use Javascript objects like you do it in C#

While developing websites (intranet applications) I had to save a lot of information on the client or for a user. First, I used cookies to save information. I noticed that I can only save up to 20 cookies with a lenght of about 192 chars I searched for a new way of saving cookies. While I am only developing intranet applications for the Internet Explorer, I decided to use a webservice to save cookies.

Posted by Michael Schwarz on Friday, July 16, 2004


Microsoft SQL Server 2005 (beta) installation files

For the installation of the new Microsoft SQL Server 2005 (beta) you have to copy the files from c:\6091bfe0e40c1cb8ef (perhaps this id is different). Note: You cannot copy the complete folder because of an open reg file. Copy only the other files to a different location and you can use the setup for your laptop.

Posted by Michael Schwarz on Wednesday, June 30, 2004


Visual Express 2005 (beta) installation

If you start the installation for the new Visual Express 2005 (beta) developer tools you will need more time while installing because of the additional download of the tools (.NET Framework 2, ...).

Posted by Michael Schwarz on Wednesday, June 30, 2004


SMTP Server (more tests please)

First, I will thank you for your help in the last weeks! It was a pleasure for me getting so much feedback.

Posted by Michael Schwarz on Thursday, June 24, 2004


Change MSDE Security and Authentication

Yesterday evening someone of the INETA User Group Franken (Germany) asked me how to change the MSDE Security and Authentication. I will describe in some short words how to do this:

Posted by Michael Schwarz on Wednesday, June 23, 2004


Only develop for Internet Explorer 6?

I do not know if you already saw the Google Zeitgeist. But I think it is a good statistic on how the people browse through the internet. If i look at my own statistic log files I can see a similiar browser usage.

Posted by Michael Schwarz on Saturday, June 19, 2004


Create code-behind files for resource.resx

As I saw in the next generation of Visual Studio .NET there is a code-behind file for resource files. I tought this is an idea to create a small macro doing the same job.

Posted by Michael Schwarz on Wednesday, April 14, 2004


.NET Developer Meetings to look at code samples

I'd like to start a a developer meeting in Germany (Nuremberg) the next months. The idea is different from the idea of the .NET user groups. I heared about the INETA communities, but the problem here is that there are a lot of developers starting with .NET without any knowledge about .NET.

Posted by Michael Schwarz on Saturday, April 10, 2004


VML class with Source Code

What do you think about our first VML class. I will spend more time on it to enable full scripting support for VML elements. At the moment it is only a first test. It is working as the Graphics GDI functions in System.Drawing. Have a short look on the samples:

Posted by Michael Schwarz on Tuesday, April 6, 2004


RSS Reader (or is it Feed Reader) Class Library

I am searching for a good .NET class library for RSS feeds that is free and can be redistributed also for free. Does anyone know a good version?

Posted by Michael Schwarz on Monday, February 23, 2004


XmlDocument/XmlElement and the xml:space

When using XML with the Microsoft.XMLDOM ActiveX object I had to put the xml:space attribute to every element where I do not want to remove the blanks at the end of the text. When trying to add an attribute with the name "xml:space" I do not get the result I want. Following short code I have to use to set the xml:space attribute in .NET (C#):

Posted by Michael Schwarz on Monday, February 16, 2004


Preinstalled .NET Framework

This week I am in Madrid, Spain, to install our software for a new customer. They have bought some new PCs, and the nice thing is that there is already a preinstalled version of Microsoft .NET Framework 1.1. They told me that there are already a lot of hardware stores that offer this service by default. Hardware stores worldwide: Please add this to your image, too! Thanks!

Posted by Michael Schwarz on Tuesday, February 3, 2004


Windows XP SP2 Firewall and ConsoleApplication1

If you are using the new Windows XP SP2 (at the moment in beta) there will apear the firewall settings if one of your programs try to access the internet or are listening on at least one port. The Windows XP SP2 firewall will display all programs that tried to access the internet in one list. All of us that are creating ConsoleApplication1 for demonstration of libraries do not fill the settings in the AssemblyInfo.cs. The problem now is that you will not see any title in this list. After a rebuild the firwall wizard shows again the list with another item that will not display a title, so: Which one do you want to choose?

Posted by Michael Schwarz on Friday, January 23, 2004


Import XML Nodes from differnet XmlDocuments

Everytime I see a developer coming from Visual Basic or Javascript doing some XML developemnt I get a question: How do I import a XmlNode from a different XmlDocument?

Posted by Michael Schwarz on Thursday, January 22, 2004


Do you know the year 1601??

Today I tried to get the CreationTime of the bin/webapplication1.dll. I was in the wrong directory, so there was no webapplication1.dll. The nice think was, that I did not get any exception and a nice date: 1.1.1601 (minvalue of file dates).

Posted by Michael Schwarz on Tuesday, January 13, 2004


SMTP and POP3 Server beta running for testing

Currently not available!

Posted by Michael Schwarz on Tuesday, January 13, 2004


My own forum (C#)

I am developing an own forum for a customer. Currently I have only done a first table setup and some pages to add new threads, posts,... If you have some minutes to test the forum at http://forum.schwarz-interactive.de/threads.aspx?forumid=1 [1] and report any errors to my emailadress. I will offer the C# source code in the next days.

Posted by Michael Schwarz on Tuesday, December 9, 2003


It is working on Pocket PCs, very simple...!

As I posted some weeks ago I am using DHTML and Javascript to display values I get from a webservice on my html page. The new thing is that I can do this with the Pocket PC device without changing the code. Thanks Microsoft for the nice ActiveXObject "Microsoft.XMLHTTP" that is installed on Windows clients (I think it will be installed with IE4 or IE5) and on Pocket PCs.

Posted by Michael Schwarz on Tuesday, December 2, 2003


Using TEXT-OVERFLOW instead of Wrap, Clip or MeasureString

I read the last post http://weblogs.asp.net/despos/posts/40186.aspx [1] and I am not sure if this is the best solution having nice formatted columns/rows. For this problem I'm using the CSS style TEXT-OVERFLOW:ellipsis (http://msdn.microsoft.com/.../textoverflow.asp [2]) and a small javascript (it is a HTC file).

Posted by Michael Schwarz on Friday, November 28, 2003


WYSIWYG TextBox for ASP.NET

I know that there are already a lot of WYSIWYG editors for ASP.NET in the interent. At the moment I did not find a good one that is free and I can redistribute with my software. I tried to create a new one and I would be happy if there is someone you will have a short look at http://forum.schwarz-interactive.de/textbox.aspx [1].

Posted by Michael Schwarz on Friday, November 21, 2003


Windows Media Player 9 Remote Access from Pocket PCs

On http://smartdevice.microsoftdev.com/Learn/Articles/665.aspx [1] Duncan Mackenzie describes how to use remoting and a Pocket PC to create a simple remote control for Windows Media Player 9. Perhaps someone like to create a webservice doing this job for websites?

Posted by Michael Schwarz on Thursday, November 20, 2003


ASPNET account and network access

After the installation of the .NET Framework you will find the ASPNET account on the local computer. If you start a ASP.NET web application this account will be used by the ASP.NET worker process (aspnet_wp.exe). For security reason the user has only some privileges, of course, no network access.

Posted by Michael Schwarz on Monday, March 31, 2003


ORM.NET 1.3 Released

ORM.NET - Object Relational Mapping Tool - is a powerful development application that auto-generates a data layer object model based on your SQL database schema. The generated run-time component exposes all tables as classes and columns as properties.

Posted by Michael Schwarz on Monday, March 31, 2003


Microsoft Windows XP 64-Bit edition

Microsoft sent the Windows XP 64-Bit edition version 2003 into the press works. The Desktop platform is optimized for the Itanium 2 of Intel. Microsofts operating system for High performance Desktops and workstations is to be introduced officially on 24 April. In the second quarter the bottom plate is to come from Intels of second Itanium generation and Microsofts 64-Bit-Windows on the market.

Posted by Michael Schwarz on Monday, March 31, 2003


Using a WebService with DHTML and Javascript

I have been asked several times how to use a WebService in a DHTML application on the internet using Scripting. Ok, I have created a small sample using Javascript and Microsoft.XMLDOM ActiveX objects (you have to use Internet Explorer 5 or higher).

Posted by Michael Schwarz on Sunday, March 30, 2003