Skip to content

Dependencies

The Shared project is where you place the common classes that are used by most of the other projects.

Project Dependencies

The Shared Project is not dependent on any other project. But almost all the other projects will reference the shared project.

StockPlusPlus
|
├─ StockPlusPlus.API        <--- (References Shared through Data)
├─ StockPlusPlus.Data       <--- (References Shared Directly)
├─ StockPlusPlus.Functions  <--- (References Shared through Data)
├─ StockPlusPlus.Shared
│   ├── ActionTrees
│   ├── Constants
│   ├── DTOs
│   ├── Enums
├─ StockPlusPlus.Test       <--- (References Shared through API or Data)
├─ StockPlusPlus.Web        <--- (References Shared Directly)

Package Dependencies

The Shared project is kept clean and has very few package dependencies since it's referenced by many projects with different SDKs.

Below are the required Shift Framework packages.

ShiftSoftware.ShiftEntity.Model
ShiftSoftware.TypeAuth.Core

Available as nuget packages:
ShiftSoftware.ShiftEntity.Model and ShiftSoftware.TypeAuth.Core

Warning

Be considerate when installing new packages to the Shared project.
Keep in mind that it's referenced by projects that're using different SDKs.

  • AspNet Core Web API
  • Azure Functions
  • Blazor WASM
  • Class Library