Visual Studio Code (VS Code) allows you to create ASP.NET MVC application on Windows and Mac systems. To use C1 MVC controls, few additional steps are required to configure the project created using the Visual Studio Code IDE.
dotnet new mvc
This creates the complete MVC folder structure inside your application folder that you created at the beginning.
Control | NuGet Package |
---|---|
Financial Chart |
|
FlexSheet |
C1.AspNetCore.Mvc.FlexSheet |
OLAP |
C1.AspNetCore.Mvc.Olap |
MultiRow |
C1.AspNetCore.Mvc.MultiRow |
FlexViewer |
|
_ViewImports.cshtml
file to open it.HTML |
Copy Code
|
---|---|
@addTagHelper *, C1.AspNetCore.Mvc |
(Optional) To add specific controls in your application, you need to add the following TagHelpers in the _ViewImports.cshtml
file.
Control | TagHelper |
---|---|
Financial Chart |
|
FlexSheet |
|
OLAP |
|
MultiRow |
|
FlexViewer |
|