[SOLVED] CSE 445/598 Project 5

80.00 $

Category:

Description

5/5 - (5 votes)

Introduction

The aim of this assignment is to make sure that you understand and are familiar with the concepts covered in the lectures, including the Web application architecture, components and structure, controls, and state management.

This is an individual assignment. Each student must complete and submit independent work. No cooperation is allowed. You must use WebStrar to host your files, services, and application. The entire project must be submitted into the Canvas AND into the WebStrar server.

Practice Exercises (No submission required)

No submission is required for this part of exercises. However, doing these exercises can help you better understand the concepts and thus help you in quizzes or exams.

  1. Reading: Textbook Chapter 5 and Chapter 6 section 6.2.
  2. Do the multiple choice exercises in text for Chapter 5 and Chapter 6.
  3. What kinds of Web-based computing models exist? Where is the computation (client side or server side) done in each of the models?
  4. Explain how the files in ASP .Net Website application are organized in the application folder.
  5. Explain what types of files exist in an ASP .Net Website application and what the functions of each type file are.
  6. How do we create a user control, and how do we include the user control into a Web page?
  7. What is the most frequently used function of the Global.asax file?
  8. What kinds of state-saving mechanism exist, and what are the main features of each kind state-saving mechanism?
  9. What is the most general state variable in ASP .Net? What type of data can be stored in this kind of state variable?

 

  1. Compare and contrast the state management mechanisms: View State, Cookie, Session State, Application State, and Caching variables.
  2. Discuss the relationship between the dependency and callback in the insert() method of Cache class.
  3. How are dynamic graphics generated and maintained in ASP .Net environment? Read text section

5.6.

  1. What is the execution model of ASP .Net application in the tightly managed Web server?
  2. Study for the questions 2 through 12 in text section 5.8, and study the questions 2 through 15 in text section 6.5. Make sure that you understand these questions and can briefly answer these questions. Study the material covered in these questions can help you prepare for the quiz and exam, and can help you understand the homework assignment.
  3. Having learned all the techniques that you need to build Web applications, now, you need develop your own Web application. Brainstorm among the team members and come up with your ideas of developing a sensible Web application. Ideally, this project solves a problem that you always wanted to solve, for example
    • Managing membership, finance, and activities of the club that you are an officer.
    • Managing your hobby collections: When was each item purchased, price, current value.
    • Loyalty center: allow businesses to check loyalty of a costumer based on buying history and habit;
    • Developing a Web testing tool: analyzes a Web page at a given URL and calls the links in the page to discover broken links;
    • An online store with recommendation list, like Amazon, eBay, etc.,
    • A mobile application to manage your shopping list and best places to buy, taking into account time, driving distances, and cost.
    • Combine this project with your other course projects. In this case, you need to clearly state what part is submitted for this course, and what part is submitted for another course.

 

Project Description (Submission Required)

In this project, you will develop a service-oriented Web application with access control. The application must simulate a realistic application for the end users. The architecture is shown in the following figure.

The system must be implemented as a Website application and must be deployed to the given Web server. You may implement the application that you have outlined in project 3. You may choose to implement a different application. The code must be well commented. The application implemented must meet the following organizational, architectural, and functional requirements. The composed Website must have at least the following layers of components.

  • Presentation/GUI layer, consisting of ASPX pages and server controls, which allow users to interact with the application. The application must have at least these four ASPX pages:      [10 points]
    1. Public page. In this page, you must introduce clearly what application the system offers, how end users can sign up for the services, how the users (TA) can test this application and the required test cases/inputs. All the components and services used in the application must be listed in a “Service Directory”, similar to the one that you created in Assignment 3. The directory must include provider name (member who is responsible for the component), type (Web service, DLL function, user control, etc.), operation name, parameters and types, return type, function description, and link to TryIt page. You can combine the TryIt pages into your application logic.
    2. Member page: In this page, you must introduce clearly what application and functions the system offers. Users can register (self-subscribe) to obtain the access to this page. It is optional to use an image verifier when a user registers. You use create access control component and store the credentials in an XML file.
    3. Two staff pages: These two pages must have authentication and authorization access control. Some staff members can access one page, and other staff members can access the other page. The user

 

ID and password must be stored in an XML file. You are not allowed to use the built-in account management in order to exercise XML manipulation learned in Chapter 4.

  1. In addition to submit the code that implements this question, you must submit the Service Directory that lists all your components, so that we can test your components. The page must have a TryIt function for each component that you developed. If a component is implicitly used and is not visible/testable from your integrated GUI, you must add a test page to make it testable
  • Local component layer. This layer consists of the following two types of components. You can choose to implement one of the types:      [10 points]
    1. User control, use it to implement a sensible function of your choice.
    2. DLL class library modules, to implement at least the encryption/decryption functions.

You must implement at least one of the components. You may choose more components or other type of components in order to implement your business logic.

  • Remote service layer. This layer consists of at least one sensible Web service developed by you and one service discovered from a public repository (this service can be from the ASU repository). Selfdeveloped services must be deployed into WebStrar.

It is the developers’ (your) responsibility to make sure that the services are available and reliable when the TAs grade the assignment.         [10 points]

  • Data management layer consists of both temporary states (session state and cache) and permanent states (XML file and database). [10 points]
    1. Permanent state (XML file) for storing the user names and passwords of self-subscribed users.
    2. Permanent states (XML file) for storing staff user ID, password, and role for authentication and authorization.
    3. Cookie for storing user profile and Session state for storing temporary states for sharing among the sessions

You must implement at least two of the items in the list above.

  • Deploy all the components into the WebStrar server for testing. If your application is not deployed into WebStrar, but running on localhost, you will not have this 10 points. [10 points]
  • Submit complete code (Solution) into Canvas for grading (code reading). If your application is deployed into WebStrar, but not submitted into Canvas, you will still receive zero grade for the entire assignment.

Submission Summary

You submit the following work (answers to all questions) into the Canvas submission site AND deploy all work into the WebStrar. We will read code from your Canvas submission and test your code from WebStrar.

Question 1: You must submit the Service Directory that lists all your components, so that we can test your components. The page must have a TryIt function for each component that you developed. If a component is implicitly used and is not visible/testable from your integrated GUI, you must add a test page to make it testable. You must include the code into the Solution that you submit.

Question 2: You must include the local components that you have developed into the Solution that you submit.

Question 3: You must link the Web service that you have developed, or that you have discovered into the Solution that you submit.

Question 4: You must include the state management component that you have developed into the Solution that you submit.

Question 5: Deployment. All code must be deployed into WebStrar. If your code is running on localhost only, you will not receive the deployment points.

Question 6: Submit the entire Solution into Canvas for grading (code reading). If no submission in the Canvas, your assignment will not be graded, and you will receive 0 grade.