Go to file
Pano fd266e598d
Merge pull request #10 from fredericaltorres/FredCleanUp2
Update all nuget packages for 4.6.1
2020-05-06 16:57:42 -04:00
ProjectDB Update all nuget package for 4.6.1 2020-05-05 15:14:17 -04:00
Tests Update all nuget package for 4.6.1 2020-05-05 15:14:17 -04:00
Web Update all nuget package for 4.6.1 2020-05-05 15:14:17 -04:00
.gitignore Add project 2018-06-05 12:13:56 -04:00
BrainWare.sln Upgrade to .NET 4.6.1. Default to connection string using local instance of sql server. Added setup instruction in readme 2020-04-29 16:28:34 -04:00
output.GIF Add readme 2018-06-05 18:43:50 -04:00
README.md Fred CleanUp Part 1 2020-04-30 19:12:39 -04:00

BrainWare Order List

This is a very small sample web application written in a very simplistic manner.

Grab the code and refactor it so that it meets your standard for production ready code.

There is no need to add additional functionality and you do not need to keep the existing code or project structure.

The only requirement is that it returns the list of orders and that it meets your standards!

Fork this project to your personal repo and commit all your changes to that branch.

Changes for Running Locally

Update the connection string in the class \Web\Infrastructure\Database.cs.

Change the AttachDbFile name to the full path of the BrainWare.mdf file (located under \Web\App_Data).

Original Output Example

page image

Setup

Database Setup

  • Start SQL Server Management Studio as Administrator

  • Once connected to your local SQL Server instance

  • Right click on the Database node and select Attach

  • Select the file BrainWare\Web\App_Data\BrainWare.mdf

  • You can also deploy the project ProjectDB to your local SQL Server instance

  • Then execute in SQL Server Management Studio the file BrainWare\ProjectDB\PopulateDB.sql

Visual Studio

  • Open solution BrainWare\BrainWare.sln
  • Update the database connection string in file Web\Infrastructure\Database.cs
  • Set the project Web, as the start up project
  • Press F5
  • Expected a browser is open with the result of the first order