The Knockout.js library is used to create web applications. Due to the support of this library in Microsoft Visual Studio, we can use TypeScript and backend based on ASP .Net Core MVC. The last means that we will be able to use FastReport.Net reports. It remains only to display the report in the client application. That is exactly we will do in this article.
To use knockout with .Net Core, you must have .Net Core SDK 2.0 or MS Visual Studio installed. By default, the application template with the knockout library is not available to you. Therefore, you need to install it with just one command. At the Windows command promt, enter:
dotnet new — install Microsoft.AspNetCore.SpaTemplates::*
After that, you can create a spa application based on knockout. In the desired folder, open the command line and enter the command:
dotnet new knockout –o KnockWebReport
After creating the applicat ...