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.
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.
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.
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.
- ASP.NET MVC
- Entity Framework
- C#
- SQL Server
- JWT Authentication (in EntityMVC3)
- HTML/CSS
- JavaScript
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
- Clone the repository
- Open each solution file in Visual Studio
- Restore NuGet packages
- Update the connection strings in
Web.configfiles if necessary - Run the Entity Framework migrations
- Build and run the projects
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
- Basic CRUD operations
- Entity Framework Code First approach
- Simple data models and relationships
- Advanced CRUD operations
- Complex data relationships
- Improved user interface
- Enhanced data validation
- JWT-based authentication
- Secure API endpoints
- User management
- Role-based authorization
- Protected routes and resources
Feel free to fork this repository and submit pull requests. You can also open issues for any bugs or feature requests.
This project is licensed under the MIT License - see the LICENSE file for details.