Can I use this in ASP.Net Core 6?
Yes, no problem. DayPilot is a purely client-side solution so you can use it with any backend.
This example includes a .NET 7 project but you can use the same source code with .NET 6 as well. You just need to change the project target.