Skip to content

christinebittle/varsity_mvp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Varsity Project

A work in progress project for a system represents a fan site for Varsity Sports.

Features In Progress

  • Showing Support on Users View

To Run This Project

  • Clone Codebase
  • Right Click Project > View Project in File Explorer > Create Folder "App_Data"
  • Tools > Nuget Package Manager > Package Manager Console
  • enable-migrations
  • add-migration {migration_name}
  • update-database
  • update portnumber in PlayerController.cs, TeamController.cs, SponsorController.cs

Test Admin / Account functionality

  • Register two Users through the App
  • View > SQL Server Object Explorer
  • Create two roles "Admin" and "Fan" in AspNetRoles
  • Navigate to AspNetUsers, grab both ids (strings) of the accounts created
  • Navigate to AspNetUserRoles
  • Insert an association between one User and the Admin Role (userid, roleid)
  • Insert an association between one User and the Fan Role (userid, roleid)
  • One user should be able to CRUD on all entities as Administrator (full access)
  • The other user should be able to Create and Delete their messages of Support (partial access)
  • Non-logged in user can read information (read access)

Listing Players

Showing Player

Updating a player

Listing Sponsors

Update Sponsor Show Sponsor

Show Team

Common Issues

Unable to access part of path ... roslyn/csc.exe

  • Right click solution > Clean
  • Right click solution > Build
  • Right click solution > Rebuild

Update Database failed. Could not create .mdf file

  • Create "App_Data" Folder in project

The name or namespace 'Script'/'JavaScriptSerializer' could not be found

  • Right click "References"
  • Add System.Web.Extensions

Every Action says something went wrong

  • Update the port number to the current port your local project is using
  • update portnumber defined in PlayerController.cs, TeamController.cs, SponsorController.cs

Adding a player leads to an error

  • Add a team first, each player must play for a team

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published