0% found this document useful (0 votes)
3 views7 pages

Assignment 03 PostManagement

The document outlines an assignment to develop a post management web application using ASP.NET Core, SignalR, and Entity Framework Core, focusing on real-time communication. The application will support CRUD operations for posts, user management, and data validation, with a SQL Server database for data persistence. Key activities include creating the project, setting up the database, implementing real-time updates for post actions, and testing the application functionalities.

Uploaded by

Bảo Cao Thiên
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views7 pages

Assignment 03 PostManagement

The document outlines an assignment to develop a post management web application using ASP.NET Core, SignalR, and Entity Framework Core, focusing on real-time communication. The application will support CRUD operations for posts, user management, and data validation, with a SQL Server database for data persistence. Key activities include creating the project, setting up the database, implementing real-time updates for post actions, and testing the application functionalities.

Uploaded by

Bảo Cao Thiên
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Assignment 03

Building a Post Management Website


using Real-Time Communication with
SignalR

Introduction

Imagine you are an employee of IT department of a media company. Your


manager has asked you to develop a web application for post management. The
post management system must follow the real-time communication application.
When user makes the post, this post will automatically update for all connected
clients.

The application has to support adding, viewing, modifying, and removing posts;
standardized usage action verbs better known as Create, Read, Update, Delete
(CRUD) and Search. This assignment explores creating an application using Real-
Time Communication with SignalR .NET Core Web Application, C#, and Entity
Framework Core. The MS SQL Server database will be created to persist the data
and it will be used for reading and managing data.

1|Page
Assignment Objectives
In this assignment, you will:

 Use the Visual Studio.NET to create ASP.NET Core Web Application


(Model-View-Controller) project.
 Perform CRUD actions using Entity Framework Core combined with Real-
Time Communication with SignalR.
 Apply to validate data type for all fields.
 Run the project and test the ASP.NET Core Web Application actions.

Database Design

PostCategories (CategoryID, CategoryName, Description)


AppUsers (UserID, Fullname, Address, Email, Password)
Posts (PostID, AuthorID, CreatedDate, UpdatedDate, Title, Content,
PublishStatus, CategoryID)

2|Page
3|Page
Main Functions
 Create database using Entity Framework Core.
 Member management, post management, and registration management:
Read, Create, Update and Delete actions.
 Search Post by ID , Title or Description
 Create a report statistics posts by the period from StartDate to EndDate, and
sort post in descending order
 Member registration by Email and Password.

4|Page
Guidelines

Activity 01: Build a solution [01 mark]


Step 01. Create Project/Solution named SignalRAssignment

Step 02. Choose the Project template: ASP.NET Core Web Application
(Model-View-Controller)

5|Page
Activity 02: Create database with Entity Framework
[03 marks]

Step 01. Create Model

Step 02. Create database context with Entity Framework


ApplicationDBContext

Step 03. Add-Migration and then Update Database

Activity 03: CRUD post item using Real-Time


Communication with SignalR [05 marks]
Step 01. Create Registration with the information

6|Page
Step 02. Create a new post. When user create a new post, this information
will automatically update with all other connected users using .NET Core
SignalR.

Step 03. Update an existing post. When user update an existing post, this
information will automatically notify with all other connected users using
.NET Core SignalR.

Step 04. Delete an existing post. When user delete an existing post
(owner), this information will automatically update with all other connected
users using .NET Core SignalR.

Step 05. View detail of the post.

Step 06. View list of posts with paging.

Activity 04: Run the project and test all actions [01
mark]

7|Page

You might also like