Home

Awesome

Xtz.StronglyTyped.SampleProjects

GitHub

Sample projects to show-case Xtz.StronglyTyped libraries.

Xtz.StronglyTyped

GitHub GitHub branch checks state

Set of NuGet packages to strongly-type your interfaces (properties, methods, APIs, DB entities, appsettings).

Eliminate stringly-typed interfaces.

Make compiler your friend, introduce semantics to your code.

NuGet PackageVersion
Xtz.StornglyTypedNuGet
Xtz.StronglyTyped.BuiltinTypesNuGet
Xtz.StornglyTyped.BuiltinTypes.AutoFixtureNuGet
Xtz.StornglyTyped.BuiltinTypes.BogusNuGet
Xtz.StornglyTyped.EntityFrameworkNuGet
Xtz.StronglyTyped.NewtonsoftJsonNuGet
Xtz.StornglyTyped.SourceGeneratorNuGet
Xtz.StornglyTyped.SwashbuckleNuGet

Sample projects

Web API application (.NET 5.0, System.Text.Json)

Strongly-typed API requests and responses.

SampleProjects.ApiApp

Web API application (.NET Core 3.1, Newtonsoft.Json)

Strongly-typed API requests and responses.

SampleProjects.ApiNewtonsoftJsonApp

Application configuration

Strongly-typed appsettings.json.

SampleProjects.AppSettingApp

AutoFixture unit tests

Auto-populated strongly-typed unit tests parameters powered by AutoFixture and custom Bogus fakers.

SampleProjects.AutoDataUnitTests

Console app

Console app demo with strongly-typed values.

SampleProjects.BogusConsoleApp

Entity Framework Core

Persisting strongly-typed using Entity Framework Core.

SampleProjects.EntityFrameworkApp

Swashbuckle / Swagger

Correcting Open API schema for proper Swagger UI support

SampleProjects.Example.SwaggerApiApp