Welcome to Michaels Blog

All posts published in 2006

Blog of latest news, updates, and stories for developers

Updated Version of WPF/E Pad

Mike Harsh [1] has updated his WPF/E Pad. The new version has the following changes:

Posted by Michael Schwarz on Friday, December 29, 2006


WPF/E Plugin Update: how does it work?

Today I had a look on how the WPF/E plugin will check if there is a new update available. Would it be in Windows Updates or is there any automatic update done?

Posted by Michael Schwarz on Monday, December 25, 2006


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


A short list of WPF/E exmaples

http://mtaulty.com/wpfe/ex2.html [2] http://mtaulty.com/wpfe/ex3.html [3] http://mtaulty.com/wpfe/ex4.html [4] http://mtaulty.com/wpfe/ex5.html [5] http://mtaulty.com/wpfe/ex6.html [6] http://mtaulty.com/wpfe/ex7.html [7]  (nice video animation)

Posted by Michael Schwarz on Thursday, December 14, 2006


WPF/E VS2005 Template (ASP.NET Version)

I found a post [1] on Paul Glavichs [2] blog about the WPF/E Visual Studio .NET 2005 template:

Posted by Michael Schwarz on Thursday, December 7, 2006


More WPF/E and Flash Integration Madness!

I found again a very nice example on how WPF/E and Flash are working together. Lee [1] has written an example where you will see WPF/E and Flash side-by-side, you don't see the difference.

Posted by Michael Schwarz on Wednesday, December 6, 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


Pending Members - Google Groups XSS Bug [Part 1]

During the weekend I found an script error on the Google pending members web page. Because I was using the new Google groups beta interface I didn't looked on it. But today the script error still occurs and I noticed the same error on the older version, too. I had a look inside the generated html output and found that there was a script tag that was not closed, ah, it was a membership request message.

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


Syntax error: line 1 using Microsoft ASP.NET AJAX [part 2]

Last Friday I wrote about the problem [1] of atlasglob.axd on MSDN. Today I did several tests and found out that the Accept-Language is one of the problems there, and that is the reason why not everyone got this JavaScript error.

Posted by Michael Schwarz on Tuesday, November 28, 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


Showcase of Sites Powered by ASP.NET AJAX

I had some time to have a look at the showcases of sites powered [1] by ASP.NET AJAX [2]. There are a couple of new web sites available that I didn't looked at. I started my Internet Explorer, Fiddler [3] and Ethereal [4] and captured everything I got. Here are my results:

Posted by Michael Schwarz on Tuesday, November 28, 2006


Syntax error: line 1 using Microsoft ASP.NET AJAX

I read the last post [1] from Rick Strahl [2] about IE 7 Script Errors. Yes, I found this already on some sites, too, so I started to find the real issue.

Posted by Michael Schwarz on Friday, November 24, 2006


Endlich Windows Vista auf Deutsch!

Endlich ist es soweit, Windows Vista ist auf Deutsch verfügbar über MSDN [1] und Technet. Mal sehen wie, ob die Deutschen auch so verrückt sind nach der ISO Datei, und Microsoft den Download wieder entfernt. Also, nicht alle auf einmal... ;)

Posted by Michael Schwarz on Wednesday, November 22, 2006


Windows Update und IE7

Heute ist es soweit, die meisten Windows XP Benutzer werden den Internet Explorer 7 über das automatische Windows Update erhalten. Interessant sind die Details des Updates: "Features zur Erleichertung täglicher Aufgaben wie Drucken und Suchen im Web" - hm, was genau ist damit gemeint?

Posted by Michael Schwarz on Tuesday, November 21, 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


The top 10 mistakes when using AJAX

The last months I found more and more web sites that make a heavy use of AJAX to be on the Web 2.0 train, but a lot of them are very strange because they are slower than before, you will get more errors and sometimes nothing does work (i.e. when running on a mobile device). Here are my top 10 mistakes when using AJAX (not depending which framework you want to use):

Posted by Michael Schwarz on Monday, November 20, 2006


.NET Developers Group München - Web 2.0 für Webentwickler

