Cookie management and consent in ASP.NET MVC 4.8

I’d like to get some context from people that have previously implemented existing libraries/tools regarding cookie management in .net 4.8 applications. We currently have a site where we show a banner that asks the user to accept cookies.

We would like to extend the cookie acceptance for the user to allow them to accept/reject cookies based on their preference (where applicable). We make use of js-cookie in the project already to handle setting/retrieving client side cookies. There are also server cookies used for session and user identification.

A general audit of cookies used was done using the scan provided by CookieYes (https://www.cookieyes.com/).

I am wanting to know more about using any light-weight libraries that can be easily integrated into a .net 4.8 project (potentially covering the client-side and server-side), without much intrusion or customization.

Paying for a service is acceptable if there are no free solutions available. Ultimately, I am wanting to use some Javascript (or Nuget package, if applicable) that identifies and classifies the cookies by their correct category on page load, and enables me to present a modal to the user on button click for them to accept or reject cookies they’re able to. I imagine their choices should be stored in a database for subsequent logins.

Outside of using a full on Consent Management Platform (want as much control as possible), are there more streamlined ways to introduce this into an existing application? I pose this question out of curiosity as I investigate myself.

So far, I’ve landed on this resources that look promising, but have yet to try the libraries out:
21 Top Free JavaScript Libraries for GDPR-Compliant Cookie Management. I do not want to have to manually go into the cookies and classify each one if it can be helped.

Outside of client-side libraries, are there any Nuget packages for .net 4.8 that can be leveraged to achieve the same thing? Some of the nuget packages I’ve landed on personally do not seem that actively used and makes me question their practicality/longevity.

As I continue investigating, will be revisiting this post to provide details on solutions I’ve found as well.