Create a class library
- Last UpdatedApr 08, 2026
- 1 minute read
To create a class libary
- Create a C# .Net Framework class library using the name of the Business Logic Tier (BLT) component for the library name.
- Add references to following:
- OASySDNA.Common.dll
- OASySDNA.Common.BLTBase.dll
- OASySDNA.Common.BLTServer.dll
- Set the project output path property to the silo bin folder using a relative path.
- Do the following:
- Ensure the platform target is set to x64.
- Delete the debug build configurations from the project and solution.
- Create a public class (for example, TestBLT) that inherits from BLTComponent.
This created class is the entry point of the BLT component.
- Create a public class (for example, TestBLTProcessor) that inherits from BLTProcessor.
This created class contains the business logic of the BLT component.
- Implement the abstract class, specifically the Process() method.
- Link both classes: In the constructor of the class detailed in step 5, create an instance of the class detailed in step 6.
Example code: TestBLT class
using OASySDNA.Common;
namespace OASySDNA.RealTime
{
public class TestBLT : BLTComponent
{
public TestBLT()
{
Processor = new TestBLTProcessor();
}
}
}Example code: TestBLTProcessor class
using System;
using OASySDNA.Common;
namespace OASySDNA.RealTime
{
public class TestBLTProcessor: BLTProcessor
{
public override void Process()
{
}
}
}