There are no reviews yet. Be the first to send feedback to the community and the maintainers!
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.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.Collections
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.Love Open Source and this site? Check out how you can help us