Skip to content

Commit caa7970

Browse files
author
SINGH Abhishek
committed
Add project files.
1 parent 708c08c commit caa7970

Some content is hidden

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

59 files changed

+37371
-0
lines changed

Doc.docx

9.94 KB
Binary file not shown.

File Server.sln

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.28307.1340
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "File Server", "File Server\File Server.csproj", "{75A97747-3AAB-4718-8A26-9B1526D1CC94}"
7+
ProjectSection(ProjectDependencies) = postProject
8+
{A72D08F3-5D5B-414F-95D4-1DF25C6EE79D} = {A72D08F3-5D5B-414F-95D4-1DF25C6EE79D}
9+
EndProjectSection
10+
EndProject
11+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FileDLL", "FileDLL\FileDLL.vcxproj", "{A72D08F3-5D5B-414F-95D4-1DF25C6EE79D}"
12+
EndProject
13+
Global
14+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
15+
Debug|Any CPU = Debug|Any CPU
16+
Debug|x64 = Debug|x64
17+
Debug|x86 = Debug|x86
18+
Release|Any CPU = Release|Any CPU
19+
Release|x64 = Release|x64
20+
Release|x86 = Release|x86
21+
EndGlobalSection
22+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
23+
{75A97747-3AAB-4718-8A26-9B1526D1CC94}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
24+
{75A97747-3AAB-4718-8A26-9B1526D1CC94}.Debug|Any CPU.Build.0 = Debug|Any CPU
25+
{75A97747-3AAB-4718-8A26-9B1526D1CC94}.Debug|x64.ActiveCfg = Debug|Any CPU
26+
{75A97747-3AAB-4718-8A26-9B1526D1CC94}.Debug|x64.Build.0 = Debug|Any CPU
27+
{75A97747-3AAB-4718-8A26-9B1526D1CC94}.Debug|x86.ActiveCfg = Debug|Any CPU
28+
{75A97747-3AAB-4718-8A26-9B1526D1CC94}.Debug|x86.Build.0 = Debug|Any CPU
29+
{75A97747-3AAB-4718-8A26-9B1526D1CC94}.Release|Any CPU.ActiveCfg = Release|Any CPU
30+
{75A97747-3AAB-4718-8A26-9B1526D1CC94}.Release|Any CPU.Build.0 = Release|Any CPU
31+
{75A97747-3AAB-4718-8A26-9B1526D1CC94}.Release|x64.ActiveCfg = Release|Any CPU
32+
{75A97747-3AAB-4718-8A26-9B1526D1CC94}.Release|x64.Build.0 = Release|Any CPU
33+
{75A97747-3AAB-4718-8A26-9B1526D1CC94}.Release|x86.ActiveCfg = Release|Any CPU
34+
{75A97747-3AAB-4718-8A26-9B1526D1CC94}.Release|x86.Build.0 = Release|Any CPU
35+
{A72D08F3-5D5B-414F-95D4-1DF25C6EE79D}.Debug|Any CPU.ActiveCfg = Debug|Win32
36+
{A72D08F3-5D5B-414F-95D4-1DF25C6EE79D}.Debug|x64.ActiveCfg = Debug|x64
37+
{A72D08F3-5D5B-414F-95D4-1DF25C6EE79D}.Debug|x64.Build.0 = Debug|x64
38+
{A72D08F3-5D5B-414F-95D4-1DF25C6EE79D}.Debug|x86.ActiveCfg = Debug|Win32
39+
{A72D08F3-5D5B-414F-95D4-1DF25C6EE79D}.Debug|x86.Build.0 = Debug|Win32
40+
{A72D08F3-5D5B-414F-95D4-1DF25C6EE79D}.Release|Any CPU.ActiveCfg = Release|Win32
41+
{A72D08F3-5D5B-414F-95D4-1DF25C6EE79D}.Release|x64.ActiveCfg = Release|x64
42+
{A72D08F3-5D5B-414F-95D4-1DF25C6EE79D}.Release|x64.Build.0 = Release|x64
43+
{A72D08F3-5D5B-414F-95D4-1DF25C6EE79D}.Release|x86.ActiveCfg = Release|Win32
44+
{A72D08F3-5D5B-414F-95D4-1DF25C6EE79D}.Release|x86.Build.0 = Release|Win32
45+
EndGlobalSection
46+
GlobalSection(SolutionProperties) = preSolution
47+
HideSolutionNode = FALSE
48+
EndGlobalSection
49+
GlobalSection(ExtensibilityGlobals) = postSolution
50+
SolutionGuid = {6F8F959C-CD24-4133-BAC8-F56260AF26DC}
51+
EndGlobalSection
52+
EndGlobal
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
using System.Web;
2+
using System.Web.Optimization;
3+
4+
namespace File_Server
5+
{
6+
public class BundleConfig
7+
{
8+
// For more information on bundling, visit https://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 https://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+
25+
bundles.Add(new StyleBundle("~/Content/css").Include(
26+
"~/Content/bootstrap.css",
27+
"~/Content/site.css"));
28+
}
29+
}
30+
}
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 File_Server
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 File_Server
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: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Web.Http;
5+
6+
namespace File_Server
7+
{
8+
public static class WebApiConfig
9+
{
10+
public static void Register(HttpConfiguration config)
11+
{
12+
// Web API configuration and services
13+
14+
// Web API routes
15+
config.MapHttpAttributeRoutes();
16+
17+
config.Routes.MapHttpRoute(
18+
name: "DefaultApi",
19+
routeTemplate: "api/{controller}/{id}",
20+
defaults: new { id = RouteParameter.Optional }
21+
);
22+
}
23+
}
24+
}

File Server/Content/Site.css

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
body {
2+
padding-top: 50px;
3+
padding-bottom: 20px;
4+
}
5+
6+
/* Set padding to keep content from hitting the edges */
7+
.body-content {
8+
padding-left: 15px;
9+
padding-right: 15px;
10+
}
11+
12+
/* Override the default bootstrap behavior where horizontal description lists
13+
will truncate terms that are too long to fit in the left column
14+
*/
15+
.dl-horizontal dt {
16+
white-space: normal;
17+
}
18+
19+
/* Set width on the form input elements since they're 100% wide by default */
20+
input,
21+
select,
22+
textarea {
23+
max-width: 280px;
24+
}

0 commit comments

Comments
 (0)