.net programming, computers and assorted technology rants

Build Simple Web UIs with the Nancy Framework

Courtesy  Patrick Steele, VisualStudioMagazine

If you’ve ever configured a router or used a modern-day network-enabled printer, you’ve probably noticed a lot of them expose a Web UI for configuration and administration. In this article, I’ll show you how I used a similar technique to provide a configuration UI for a Windows service.

Windows Services and UIs
Windows services sit in the background and do work. They’ll run whether someone is logged in to the machine or not. Depending on security, they have limited access to the file system. While Windows services can do lots of neat things, the one thing Windows services are not good at is displaying a UI. Because a Windows service can run when no one is logged in, it doesn’t make sense for a Windows service to be able to display a UI. However, there are times when a Windows service needs to provide the user with information and, sometimes, allow the user to make changes to the service.

Read More



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s