.NET Programming
.NET is something i work with for a living, something i use a lot of my spare time on, and something i surely enjoy.
This category is for those post that stands outside the more specific areas or those days where i was just to lazy to actually fit it in.
Finally gotten BugNET to work where this website is hosted, and been playing around with it a bit. I Have a site up here: issue.dotjem.com At first glance it seems fairly ok, it definitely does no measure up to Atlassian Jira, but: It is ASP.NET and C# (so i can actually host it where i wanted to) It is completely free and open source. (you can apply for a free open license for open source or personal use with Jira) It is more light weight (not...
So the standard ListView located in the .NET Framework bothered me quite a lot yesterday.
We are using the ListView on a project to display a range of items that can be edited, when the user selects an item, the content of the item is shown on a pane to the right, he can then "unlock" it and make changes, but during this, if he decides to select another element in the list, we wanted to give him a dialog warning him about that his action would leave unsaved changes, and then give him 3 options.
Save changes....
Lately I have used a lot of time focusing on my "Tattoo" project, but I haven't forgot about my Profile Manager for Visual Studio 2008, in fact it is undergoing a complete re-design, adding some new features as well.
Basically, before a Profile was considered to be the Layout of the editors, tool windows ect. This will all change. Instead a profile will be a set of Layouts, Contexts, Colour schemes and possibly more.
Profiles
Just as before, a profile can be activated from the "Profiles" menu, but this does not mean that it applies a new layout anymore. It is very possible that...
As a request from a colleague at work,
For some time, one of my colleagues at work had requested an add-in for Visual Studio 2008 that could handle the layout of the various tool windows in the IDE and load different set-ups, this could be the following as an example:
Single monitor set-up for when we are working from home through remote desktop.
Dual monitor set-up for when we are at work and have our 2 monitors available.
At first I thought I would just investigate a little, to find out just how difficult or how...
A Little delayed compared to my hopes, but I finally got the next version up.
Again, this is manually packaged.
Source
Binaries
The configuration remains mostly the same, a "buildCondition" has been added, this controls if the build fails or not on missing parts, however the logic for this is not yet implemented.
Node
Description
...
As promised I have packaged a "release" of the Sandcastle Help File Builder plug-in.
This is manually packaged (since I don't yet have my build server making these packages automatically), so please bare with me on structure and what might be off or missing (well it should all be there, so missing is harsh said).
Source
Binaries
The configuration is very simple, in fact in some cases you can use it with only defining one parameter. Here is an example that defines a time-out, a project file and a publish path.
<sandcastle>
<projectFile>G:\Workspace\Help.shfb</projectFile>
...
So i have decided to start writing a Sandcastle Plug-in for CruiseControl.NET.
Currently we are using the folowing block at work to build and publish help files
(thanks to: http://blog.maartenballiauw.be/post/2007/08/28/automatically-generate-sandcastle-documentation-using-cruisecontrol-net-or-vsts-team-build.aspx)
1: <exec>
2: <executable>C:\Program Files\EWSoftware\Sandcastle Help File Builder\SandcastleBuilderConsole.exe</executable>
3: <baseDirectory><base directory></baseDirectory>
4: <buildArgs><project file></buildArgs>
5: <buildTimeoutSeconds>10800</buildTimeoutSeconds>
6: </exec>
7:
8: <exec>
9: <executable>xcopy</executable>
10: <buildArgs>"base directory\Help" "C:\Inetpub\wwwroot\api" /E /Q...
During the years as a developer, I have been working a lot in the field of Windows Services in .NET both implementing them as well as monitoring or controlling them.
This has lead to an implementation of a so called ServiceWatcher, basically a class that in a defined interval updates a ServiceController and then checks the status. If changes in a monitored services status are discovered, the ServiceWatcher will raise an event containing the new status of the service.
A Simple Implementation
The very first implementation was very simple, it contained 3 elements in basic that was used to obtain the needed functionality.
...