You are on page 1of 2

Sri Lanka Institute of Information Technology Rapid Applications development Year 3 (CSN/IS) Assignment 3

Objective: Objective of this assignment is to evaluate the students knowledge in creating web applications with ASP.NET and using WCF.

Part A A supermarket needs an inventory control system to maintain the information about the items available. This application is to be developed as a web application. The supermarket inventory clerk needs to perform the following functions with the system. 1. Adding new items (items that were not available in system) to the system 2. Adding supply details once orders have arrived 3. Updating the items in hand of the existing items 4. Removing items that are not sold at the supermarket anymore The supermarket manager needs to perform the following functions. 1. View the details of items that are to be reordered Display the itemNo, itemName, quantity in hand and reorderLevel 2. View the items that are supplied within a given date range Display itemNo, itemName, suppliedQuantity, supplierName 3. Place orders to a supplier * For this you have to provide the itemNo , orderQuantity Create the above application as an ASP.NET application. Use the following schema to create the tables in SQL server.

Item (itemNo, itemName, quantiy , reorderLevel) Supplies (itemNo, quantity, suppliedDate, supplierName)

Part B Create a WCF service application for a supplier to allow its customers to place orders for different items. The service accepts the itemNo and the quantity to be supplied from the customer and store the order along with the order date in its order table. (Note that you do not have to ask for the order date from the customer. For this use the system date at the time the order is placed.) Use the following schema to create the order table.

Orders(itemNo ,qty, orderDate)

Note: You do not have to use reports for the web application. Use appropriate controls to display the results. You have to use different logins for different user levels for the web application and access permission should be given only for the users that need to view web pages. You MUST USE LINQ for the data access part. (Explore how to join tables with LINQ)

Deadline: --------

You might also like