₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,440 members, 8,511,858 topics. Date: Monday, 02 November 2026 at 12:22 PM

Toggle theme

Creating Basic .net Web Api With Craftsman - Programming - Nairaland

Nairaland Forum › Science/Technology › Programming › Creating Basic .net Web Api With Craftsman (394 Views)

1 Reply

Creating Basic .net Web Api With Craftsman by benjatoba(op): 2:41am On Dec 18, 2023

https://www.youtube.com/watch?v=rcRPvOh-q_8
In this video, I introduce you to **Craftsman**, a powerful web API creation tool developed by **Paul Devito**. Let's dive into the details:

1. **GitHub Repository**: You can find the Craftsman GitHub repository at [this link](https://github.com/pdevito3/craftsman). Paul Devito actively maintains it, and it's a great resource for exploring the tool.

2. **Craftsman Documentation**: The official website for Craftsman hosts comprehensive documentation. It covers everything you need to know about using Craftsman effectively. https://wrapt.dev/docs/how-it-works

3. **Creating a RecipeManagement Web API**:
- We start by defining the domain, entity, and entity properties in a **YAML file**. This structured approach ensures clarity and consistency.
- Next, we run the Craftsman command to create the web API. Craftsman streamlines the process, making it efficient and straightforward.
- Once the API is generated, we open the solution file in **Visual Studio**. The solution comprises the web API project, which adheres to the **CQRS (Command Query Responsibility Segregation)** principle, and the associated test project.
- To ensure data integrity, we generate migrations for the database.
- Finally, we test the API using **Swagger**, a powerful tool for API exploration and testing.

4. **Accessing the Completed Solution**:
- You can find the completed solution files on GitHub: [MuyikRecipeManagement](https://github.com/benjaminsqlserver/MuyikRecipeManagement).

Craftsman simplifies web API development, and with this walkthrough, you'll be well-equipped to create robust APIs. Happy coding! 🚀🔧

https://www.youtube.com/watch?v=rcRPvOh-q_8
1 Reply

.Net Core 3.1 Web Api And Angular 9 With Jwt Authentication And Role Base Auth • Implementing End To End Restful Web API Encryption With SHA512 • Accepting Different Types Of Request Body Content In Asp..net Web API • 2 • 3 • 4

Python Programming • Tech Support Or HSE ( Safety) Which One? • Launch Your Own Telegram Mini App Game In No Time!