Welcome to Michaels Blog

All posts tagged with label .NET

Blog of latest news, updates, and stories for developers

Remote Code Execution Security Vulnerability (CVE-2021-23758)

Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating object from sequence of bytes is called deserialization. Serialization is commonly used for communication (sharing objects between multiple hosts) and persistence (store the object state in a file or a database). It is an integral part of popular protocols like Remote Method Invocation (RMI), Java Management Extension (JMX), Java Messaging System (JMS), Action Message Format (AMF), Java Server Faces (JSF) ViewState, etc.

Posted by Michael Schwarz on Saturday, December 4, 2021


Download latest Ajax.NET Professional Release

Did you know that there is a NuGet package available for Ajax.NET Professional latest release?

Posted by Michael Schwarz on Friday, December 3, 2021


New security features added to Ajax.NET Professional

I just have published a new release of the Ajax.NET Professional library including several new security features. Please check out ajaxpro.info [1] for further details.

Posted by Michael Schwarz on Wednesday, November 3, 2021


Ajax.NET Professional (AjaxPro) Serialization and Deserialization Settings

What's new in 2021? Yes, I have finally worked on some important settings for client-side security options. Please check out ajaxpro.info [1] for further details and latest source code.

Posted by Michael Schwarz on Tuesday, November 2, 2021


Geänderte SQL Server Prozeduren oder Funktionen finden

In der letzten Zeit kam es bei mir immer wieder mal vor, dass ich nachschauen wollte, welche Prozeduren und Funktionen sich im SQL Server geändert haben. Folgendes kleines SQL Skript liefert mir alle Änderungen sortiert nach Datum:

Posted by Michael Schwarz on Tuesday, April 9, 2013


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


IActiveScriptParse and x64

Some days ago I had to work on an .NET application that has been ported from C++. This application is using VBScript as scripting host using the IActiveScriptParse interface. While the C++ compile was working fine on x64 the .NET port didn’t work.

Posted by Michael Schwarz on Friday, June 19, 2009


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


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


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


ASP.NET Memory Issues

Tess Ferrandez [1] who is an escalation engineer in product support services (PSS) at Microsoft was helping a colleague out with an OOM (OutOfMemory) situation he was dealing with. The problem [2] was that their applications memory usage would grow over time until they finally ended up with an out of memory exception. They used an older version of my Ajax.NET Professional library [3]. The bug has been noticed [4] on April 14th in 2006 and fixed some days later.

Posted by Michael Schwarz on Friday, September 12, 2008


The Future of .NET Reflector (from Lutz Roeder)

Red Gate [1] will be responsible for the future development [2] of .NET Reflector [3], the popular tool authored by Lutz Roeder [4]. I’m very happy to read that Red Gate will offer this tool for free to the community. Lutz did a great job and the feedback from developers around the world brings up this tool to the top 10 tools for .NET developers [5].

Posted by Michael Schwarz on Wednesday, August 20, 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 and Maximum Concurrent Connections

As defined in 1999 (RFC 2616 [1]) "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 2N 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."* Since developers are using AJAX or AJAX-like requests to update a Web page the http limits are discussed [2] more [3] and more [4].

Posted by Michael Schwarz on Monday, July 21, 2008


XBee and Converter Boards from Droids

Last weekend I have started to look at wireless communication for .NET Micro Framework devices. At Droids [1] I found really cool boards for USB and serial connection, simple put the XBee module on the board and use it from your device.

Posted by Michael Schwarz on Monday, July 21, 2008


Jan's Microsoft .NET Micro Framework Web Site Updated

image Jan Kučera [1] has updated his great Web site about Microsoft .NET Micro Framework www.microframework.eu [1]. If you want to know how to start you will find tutorials and further examples. Events and FAQ will help to stay informed using the .NET Micro Framework. Jan is a active user at the .NET Micro Framework newsgroup [2].

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


Accelerometer based Remote Control for Container Terminal using the .NET Micro Framework

Another great article on remote control using the .NET Micro Framework and the Tahoe 3D accelerometer [1] I found on Jens blog [2].

Posted by Michael Schwarz on Saturday, July 12, 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


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


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


GHI Electronics Embedded Master Module

Embedded Master ModuleEmbedded Master™ [1] implements Microsoft's .NET Micro Framework [2]. This allows users to run C# managed code right inside Embedded Master. Users will use Visual Studio to develop and debug programs.

Posted by Michael Schwarz on Tuesday, April 1, 2008


ASP.NET MVC Source Code at Codeplex

Today Microsoft published the source code of ASP.NET MVC Framework [1] at Codeplex:

Posted by Michael Schwarz on Friday, March 21, 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


Silverlight Socket Comments

