Getting Started. Using RadarCube NuGet package in ASP.NET MVC project
Posted by Andrey Stepanov on 29 May 2015 08:44 AM

The article applies to: RadarCube ASP.NET MVC


This is a guide how to creat an ASP.NET MVC application with Relational OLAP functionality using NuGet packages.

Visual Studio 2015 is using.

  1. Create ASP.NET Web Application (.NET Framework).

  2. Choose Empty ASP.NET 4.5 Template and select MVC checkbox.

  3. Install the RadarCube.MvcControls.ROLAP package.

    After installation the project has the following changes:

    1. References to the RadarCube DLLs have been added
      (RadarSoft.RadarCube.Web.Mvc.dll, RadarSoft.RadarCube.Web.Direct.Mvc.dll).
    2. Typed DataSet for Northwind database has been added to Models folder.

    The following files have been added to the project:

    1. OlapAnalysis–°ontroller.cs to Controllers folder.
    2. RadarCube.cshtml file to View/OlapAnalysis folder.
    3. HtmlHelperExtension.cs file to Helpers folder.
    4. OLAPDemo.mdb to App_Data.
    5. RadarCube.MvcControls.ROLAP.readme to root.

  4. Edit the RouteConfig.cs file to do the "OlapAnalysis" controller and the "RadarCube" action by default:

    public class RouteConfig
            public static void RegisterRoutes(RouteCollection routes)
                    name: "Default",
                    url: "{controller}/{action}/{id}",
                    defaults: new { controller = "OlapAnalysis", action = "RadarCube", id = UrlParameter.Optional }

Run the application and enjoy the result.

(3 vote(s))
This article was helpful
This article was not helpful

Help Desk Software by Kayako Resolve