| ASP.NET MVC Controls > Getting Started > Configuring your MVC Application > Using Visual Studio Template |
Complete the following steps to create a new MVC Application using Visual Studio template:


Configuring the project
Few additional steps are required to configure the project created using the basic Visual Studio template.
web.config file to open it.<system.web.webPages.razor></system.web.webPages.razor> tags.
| HTML |
Copy Code
|
|---|---|
<add namespace="C1.Web.Mvc" /> <add namespace="C1.Web.Mvc.Fluent" /> |
|
(Optional) To add specific controls in your application, you need to add the following markups in <namespaces></namespaces> tags below the C1.Web.Mvc markup. For example, in the image below we have added markups for Financial Chart control.
| Control | Markup |
|---|---|
| Financial Chart |
|
| FlexSheet |
|
| OLAP |
|
| MultiRow |
|
| FlexViewer |
|
| License.licx |
Copy Code
|
|---|---|
C1.Web.Mvc.LicenseDetector, C1.Web.Mvc |
|
To use any specific control in your application, add the following code in Licenses.licx based on the control. For more information, see Licensing.
| Control | Markup |
|---|---|
| Financial Chart |
|
| FlexSheet |
|
| OLAP |
C1.Web.Mvc.Olap.LicenseDetector, C1.Web.Mvc.Olap |
| MultiRow |
C1.Web.Mvc.MultiRow.LicenseDetector, C1.Web.Mvc.MultiRow |
| FlexViewer |
|
(Optional) To use specific controls in your MVC Application, you need to add additional references based on the control.
| Control | Assembly (Location - C:\Program Files (x86)\ComponentOne\ASP.NET MVC Edition\bin) |
|---|---|
| Financial Chart |
|
| FlexSheet |
C1.Web.Mvc.FlexSheet.dll |
| OLAP |
C1.Web.Mvc.Olap.dll |
| MultiRow |
C1.Web.Mvc.MultiRow.dll |
| FlexViewer |
|
| _ViewImports |
Copy Code
|
|---|---|
@addTagHelper *, C1.AspNetCore.Mvc |
|
(Optional) To add specific controls in your application, you need to add the following markups in _ViewImports.cshtml.
| Control | Markup |
|---|---|
| Financial Chart |
|
| FlexSheet |
|
| OLAP |
|
| MultiRow |
|
| FlexViewer |
|

![]() |
Note: |
To use specific controls in your application, add the following NuGet Packages based on the control.
| Control | Assembly (Location - C:\Program Files (x86)\ComponentOne\ASP.NET MVC Edition\bin) |
|---|---|
| Financial Chart |
|
| FlexSheet |
C1.AspNetCore.Mvc.FlexSheet |
| OLAP |
C1.AspNetCore.Mvc.Olap |
| MultiRow |
C1.AspNetCore.Mvc.MultiRow |
| FlexViewer |
|