Net3000.Content 1.0.0

dotnet add package Net3000.Content --version 1.0.0
                    
NuGet\Install-Package Net3000.Content -Version 1.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="Net3000.Content" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Net3000.Content" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Net3000.Content" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Net3000.Content --version 1.0.0
                    
#r "nuget: Net3000.Content, 1.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.
#:package Net3000.Content@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Net3000.Content&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Net3000.Content&version=1.0.0
                    
Install as a Cake Tool

content

Overview

The content library provides CMS tooling for Net3000 solutions. It contains form-processing workflows, content retrieval services, menu utilities, and video helpers that work together with the Net3000 content database. Applications use this library to build dynamic pages, capture form submissions, and attach metadata to site assets.

Public API

<details> <summary>net3000.content.ProcessForm</summary>

Member Summary Parameters
Task<string> DownloadDataAsync(int formid, bool downLoadAll) Download Data Async. formid (int), downLoadAll (bool)
Task<formSubObject> LoadDataForSubAsync(cm_formSubs formSubRow) Load Data For Sub Async. formSubRow (cm_formSubs)
Task LoadDataForSubIDAsync(int subID) Load Data For Sub ID Async. subID (int)
ProcessForm ProcessForm(IConfiguration _configuration) Process Form. _configuration (IConfiguration)
ProcessForm ProcessForm() Process Form. None
cm_forms copyForm(int formid) Copy Form. formid (int)
cm_forms copyForm(cm_forms sourceForm) Copy Form. sourceForm (cm_forms)
string downloadData(int formid, bool downLoadAll) Download Data. formid (int), downLoadAll (bool)
void emailToAdmin() Email To Admin. None
void emailToClient() Email To Client. None
string formDataHtml(string template) Form Data Html. template (string)
string formDataHtmlsub(string template, Dictionary<string, string> items) Form Data Htmlsub. template (string), items (Dictionary<string, string>)
string formDataText() Form Data Text. None
formSubObject loadDataForSub(cm_formSubs formSubRow) Load Data For Sub. formSubRow (cm_formSubs)
void loadDataForSubID(int subID) Load Data For Sub ID. subID (int)
string mergeParameters(string template) Merge Parameters. template (string)
int processForm(sendOptions sendEmails) Process Form. sendEmails (sendOptions)
void processFormByTitle(string title, string templateFormCode) Process Form By Title. title (string), templateFormCode (string)
void sendFormSMS(cm_forms form, string number, List<string> numbers) Send Form SMS. form (cm_forms), number (string), numbers (List<string>)
void updatedata() Updatedata. None

</details>

<details> <summary>net3000.content.lib</summary>

