SnowStorm 2.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package SnowStorm --version 2.0.0
NuGet\Install-Package SnowStorm -Version 2.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SnowStorm" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SnowStorm --version 2.0.0
#r "nuget: SnowStorm, 2.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SnowStorm as a Cake Addin
#addin nuget:?package=SnowStorm&version=2.0.0

// Install SnowStorm as a Cake Tool
#tool nuget:?package=SnowStorm&version=2.0.0

Introduction

This package provides an Enity Framework DBContext class to easily implement the query part of the CQRS pattern.
It also provides additional features around auto configuration of the domain entities.

For more details, see... https://github.com/BenVanZyl/SnowStorm

How to use

Sample App

Located under: *src\Sample* Root Namespace: WebSample.SnowStorm

This is a Blazor WebAssembly app using a .NET CORE hosted backend using REST API. Using DbUp to manage changes to the database and to run end to end testing.

Tests for this application is End-to-End based and run as unit tests. It is a more practical approach and reduces the risks that your app might pass test but break in production. What it runs is what you get.

Supported Platforms

.Net 7 (Latest version)

Latest Release Notes

2024-01-04 (2.0.0)

  • BREAKING CODE!
  • Removing obsolete code.
  • Removing QueryExecutor as this functionality is fully integrated into the AppDbContext.
  • Moved AppDbContext to DbContext folder and namespace.
  • Change sample application to a Blazor WebAssembly app with ASP.NET CORE hosted backend.
  • Added End-to-End testing for the sample app.
  • Bug fixes.
  • Beta: Use CurrentUser to extract user info from HttpContext (id, name, guid)
    • could recquire the host app to inject HttpContextAccessor.
      • builder.Services.AddHttpContextAccessor();
  • Beta: When saving, use CurrentUser and reflection to update audit properties.
  • Beta: GetById<T> methods added to reduce the need for query objects.
  • Beta: GetAll<T> method to get all the rows from a table. This will reduce the need for query classes for reference data like dropdowns.
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.2.0 103 3/17/2024
2.1.0 96 1/17/2024
2.0.0 114 1/4/2024
1.11.0 179 7/12/2023
1.10.0 141 6/18/2023
1.9.0 121 5/31/2023
1.8.0 165 4/8/2023
1.7.0 461 9/17/2022
1.6.0 421 9/17/2022
1.4.0 485 5/25/2022
1.3.0 529 4/19/2022
1.2.0 546 4/6/2022
1.1.0 518 4/3/2022
1.0.0 393 11/27/2021
0.21.0 540 7/27/2021
0.20.0 400 4/5/2021
0.18.0 642 11/30/2020
0.17.0 498 11/29/2020
0.16.0 554 10/23/2020
0.15.0 502 10/20/2020
0.14.0 525 9/15/2020
0.13.0 517 7/29/2020
0.12.0 688 6/3/2020
0.11.0 552 2/20/2020
0.10.0 606 1/14/2020
0.6.0 587 12/4/2019
0.4.1-pullrequest0019-0002 647 12/2/2019
0.4.0 817 12/1/2019
0.3.1 876 12/1/2019
0.3.1-pullrequest0018-0003 720 12/1/2019
0.3.0 651 11/3/2019

See Readme.md