Introduction to Hazina: The .NET AI Framework That Does the Heavy Lifting
Hazina Framework

Introduction to Hazina: The .NET AI Framework That Does the Heavy Lifting

Building AI-powered applications in .NET shouldn’t require weeks of setup, glue code, and configuration nightmares. That’s exactly why Hazina exists – a comprehensive .NET framework that takes care of the infrastructure so you can focus on building features.

What is Hazina?

Hazina is an open-source .NET framework designed for developers who want to integrate AI capabilities into their applications without reinventing the wheel. Whether you need a simple chatbot, a document search engine with RAG (Retrieval-Augmented Generation), or a fully autonomous agent system – Hazina provides the building blocks.

Core Philosophy

The framework follows three guiding principles:

  1. Convention over configuration – sensible defaults that work out of the box
  2. Modular architecture – use only what you need
  3. Production-ready – built-in multi-tenancy, observability, and security

What You’ll Learn in This Series

Over the next 19 posts, we’ll walk through every major feature of Hazina:

  • Getting started in 5 minutes
  • Making your first AI call
  • Building zero-boilerplate APIs
  • Implementing document search with RAG
  • Creating dynamic plugins at runtime
  • Multi-tenant applications
  • Agent orchestration
  • And much more

Who Is This For?

If you’re a .NET developer (C#) who wants to add AI to your applications – or if you’re building a SaaS product and need a solid foundation – this series is for you. We assume basic knowledge of .NET 9 and C#, but each post is self-contained and includes working code examples.

Architecture at a Glance

Hazina is organized into layers:

Hazina/
â"œâ"€â"€ Core/           # AI engine, configuration, base abstractions
â"‚   â"œâ"€â"€ AI/         # FluentAPI, orchestration, providers
â"‚   â"œâ"€â"€ API/        # Generic CRUD framework
â"‚   â - â"€â"€ Plugins/    # Dynamic runtime plugin system
â"œâ"€â"€ Tools/          # Services, social providers, document store
â"œâ"€â"€ Production/     # Monitoring, health checks, observability
â - â"€â"€ Apps/           # Demo applications and showcases

Each layer builds on the previous one, but you can pick and choose. Need just the AI calls? Use Hazina.AI.FluentAPI. Need a full API with multi-tenancy? Add Hazina.API.Generic. It’s your call.

In the next post, we’ll get Hazina running on your machine in under 5 minutes. No really – 5 minutes.

Frequently Asked Questions

What is Hazina in .NET?

Hazina is an open-source .NET framework designed to help developers integrate AI capabilities into their applications easily. It eliminates the complexities of setup and configuration, allowing you to focus on building features instead of managing infrastructure.

Who can benefit from using Hazina?

Hazina is ideal for .NET developers, especially those familiar with C#, who want to incorporate AI functionalities into their applications. It’s also suitable for building SaaS products that require a robust foundation for AI integration.

What are the core principles of Hazina’s architecture?

Hazina is built on three core principles: Convention over configuration, ensuring sensible defaults; a modular architecture that allows you to use only what you need; and production readiness with features like multi-tenancy, observability, and security.

How quickly can I get started with Hazina?

You can get Hazina running on your machine in under 5 minutes. The upcoming blog series will guide you through every major feature, making it easy to start building your first AI-powered application immediately.

Terug naar overzicht

Frequently Asked Questions

What is the primary purpose of the Hazina framework? +

Hazina is an open-source .NET framework designed to help developers integrate AI capabilities into their applications efficiently, eliminating the need for extensive setup and configuration.

What are the three guiding principles behind Hazina's design? +

The framework is built on three principles: convention over configuration, which provides sensible defaults; modular architecture, allowing developers to use only what they need; and being production-ready with features like multi-tenancy, observability, and security.

What kinds of applications can developers create using Hazina? +

Developers can create a variety of AI-powered applications with Hazina, including chatbots, document search engines using Retrieval-Augmented Generation (RAG), and fully autonomous agent systems.

How is Hazina structured in terms of architecture? +

Hazina's architecture is organized into layers, including Core for AI engine and configuration, AI for FluentAPI and orchestration, API for CRUD framework, Plugins for dynamic runtime systems, Tools for services, and Production for monitoring.

What should developers expect in the upcoming series on Hazina? +

In the upcoming 19-post series, developers will learn how to get started quickly, make their first AI call, build zero-boilerplate APIs, implement document search with RAG, create dynamic plugins, and orchestrate agents, among other features.

ENNL