Ich bin morgen Abend (20. November 2006) bei der .NET Developers Group München [1] und spreche über Web 2.0. In meinem Vortrag möchte ich verschiedene Frameworks (Yahoo! UI, Dojo, AjaxPro [2], Microsoft ASP.NET AJAX) kurz vorstellen, und auch Funktionen zeigen, die viele bis jetzt wohl noch nicht kennen (wie z.B. das lokale Cachen von Daten oder eine Offline AJAX Anwendung). Außerdem habt ihr die Chance Bücher zum Thema AJAX zu gewinnen, es lohnt sich also auf jeden Fall vorbeizuschauen.

Posted by Michael Schwarz on Monday, November 20, 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


What's next with AjaxPro?

That's a good questions: what's next with AjaxPro [1]? I'm still working on the Java port of AjaxPro, working already very good. During the port I found several new ideas on how to improve AjaxPro.

Posted by Michael Schwarz on Wednesday, November 15, 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


How to create screenshots from web sites? thumboo.com is the answer!

From the idea of Juan Xavier of websnapr [1] I started yesterday to write my own screenshot capture engine, and it is working already very nice. I registered a new domain called thumboo [2] (thumbnails and a cool "oo" as it is in Google or whatever).

Posted by Michael Schwarz on Tuesday, October 24, 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


Albert Weinert will talk about Ajax.NET Professional in Cologne, Germany

Alber Weinert [1] is talking [2] about Ajax.NET Professional [3] (and details on JSON [4]) in Cologne, Germany:

Posted by Michael Schwarz on Wednesday, July 19, 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


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

As there was a little discussion [1] about serialization of .NET types and deserialization of these genereted JSON strings I have updated Ajax.NET Professional [2] (version 6.7.9.1) to allow parsing of new Date statements, too. You can use the JSON generated string to do a deserialization right after, now.

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


Google talk and "Binary and script behaviors"

Today I found something interesting when using different security in Internet Explorer settings. If Binary and script behaviors is disabled in internet sercurity settings Google talk user images are not displayed. Hm, didn't know that Internet Explorer settings will change user expierience of Google talk.

Posted by Michael Schwarz on Monday, July 3, 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


IE7 and no native XMLHttpRequest support

This weekend I had a deep look on the native XMLHttpRequest support with the new Internet Explorer version 7 which is still in beta. If you do a Google search for "native xmlhttp support ie [1]" you will read that everyone is happy with this native support. Yes, it is the first step to have XMLHttpRequest on every PC. Ajax developers have changed their JavaScript source code to support this new object, this is great!

Posted by Michael Schwarz on Monday, July 3, 2006


[DE] Dodned .NET Franken Usergroup Treffen

Dieter Föttinger schreibt auf seinem Blog [1] folgendes zu dem Usergroup Treffen [2] (INETA Usergroup Franken) gestern Abend:

Posted by Michael Schwarz on Thursday, June 29, 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


Ajax and latency problems

I tried to get more information about the speed of AjaxPro calls on my web site. First of all I did a research on how the latency of internet connection will change the duration. For this I run a test for my web server at http://just-ping.com/ [1]. You will see that Nürnberg, Germany will be always the fastest because it is located near to my web servers location.

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


Ajax.NET Professional 6.6.2.2 with new Converters

I put the new version online, download the latest DLL at http://www.ajaxpro.info/ [1]. There are a lot of performance changes done, and the lib is now working perfect with the script.aculo.us effects. A not yet finished updated version of the Starter Kit is online, see http://munich.schwarz-interactive.de/ [2]. See the changes here:

Posted by Michael Schwarz on Friday, June 2, 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


[INETA] Treffen der Stars in Franken - Dodned Live

Dodned Live: Treffen der Stars in der fränkischen Metropole ... Michael Schwarz mit Ajax.NET Professional [2], Daniel Zeiss mit ComfortASP.NET [3] und Oliver Scheer, Microsoft, mit Atlas Framework [4]. Voraussichtlich am 26.06.2006 (yup, WM-Spielfrei...). Buchverlosung wie üblich. Stay tuned for more ...

Posted by Michael Schwarz on Wednesday, May 31, 2006


Download Microsoft Office System 2007 Beta 2

Now the first public beta for the new Microsoft Office System 2007 is available, be one of the first you get it. Use following link [1] to register with your Passport account and download it for free:

Posted by Michael Schwarz on Tuesday, May 23, 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


Wiki Example using ProntoWiki

