Tip: Always use ASP.Net State Server during development

Always use ASP.Net State Server during development http://msdn.microsoft.com/en-us/library/ms972429.aspx Using “ASP.Net State Server” during development forces developers to use serializable-attribute on all objects stored in Session. Reasons: No extra effort required by the developer. Changing to ASP.Net State Service or SQL session storage on a solution not developed for it requires a full and extensive test of the whole solution. If… Read More »

Tip: Never use IP addresses

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 »

.Net tools to use: log4net

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 »

.Net tools to use: Nini

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 »

C#: Replacement of $REPLACE_ID$ tokens (file or stream input+output)

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 »

OpenSim in Visual Studio on Win64

Note! Article applies to developers using Visual Studio on 64-bit Windows. Visual Studio is a great tool. Most developers who can use it should. Currently OpenSim has some problems with 64-bit mode. This is because we have some native .dll’s and .so’s such as: SQlite ODE OpenJpeg + more SQLite you can do without by choosing MySQL or… Read More »

SECS in technicolor

Just a model of the pipeline. Work in progress. Boxes that share same color are related.

Script Engine Component System (SECS)

What is a script engine?Currently I see people define a script engine very simply as: The thing that runs the scripts.This is a narrow definition that I never intended with DotNetEngine (see previous posts). Instead I would say the script engine is the most important component of OpenSim. I am a humble person when it comes to my… Read More »

DotNetEngine and xengine

The realizationBefore my hands went bad I started the process of introducing a new common way of implementing script engines. This came from the realization of two things. First of all that many had difficulties understanding how to implement their own engine variations based on current engine, and second that not all developers are willing to conform to… Read More »

Absent

Hello… Is this thing still on? Ok, its a while between each post. The amount of time I have varies. Lately I’ve been disabled by some inevitable hand-hurting as a result from effort in another project I worked on. I’m also in the startup phase with a new company, so time is still not something I have an… Read More »