Skip to content

Commit 4a18873

Browse files
committed
create new demo code
new demo code added
1 parent e109ee8 commit 4a18873

24 files changed

+9068
-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.27130.2020
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "fetchWeb", "fetchWeb\fetchWeb.csproj", "{7FF21C17-47AC-41E3-B1F1-99A8315C63F5}"
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+
{7FF21C17-47AC-41E3-B1F1-99A8315C63F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{7FF21C17-47AC-41E3-B1F1-99A8315C63F5}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{7FF21C17-47AC-41E3-B1F1-99A8315C63F5}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{7FF21C17-47AC-41E3-B1F1-99A8315C63F5}.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 = {C69829AE-A469-47F6-BE02-50D3B5B7DFDF}
24+
EndGlobalSection
25+
EndGlobal
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 fetchWeb
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: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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+
/* Set width on the form input elements since they're 100% wide by default */
13+
input,
14+
select,
15+
textarea {
16+
max-width: 280px;
17+
}
18+
19+
table {
20+
font-family: arial, sans-serif;
21+
border-collapse: collapse;
22+
width: 100%;
23+
}
24+
25+
td, th {
26+
border: 1px solid #dddddd;
27+
text-align: left;
28+
padding: 8px;
29+
}
30+
31+
tr:nth-child(even) {
32+
background-color: #dddddd;
33+
}
34+
35+
button {
36+
background-color: #4CAF50;
37+
border: none;
38+
color: white;
39+
padding: 15px 32px;
40+
text-align: center;
41+
text-decoration: none;
42+
display: inline-block;
43+
font-size: 16px;
44+
}

0 commit comments

Comments
 (0)