During my experience with Silverlight 2 beta 1 [1] and the use of sockets I have collected some comments that may help you starting with sockets inside Silverlight:

Posted by Michael Schwarz on Monday, March 10, 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


Silverlight 2 beta 1 and Socket Exception: Access Denied

Playing around with the sockets [1] in Silverlight 2 beta 1 [2] I found out that it works fine on my local host. When publishing my sample to a real Web server (I mean a Web server that is reachable in the Internet with a domain) I got always a socket exception saying that access is denied [3]. I looked around if I could find any help on that. I thought that there maybe is a restriction in the defaults of Silverlight and that I could find somewhere a configuration similar to the .NET and zones configuration, but I didn't.

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 not working on Production Web Server

I got some questions about why is Silverlight 2 [1] beta not working on my production Web server? Well, one of the most errors I found is the missing MIME type definition in IIS. Silverlight 2 doesn't compile a DLL as the beta 1.1 did. The new file extension is .XAP. The only thing you have to do is following step:

Posted by Michael Schwarz on Thursday, March 6, 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


Ajax.NET M! - The .NET Micro Framework AJAX Library

The embeddedworld2008 [1] is over and I had some time to play around with Microsoft .NET Micro Framework [2] devices. I can remember that I had a look on it during the first available betas on Microsoft Connect, but then stopped watching it because of the missing TCP/IP stack. The now available version 2.5 of the .NET Micro Framework [3] adds this directly in the framework. Other device manufactures have implemented their own TCP/IP stack, and such a device I have bought at the embeddedworld2008.

Posted by Michael Schwarz on Wednesday, March 5, 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


[de] Visual Studio 2008 Launch in Frankfurt

Da bin ich gerade im Gespr&amp;#228;ch Während meines Einsatz als Ask the export (ATE) auf dem Microsoft Stand in Frankfurt zum Launch von Visual Studio 2008 [1], Windows 2008 Server als auch SQL Server 2008 sind ein paar Bugs aufgetaucht, die ich heute mal auf Microsoft Connect eingetragen habe. Hier sind die einzelnen Feedbacks:

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


How to... use Class Libraries with ASP.NET AJAX like AjaxPro

Using Ajax.NET Professional [1] (AjaxPro) you are able to put you AJAX methods wherever you want, if inside the Page class itself, any .NET class in the same project or as a reference class library. To generate the AJAX client-side JavaScript proxies the AjaxPro library checks for all public methods inside a specified type that are marked with the [AjaxMethod] attribute. The only thing you have to add to the Page class (in the Page_Load event) is the call to AjaxPro.Utility.RegisterTypeForAjax(typeof(ClassName)).WebApplication1 - Microsoft Visual Studio

Posted by Michael Schwarz on Wednesday, January 9, 2008


How to... move from AjaxPro to ASP.NET AJAX PageMethods

In one of my last posts I blogged about the future [1] of Ajax.NET Professional [2] (AjaxPro) and that I'm not able to do further development on that project. A  lot of my readers feeling sad about this but I had to concentrate more on new technologies that will revolutionize web application development.

Posted by Michael Schwarz on Tuesday, January 8, 2008


Volta - Microsoft Live Labs

Volta - Microsoft Live LabsOn December 5th last year Microsoft Live Labs announced the Volta technology preview [1], a developer toolset for building multi-tier web applications using existing and familiar tools, techniques and patterns. You architect and built your application as a .NET client application, assigning the portions of the application that run on the server tier and client tier late in the development process. You can target either web browsers or the CLR as clients and Volta handles the complexities of tier-splitting. The compiler creates cross-browser JavaScript for the client tier, web services for the server tier, and all communication, serialization, synchronization, security, and other boilerplate code to tie the tiers together. In effect, Volta offers a best-effort experience i n multiple environments without requiring tailoring of the application.

Posted by Michael Schwarz on Thursday, January 3, 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 Silverlight 2.0 Wish List (part 2)

I got a lot of feedback for my last post about Silverlight features that are currently missing [1]. Because it is Christmas time we are allowed to wish everything we want, what we get is another thing. Here are some additional features currently missing and are maybe important for everyone.

Posted by Michael Schwarz on Friday, December 21, 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


Nintendo Wii and Silverlight: Tracking Your Fingers

While writing my Silverlight wish list I found a very nice project. Johnny Ching Lee [1] is using the controller (Wiimote) of the Nintendo Wii to track fingers [2]. The controller does not need the Nintendo Wii [3] console, simple the controller and a bluetooth connection [4] is enough. Combining this project with WPF or Silverlight would be the answer of one of my wishes. (Well, I know what I will try during the holidays.)

Posted by Michael Schwarz on Thursday, December 20, 2007


MVC Web Application and JSON

