Author: Luay Younus
Web app that allows Football/Soccer lovers to Create teams, Add players and join existing teams. Click to Open Web App Deployed on Azure
- C# ASP.NET Core application.
- MVC architectural design pattern.
- Entity Framework (Object-Relational Mapper)
- Azure (Deployment Service)
- Visual Studio 2017 Community with .NET Core 2.0 SDK
- GitBash / Terminal or GitHub Extension for Visual Studio
- Clone the repository to your local machine.
- Cd into the application directory where the
AppName.sln
exist. - Open the application using
Open/Start AppName.sln
. - Change the database
constring
inside theappsettings.json
file to:-
"DefaultConnection": "Server=(localdb)\\MSSQLLocalDB;Database=Football;Trusted_Connection=True;MultipleActiveResultSets=true"
- Save the file then Run the application by clicking on the Play button .
- The website will run on your default web browser routing to the main home page.
- Navigation bar with Home Page to Create a Team and View All teams available.
- When Team is created or picked, New player can be ADDED, UPDATED, DELETED.
- DbContext for dependency injection used in controllers
- Two Main controllers
- Two models for Teams and Players
- ASP Tag Helpers are used for view routing
- Test Project with InMemoryDb context to test controllers.
- AspNetCore.All
- EntityFrameworkCore.InMemory
- EntityFrameworkCore.Tools
- Xunit
- Xunit.Runner