This repository contains the source code for a blog application developed using ASP.NET Core. The application allows users to register, log in, create blog posts, manage categories, and upload images for their profile. The codebase follows the MVC (Model-View-Controller) architectural pattern and utilizes Entity Framework Core for data access.
-
User Registration and Login: Users can register an account by providing their name, email, and password. Passwords are securely hashed using a password hashing algorithm. Registered users can log in to the application using their email and password.
-
Blog Posts: Authenticated users can create new blog posts. Each blog post has a title, summary, body content, and associated category. Posts can be edited and deleted by the author.
-
Categories: Users can manage categories for organizing blog posts. Categories have a name and a slug for identifying them. Categories are stored in the database and can be created, updated, and deleted.
-
Image Upload: Authenticated users can upload an image to use as their profile picture. Uploaded images are stored in the database or file system, depending on the application's configuration.
This API was created using Balta.io's backend course. I recommend checking it out if you're interested in learning about .NET programming.