One Man’s Sueetie Development Environment Configuration

I’ve been asked to document on my Sueetie Development Visual Studio and IIS configuration to demonstrate how to support debugging across multiple applications. Below is this morning’s addition to the Sueetie Wiki, Working with Sueetie in Visual Studio.  It also covers IIS7 configuration.  I work with Sueetie on a standalone Windows 2008 Server, so your environment may require a different configuration.

____________________

 

The Environment Overview

Sueetie Development that supports this site, Project Gummy Bear and the source code library on CodePlex is done on Windows 2008 Server and IIS7. The Server is member of a a home office Windows Workgroup and not a domain.

IIS Configuration of Sueetie Development Site

Sueetie contains all root-oriented paths (/style, /wiki, etc.), so it’s essential that we are using a discrete url which supports both a root point of origin and a non-localhost, Visual Studio web site. The url of the development site is

http://sueetie

The IIS site bindings to support http://sueetie is shown below.

Sueetie Development Site Bindings in IIS 7

Website root project setup in Visual Studio

With IIS configured to support http://sueetie we can setup the root project startup accordingly.

Root Web Project Startup

…and press F5 and walk through the code.

Root Web Project Debugging

Working with other Sueetie Application projects in Visual Studio

Sueetie contains multiple Visual Studio, one project per application. Each project (YetAnotherForum.NET, BlogEngine.NET, etc) will contain the root /Web website project with other Sueetie Framework class library projects like Sueetie.Core. The trick to enabling F5 debugging and urls like http://sueetie/blog for full site utility while debugging is to set the root Website project as the startup project.

Setting Root Web Project as Startup

We’ll want to make sure the root website startup property in Sueetie projects is the same as shown above, with the base URL being http://sueetie.

Now when we press F5 we can walk through the complete source as shown here with BlogEngine.NET.

Setting Root Web Project as Startup

Article written by

A long time developer, I was an early adopter of Linux in the mid-90's for a few years until I entered corporate environments and worked with Microsoft technologies like ASP, then .NET. In 2008 I released Sueetie, an Online Community Platform built in .NET. In late 2012 I returned to my Linux roots and locked in on Java development. Much of my work is available on GitHub.