Tomek on Software
Software - shaken, not stirred
Hosting .NET code in node.js applications using OWIN
Note: this post is related to the 0.4.0 version of the owin project. The project has since been renamed to edge.js and has seen major improvements. Visit edge.js for the latest. The owin project allows hosting .NET 4.5 code in node.js applications running on Windows. The goal of the project...
Paste photos from your phone directly into Windows Live Writer
You are writing a blog post using Windows Live Writer. You want to include a picture you took with your phone. The options you have are many but none of them is simple. You can use USB cable, WiFi synchronization, Bluetooth, DropBox, SkyDrive, or Picasa. Or, if you are like...
Hosting socket.io WebSocket apps in IIS using iisnode
In this post I explain how to configure a socket.io node.js application to use of WebSockets when hosting it in IIS 8 using iisnode. This complements a recent post in which I showed how to host node.js WebSocket applications in IIS on Windows using iisnode and faye-websocket module. The complete...
Diagnose node.js apps hosted in IIS with iisnode-debug header
The iisnode project allows hosting node.js applications in IIS on Windows. The recent v0.2.0 release not only added support for WebSockets, but also enhanced the diagnostics capabilities of iisnode. This post describes how you can use the new iisnode-debug HTTP response header to get insights into the state of your...
How to use WebSockets with node.js apps hosted in iisnode
Note: if you are interested in hosting socket.io WebSocket applications in IIS using iisnode, check out the more recent post at http://tomasz.janczuk.org/2013/01/hosting-socketio-websocket-apps-in-iis.html The recent release of iisnode v0.2.0 enables using WebSockets in node.js applications hosted in IIS 8. This functionality requires Windows Server 2012 or Windows 8. To read more...
Selecting the node.js version in Windows Azure Web Sites
The latest release of Windows Azure Web Sites adds support for selecting the version of the node.js engine to run your application with. Several node.js versions are currently supported out of the box (0.6.17, 0.6.20, and 0.8.2 as of this writing), with more to come in the future. The node.js...
The HTTP.SYS stack for node.js apps on Windows
I have been working lately on the httpsys project, which offers an HTTP.SYS based HTTP[S] stack for node.js applications running on Windows. The basic idea is to replace the HTTP stack built into node.js with HTTP.SYS while preserving the shape and behavior of HTTP APIs in node.js to the extent...
Increase throughput of a node.js application with IIS output caching
One of the benefits of hosting node.js applications in IIS on Windows using iisnode is that you can use the functionality of the many IIS modules for greater utility and improved performance. I have already talked about using the URL rewrite module to improve the performance of node.js applications that...
Ideal platform for running node.js applications
I have recently conducted a poll on Twitter to get and idea about the features people expect from an ideal platform for hosting web applications written in node.js. I asked only one question: “What features do you expect from a platform for hosting node.js web applications?”. This was followed by...
Performance of hosting node.js applications in iisnode vs self-hosting on Windows
In this post I am sharing high level, general observations related to performance implications of choosing one of the two major ways of hosting node.js HTTP applications on Windows. Node.js HTTP applications can be run in two ways on Windows today: by self-hosting the application using the node.exe process directly...