ASP.NET Core 6.0 - Filtered Comments
This article describes how filtered comments pages aid the comment workflow. I will assume you have downloaded the ASP.NET Core 6.0 - Users With Comments Project.
Users With Comments Project and Article Series
The ASP.NET Core 6.0 - Users With Comments Project (UWCP) implements public member profiles and a moderated comment workflow from user submission to admin publication. I started with the ASP.NET Core 6.0 - Users With Device 2FA Project (UWD2FAP) which implements WebAuthn, also known as FIDO2, instead of authenticator apps. The latest version of the UWCP is published at Preview. KenHaggerty. Com. I encourage you to register and submit a comment. Details, screenshots, and related articles can be found at ASP.NET Core 6.0 - Users With Comments Project. The details page includes the version change log.
- ASP.NET Core 6.0 - Users With Comments
- ASP.NET Core 6.0 - API Implementation
- ASP.NET Core 6.0 - API Authorization
- ASP.NET Core 6.0 - Member Profile
- ASP.NET Core 6.0 - Profile Image Control
- ASP.NET Core 6.0 - Comments Workflow
- ASP.NET Core 6.0 - Filtered Comments
- ASP.NET Core 6.0 - Member Listings
- ASP.NET Core 6.0 - Lazy Load On Scroll
Visual Studio 2022 (VS 2022) is required to develop .NET 6 and ASP.NET Core 6.0 applications. .NET 6 and ASP.NET Core 6.0 are Long Term Support (LTS) releases and will be supported until November 08, 2024. .NET 5 is a Current release and will be supported until May 08, 2022. .NET 3.1 is a LTS release and will be supported until December 3, 2022. See .NET and .NET Core release lifecycle.
The UWCP implements a filtered comments partial view with the unapproved comments and user's comments pages. All actions on comments originate from the control partial which is implemented per entity. The filtered partial view lists comments with links to the comment on the entity control panel.
The link includes a comment id hash which highlights the comment. e.g., /admin/entities/comments?entityId=3#commentId-1207
The UWCP implements a seeded users feature to demonstrate filtered lists. The Seeded Users page adds users when they do not exist up to the Max Count. If the unique identifier is even, the public Member Listing is enabled. If Add Comments option is set, a Comment Moderator user is created if not found. A new comment is created with the seeded user and the third MockEntity named Users With Comments Project - API Authorization. If the unique identifier is even, the comment is approved and a comment from the Comment Moderator user is added.
The admin users page links to the user comments page.
The user comments page implements an entity dropdown. Only entities where the users have commented are listed.
The admin entities page links to the unapproved comments and a comments filter page.
The Comments Filter page implements entity and user dropdowns. Only entities and users with comments are listed.
All admin comment lists display hidden comments when selected.
Comments(0)