Never use IP addresses Use of IP addresses are never actually required. There are two fully valid alternatives: Using DNS name served by DNS server. Windows/Linux can have unlimited number of DNS servers in case one goes down, so there is no problem with stability. Just add more DNS-servers. (At least two) In case DNS is not possible… Read More »
log4net http://logging.apache.org/log4net/ Description Free popular logging system developed by Apache Foundation. Difficulty 1 line at top of each class. A standard XML-section in web.config. Sample usage: [sourcecode language=”csharp”] // At the top of every class you set up a static logger with the class name (retrieved through System.Reflection) private static log4net.ILog log = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType) // Then in the… Read More »
http://nini.sourceforge.net/ Nini Description An uncommonly powerful .NET configuration library. Use this for reading web.config (instead of .Net built-in System.Configuration…) and any other .ini-file or .xml-file containing configuration. Difficulty 2 lines to read (usually called at page_load or similar). Sample usage: [sourcecode language=”csharp”] // Set up our config source as web.config or app.config internal static IConfigSource ConfigRoot =… Read More »
Helped out a guy on IRC making a method that replaces text in a file/stream, thought I’d share it. Basically it reads from one file line by line and writes to another while executing a custom replacement method on every line. Note: This code is not optimized for speed. Although it will perform very well, it CAN be… Read More »
Ok, so it seems I don’t need to continue this article. Linden Labs has gone public with their plans. And I was right, they will be the virtual bank. http://secondlife.reuters.com/stories/2007/08/25/exclusive-philip-rosedale-interview-from-slcc/ They will also make money from connection fees from people who wants to connect a simulator to the Grid.
Testing post from Windows Live Writer… :)
Hi there everybody! Any articles before this one are copied from my previous blog.