Aspectus 5.0.2
See the version list below for details.
dotnet add package Aspectus --version 5.0.2
NuGet\Install-Package Aspectus -Version 5.0.2
<PackageReference Include="Aspectus" Version="5.0.2" />
<PackageVersion Include="Aspectus" Version="5.0.2" />
<PackageReference Include="Aspectus" />
paket add Aspectus --version 5.0.2
#r "nuget: Aspectus, 5.0.2"
#:package Aspectus@5.0.2
#addin nuget:?package=Aspectus&version=5.0.2
#tool nuget:?package=Aspectus&version=5.0.2
Aspectus
Aspectus is an advanced Aspect-Oriented Programming (AOP) library that simplifies the injection of cross-cutting concerns into your codebase. It empowers you to write clean and maintainable code by separating cross-cutting concerns from the core logic of your application.
Key Features
- Easy Integration: Aspectus seamlessly integrates with your project by registering with the IoC (Inversion of Control) container during startup.
- Code Generation: Leveraging Roslyn, Aspectus generates code dynamically, allowing you to write expressive C# code for implementing aspects.
- Flexible Aspect Customization: Implement the
IAspectinterface to define custom logic for constructors, methods, and exception handling. - AOP Modules: Aspectus supports modules, enabling you to consolidate and load setup code efficiently.
- NuGet Package: Install Aspectus easily through NuGet, simplifying the setup process for your projects.
Installation
To install Aspectus, use the NuGet package manager:
Install-Package Aspectus
Getting Started
Follow these steps to start using Aspectus in your project:
Register Aspectus with your IoC container during startup. Example code for ASP.NET Core:
services.AddCanisterModules();Implement aspects by creating classes that inherit from the
IAspectinterface. Customize aspects based on your specific requirements, such as constructor setups, method injections, and exception handling.public class TestAspect : IAspect { // Implement your aspect logic here }Utilize Aspectus to create instances of types with injected aspects.
var aspectus = Canister.Builder.Bootstrapper.Resolve<Aspectus>(); aspectus.Setup(typeof(YourClass)); var item = aspectus.Create<YourClass>(); // Use and enjoy your enhanced object
For a more detailed guide on using Aspectus, including advanced scenarios and AOP modules, refer to the Aspectus Documentation.
Build Process
To build Aspectus from source, ensure you have the following:
- Visual Studio 2022
- .Net 6
Simply clone the repository and open the solution in Visual Studio.
Contributing
Contributions are welcome! To contribute to Aspectus, please follow these steps:
- Fork the repository.
- Create your feature branch:
git checkout -b feature/YourFeature. - Commit your changes:
git commit -am 'Add YourFeature'. - Push to the branch:
git push origin feature/YourFeature. - Submit a pull request.
Please ensure your code follows the existing coding style and includes appropriate tests. Additionally, make sure to update the documentation as needed.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net6.0
- Canister.IoC (>= 5.1.1)
- Microsoft.CodeAnalysis.Common (>= 4.6.0)
- Microsoft.CodeAnalysis.CSharp (>= 4.6.0)
- Microsoft.Extensions.Logging.Abstractions (>= 7.0.1)
- Microsoft.Extensions.ObjectPool (>= 7.0.8)
- System.IO.FileSystem (>= 4.3.0)
- System.Reflection.TypeExtensions (>= 4.7.0)
- System.Runtime.Loader (>= 4.3.0)
- System.Threading.Tasks.Parallel (>= 4.3.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Aspectus:
| Package | Downloads |
|---|---|
|
BigBook
Big Book of Data Types is a collection of various data types including Vector3, Set, RingBuffer, PriorityQueue, Fractions, and DateSpan. It also includes a number of extension methods for types found already in .Net. |
|
|
FileCurator.Windows
FileCurator.Windows is a set of formats that are only available using the full version of the .Net framework. If an alternative is built in .Net Standard these will be replaced. So consider this a hold over. |
|
|
HaterAide
HaterAide is a simple ORM that contains a number of features including automatic schema updates to a database based on the object mappings, stored procedure based calls and generation, etc. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 6.1.4 | 561 | 2/3/2026 |
| 6.1.3 | 2,800 | 1/19/2026 |
| 6.1.2 | 119 | 1/17/2026 |
| 6.1.1 | 8,609 | 11/13/2025 |
| 6.1.0 | 1,293 | 11/13/2025 |
| 6.0.17 | 3,284 | 10/15/2025 |
| 6.0.16 | 7,346 | 9/9/2025 |
| 6.0.15 | 5,623 | 8/5/2025 |
| 6.0.14 | 6,242 | 6/27/2025 |
| 6.0.13 | 228 | 6/27/2025 |
| 6.0.12 | 2,428 | 6/23/2025 |
| 6.0.11 | 201 | 6/20/2025 |
| 6.0.10 | 411 | 6/11/2025 |
| 6.0.9 | 263 | 5/19/2025 |
| 6.0.8 | 233 | 5/18/2025 |
| 6.0.7 | 249 | 3/15/2025 |
| 6.0.6 | 11,949 | 1/28/2025 |
| 6.0.5 | 8,080 | 12/4/2024 |
| 6.0.4 | 2,209 | 11/24/2024 |
| 6.0.3 | 252 | 11/23/2024 |
| 6.0.2 | 268 | 11/19/2024 |
| 6.0.1 | 3,054 | 11/18/2024 |
| 6.0.0 | 246 | 11/18/2024 |
| 5.1.1 | 222 | 11/16/2024 |
| 5.1.0 | 247 | 11/16/2024 |
| 5.0.65 | 1,751 | 11/11/2024 |
| 5.0.64 | 2,976 | 11/4/2024 |
| 5.0.63 | 2,449 | 10/29/2024 |
| 5.0.62 | 1,059 | 10/29/2024 |
| 5.0.61 | 3,626 | 10/9/2024 |
| 5.0.60 | 1,073 | 10/8/2024 |
| 5.0.59 | 12,440 | 8/22/2024 |
| 5.0.58 | 3,135 | 8/16/2024 |
| 5.0.57 | 2,450 | 8/13/2024 |
| 5.0.56 | 2,006 | 8/1/2024 |
| 5.0.55 | 4,159 | 7/10/2024 |
| 5.0.54 | 3,693 | 6/25/2024 |
| 5.0.53 | 30,593 | 6/24/2024 |
| 5.0.52 | 3,656 | 6/17/2024 |
| 5.0.51 | 3,901 | 6/11/2024 |
| 5.0.50 | 2,524 | 5/29/2024 |
| 5.0.49 | 4,601 | 5/15/2024 |
| 5.0.48 | 2,868 | 5/6/2024 |
| 5.0.47 | 2,787 | 5/1/2024 |
| 5.0.46 | 2,154 | 4/30/2024 |
| 5.0.45 | 1,102 | 4/29/2024 |
| 5.0.44 | 4,438 | 4/10/2024 |
| 5.0.43 | 4,272 | 3/27/2024 |
| 5.0.42 | 3,276 | 3/14/2024 |
| 5.0.41 | 1,181 | 3/13/2024 |
| 5.0.40 | 1,292 | 3/12/2024 |
| 5.0.39 | 2,350 | 3/6/2024 |
| 5.0.38 | 760 | 3/5/2024 |
| 5.0.37 | 681 | 3/4/2024 |
| 5.0.36 | 5,199 | 2/26/2024 |
| 5.0.35 | 2,137 | 2/21/2024 |
| 5.0.34 | 1,693 | 2/19/2024 |
| 5.0.33 | 2,286 | 2/13/2024 |
| 5.0.32 | 4,742 | 2/2/2024 |
| 5.0.31 | 7,872 | 1/29/2024 |
| 5.0.30 | 4,388 | 1/19/2024 |
| 5.0.29 | 3,564 | 1/9/2024 |
| 5.0.28 | 7,504 | 12/11/2023 |
| 5.0.27 | 4,610 | 11/22/2023 |
| 5.0.26 | 1,763 | 11/17/2023 |
| 5.0.25 | 1,954 | 11/16/2023 |
| 5.0.24 | 1,796 | 11/15/2023 |
| 5.0.23 | 3,558 | 11/6/2023 |
| 5.0.22 | 3,145 | 10/30/2023 |
| 5.0.21 | 2,846 | 10/24/2023 |
| 5.0.20 | 2,471 | 10/10/2023 |
| 5.0.19 | 3,511 | 9/18/2023 |
| 5.0.18 | 2,816 | 9/12/2023 |
| 5.0.17 | 1,467 | 9/11/2023 |
| 5.0.16 | 3,276 | 9/5/2023 |
| 5.0.15 | 1,518 | 9/4/2023 |
| 5.0.14 | 2,354 | 8/31/2023 |
| 5.0.13 | 1,702 | 8/30/2023 |
| 5.0.12 | 1,398 | 8/29/2023 |
| 5.0.11 | 1,892 | 8/28/2023 |
| 5.0.10 | 3,532 | 8/21/2023 |
| 5.0.9 | 1,908 | 8/16/2023 |
| 5.0.8 | 3,740 | 8/8/2023 |
| 5.0.7 | 1,470 | 8/7/2023 |
| 5.0.6 | 6,522 | 7/13/2023 |
| 5.0.5 | 893 | 7/12/2023 |
| 5.0.4 | 984 | 7/11/2023 |
| 5.0.3 | 626 | 7/10/2023 |
| 5.0.2 | 720 | 7/8/2023 |
| 5.0.1 | 732 | 7/8/2023 |
| 5.0.0 | 7,268 | 12/12/2022 |
| 4.0.24 | 10,808 | 6/6/2022 |
| 4.0.22 | 11,974 | 1/11/2022 |
| 4.0.21 | 9,665 | 6/17/2021 |
| 4.0.20 | 6,055 | 6/15/2021 |
| 4.0.19 | 2,763 | 1/6/2021 |
| 4.0.18 | 12,626 | 1/6/2021 |
| 4.0.17 | 1,188 | 1/6/2021 |
| 4.0.16 | 4,283 | 12/14/2020 |
| 4.0.15 | 1,229 | 12/12/2020 |
| 4.0.14 | 2,341 | 12/2/2020 |
| 4.0.13 | 1,085 | 12/2/2020 |
| 4.0.10 | 6,360 | 9/13/2020 |
| 4.0.9 | 19,256 | 4/16/2020 |
| 4.0.8 | 2,645 | 4/15/2020 |
| 4.0.7 | 2,301 | 4/15/2020 |
| 4.0.6 | 2,522 | 4/15/2020 |
| 4.0.5 | 6,429 | 4/10/2020 |
| 4.0.4 | 2,117 | 4/10/2020 |
| 4.0.3 | 9,341 | 3/25/2020 |
| 4.0.2 | 22,027 | 2/16/2020 |
| 4.0.1 | 9,574 | 11/23/2019 |
| 3.1.4 | 1,314 | 11/3/2019 |
| 3.1.3 | 1,650 | 6/19/2019 |
| 3.1.2 | 7,785 | 4/17/2019 |
| 3.1.1 | 10,551 | 2/21/2019 |
| 3.1.0 | 22,607 | 5/31/2018 |
| 3.0.6 | 5,468 | 5/22/2018 |
| 3.0.5 | 8,385 | 2/2/2018 |
| 3.0.4 | 3,302 | 1/23/2018 |
| 3.0.1 | 7,592 | 1/2/2018 |
| 2.0.24 | 3,366 | 12/12/2017 |
| 2.0.23 | 9,249 | 11/13/2017 |
| 2.0.22 | 8,754 | 10/2/2017 |
| 2.0.21 | 2,037 | 10/2/2017 |
| 2.0.20 | 3,708 | 10/2/2017 |
| 2.0.19 | 2,081 | 9/30/2017 |
| 2.0.18 | 2,079 | 9/29/2017 |
| 2.0.17 | 14,008 | 9/22/2017 |
| 2.0.16 | 3,947 | 9/20/2017 |
| 2.0.15 | 9,214 | 8/7/2017 |
| 2.0.14 | 14,162 | 5/17/2017 |
| 2.0.13 | 2,164 | 5/17/2017 |
| 2.0.12 | 2,188 | 5/12/2017 |
| 2.0.11 | 2,133 | 5/12/2017 |
| 2.0.5 | 10,740 | 1/24/2017 |
| 2.0.4 | 2,167 | 1/6/2017 |
| 2.0.3 | 4,835 | 12/9/2016 |
| 2.0.2 | 2,108 | 11/29/2016 |
| 2.0.1 | 2,968 | 11/23/2016 |
| 1.1.0 | 4,495 | 3/28/2011 |
| 1.0.10 | 2,110 | 5/12/2017 |
| 1.0.9 | 2,012 | 5/2/2017 |
| 1.0.8 | 2,067 | 4/14/2017 |
| 1.0.7 | 2,081 | 3/22/2017 |