I like the MVC (Model View Controller) framework which is available as a public CTP, now. You can download the latest bits with the ASP.NET 3.5 Extensions CTP Preview [1]. You will find further links at Scott Guthrie's posts tagged with MVC [2].

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


[de] Dodned Usergroup Nachtrag

Ich hatte gestern eine kurze Einführung zu jQuery gemacht, hier noch einmal die wichtigsten Links für Download und Dokumentation:

Posted by Michael Schwarz on Friday, November 30, 2007


[de] Dodned (.NET) Usergroup Franken 29.11.2007

Wer Web Anwendungen schreibt, der kommt um JavaScript nicht vorbei. Egal welche Web Server Controls man verwendet, wenn's am Client nicht mehr weitergeht oder etwas verbesser werden muss, ist JavaScript die Nummer 1. Auch die ganze AJAX Programmierung verwendet JavaScript am Client.

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


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


[de] Kostenfreier Silverlight Workshop in Erlangen

Nachdem wir den ersten Workshop kurzfristig absagen mussten haben wir einen neuen Termin in Erlangen bei der the campus [1] am 9. August, ab 18 Uhr. Wir haben einen Raum, PCs, Kaffee und Kuchen! Anmeldungen über die neu angelegte Google Group NET-Workshops [2].

Posted by Michael Schwarz on Monday, July 30, 2007


Silverlight 1.0 RC1 available

As you may have already noticed: the RC1 of Silverlight 1.0 has been put online on the weekend. Since the last beta there have been fixed around 2000 (!) bugs and added some more features. English downloads are available here:

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


[de] Silverlight Get Together

(English: I will start new workshops about Ajax, ASP.NET and Silverlight in the next months, first will start on Thursday about Silverlight.)

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


[de] .NET User Group Franken am 5. Juli 2007

Die .NET User Group Franken [1] trifft sich mal wieder, diesmal in den Räumen der evosoft GmbH (Dank geht an Igor Milovanovic [2]).

Posted by Michael Schwarz on Wednesday, June 13, 2007


My Silverlight Weekend Summary

During the weekend I found several new examples about Silverlight [1]. Because I'm running several Web sites that need any kind of diagrams I was happy to see these nice examples from Richard: JellyBar [2], JellyGraph [3] and JellyPie [4].

Posted by Michael Schwarz on Monday, June 11, 2007


VistaDB with Silverlight

Today I read on the VistaDB blog [1] that their database engine will run on Silverlight [2]. I'm not sure if I want to put a complete database engine in Silverlight applications [3]. Do I have to put the database files into IsolatedStorage or will it be only in-memory?

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


Silverlight Tutorials

There are a couple of great tutorials on how to developer Microsoft Silverlight [1] 1.0 or 1.1 Web applications:

Posted by Michael Schwarz on Wednesday, June 6, 2007


How to create Silverlight Applications with Notepad

You may have read my post about how you can build Silverlight Web applications with Visual Studio .NET 2005 [1] instead of using the next verison codename Orcas. Until this time I used always a Virtual PC which was sometimes a little bit slow.

Posted by Michael Schwarz on Tuesday, June 5, 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


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 Surface Demonstration

Microsoft announced some days ago its Surface product [1]. If you didn't had a look on the videos you should watch it.

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


IsolatedStorage and managed JavaScript

Today I tried to use the IsolatedStorage in managed JavaScript with Silverlight 1.1 [1]. The IsolatedStorage can be used to store data on the client. Currently the alpha version supports 1MB, which is more than storing data in cookies, but maybe will be changed in the future. Perhaps there will be a setting in a future options dialog where you can specify how much you will allow to store locally.

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


Visual Studio Orcas JavaScript IntelliSense

Bertrand [1] has a great post about JavaScript IntelliSense [2] with the next Visual Studio .NET code-name Orcas. I downloaded the bits to give it a try. Oh yes, it is working great when creating ASP.NET AJAX Web applications.

Posted by Michael Schwarz on Saturday, April 28, 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


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


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


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


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


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, 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


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


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


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


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


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


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


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 have received the Microsoft MVP Award

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

Posted by Michael Schwarz on Thursday, January 5, 2006


Ajax.NET Professional Beta 5.11.24.1 available

I posted a new version to the Google group [1]. Attached you will find a beta version of the next version. I had to recode a lot of parts to get the queue working correct with 2 http connections. Now, if you add this assembly you have to be careful if you use inheritance from the AjaxPro.AjaxRequest. You have to inherit from AjaxPro.AjaxClass instead, now.

Posted by Michael Schwarz on Thursday, November 24, 2005


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


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


Using a Request Queue

I have added a simple feature that will enable queuing for Ajax.NET requests. You can enable the queue with following line: 

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