Coject.Core.Controller
1.3.3
dotnet add package Coject.Core.Controller --version 1.3.3
NuGet\Install-Package Coject.Core.Controller -Version 1.3.3
<PackageReference Include="Coject.Core.Controller" Version="1.3.3" />
<PackageVersion Include="Coject.Core.Controller" Version="1.3.3" />
<PackageReference Include="Coject.Core.Controller" />
paket add Coject.Core.Controller --version 1.3.3
#r "nuget: Coject.Core.Controller, 1.3.3"
#:package Coject.Core.Controller@1.3.3
#addin nuget:?package=Coject.Core.Controller&version=1.3.3
#tool nuget:?package=Coject.Core.Controller&version=1.3.3
Copyright (c) 2024 Akwad Arabia
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name of Akwad Arabia shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from Akwad Arabia.
Version 1.3.3
BaseController accepts Database:Provider directly, including provider-only
configuration without Database:Type. Every request database context receives
the configured provider. The public DatabaseType enum property remains available
for existing compiled consumers; numeric-only settings remain compatible, and
conflicting provider/type selections are rejected. Database packages remain at
1.0.5. Logging.AspNetCore 1.9.1 already permits this Controller patch release.
Version 1.3.2
This release corrects named Oracle procedure parameters in the existing core DAL methods, including the SMS log error filter, permission cursor, shared Security selectors, profile language, role-responsibility module filter, and template variable filters. Application result-table names are preserved. The affected methods reset and clear their parameters between calls and preserve database errors when outputs are unavailable.
Client registration no longer declares an unsupported client-ID output. Market registration uses the procedure's validity-date inputs without sending an unsupported plan-code parameter. AD deactivation no longer reads an output that its procedure does not return. These contracts were checked against the configured Security and Message Manager schema metadata; provision, update, and deactivation procedures were tested with a recording database provider, without executing business writes against the live database. Different database seed versions need their own compatibility check.
The package now depends on Coject.Core.Database 1.0.5. Applications using Oracle
must also install Coject.Core.Database.Oracle 1.0.5 and retain their provider
configuration. The Controller package remains provider-neutral. Security updates
include MimeKit 4.18.1, System.Security.Cryptography.Xml 10.0.13,
System.Security.Cryptography.Pkcs 10.0.13, and System.Drawing.Common 10.0.13.
The permission cursor is configured by UserDAL.GetUserMethod; application code
can call it directly. Existing callers that predeclare METHOD_REF continue to
work. Permission-loading errors must still prevent session creation.
Standard SelectAll actions default an omitted or null page to 1 and page_size
to 25. Generated action signatures use int? page = null, int? page_size = null
and pass page ?? 1, page_size ?? 25 to ExecuteSelectAllAsync. The shared runtime
also treats zero as omitted for existing generated actions with non-nullable
integer parameters. Positive values are preserved. Negative pagination values
and query binding errors are rejected before the DAL executes. The original
integer helper signature is retained for existing compiled applications.
Controller runtime compatibility seam
Version 1.3.0 adds an opt-in, product-neutral DI seam for generated consumers and the shared standard-operation runtime:
services.AddControllerRuntime(serviceProvider =>
new BaseController(
serviceProvider.GetRequiredService<IConfiguration>(),
serviceProvider.GetRequiredService<ISecurityTokenProvider>(),
serviceProvider.GetRequiredService<ApiContext>()));
The factory can select any existing constructor that matches the application's registrations.
The registration adds IControllerRuntime as a scoped service. Its BaseController
property returns the exact instance created by the application-supplied factory, so existing
helpers, compatibility fields, authentication/status/error behavior, and CoreModuleDB
semantics remain in BaseController. The library does not choose among the existing 18
constructors, register a BaseController, expose raw credentials, or depend on
Coject.Core.Logging.AspNetCore.
StandardOperationController<TEntity, TDal> and
StandardAuditedOperationController<TEntity, TDal> now live in this package. They
retain the generated CRUD/batch/read helper surface and accept the application-owned
RESPONSE, CoreModel, CoreModuleDB, DAL factory, and Contracts logger at the
composition boundary. The package references Coject.Core.Logging.Contracts only;
it does not depend on the Core logging provider or on an application response assembly.
The audited base is explicit opt-in and enables snapshot/mutation auditing; the
ordinary base leaves those switches disabled.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. |
-
net8.0
- Coject.Core.Database (>= 1.0.5)
- Coject.Core.Logging.Contracts (>= 3.1.0)
- Coject.Core.Model (>= 1.0.33)
- Microsoft.AspNetCore.Identity.EntityFrameworkCore (>= 8.0.6)
- Microsoft.AspNetCore.Mvc.Core (>= 2.2.5)
- Microsoft.Extensions.Caching.Memory (>= 9.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 8.0.1)
- Microsoft.IdentityModel.Tokens (>= 8.2.1)
- MimeKit (>= 4.18.1)
- NRediSearch (>= 2.2.79)
- System.Drawing.Common (>= 10.0.13)
- System.IdentityModel.Tokens.Jwt (>= 8.2.1)
- System.Net.Http (>= 4.3.4)
- System.Security.Cryptography.Pkcs (>= 10.0.13)
- System.Security.Cryptography.Xml (>= 10.0.13)
- System.Text.Encodings.Web (>= 9.0.0)
- System.Text.Json (>= 9.0.0)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Coject.Core.Controller:
| Package | Downloads |
|---|---|
|
Coject.Core.Helper
A comprehensive .NET 8.0 helper library providing production-ready utilities for enterprise applications. Coject.Core.Helper streamlines common development tasks with robust implementations for file management, email services, data processing, security, and cloud integration. Key Features: - File Management: Multi-provider support (AWS S3, FTP, Local) with upload, download, and file signature validation - Email Services: Full-featured SMTP integration using MailKit with template support and signature generation - Security: Data encryption, JWT token handling, and barcode generation with ZXing - Data Utilities: JSON processing, date/time helpers, string manipulation, and image handling - Cloud Integration: Seamless AWS S3 operations with configurable storage solutions - API Integration: Helper classes for external service communication Perfect for applications requiring reliable file storage, secure email delivery, data encryption, and cloud service integration. Built with extensibility and performance in mind, this library reduces boilerplate code and accelerates development cycles. Dependencies include MailKit, MimeKit, AWSSDK.S3, System.IdentityModel.Tokens.Jwt, and ZXing.Net.Mobile for comprehensive functionality. |
|
|
CojectCore.BackgroundServices
A lightweight background service library for ASP.NET Core to manage SMS, Email, and custom background tasks with simple configuration. |
|
|
Coject.Core.Logging.AspNetCore
Provider-neutral ASP.NET Core execution and diagnostic seam for Coject custom procedures and standard operations. |
|
|
Coject.BackgroundServices
A lightweight background service library for ASP.NET Core to manage SMS, Email, and custom background tasks with simple configuration. |
|
|
CojectCore.Common
Coject Common Class Library The Coject Common Class Library is an essential component designed to provide a collection of commonly used classes and utilities that facilitate efficient development across various projects. This library acts as a central repository for shared functionalities, reducing code redundancy and enhancing maintainability. Key Features of Coject Common Class Library: Reusable Components: The library includes a suite of reusable classes that can be leveraged across multiple projects, ensuring consistency and saving development time. * Utility Functions: It offers utility functions and methods that simplify common tasks such as string manipulation, date formatting, and validation, streamlining development workflows. * Configuration Management: Centralized configuration management classes allow easy access to application settings, promoting best practices in handling environment-specific configurations. * Logging Support: Built-in logging utilities help developers track application behavior and performance, making it easier to diagnose and troubleshoot issues. * Exception Handling: The library provides a standard approach to error handling, ensuring that exceptions are captured and managed uniformly across the application. * Data Transformation: Classes for data transformation and mapping facilitate the conversion of data between different formats, making it easier to integrate with various data sources. * Extensibility: The Coject Common Class Library is designed to be easily extendable, allowing developers to add new functionalities as their projects evolve without significant restructuring. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.3.3 | 79 | 10/22/2026 |
| 1.3.2 | 92 | 10/21/2026 |
| 1.3.1 | 410 | 9/20/2026 |
| 1.3.0 | 125 | 9/20/2026 |
| 1.2.0 | 138 | 9/13/2026 |
| 1.1.29 | 398 | 2/26/2026 |
| 1.1.28 | 155 | 2/26/2026 |
| 1.1.27 | 171 | 2/4/2026 |
| 1.1.26 | 158 | 2/3/2026 |
| 1.1.25 | 160 | 2/3/2026 |
| 1.1.24 | 170 | 1/25/2026 |
| 1.1.23 | 156 | 1/19/2026 |
| 1.1.22 | 155 | 1/19/2026 |
| 1.1.21 | 178 | 1/3/2026 |
| 1.1.20 | 168 | 1/1/2026 |
| 1.1.19 | 706 | 12/9/2025 |
| 1.1.18 | 475 | 12/8/2025 |
| 1.1.17 | 436 | 12/8/2025 |
| 1.1.16 | 976 | 12/3/2025 |
| 1.1.15 | 710 | 12/3/2025 |