Skip to content

Commit 59981bf

Browse files
author
perrysk-msft
committed
Initial Commit
0 parents  commit 59981bf

37 files changed

+27005
-0
lines changed

WebApp-Storage-DotNet.sln

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 14
4+
VisualStudioVersion = 14.0.23107.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApp-Storage-DotNet", "WebApp-Storage-DotNet\WebApp-Storage-DotNet.csproj", "{BC944747-51D4-4DA0-9517-784DC2451987}"
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+
{BC944747-51D4-4DA0-9517-784DC2451987}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{BC944747-51D4-4DA0-9517-784DC2451987}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{BC944747-51D4-4DA0-9517-784DC2451987}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{BC944747-51D4-4DA0-9517-784DC2451987}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
EndGlobal
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
using System.Web;
2+
using System.Web.Optimization;
3+
4+
namespace WebApp_Storage_DotNet
5+
{
6+
public class BundleConfig
7+
{
8+
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
9+
public static void RegisterBundles(BundleCollection bundles)
10+
{
11+
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
12+
"~/Scripts/jquery-{version}.js"));
13+
14+
bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
15+
"~/Scripts/jquery.validate*"));
16+
17+
// Use the development version of Modernizr to develop with and learn from. Then, when you're
18+
// ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
19+
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
20+
"~/Scripts/modernizr-*"));
21+
22+
bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
23+
"~/Scripts/bootstrap.js",
24+
"~/Scripts/respond.js"));
25+
26+
bundles.Add(new StyleBundle("~/Content/css").Include(
27+
"~/Content/bootstrap.css",
28+
"~/Content/site.css"));
29+
}
30+
}
31+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using System.Web;
2+
using System.Web.Mvc;
3+
4+
namespace WebApp_Storage_DotNet
5+
{
6+
public class FilterConfig
7+
{
8+
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
9+
{
10+
filters.Add(new HandleErrorAttribute());
11+
}
12+
}
13+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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 WebApp_Storage_DotNet
9+
{
10+
public class RouteConfig
11+
{
12+
public static void RegisterRoutes(RouteCollection routes)
13+
{
14+
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
15+
16+
routes.MapRoute(
17+
name: "Default",
18+
url: "{controller}/{action}/{id}",
19+
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
20+
);
21+
}
22+
}
23+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
body { padding-top: 5px; padding-bottom: 5px; }
2+
3+
/* Set padding to keep content from hitting the edges */
4+
.body-content { padding-left: 15px; padding-right: 15px; }
5+
6+
/* Override the default bootstrap behavior where horizontal description lists
7+
will truncate terms that are too long to fit in the left column
8+
*/
9+
.dl-horizontal dt { white-space: normal; }
10+
11+
/* Set width on the form input elements since they're 100% wide by default */
12+
input,
13+
select,
14+
textarea { max-width: 280px; }
15+
16+
.fileUpload { position: relative; overflow: hidden; margin-bottom: 5px; margin-top:5px; }
17+
.fileUpload input.upload { position: absolute; top: 0; right: 0; margin: 0; padding: 0; font-size: 20px; cursor: pointer; opacity: 0; filter: alpha(opacity=0); }
18+
.deleteDiv{ position:relative; top:-160px; left:130px; width:30px;height:30px;}
19+
.imageBlock{display: inline-block;}
20+
.thumb{width:159px; height:159px;}
21+
.deleteIcon{width:30px; height:30px;}

0 commit comments

Comments
 (0)