Skip to content

Azure-deployed ASP.NET Core Web app that allows Footballies to create teams and players.

Notifications You must be signed in to change notification settings

luayyounus/Football-Game

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 

Repository files navigation

Footies ASP.NET Core Application

Author: Luay Younus

Overview

Web app that allows Football/Soccer lovers to Create teams, Add players and join existing teams. Click to Open Web App Deployed on Azure

Architecture

  • C# ASP.NET Core application.
  • MVC architectural design pattern.
  • Entity Framework (Object-Relational Mapper)
  • Azure (Deployment Service)

Requirements to run the Application

To open the project on local machine

  1. Clone the repository to your local machine.
  2. Cd into the application directory where the AppName.sln exist.
  3. Open the application using Open/Start AppName.sln.
  4. Change the database constring inside the appsettings.json file to:-
"DefaultConnection": "Server=(localdb)\\MSSQLLocalDB;Database=Football;Trusted_Connection=True;MultipleActiveResultSets=true"
  1. Save the file then Run the application by clicking on the Play button .
  2. The website will run on your default web browser routing to the main home page.

What to expect the first you run the app?

  • 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.

Main components of the Application

  • 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.

Dependencies and Packages

  • AspNetCore.All
  • EntityFrameworkCore.InMemory
  • EntityFrameworkCore.Tools
  • Xunit
  • Xunit.Runner

About

Azure-deployed ASP.NET Core Web app that allows Footballies to create teams and players.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 92.2%
  • C# 7.7%
  • Smalltalk 0.1%