Skip to content

Commit 3be7d29

Browse files
committed
Created DevExpress ASP.Net MVC Project
Using a template gallery from DevExpress and MVC standard project with report suite.
1 parent 8617c0a commit 3be7d29

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+50833
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.28307.852
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DXwebReportViewer", "DXwebReportViewer\DXwebReportViewer.csproj", "{685F0C09-B0E9-4FEC-83AC-6069EB1F03F6}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{685F0C09-B0E9-4FEC-83AC-6069EB1F03F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{685F0C09-B0E9-4FEC-83AC-6069EB1F03F6}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{685F0C09-B0E9-4FEC-83AC-6069EB1F03F6}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{685F0C09-B0E9-4FEC-83AC-6069EB1F03F6}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {24766CD0-CDD3-47CF-9B58-C21C038260F2}
24+
EndGlobalSection
25+
EndGlobal
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
using System.Web;
2+
using System.Web.Mvc;
3+
4+
namespace DXwebReportViewer {
5+
public class FilterConfig {
6+
public static void RegisterGlobalFilters(GlobalFilterCollection filters) {
7+
filters.Add(new HandleErrorAttribute());
8+
}
9+
}
10+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Web;
5+
using System.Web.Mvc;
6+
using System.Web.Routing;
7+
8+
namespace DXwebReportViewer {
9+
public class RouteConfig {
10+
public static void RegisterRoutes(RouteCollection routes) {
11+
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
12+
routes.IgnoreRoute("{resource}.ashx/{*pathInfo}");
13+
14+
routes.MapRoute(
15+
name: "Default", // Route name
16+
url: "{controller}/{action}/{id}", // URL with parameters
17+
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional } // Parameter defaults
18+
);
19+
}
20+
}
21+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Web.Http;
5+
6+
namespace DXwebReportViewer {
7+
public static class WebApiConfig {
8+
public static void Register(HttpConfiguration config) {
9+
config.Routes.MapHttpRoute(
10+
name: "DefaultApi",
11+
routeTemplate: "api/{controller}/{id}",
12+
defaults: new { id = RouteParameter.Optional }
13+
);
14+
}
15+
}
16+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
html, body
2+
{
3+
background-color: #ffffff;
4+
font: 14px Tahoma, Geneva, sans-serif;
5+
margin: 0;
6+
padding: 0;
7+
}
8+
h1, h2, h3
9+
{
10+
font-weight: normal;
11+
}
12+
h1
13+
{
14+
font-size: 34px;
15+
}
16+
h2
17+
{
18+
font-size: 28px;
19+
}
20+
h3
21+
{
22+
font-size: 22px;
23+
}
24+
.content-wrapper
25+
{
26+
box-sizing: border-box;
27+
margin: 0 auto;
28+
padding: 0 12px;
29+
width: 100%;
30+
max-width: 1024px;
31+
}
32+
.header,
33+
.footer
34+
{
35+
padding: 12px 0;
36+
}

0 commit comments

Comments
 (0)