Skip to content

An ASP.NET Core MVC web application built with Entity Framework Core for data access, following the Model-View-Controller architectural pattern and utilizing C# as the primary programming language.

License

Notifications You must be signed in to change notification settings

tiraten-bot/MvcEntityFrameWorks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Entity Framework MVC Projects Collection

This repository contains three different ASP.NET MVC projects that demonstrate various implementations and features using Entity Framework. Each project showcases different aspects of web development with .NET.

Projects Overview

1. EntityMVC

The first project in the series that demonstrates basic Entity Framework implementation with ASP.NET MVC. This project serves as a foundation for understanding the integration of Entity Framework in an MVC architecture.

2. EntityMVC2

A continuation of the first project with enhanced features and more advanced Entity Framework implementations. This project builds upon the basic concepts and introduces more complex database operations and relationships.

3. JwtAuthMVC (EntityMVC3)

The third project in the series focuses on implementing JWT (JSON Web Token) authentication in an ASP.NET MVC application with Entity Framework. This project demonstrates secure authentication and authorization practices.

Technologies Used

  • ASP.NET MVC
  • Entity Framework
  • C#
  • SQL Server
  • JWT Authentication (in EntityMVC3)
  • HTML/CSS
  • JavaScript

Prerequisites

To run these projects, you'll need:

  • Visual Studio 2019 or later
  • .NET Framework 4.7.2 or later
  • SQL Server (LocalDB or higher)
  • Basic understanding of C# and MVC architecture

Getting Started

  1. Clone the repository
  2. Open each solution file in Visual Studio
  3. Restore NuGet packages
  4. Update the connection strings in Web.config files if necessary
  5. Run the Entity Framework migrations
  6. Build and run the projects

Project Structure

Each project follows the standard MVC architecture:

  • Models: Data models and Entity Framework context
  • Views: User interface templates
  • Controllers: Application logic and routing
  • Data: Entity Framework migrations and configurations

Features

EntityMVC

  • Basic CRUD operations
  • Entity Framework Code First approach
  • Simple data models and relationships

EntityMVC2

  • Advanced CRUD operations
  • Complex data relationships
  • Improved user interface
  • Enhanced data validation

JwtAuthMVC (EntityMVC3)

  • JWT-based authentication
  • Secure API endpoints
  • User management
  • Role-based authorization
  • Protected routes and resources

Contributing

Feel free to fork this repository and submit pull requests. You can also open issues for any bugs or feature requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

An ASP.NET Core MVC web application built with Entity Framework Core for data access, following the Model-View-Controller architectural pattern and utilizing C# as the primary programming language.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published