Skip to main content

Posts

Showing posts from 2014

How to use IIS/WAS for calling a repeated task in C#

Ok, I found some useful information on the internet on the subject but some of it seemed... a bit wrong. In my company we have several WCF websites and i just wanted to just plainly use IIS and not start to use some windows services for cron-jobs. The task at hand was to periodically call a WCF method. here is what i did: Create a new project in Visual Studio. I chose a "WCF Service Application". Go to the project properties and change and remember the Assembly name. Create a new class "PreloadCode" like this: namespace XXX.WasAutostartTest { public class PreloadCode : IProcessHostPreloadClient { private static Logger Log = LogManager.GetCurrentClassLogger(); public void Preload(string[] parameters) { Log.Info("Preload called!"); //do your custom code here... like me calling the WCF service!

C# VS 2013 with Jenkins build server, git native on TFS 2013, installing git-extensions on windows server 2012 and http checkout including msbuild

C# VS 2013 with Jenkins build server, git native on TFS 2013, installing git-extensions on windows server 2012 and http checkout including msbuild What a title, huh? well, git still is a bit exotic under windows... if you don't use the default tools. though its MUUUUCH better than a few years back. now i wanted to set up a build server for my company, and i decided to use jenkins, mostly out of curiosity how it performs with .NET. after all i used it for 1 year with java source code and was very happy with it, now i wanted to see how it does with C#. but first i need to overcome several obstacles... here is my system: * a windows server 2012 * a TFS 2013 (express) that has our C# source code hosted in the (now-native) git repository. this means its accessible over HTTP * our source code uses nuget... install jenkins, install git plugins, install msbuild plugin, install git version 2.48 (NO EARLIER VERSION!!!!) and INSTALL EVERYTHING UNDER LINUX fo

howto create a VS 2013 multi-project solution and add it to TFS express 2013

HowTo create a visual studio 2013 multi-project solution and add it to team foundation server express 2013 => create an empty solution in visual studio => add the folder structure and the sub projects as desired => delete the solution file => create the solution file again; this time check the checkbox "add to source control"; choose GIT as the desired version control system => connect to the team foundation server in the team explorer of VS2013 => connect to the desired Team Project Collection (if none existent, then you have to create that one first on the TFS Administration Console => say under "Team Explorer - Connect " -> Create Team Project... and create it => now, clone the repository into an empty folder => close VS, copy the solution and the structure you just created into that newly created empty folder => now make a git commit and then push to origin for the branch master (i use GitExtensions for that)

Weird Wars: Rome Showdown! -Some Units

Hey there, I thought I will share the Units I created so far for Showdown. Here are the Unit Stats of some of the Units I created so far with the Troop Builder I mentioned in my last post. There are some shortcomings that I would like to point out with what you can find here. Automatically included is a small rant :) A note what was used for the Romans: The romans shown here are 3 different XP levels for Principii. What is a bit sad about Weird Wars: Rome is that the Triarii and the Principii are the same stats wise... which is a bit sad... I haven't found a neat way of distinguishing them... So you can also use the stats for the Triarii actually. Where do the stats come from? Well they were taken from the BEASTS & SOLDIERS section of Weird Wars: Rome while the Gear was taken from one of the first chapters! A note for the Point Cost of the Romans (what was improvised): The Troop Builder does not know Pilums so they are calculated as a "Short Spear" whi

Savage Worlds Showdown and/with Rome Weird Wars

I started playing around with the Savage Worlds Showdown rules after getting hold of Pinnacles latest greatest Product "Weird Wars: Rome". Weird Wars Rome puts the player in the position of legionaries of the Roman Empire, but the setting has a twist: the ancient world is infested with low magic and magical creatures, making this a bit more challenging! A good review on youtube for the setting can be found here . I always enjoy watching those... Anyhow, the games in Weird Wars Rome seem to run a bit differently than normally, because it seems to heavily emphasize battles and hierarchy. So normally the player characters will be a squad of roman soldiers (they don't have to be but for that the campaign presented in the corebook is layed out) and one of them will be the leader of the squad. Now, my experience shows that it's normally not a good idea if one player of the group is the "leader", it tends to kill a bit of fun in the roleplaying, probably be