Member Summary Parameters
Task<byte[]> DownloadImageAsBytesAsync(string url) Download Image As Bytes Async. url (string)
Task<string> GenerateCMSitemap() Generate CM Sitemap. None
string Insertshortcodes(string content) Insertshortcodes. content (string)
apiResponse<List<hyperLink>> Linksv21() Linksv 21. None
Dictionary<string, string> MetaTagList(cm_content content) Meta Tag List. content (cm_content)
Dictionary<string, string> MetaTagList(cm_categories cm_categories) Meta Tag List. cm_categories (cm_categories)
string MetaTagListString(cm_content content) Meta Tag List String. content (cm_content)
string MetaTagListString(cm_categories cm_categories) Meta Tag List String. cm_categories (cm_categories)
Task<apiResponse> addTestimonial(cm_testimonials testimonialInput) Add Testimonial. testimonialInput (cm_testimonials)
Task<cm_banners> banner(int id, string code) Banner. id (int), code (string)
Task<cm_content> contentByPageCode(string pageCode, string lang, bool mergeAccountData) Content By Page Code. pageCode (string), lang (string), mergeAccountData (bool)
Task<cm_content> contentByid(int id) Content Byid. id (int)
string extract(string datastring, string startstring, string delimeter, ") Extract. datastring (string), startstring (string), delimeter (string), " (value)
cm_categories extractSections(int? id, string pageCode, bool includePages) Extract Sections. id (int?), pageCode (string), includePages (bool)
string extractshortcodes(string str) Extractshortcodes. str (string)
List<cm_menuItems> getMenu(string menuCode, int? _account) Get Menu. menuCode (string), _account (int?)
testimonial getTestimonial(cm_content page) Get Testimonial. page (cm_content)
testimonial getTestimonialv2(cm_testimonials page) Get Testimonialv 2. page (cm_testimonials)
string javaScriptObject(cm_content page) Java Script Object. page (cm_content)
apiResponse<string> postPageToFacebook(cm_content content, string pageId) Post Page To Facebook. content (cm_content), pageId (string)
string prepfields(string str, object row) Prepfields. str (string), row (object)
Task<apiResponse<postResponse>> publishFacebookBanner(cm_banners banner, Guid uuid) Publish Facebook Banner. banner (cm_banners), uuid (Guid)
Task<apiResponse<postResponse>> publishFacebookContent(cm_content page, Guid uuid) Publish Facebook Content. page (cm_content), uuid (Guid)
Task<cm_categories> section(int? id, string sectionCode, bool includePages, bool includePageList, bool copyFromDefault, int? account, bool includeSubSections, bool includeSubSectionPages, bool includeBanners, int pageIndex, int pageSize) Section. id (int?), sectionCode (string), includePages (bool), includePageList (bool), copyFromDefault (bool), account (int?), includeSubSections (bool), includeSubSectionPages (bool), includeBanners (bool), pageIndex (int), pageSize (int)
string sectionURL(cm_categories section) Section URL. section (cm_categories)
string sectionURL(int sectionID, string sectionCode) Section URL. sectionID (int), sectionCode (string)
void sendEmailReview(cm_testimonials review) Send Email Review. review (cm_testimonials)
string structuredData(cm_content content) Structured Data. content (cm_content)
string structuredData(cm_categories section) Structured Data. section (cm_categories)
List<cm_categories> subSections(int? id, string sectionCode, bool includePages) Sub Sections. id (int?), sectionCode (string), includePages (bool)
Task<testimonialPage> testimonials(string stars, int pageSize, int pageIndex) Testimonials. stars (string), pageSize (int), pageIndex (int)
testimonialPage testimonialsv2(string stars, int pageSize, int pageIndex) Testimonialsv 2. stars (string), pageSize (int), pageIndex (int)
apiResponse<List<testimonial>> testimonialsv21(int pageSize, int pageIndex, bool withtext) Testimonialsv 21. pageSize (int), pageIndex (int), withtext (bool)
void uploadFacebookTestimonials(int account, Stream stream) Upload Facebook Testimonials. account (int), stream (Stream)
void uploadTestimonials(int account, Stream stream) Upload Testimonials. account (int), stream (Stream)

</details>

<details> <summary>net3000.content.menu</summary>

Member Summary Parameters
List<cm_menuItems> getMenu(string menuCode, int? _account) Get Menu. menuCode (string), _account (int?)
string getMenuHtml(string menuCode, int? _account) Get Menu Html. menuCode (string), _account (int?)

</details>

<details> <summary>net3000.content.models.testimonial</summary>

Member Summary Parameters
string metaField(string fieldName) Meta Field. fieldName (string)

</details>

<details> <summary>net3000.content.models.testimonialPage</summary>

Member Summary Parameters
testimonialPage testimonialPage() Testimonial Page. None

</details>

<details> <summary>net3000.content.video</summary>

Member Summary Parameters
string extractvid(string url) Extractvid. url (string)
string getsrc(string embedcode) Getsrc. embedcode (string)
string getvideoimage(string id, string videourl) Getvideoimage. id (string), videourl (string)

</details>

Usage Notes

  • ProcessForm orchestrates form submission handling; set configuration and data contexts before invoking processForm to ensure notifications and persistence work.
  • Use content.lib helpers like MetaTagList and GenerateCMSitemap when generating SEO metadata or sitemaps.

License

This library is proprietary to Net3000. Redistribution or use outside Net3000.ca solutions is not permitted.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Net3000.Content:

Package Downloads
Net3000.Almotawif

Travel and pilgrimage booking library for Net3000 solutions. Provides services for managing packages, categories, departures, reservations, supplier imports, marketing metadata, notifications, and integrations such as Facebook posting and Twilio SMS.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 140 10/2/2025

Initial release of Net3000 Content library with CMS tooling, form processing, and content management features.