Skip to content

HasanSoherwardi/CRUD_ASP.NETCore_WebApi

Repository files navigation

ASP.NET Core Web-API

Example of CRUD operations with photo support using ASP.NET Core Web-API.

Key Features:

• ADO.NET for database interaction (no Entity Framework or Code First Migrations)

• CRUD operations with photo handling

• *Database .bak file included

Learning Objectives:

• Connecting to Microsoft SQL Server

• Creating controller methods (GET, POST, PUT, DELETE)

• Implementing complete CRUD operations with photo support

Steps to Run:

  1. Restore Database:

o Use SQL Server 2017 or higher to restore the provided *.bak file.

  1. Open Project in Visual Studio 2022:

o Launch the project in Visual Studio 2022 Latest version

  1. Update Connection String:

o Modify the “appsettings.json” file with the correct connection string for your restored database.

  1. Run:

o Start the application to launch the Web-API.

Additional Notes:

• .NET Framework Version: Please verify the actual .NET Framework version used (likely .NET 8.0).

This project is 100% functional and provides a valuable learning resource for beginners.

WebApi Output

About

Example of CRUD operations with photo support using ASP.NET Core Web-API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages