-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* sample with webforms * let the webforms sample do something usefull * set isPackable=false for samples * disabled building of samples
- Loading branch information
Showing
176 changed files
with
69,964 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<%@ Page Title="About" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="About.aspx.cs" Inherits="SAPWebForms.About" %> | ||
|
||
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server"> | ||
<h2><%: Title %>.</h2> | ||
<h3>Your application description page.</h3> | ||
<p>Use this area to provide additional information.</p> | ||
</asp:Content> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Web; | ||
using System.Web.UI; | ||
using System.Web.UI.WebControls; | ||
|
||
namespace SAPWebForms | ||
{ | ||
public partial class About : Page | ||
{ | ||
protected void Page_Load(object sender, EventArgs e) | ||
{ | ||
|
||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Web; | ||
using System.Web.Optimization; | ||
using System.Web.UI; | ||
|
||
namespace SAPWebForms | ||
{ | ||
public class BundleConfig | ||
{ | ||
// For more information on Bundling, visit https://go.microsoft.com/fwlink/?LinkID=303951 | ||
public static void RegisterBundles(BundleCollection bundles) | ||
{ | ||
bundles.Add(new ScriptBundle("~/bundles/WebFormsJs").Include( | ||
"~/Scripts/WebForms/WebForms.js", | ||
"~/Scripts/WebForms/WebUIValidation.js", | ||
"~/Scripts/WebForms/MenuStandards.js", | ||
"~/Scripts/WebForms/Focus.js", | ||
"~/Scripts/WebForms/GridView.js", | ||
"~/Scripts/WebForms/DetailsView.js", | ||
"~/Scripts/WebForms/TreeView.js", | ||
"~/Scripts/WebForms/WebParts.js")); | ||
|
||
// Order is very important for these files to work, they have explicit dependencies | ||
bundles.Add(new ScriptBundle("~/bundles/MsAjaxJs").Include( | ||
"~/Scripts/WebForms/MsAjax/MicrosoftAjax.js", | ||
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxApplicationServices.js", | ||
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxTimer.js", | ||
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxWebForms.js")); | ||
|
||
// Use the Development version of Modernizr to develop with and learn from. Then, when you’re | ||
// ready for production, use the build tool at https://modernizr.com to pick only the tests you need | ||
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include( | ||
"~/Scripts/modernizr-*")); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Web; | ||
using System.Web.Routing; | ||
using Microsoft.AspNet.FriendlyUrls; | ||
|
||
namespace SAPWebForms | ||
{ | ||
public static class RouteConfig | ||
{ | ||
public static void RegisterRoutes(RouteCollection routes) | ||
{ | ||
var settings = new FriendlyUrlSettings(); | ||
settings.AutoRedirectMode = RedirectMode.Permanent; | ||
routes.EnableFriendlyUrls(settings); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<bundles version="1.0"> | ||
<styleBundle path="~/Content/css"> | ||
<include path="~/Content/bootstrap.css" /> | ||
<include path="~/Content/Site.css" /> | ||
</styleBundle> | ||
</bundles> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<%@ Page Title="Contact" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Contact.aspx.cs" Inherits="SAPWebForms.Contact" %> | ||
|
||
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server"> | ||
<h2><%: Title %>.</h2> | ||
<h3>Your contact page.</h3> | ||
<address> | ||
One Microsoft Way<br /> | ||
Redmond, WA 98052-6399<br /> | ||
<abbr title="Phone">P:</abbr> | ||
425.555.0100 | ||
</address> | ||
|
||
<address> | ||
<strong>Support:</strong> <a href="mailto:[email protected]">[email protected]</a><br /> | ||
<strong>Marketing:</strong> <a href="mailto:[email protected]">[email protected]</a> | ||
</address> | ||
</asp:Content> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Web; | ||
using System.Web.UI; | ||
using System.Web.UI.WebControls; | ||
|
||
namespace SAPWebForms | ||
{ | ||
public partial class Contact : Page | ||
{ | ||
protected void Page_Load(object sender, EventArgs e) | ||
{ | ||
|
||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* Move down content because we have a fixed navbar that is 50px tall */ | ||
body { | ||
padding-top: 50px; | ||
padding-bottom: 20px; | ||
} | ||
|
||
/* Wrapping element */ | ||
/* Set some basic padding to keep content from hitting the edges */ | ||
.body-content { | ||
padding-left: 15px; | ||
padding-right: 15px; | ||
} | ||
|
||
/* Set widths on the form inputs since otherwise they're 100% wide */ | ||
input, | ||
select, | ||
textarea { | ||
max-width: 280px; | ||
} | ||
|
||
|
||
/* Responsive: Portrait tablets and up */ | ||
@media screen and (min-width: 768px) { | ||
.jumbotron { | ||
margin-top: 20px; | ||
} | ||
|
||
.body-content { | ||
padding: 0; | ||
} | ||
} |
Oops, something went wrong.