Configuration¶
When utilizing a third-party framework, the initial thoughts revolve around the framework’s setup, usage, and complexity. By considering all of these factors, the Crystal Sharp framework has been developed to be adaptable through its simple configuration and usage.
To configure Crystal Sharp framework, the main initialization is required, which is very simple.
NOTE
To configure the Crystal Sharp framework, the NuGet package “CrystalSharp” must be installed.
IResolver resolver = CrystalSharpAdapter.New(services).CreateResolver();
Above is the line of code that registers the default implementations. In the above code, services
is the IServiceCollection
interface.