• Stars
    star
    1
  • Language
    C#
  • Created almost 7 years ago
  • Updated almost 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This is an assignment from Norges Yrkesakademi. Imagine the following scenario: You should create a system that has an overview of wholesalers and customers for a business. The company sells CDs and these are only sold to wholesalers with their dealers. First, you create an interface class that will describe minimum requirements for all customers, ie both wholesalers and dealers. Wholesaler and dealer must implement this interface. In addition, a class for sale will be created that will not inherit the others. You should create an application that uses the class library, which should be in a separate project. The application should populate some "fake" data into the classes. You can choose an optional way to list the values.

More Repositories

1

User-access

This is an assignment from Norges Yrkesakademi. Create an MVC Web site with database connection and turn on the EF Code First Migrations. Create the following data in the Configuration Class Seed Method: 1) To roles: admin and user 2) A user who is assigned the Administrator role Make necessary changes to AccountController so newly registered users get assigned the role User. Then create an AdminController with an index view and link from the main page. The Index view in AdminController displays all users and their role. Click on username links to a page where you can change the user's role. Create the page to change the role of a user. Add the opportunity to login / register with Facebook. Check that it is possible to change the role of users created in this way The admin pages should only be available, and link in menu should only be displayed, for logged in users with the role Administrator.
C#
3
star
2

File-archive

This is an assignment from Norges Yrkesakademi. Create an MVC website that acts as a file archive. You need at least two pages. One to upload files and one to view all files. The storage component must read the configuration from AppSettings in web.config and choose the correct storage method. It must be able to read and retrieve files based on file name and category. You will only implement a local storage method. The files must be saved in a separate folder ‘Archive‘ under ‘AppData’. Subfolders represent categories. The page for viewing files must display all files from the Archive folder, grouped by categories (subfolders). Each file must have a download-link. On the page for upload files it should be possible to upload multiple files at once. When uploading files, the user must select an existing category or create a new one. The files are stored in the correct subfolder according to category. If there is a new category, a new subfolder must be created.
C#
2
star
3

WebCalculator

This is an assignment from Norges Yrkesakademi. Create a calculator web application with the same functionality as in the first mandatory submission, ie plus, minus, times, parts. Create an MVC website with a view and a controller. The view should have input fields for the two numbers, and a radio button or dropdown for the choice of operation. You also need a button to send the form to the server and a text box to display the result.
JavaScript
1
star