net3000.common.models
1.0.9
dotnet add package net3000.common.models --version 1.0.9
NuGet\Install-Package net3000.common.models -Version 1.0.9
<PackageReference Include="net3000.common.models" Version="1.0.9" />
<PackageVersion Include="net3000.common.models" Version="1.0.9" />
<PackageReference Include="net3000.common.models" />
paket add net3000.common.models --version 1.0.9
#r "nuget: net3000.common.models, 1.0.9"
#:package net3000.common.models@1.0.9
#addin nuget:?package=net3000.common.models&version=1.0.9
#tool nuget:?package=net3000.common.models&version=1.0.9
commonModels
Overview
The commonModels package contains shared view models and DTOs used across Net3000 services. It complements commonCore by providing reusable response wrappers, paging helpers, and view metadata containers that simplify cross-application rendering and API responses.
Public API
<details> <summary>net3000.common.models.ViewModel</summary>
| Member | Summary | Parameters |
|---|---|---|
void SetFeatureImage(string imageUrl, string fallbackImage) |
Set Feature Image. | imageUrl (string), fallbackImage (string) |
ViewModel ViewModel(string title, string metaTags, string featureImage, string headerCode) |
View Model. | title (string), metaTags (string), featureImage (string), headerCode (string) |
ViewModel ViewModel() |
View Model. | None |
ViewModel ViewModel(T data) |
View Model. | data (T) |
ViewModel ViewModel(T data, string title, string metaTags, string featureImage, string headerCode) |
View Model. | data (T), title (string), metaTags (string), featureImage (string), headerCode (string) |
</details>
<details> <summary>net3000.common.models.apiResponse</summary>
| Member | Summary | Parameters |
|---|---|---|
apiResponse apiResponse() |
Api Response. | None |
apiResponse apiResponse(T _data) |
Api Response. | _data (T) |
apiResponse apiResponse(apiResponse? externalResponse) |
Api Response. | externalResponse (apiResponse?) |
apiResponse apiResponse(apiResponse externalResponse, T _data) |
Api Response. | externalResponse (apiResponse), _data (T) |
apiResponse<T> merge(apiResponse externalResponse) |
Merge. | externalResponse (apiResponse) |
</details>
<details> <summary>net3000.common.models.pager</summary>
| Member | Summary | Parameters |
|---|---|---|
pager pager() |
Pager. | None |
</details>
<details> <summary>net3000.common.models.shippingPackage</summary>
| Member | Summary | Parameters |
|---|---|---|
shippingPackage shippingPackage() |
Shipping Package. | None |
</details>
Usage Notes
- Use
apiResponse<T>to standardise API payloads across services and merge responses from downstream systems. ViewModel<T>includes helpers for feature images and meta tags that support consistent page rendering.
License
This library is proprietary to Net3000. Redistribution or use outside Net3000.ca solutions is not permitted.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- System.IdentityModel.Tokens.Jwt (>= 8.15.0)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on net3000.common.models:
| Package | Downloads |
|---|---|
|
net3000.common
A utility library of functions built specific for Net3000.ca applications. |
|
|
apiConnectorCore
Package Description |
|
|
Net3000.PayPal
Package Description |
|
|
net3000.twilio
Twilio API integration library for Net3000 solutions. Provides SMS messaging, phone verification, and communication services using Twilio's platform. |
|
|
net3000.facebook
Facebook API integration library for Net3000 solutions. Provides Facebook Graph API functionality for posting content, managing pages, and retrieving social media data. |
GitHub repositories
This package is not used by any popular GitHub repositories.