I am able to fix the issue but not after I publish it to IIS. Here is the link https://github.com/d052057/YtSharp This Angular 9 and C# .NET 9.