eliminate pagine inutili gestioen auth base asp.net
This commit is contained in:
@@ -1,34 +0,0 @@
|
||||
<%@ Page Title="About" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="About.aspx.cs" Inherits="CMS_SC.About" %>
|
||||
|
||||
<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
|
||||
<hgroup class="title">
|
||||
<h1><%: Title %>.</h1>
|
||||
<h2>Your app description page.</h2>
|
||||
</hgroup>
|
||||
|
||||
<article>
|
||||
<p>
|
||||
Use this area to provide additional information.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Use this area to provide additional information.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Use this area to provide additional information.
|
||||
</p>
|
||||
</article>
|
||||
|
||||
<aside>
|
||||
<h3>Aside Title</h3>
|
||||
<p>
|
||||
Use this area to provide additional information.
|
||||
</p>
|
||||
<ul>
|
||||
<li><a runat="server" href="~/">Home</a></li>
|
||||
<li><a runat="server" href="~/About">About</a></li>
|
||||
<li><a runat="server" href="~/Contact">Contact</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
</asp:Content>
|
||||
@@ -1,17 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace CMS_SC
|
||||
{
|
||||
public partial class About : Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
-17
@@ -1,17 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace CMS_SC
|
||||
{
|
||||
|
||||
public partial class About
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,31 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using Microsoft.AspNet.Membership.OpenAuth;
|
||||
|
||||
namespace CMS_SC
|
||||
{
|
||||
internal static class AuthConfig
|
||||
{
|
||||
public static void RegisterOpenAuth()
|
||||
{
|
||||
// See http://go.microsoft.com/fwlink/?LinkId=252803 for details on setting up this ASP.NET
|
||||
// application to support logging in via external services.
|
||||
|
||||
//OpenAuth.AuthenticationClients.AddTwitter(
|
||||
// consumerKey: "your Twitter consumer key",
|
||||
// consumerSecret: "your Twitter consumer secret");
|
||||
|
||||
//OpenAuth.AuthenticationClients.AddFacebook(
|
||||
// appId: "your Facebook app id",
|
||||
// appSecret: "your Facebook app secret");
|
||||
|
||||
//OpenAuth.AuthenticationClients.AddMicrosoft(
|
||||
// clientId: "your Microsoft account client id",
|
||||
// clientSecret: "your Microsoft account client secret");
|
||||
|
||||
//OpenAuth.AuthenticationClients.AddGoogle();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,50 +0,0 @@
|
||||
<%@ Page Title="Contact" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Contact.aspx.cs" Inherits="CMS_SC.Contact" %>
|
||||
|
||||
<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
|
||||
<hgroup class="title">
|
||||
<h1><%: Title %>.</h1>
|
||||
<h2>Your contact page.</h2>
|
||||
</hgroup>
|
||||
|
||||
<section class="contact">
|
||||
<header>
|
||||
<h3>Phone:</h3>
|
||||
</header>
|
||||
<p>
|
||||
<span class="label">Main:</span>
|
||||
<span>425.555.0100</span>
|
||||
</p>
|
||||
<p>
|
||||
<span class="label">After Hours:</span>
|
||||
<span>425.555.0199</span>
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section class="contact">
|
||||
<header>
|
||||
<h3>Email:</h3>
|
||||
</header>
|
||||
<p>
|
||||
<span class="label">Support:</span>
|
||||
<span><a href="mailto:Support@example.com">Support@example.com</a></span>
|
||||
</p>
|
||||
<p>
|
||||
<span class="label">Marketing:</span>
|
||||
<span><a href="mailto:Marketing@example.com">Marketing@example.com</a></span>
|
||||
</p>
|
||||
<p>
|
||||
<span class="label">General:</span>
|
||||
<span><a href="mailto:General@example.com">General@example.com</a></span>
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section class="contact">
|
||||
<header>
|
||||
<h3>Address:</h3>
|
||||
</header>
|
||||
<p>
|
||||
One Microsoft Way<br />
|
||||
Redmond, WA 98052-6399
|
||||
</p>
|
||||
</section>
|
||||
</asp:Content>
|
||||
@@ -1,17 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace CMS_SC
|
||||
{
|
||||
public partial class Contact : Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
-15
@@ -1,15 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace CMS_SC
|
||||
{
|
||||
public partial class Contact
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user