Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,157,998 members, 7,835,348 topics. Date: Tuesday, 21 May 2024 at 09:02 AM

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

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

Accepting Different Types Of Request Body Content In Asp..net Web API / Upload File With Other Body Parameters In Asp.net Web API / SMS API For A .Net Web Application (2) (3) (4)

(1) (Reply)

Creating Basic .net Web Api With Craftsman by benjatoba(m): 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)

Needed: A Statistics Tutor With A Knowledge Of Rstudio / Why Can't I Accces Facebook / Buy Negative Google Reviews

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 10
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.