SnowStorm 2.2.0

dotnet add package SnowStorm --version 2.2.0
NuGet\Install-Package SnowStorm -Version 2.2.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.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SnowStorm --version 2.2.0
#r "nuget: SnowStorm, 2.2.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.2.0

// Install SnowStorm as a Cake Tool
#tool nuget:?package=SnowStorm&version=2.2.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.

The test provides a sample of

  • just testing the API
  • testing end to end using Blazor Web Assembly UI
  • testing end to end using Blazor Web Assembly UI and HTTP mocking. (Not my recommended way.)

Supported Platforms

.Net 7 (Latest version)

Latest Release Notes

2024-03-17 (2.2.0)

  • Fixed save feature (POST)
  • Fixed tests - Save data and DbCleanup.
  • Improved Async handling when saving.
  • [wip] some UI elements and associated tests

2024-01-17 (2.1.0)

  • Update NuGet packages to resolve reported vulnerabilities and to ensure all is as upo to date as possible.
  • Target Frame work is .NET 7
  • WebSample.Tests is making progress.

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 97 3/17/2024
2.1.0 92 1/17/2024
2.0.0 110 1/4/2024
1.11.0 176 7/12/2023
1.10.0 138 6/18/2023
1.9.0 118 5/31/2023
1.8.0 161 4/8/2023
1.7.0 459 9/17/2022
1.6.0 419 9/17/2022
1.4.0 481 5/25/2022
1.3.0 526 4/19/2022
1.2.0 544 4/6/2022
1.1.0 515 4/3/2022
1.0.0 391 11/27/2021
0.21.0 538 7/27/2021
0.20.0 398 4/5/2021
0.18.0 640 11/30/2020
0.17.0 496 11/29/2020
0.16.0 552 10/23/2020
0.15.0 500 10/20/2020
0.14.0 523 9/15/2020
0.13.0 514 7/29/2020
0.12.0 686 6/3/2020
0.11.0 549 2/20/2020
0.10.0 603 1/14/2020
0.6.0 584 12/4/2019
0.4.1-pullrequest0019-0002 644 12/2/2019
0.4.0 816 12/1/2019
0.3.1 874 12/1/2019
0.3.1-pullrequest0018-0003 717 12/1/2019
0.3.0 648 11/3/2019

See Readme.md