APIs
APIs let applications communicate with one another, exposing business functions such as adding, searching, updating and deleting data. We use Node.js, C# and C++ to build performant, scalable APIs complete with authentication, authorization, documentation, logging and rate limiting.
Background services
Some services run behind the scenes to automate frequent or mundane tasks, relieving your team of repetitive, time-consuming chores so they can focus on moving the business forward. We use C# and C++ to build performant, scalable services complete with logging and, where needed, installers and uninstallers.
Example: a C# data layer
This NoSQL data layer works with tables in an Azure Storage account.
•
Add a member to the Model.TableName enum (for example, Account).
•
Add a class that derives from Base to the Model namespace (for example, Account).
•
Call the data operations on an instance of Data.AzureTableData.
namespace Model {
public enum TableName {
Account
}
}
namespace Model.Account {
public class Account : Base {
public Account()
: base(TableName.Account) {
}
public string Name { get; set; }
}
}
// Usage
await _data.Add(model);
await _data.Delete(model);
Example: a C# business layer
This business layer sits on top of the data layer above.
•
Where business rules apply, such as requiring an account name, override the matching method from Base.
•
Otherwise, let Base handle the data operation.
•
Call the business operations on an instance of Business.Account.
namespace Business {
public class Account : Base, IAccount {
public Account(IConfiguration configuration, IData data)
: base(configuration, data) {
}
public override async Task<T> Add<T>(T model) {
Model.Account.Account account = model as Model.Account.Account;
if (string.IsNullOrWhiteSpace(account.Name)) {
model.Message = "Name is required.";
}
else {
model = await base.Add(model);
}
return model;
}
}
}
// Usage
await _business.Add(model);
await _business.Delete(model);
Example: a C# API layer
This API layer sits on top of the business layer, with a POST route to add an account and a DELETE route to remove one.
namespace API.Controllers {
[Route("account")]
public class AccountController : Controller {
private readonly ILogger<AccountController> _logger;
private readonly Business.IAccount _accountBusiness;
public AccountController(ILogger<AccountController> logger, Business.IAccount accountBusiness) {
_logger = logger;
_accountBusiness = accountBusiness;
}
[HttpPost]
public async Task<IActionResult> Add([FromBody] ViewModel.Request.AddAccount viewModel) {
Model.Account.Account model = new Model.Account.Account() {
RowKey = Guid.NewGuid().ToString(),
Name = viewModel.Name
};
model = await _accountBusiness.Add(model);
return Json(new { });
}
[HttpDelete("{id}")]
public async Task<IActionResult> Delete(string id) {
Model.Account.Account model = await _accountBusiness.Get<Model.Account.Account>(id);
bool success = await _accountBusiness.Delete(model);
return Json(new { });
}
}
}
Selected projects
•
April 2025: created ASP.NET Core RESTful APIs, a React website and a publishing farm on Microsoft Azure for wiQbit's flagship product, My Corner.
•
October 2024: created ASP.NET Core RESTful APIs with a business layer and a NoSQL data layer on Azure Storage tables, SendGrid for email and Stripe for payments.
•
August 2024: added ASP.NET Core RESTful APIs to an existing Sitefinity DX project to use Okta for identity and access management, with self-service account changes and admin impersonation.
•
February 2024: created ASP.NET Core Web APIs with a business layer and an Azure SQL data layer integrating Canvas and SafeSport for learning, Ping for identity and access management, Sisense for reporting and Stripe for payments.