I have found a great wiki project on SourceForge called ProntoWiki [1]. The next days I will see where Ajax.NET Professional would fit best in this wiki project. You will find an updated version here: http://munich.schwarz-interactive.de/wiki.aspx?wiki=default [2]

Posted by Michael Schwarz on Sunday, May 21, 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


Google vs Ajax.NET Professional

Today Google put the GWT (Google Web Toolkit [1]) online which includes several UI controls, but also the possibility to exchange data between server and client and back. While downloading the framework and watching the examples I found following page: Sharing objects between Java source and JavaScript [2]. Hm, if I compare the data types that are supported with Ajax.NET Professional [3] I feel happy. Since I added more .NET 2.0 support like generic Dictionary or Nullable types... I can use any code that I'm currently using, great. In the last weeks I removed a lot of old common ASP.NET postbacks to AJAX requests. Most features could easily replaced by adding only the AjaxMethod attribute, no other C# code had to be changed. On the client-side, of course, I had to write some JavaScript, but this you have to do everytime you are talking about Web 2.0 or AJAX.

Posted by Michael Schwarz on Wednesday, May 17, 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


Why UpdateControls are dangerous (or: why Fiddler is a great tool)!

The next days I will have a deeper look into web sites that are using AJAX frameworks that will replace the typical postback used in ASP.NET.

Posted by Michael Schwarz on Sunday, May 14, 2006


Why live.com is slow...

Scott Isaac has posted an article some weeks ago why live.com [1] is slow or "What they learned building live.com [2]":

Posted by Michael Schwarz on Sunday, May 14, 2006


Why live.com is slow...

Scott Isaac has posted an article some weeks ago why live.com [1] is slow or "What they learned building live.com [2]":

Posted by Michael Schwarz on Sunday, May 14, 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


I'm searching for Internet Explorer 5.0

To have more tests on older web browsers I need the full setup files for Internet Explorer 5.0. Does anybody of you have a CD from a magazine that you can send me? Internet Explorer 5.0 and 5.5 are not any more available through the MSDN because of the Java virtual machine. Would be nice to get old web browsers running...

Posted by Michael Schwarz on Thursday, May 11, 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


Web Page Analyzer and overall traffic

I the last weeks I used Fiddler [1] to see what is sent over the lines on initial start of a web site and during the web application is running. You can simply mark more than on request line. On the right side you will then see in the Performance Statistics how many bytes are received from the client.

Posted by Michael Schwarz on Tuesday, April 4, 2006


Why is it hard to compare AJAX libraries?

Months ago I started several chats with a lot of AJAX developers, some are using my Ajax.NET Professional [1] library, others are working directly with the XMLHTTPRequest object. I had a look around and found that there are a lot of other libraries that are not working like my lib. The big difference is that they are using ASP.NET in the traditional way, drag&drop web controls on the page, add some event handlers and write two or three lines of code. With Ajax.NET Professional I completly remove the web controls from my mind. Some parts of my web sites are using web controls for initial display, but most of them are using about 95% JavaScript code.

Posted by Michael Schwarz on Monday, April 3, 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


[OT] Interesting Google Search

Today I got an error message in .NET 2.0 ("Failed to start monitoring changes to...", error code -2147023570). Try to search for this error code with Google you will get a funny result: Click here [1]. I could only get the root page of all the domains, no page could be found that was not the default web server page, no file in a subfolder. In the top you will ses that there are about 9.670.000.000 including this number. You can find this number if you click on the cached version of the search result, the url of the cached item will look like this:

Posted by Michael Schwarz on Monday, March 6, 2006


Ajax.NET Enterprise Edition

I got already some questions concerning the next steps of Ajax.NET Professional. Yes, I'm working on some new ideas, and maybe it will be an Ajax.NET Enterprise Edition. With the upcomming AJAX Community [1] I hope to get the most of all the frameworks currently are available, with your help, with your ideas, with your code!! For further news please have a look at my web blog in the next days. Yes, and it will be full open source!!!

Posted by Michael Schwarz on Thursday, February 23, 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


WMF Security Update

I found the new security update for the WMF image bug, see: http://www.microsoft.com/technet/security/bulletin/ms06-jan.mspx [1]

Posted by Michael Schwarz on Thursday, January 5, 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