Giter Club home page Giter Club logo

interviews-aspdotnet-test-01's Introduction

Instructions:

You have been asked to implement a set of services to assist with a school's rostering application. Given a domain with Classroom, Teacher and Student objects complete as much of the implementation as possible within the allotted time.

The system should be able to print the roster with a teacher and a minimum of 3 students.

For convenience, a template of an ASP.NET Core in .NET 5 project has been provided. The project contains a Swagger portal for easy testing and a generic Classroom class with helper methods. The controller routes, Teacher and Student objects are up to you to implement.

The excecise is designed to test your understanding of ASP.NET controllers, HTTP & some advanced coding practices. It is understandable given the short time period if a multi-tiered solution is not implemented.

Requirements:

The system will track the roster for a single classroom.

Roster Classroom //already started Students

The system shall be capable of adding a teacher to the classroom. done

The system shall be capable of adding multiple students to the classroom. done

The system shall be capable of returning the names of the teacher and each student in the classroom after they have been added.

{ teacher: "mr.smith", students: [ "bobby", "sally" ] }

The system shall not return a roster if no teacher has been assigned.

catch and don't return if { teacher: undefined }

The system shall not return a roster if less than 3 students have been assigned.

catch and don't return this data

{ students: [ "bobby", "sally" ] }

The system should return the roster in JSON format.

The system should handle and log any exceptions.

The system should return appropriate HTTP response codes to the client.

interviews-aspdotnet-test-01's People

Contributors

dougrchamberlain avatar mrultbdvox avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.