nnews-guide

Integrate the NNews NuGet package to consume the NNews CMS API in .NET 8 projects.

1|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/emaginebr/devblog --skill nnews-guide-emaginebr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nnews-guide
Source: https://github.com/emaginebr/devblog/tree/main/.claude/skills/nnews-guide
Command: npx skills add https://github.com/emaginebr/devblog --skill nnews-guide-emaginebr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide helps developers integrate the NNews NuGet package to consume the NNews CMS API from .NET 8 projects, enabling consistent data access and AI-assisted content workflows.

Core Features & Use Cases

  • Install and configure the NNews package in a .NET 8 app
  • Set ApiUrl and Tenant context for multi-tenant environments
  • Wire up DI for IArticleClient, ICategoryClient, ITagClient, and IImageClient, plus AI variants
  • Use cases include listing articles, creating/updating content, and AI-generated content workflows

Quick Start

Install the NNews package, configure ApiUrl and default tenant, register DI for the HttpClients, and start calling IArticleClient to fetch or manage articles.

Frequently Asked Questions about nnews-guide

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate the NNews CMS API with a .NET 8 project?

To integrate the NNews CMS API in .NET 8, install the NNews NuGet package, configure the ApiUrl and tenant ID, and register the NNews HTTP clients using dependency injection for article, category, tag, and image workflows.

How do I configure multi-tenant HTTP clients for NNews in .NET?

Configuring multi-tenant HTTP clients for NNews requires registering a TenantHeaderHandler in your dependency injection container and supplying a specific tenant ID alongside the NNews ApiUrl setting.

Can I use AI-assisted content generation with the NNews package in .NET 8?

Yes, the NNews package supports AI-assisted content generation in .NET 8 by wiring up dedicated AI variants of the article and image clients through dependency injection alongside your standard CMS API workflows.

What DI registrations are needed to fetch articles using the NNews package?

Fetching articles using the NNews package requires dependency injection registrations for IArticleClient, a TenantHeaderHandler, and the NNews HTTP clients, utilizing a configured ApiUrl and tenant ID.

Does the NNews package support category, tag, and image workflows in .NET 8?

Yes, the NNews package fully supports category, tag, and image workflows in .NET 8 by registering ICategoryClient, ITagClient, and IImageClient interfaces in your dependency injection container for CMS API data access.