commit
0fa2a0055d
@ -0,0 +1,15 @@
|
|||||||
|
using System.Web;
|
||||||
|
using System.Web.Optimization;
|
||||||
|
|
||||||
|
namespace Message_Board
|
||||||
|
{
|
||||||
|
public class BundleConfig
|
||||||
|
{
|
||||||
|
// 有关绑定的详细信息,请访问 http://go.microsoft.com/fwlink/?LinkId=301862
|
||||||
|
public static void RegisterBundles(BundleCollection bundles)
|
||||||
|
{
|
||||||
|
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
|
||||||
|
"~/Scripts/jquery-{version}.js"));
|
||||||
|
|
||||||
|
bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
|
||||||
|
"~/Scripts/jquery.validate*"));
|
@ -0,0 +1,13 @@
|
|||||||
|
using System.Web;
|
||||||
|
using System.Web.Mvc;
|
||||||
|
|
||||||
|
namespace Message_Board
|
||||||
|
{
|
||||||
|
public class FilterConfig
|
||||||
|
{
|
||||||
|
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
|
||||||
|
{
|
||||||
|
filters.Add(new HandleErrorAttribute());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Data.Entity;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Security.Claims;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Web;
|
||||||
|
using Microsoft.AspNet.Identity;
|
||||||
|
using Microsoft.AspNet.Identity.EntityFramework;
|
||||||
|
using Microsoft.AspNet.Identity.Owin;
|
||||||
|
using Microsoft.Owin;
|
||||||
|
using Microsoft.Owin.Security;
|
||||||
|
using Message_Board.Models;
|
||||||
|
|
||||||
|
namespace Message_Board
|
@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Web;
|
||||||
|
using System.Web.Mvc;
|
||||||
|
using System.Web.Routing;
|
||||||
|
|
||||||
|
namespace Message_Board
|
||||||
|
{
|
||||||
|
public class RouteConfig
|
||||||
|
{
|
||||||
|
public static void RegisterRoutes(RouteCollection routes)
|
||||||
|
{
|
||||||
|
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
|
||||||
|
routes.MapRoute(
|
@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using Microsoft.AspNet.Identity;
|
||||||
|
using Microsoft.AspNet.Identity.Owin;
|
||||||
|
using Microsoft.Owin;
|
||||||
|
using Microsoft.Owin.Security.Cookies;
|
||||||
|
using Microsoft.Owin.Security.Google;
|
||||||
|
using Owin;
|
||||||
|
using Message_Board.Models;
|
||||||
|
|
||||||
|
namespace Message_Board
|
||||||
|
{
|
||||||
|
public partial class Startup
|
||||||
|
{
|
||||||
|
// 有关配置身份验证的详细信息,请访问 http://go.microsoft.com/fwlink/?LinkId=301864
|
||||||
|
public void ConfigureAuth(IAppBuilder app)
|
@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<ApplicationInsights xmlns="http://schemas.microsoft.com/ApplicationInsights/2013/Settings">
|
||||||
|
<TelemetryModules>
|
||||||
|
<Add Type="Microsoft.ApplicationInsights.DependencyCollector.DependencyTrackingTelemetryModule, Microsoft.AI.DependencyCollector"/>
|
||||||
|
<Add Type="Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.PerformanceCollectorModule, Microsoft.AI.PerfCounterCollector">
|
||||||
|
<!--
|
||||||
|
Use the following syntax here to collect additional performance counters:
|
||||||
|
|
||||||
|
<Counters>
|
||||||
|
<Add PerformanceCounter="\Process(??APP_WIN32_PROC??)\Handle Count" ReportAs="Process handle count" />
|
||||||
|
...
|
||||||
|
</Counters>
|
||||||
|
|
||||||
|
PerformanceCounter must be either \CategoryName(InstanceName)\CounterName or \CategoryName\CounterName
|
||||||
|
|
@ -0,0 +1,15 @@
|
|||||||
|
body {
|
||||||
|
padding-top: 50px;
|
||||||
|
padding-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Set padding to keep content from hitting the edges */
|
||||||
|
.body-content {
|
||||||
|
padding-left: 15px;
|
||||||
|
padding-right: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Override the default bootstrap behavior where horizontal description lists
|
||||||
|
will truncate terms that are too long to fit in the left column
|
||||||
|
*/
|
||||||
|
.dl-horizontal dt {
|
@ -0,0 +1,15 @@
|
|||||||
|
/* NUGET: BEGIN LICENSE TEXT
|
||||||
|
*
|
||||||
|
* Microsoft grants you the right to use these script files for the sole
|
||||||
|
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||||
|
* website or online service, subject to the applicable licensing or use
|
||||||
|
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||||
|
* to that product's license terms. Microsoft reserves all other rights to the
|
||||||
|
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||||
|
* or otherwise. The notices and licenses below are for informational purposes only.
|
||||||
|
*
|
||||||
|
* NUGET: END LICENSE TEXT */
|
||||||
|
/*!
|
||||||
|
* Bootstrap v3.0.0
|
||||||
|
*
|
||||||
|
* Copyright 2013 Twitter, Inc
|
@ -0,0 +1,15 @@
|
|||||||
|
/* NUGET: BEGIN LICENSE TEXT
|
||||||
|
*
|
||||||
|
* Microsoft grants you the right to use these script files for the sole
|
||||||
|
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||||
|
* website or online service, subject to the applicable licensing or use
|
||||||
|
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||||
|
* to that product's license terms. Microsoft reserves all other rights to the
|
||||||
|
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||||
|
* or otherwise. The notices and licenses below are for informational purposes only.
|
||||||
|
*
|
||||||
|
* NUGET: END LICENSE TEXT */
|
||||||
|
/*!
|
||||||
|
* Bootstrap v3.0.0
|
||||||
|
*
|
||||||
|
* Copyright 2013 Twitter, Inc
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.Globalization;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Security.Claims;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Web;
|
||||||
|
using System.Web.Mvc;
|
||||||
|
using Microsoft.AspNet.Identity;
|
||||||
|
using Microsoft.AspNet.Identity.Owin;
|
||||||
|
using Microsoft.Owin.Security;
|
||||||
|
using Message_Board.Models;
|
||||||
|
|
||||||
|
namespace Message_Board.Controllers
|
||||||
|
{
|
||||||
|
[Authorize]
|
@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Web;
|
||||||
|
using System.Web.Mvc;
|
||||||
|
|
||||||
|
namespace Message_Board.Controllers
|
||||||
|
{
|
||||||
|
|
||||||
|
public class HomeController : Controller
|
||||||
|
{
|
||||||
|
public ActionResult Index()
|
||||||
|
{
|
||||||
|
|
||||||
|
return RedirectToAction("Index", "Messages");
|
@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Web;
|
||||||
|
using System.Web.Mvc;
|
||||||
|
using Microsoft.AspNet.Identity;
|
||||||
|
using Microsoft.AspNet.Identity.Owin;
|
||||||
|
using Microsoft.Owin.Security;
|
||||||
|
using Message_Board.Models;
|
||||||
|
|
||||||
|
namespace Message_Board.Controllers
|
||||||
|
{
|
||||||
|
[Authorize]
|
||||||
|
public class ManageController : Controller
|
||||||
|
{
|
@ -0,0 +1,15 @@
|
|||||||
|
using Message_Board.Models;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Web;
|
||||||
|
using System.Web.Mvc;
|
||||||
|
|
||||||
|
namespace Message_Board.Controllers
|
||||||
|
{
|
||||||
|
public class MessagesController : Controller
|
||||||
|
{
|
||||||
|
private MessageDBContext db = new MessageDBContext();
|
||||||
|
int pagenum = 6;
|
||||||
|
// GET: Messages
|
||||||
|
public ActionResult Index(string messageType,string searchString,string currentPage)//主页
|
@ -0,0 +1,15 @@
|
|||||||
|
using Message_Board.Models;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Data.Entity;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Web;
|
||||||
|
using System.Web.Mvc;
|
||||||
|
|
||||||
|
namespace Message_Board.Controllers
|
||||||
|
{
|
||||||
|
|
||||||
|
public class UsersController : Controller
|
||||||
|
{
|
||||||
|
private UserDBContext db = new UserDBContext();
|
||||||
|
// GET: Users
|
@ -0,0 +1 @@
|
|||||||
|
<%@ Application Codebehind="Global.asax.cs" Inherits="Message_Board.MvcApplication" Language="C#" %>
|
@ -0,0 +1,15 @@
|
|||||||
|
using Message_Board.Models;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Data.Entity;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Web;
|
||||||
|
using System.Web.Mvc;
|
||||||
|
using System.Web.Optimization;
|
||||||
|
using System.Web.Routing;
|
||||||
|
|
||||||
|
namespace Message_Board
|
||||||
|
{
|
||||||
|
public class MvcApplication : System.Web.HttpApplication
|
||||||
|
{
|
||||||
|
protected void Application_Start()
|
@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0\build\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props" Condition="Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0\build\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" />
|
||||||
|
<Import Project="..\packages\Microsoft.Net.Compilers.1.0.0\build\Microsoft.Net.Compilers.props" Condition="Exists('..\packages\Microsoft.Net.Compilers.1.0.0\build\Microsoft.Net.Compilers.props')" />
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProductVersion>
|
||||||
|
</ProductVersion>
|
||||||
|
<SchemaVersion>2.0</SchemaVersion>
|
||||||
|
<ProjectGuid>{B763B4C3-8DA0-4232-9DDB-94A096D518D7}</ProjectGuid>
|
||||||
|
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
|
||||||
|
<OutputType>Library</OutputType>
|
||||||
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
@ -0,0 +1,15 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
||||||
|
namespace Message_Board.Models
|
||||||
|
{
|
||||||
|
public class ExternalLoginConfirmationViewModel
|
||||||
|
{
|
||||||
|
[Required]
|
||||||
|
[Display(Name = "电子邮件")]
|
||||||
|
public string Email { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class ExternalLoginListViewModel
|
||||||
|
{
|
||||||
|
public string ReturnUrl { get; set; }
|
@ -0,0 +1,15 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using Microsoft.AspNet.Identity;
|
||||||
|
using Microsoft.Owin.Security;
|
||||||
|
|
||||||
|
namespace Message_Board.Models
|
||||||
|
{
|
||||||
|
public class IndexViewModel
|
||||||
|
{
|
||||||
|
public bool HasPassword { get; set; }
|
||||||
|
public IList<UserLoginInfo> Logins { get; set; }
|
||||||
|
public string PhoneNumber { get; set; }
|
||||||
|
public bool TwoFactor { get; set; }
|
||||||
|
public bool BrowserRemembered { get; set; }
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using System.Data.Entity;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Web;
|
||||||
|
|
||||||
|
namespace Message_Board.Models
|
||||||
|
{
|
||||||
|
public class Message
|
||||||
|
{
|
||||||
|
[Display(Name = "留言编号")]
|
||||||
|
[Required(ErrorMessage = "必填")]
|
||||||
|
public int ID { get; set; }
|
||||||
|
|
@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Data.Entity;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Web;
|
||||||
|
|
||||||
|
namespace Message_Board.Models
|
||||||
|
{
|
||||||
|
public class MessageIntializer : DropCreateDatabaseIfModelChanges<MessageDBContext>
|
||||||
|
{
|
||||||
|
protected override void Seed(MessageDBContext context)
|
||||||
|
{
|
||||||
|
base.Seed(context);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using System.Data.Entity;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Web;
|
||||||
|
|
||||||
|
namespace Message_Board.Models
|
||||||
|
{
|
||||||
|
public class User
|
||||||
|
{
|
||||||
|
[Display(Name = "用户账号")]
|
||||||
|
[Required(ErrorMessage = "必填")]
|
||||||
|
public int ID { get; set; }
|
||||||
|
|
@ -0,0 +1,15 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>你的 ASP.NET 应用程序</title>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
background: #fff;
|
||||||
|
color: #505050;
|
||||||
|
font: 14px 'Segoe UI', tahoma, arial, helvetica, sans-serif;
|
||||||
|
margin: 20px;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,15 @@
|
|||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
// 有关程序集的常规信息是通过以下项进行控制的
|
||||||
|
// 控制。更改这些特性值可修改
|
||||||
|
// 与程序集关联的信息。
|
||||||
|
[assembly: AssemblyTitle("Message_Board")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("")]
|
||||||
|
[assembly: AssemblyProduct("Message_Board")]
|
||||||
|
[assembly: AssemblyCopyright("版权所有(C) 2019")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
@ -0,0 +1,15 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Runtime Version:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace Message_Board.Properties {
|
||||||
|
using System;
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 1.3
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
@ -0,0 +1,9 @@
|
|||||||
|
/// <autosync enabled="true" />
|
||||||
|
/// <reference path="ai.0.22.9-build00167.min.js" />
|
||||||
|
/// <reference path="bootstrap.js" />
|
||||||
|
/// <reference path="jquery.validate.js" />
|
||||||
|
/// <reference path="jquery.validate.unobtrusive.js" />
|
||||||
|
/// <reference path="jquery-1.10.2.js" />
|
||||||
|
/// <reference path="layui.js" />
|
||||||
|
/// <reference path="modernizr-2.6.2.js" />
|
||||||
|
/// <reference path="respond.js" />
|
@ -0,0 +1,15 @@
|
|||||||
|
var Microsoft;
|
||||||
|
(function (Microsoft) {
|
||||||
|
var ApplicationInsights;
|
||||||
|
(function (ApplicationInsights) {
|
||||||
|
(function (LoggingSeverity) {
|
||||||
|
LoggingSeverity[LoggingSeverity["CRITICAL"] = 0] = "CRITICAL";
|
||||||
|
LoggingSeverity[LoggingSeverity["WARNING"] = 1] = "WARNING";
|
||||||
|
})(ApplicationInsights.LoggingSeverity || (ApplicationInsights.LoggingSeverity = {}));
|
||||||
|
var LoggingSeverity = ApplicationInsights.LoggingSeverity;
|
||||||
|
(function (_InternalMessageId) {
|
||||||
|
_InternalMessageId[_InternalMessageId["NONUSRACT_BrowserDoesNotSupportLocalStorage"] = 0] = "NONUSRACT_BrowserDoesNotSupportLocalStorage";
|
||||||
|
_InternalMessageId[_InternalMessageId["NONUSRACT_BrowserCannotReadLocalStorage"] = 1] = "NONUSRACT_BrowserCannotReadLocalStorage";
|
||||||
|
_InternalMessageId[_InternalMessageId["NONUSRACT_BrowserCannotReadSessionStorage"] = 2] = "NONUSRACT_BrowserCannotReadSessionStorage";
|
||||||
|
_InternalMessageId[_InternalMessageId["NONUSRACT_BrowserCannotWriteLocalStorage"] = 3] = "NONUSRACT_BrowserCannotWriteLocalStorage";
|
||||||
|
_InternalMessageId[_InternalMessageId["NONUSRACT_BrowserCannotWriteSessionStorage"] = 4] = "NONUSRACT_BrowserCannotWriteSessionStorage";
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,15 @@
|
|||||||
|
/* NUGET: BEGIN LICENSE TEXT
|
||||||
|
*
|
||||||
|
* Microsoft grants you the right to use these script files for the sole
|
||||||
|
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||||
|
* website or online service, subject to the applicable licensing or use
|
||||||
|
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||||
|
* to that product's license terms. Microsoft reserves all other rights to the
|
||||||
|
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||||
|
* or otherwise. Insofar as a script file is dual licensed under GPL,
|
||||||
|
* Microsoft neither took the code under GPL nor distributes it thereunder but
|
||||||
|
* under the terms set out in this paragraph. All notices and licenses
|
||||||
|
* below are for informational purposes only.
|
||||||
|
*
|
||||||
|
* NUGET: END LICENSE TEXT */
|
||||||
|
|
@ -0,0 +1,15 @@
|
|||||||
|
/* NUGET: BEGIN LICENSE TEXT
|
||||||
|
*
|
||||||
|
* Microsoft grants you the right to use these script files for the sole
|
||||||
|
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||||
|
* website or online service, subject to the applicable licensing or use
|
||||||
|
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||||
|
* to that product's license terms. Microsoft reserves all other rights to the
|
||||||
|
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||||
|
* or otherwise. Insofar as a script file is dual licensed under GPL,
|
||||||
|
* Microsoft neither took the code under GPL nor distributes it thereunder but
|
||||||
|
* under the terms set out in this paragraph. All notices and licenses
|
||||||
|
* below are for informational purposes only.
|
||||||
|
*
|
||||||
|
* NUGET: END LICENSE TEXT */
|
||||||
|
|
@ -0,0 +1,15 @@
|
|||||||
|
/* NUGET: BEGIN LICENSE TEXT
|
||||||
|
*
|
||||||
|
* Microsoft grants you the right to use these script files for the sole
|
||||||
|
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||||
|
* website or online service, subject to the applicable licensing or use
|
||||||
|
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||||
|
* to that product's license terms. Microsoft reserves all other rights to the
|
||||||
|
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||||
|
* or otherwise. Insofar as a script file is dual licensed under GPL,
|
||||||
|
* Microsoft neither took the code under GPL nor distributes it thereunder but
|
||||||
|
* under the terms set out in this paragraph. All notices and licenses
|
||||||
|
* below are for informational purposes only.
|
||||||
|
*
|
||||||
|
* NUGET: END LICENSE TEXT */
|
||||||
|
intellisense.annotate(jQuery, {
|
@ -0,0 +1,15 @@
|
|||||||
|
/* NUGET: BEGIN LICENSE TEXT
|
||||||
|
*
|
||||||
|
* Microsoft grants you the right to use these script files for the sole
|
||||||
|
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||||
|
* website or online service, subject to the applicable licensing or use
|
||||||
|
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||||
|
* to that product's license terms. Microsoft reserves all other rights to the
|
||||||
|
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||||
|
* or otherwise. Insofar as a script file is dual licensed under GPL,
|
||||||
|
* Microsoft neither took the code under GPL nor distributes it thereunder but
|
||||||
|
* under the terms set out in this paragraph. All notices and licenses
|
||||||
|
* below are for informational purposes only.
|
||||||
|
*
|
||||||
|
* NUGET: END LICENSE TEXT */
|
||||||
|
/*!
|
@ -0,0 +1,15 @@
|
|||||||
|
/* NUGET: BEGIN LICENSE TEXT
|
||||||
|
*
|
||||||
|
* Microsoft grants you the right to use these script files for the sole
|
||||||
|
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||||
|
* website or online service, subject to the applicable licensing or use
|
||||||
|
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||||
|
* to that product's license terms. Microsoft reserves all other rights to the
|
||||||
|
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||||
|
* or otherwise. Insofar as a script file is dual licensed under GPL,
|
||||||
|
* Microsoft neither took the code under GPL nor distributes it thereunder but
|
||||||
|
* under the terms set out in this paragraph. All notices and licenses
|
||||||
|
* below are for informational purposes only.
|
||||||
|
*
|
||||||
|
* JQUERY CORE 1.10.2; Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors; http://jquery.org/license
|
||||||
|
* Includes Sizzle.js; Copyright 2013 jQuery Foundation, Inc. and other contributors; http://opensource.org/licenses/MIT
|
@ -0,0 +1,15 @@
|
|||||||
|
/* NUGET: BEGIN LICENSE TEXT
|
||||||
|
*
|
||||||
|
* Microsoft grants you the right to use these script files for the sole
|
||||||
|
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||||
|
* website or online service, subject to the applicable licensing or use
|
||||||
|
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||||
|
* to that product's license terms. Microsoft reserves all other rights to the
|
||||||
|
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||||
|
* or otherwise. Insofar as a script file is dual licensed under GPL,
|
||||||
|
* Microsoft neither took the code under GPL nor distributes it thereunder but
|
||||||
|
* under the terms set out in this paragraph. All notices and licenses
|
||||||
|
* below are for informational purposes only.
|
||||||
|
*
|
||||||
|
* NUGET: END LICENSE TEXT */
|
||||||
|
/*
|
@ -0,0 +1,15 @@
|
|||||||
|
/* NUGET: BEGIN LICENSE TEXT
|
||||||
|
*
|
||||||
|
* Microsoft grants you the right to use these script files for the sole
|
||||||
|
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||||
|
* website or online service, subject to the applicable licensing or use
|
||||||
|
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||||
|
* to that product's license terms. Microsoft reserves all other rights to the
|
||||||
|
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||||
|
* or otherwise. Insofar as a script file is dual licensed under GPL,
|
||||||
|
* Microsoft neither took the code under GPL nor distributes it thereunder but
|
||||||
|
* under the terms set out in this paragraph. All notices and licenses
|
||||||
|
* below are for informational purposes only.
|
||||||
|
*
|
||||||
|
* NUGET: END LICENSE TEXT */
|
||||||
|
/*!
|
@ -0,0 +1,15 @@
|
|||||||
|
/* NUGET: BEGIN LICENSE TEXT
|
||||||
|
*
|
||||||
|
* Microsoft grants you the right to use these script files for the sole
|
||||||
|
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||||
|
* website or online service, subject to the applicable licensing or use
|
||||||
|
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||||
|
* to that product's license terms. Microsoft reserves all other rights to the
|
||||||
|
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||||
|
* or otherwise. Insofar as a script file is dual licensed under GPL,
|
||||||
|
* Microsoft neither took the code under GPL nor distributes it thereunder but
|
||||||
|
* under the terms set out in this paragraph. All notices and licenses
|
||||||
|
* below are for informational purposes only.
|
||||||
|
*
|
||||||
|
* NUGET: END LICENSE TEXT */
|
||||||
|
/*! jQuery Validation Plugin - v1.11.1 - 3/22/2013\n* https://github.com/jzaefferer/jquery-validation
|
@ -0,0 +1,15 @@
|
|||||||
|
/* NUGET: BEGIN LICENSE TEXT
|
||||||
|
*
|
||||||
|
* Microsoft grants you the right to use these script files for the sole
|
||||||
|
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||||
|
* website or online service, subject to the applicable licensing or use
|
||||||
|
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||||
|
* to that product's license terms. Microsoft reserves all other rights to the
|
||||||
|
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||||
|
* or otherwise. Insofar as a script file is dual licensed under GPL,
|
||||||
|
* Microsoft neither took the code under GPL nor distributes it thereunder but
|
||||||
|
* under the terms set out in this paragraph. All notices and licenses
|
||||||
|
* below are for informational purposes only.
|
||||||
|
*
|
||||||
|
* NUGET: END LICENSE TEXT */
|
||||||
|
/*!
|
@ -0,0 +1,15 @@
|
|||||||
|
/* NUGET: BEGIN LICENSE TEXT
|
||||||
|
*
|
||||||
|
* Microsoft grants you the right to use these script files for the sole
|
||||||
|
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||||
|
* website or online service, subject to the applicable licensing or use
|
||||||
|
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||||
|
* to that product's license terms. Microsoft reserves all other rights to the
|
||||||
|
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||||
|
* or otherwise. Insofar as a script file is dual licensed under GPL,
|
||||||
|
* Microsoft neither took the code under GPL nor distributes it thereunder but
|
||||||
|
* under the terms set out in this paragraph. All notices and licenses
|
||||||
|
* below are for informational purposes only.
|
||||||
|
*
|
||||||
|
* NUGET: END LICENSE TEXT */
|
||||||
|
/*
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,15 @@
|
|||||||
|
/* NUGET: BEGIN LICENSE TEXT
|
||||||
|
*
|
||||||
|
* Microsoft grants you the right to use these script files for the sole
|
||||||
|
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||||
|
* website or online service, subject to the applicable licensing or use
|
||||||
|
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||||
|
* to that product's license terms. Microsoft reserves all other rights to the
|
||||||
|
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||||
|
* or otherwise. Insofar as a script file is dual licensed under GPL,
|
||||||
|
* Microsoft neither took the code under GPL nor distributes it thereunder but
|
||||||
|
* under the terms set out in this paragraph. All notices and licenses
|
||||||
|
* below are for informational purposes only.
|
||||||
|
*
|
||||||
|
* Copyright (c) Faruk Ates, Paul Irish, Alex Sexton; http://www.modernizr.com/license/
|
||||||
|
*
|
@ -0,0 +1,15 @@
|
|||||||
|
/* NUGET: BEGIN LICENSE TEXT
|
||||||
|
*
|
||||||
|
* Microsoft grants you the right to use these script files for the sole
|
||||||
|
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||||
|
* website or online service, subject to the applicable licensing or use
|
||||||
|
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||||
|
* to that product's license terms. Microsoft reserves all other rights to the
|
||||||
|
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||||
|
* or otherwise. Insofar as a script file is dual licensed under GPL,
|
||||||
|
* Microsoft neither took the code under GPL nor distributes it thereunder but
|
||||||
|
* under the terms set out in this paragraph. All notices and licenses
|
||||||
|
* below are for informational purposes only.
|
||||||
|
*
|
||||||
|
* NUGET: END LICENSE TEXT */
|
||||||
|
/*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */
|
@ -0,0 +1,15 @@
|
|||||||
|
/* NUGET: BEGIN LICENSE TEXT
|
||||||
|
*
|
||||||
|
* Microsoft grants you the right to use these script files for the sole
|
||||||
|
* purpose of either: (i) interacting through your browser with the Microsoft
|
||||||
|
* website or online service, subject to the applicable licensing or use
|
||||||
|
* terms; or (ii) using the files as included with a Microsoft product subject
|
||||||
|
* to that product's license terms. Microsoft reserves all other rights to the
|
||||||
|
* files not expressly granted by Microsoft, whether by implication, estoppel
|
||||||
|
* or otherwise. Insofar as a script file is dual licensed under GPL,
|
||||||
|
* Microsoft neither took the code under GPL nor distributes it thereunder but
|
||||||
|
* under the terms set out in this paragraph. All notices and licenses
|
||||||
|
* below are for informational purposes only.
|
||||||
|
*
|
||||||
|
* NUGET: END LICENSE TEXT */
|
||||||
|
/*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */
|
@ -0,0 +1,14 @@
|
|||||||
|
using Microsoft.Owin;
|
||||||
|
using Owin;
|
||||||
|
|
||||||
|
[assembly: OwinStartupAttribute(typeof(Message_Board.Startup))]
|
||||||
|
namespace Message_Board
|
||||||
|
{
|
||||||
|
public partial class Startup
|
||||||
|
{
|
||||||
|
public void Configuration(IAppBuilder app)
|
||||||
|
{
|
||||||
|
ConfigureAuth(app);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
@{
|
||||||
|
ViewBag.Title = "确认电子邮件";
|
||||||
|
}
|
||||||
|
|
||||||
|
<h2>@ViewBag.Title。</h2>
|
||||||
|
<div>
|
||||||
|
<p>
|
||||||
|
感谢你确认电子邮件。请@Html.ActionLink("单击此处登录", "Login", "Account", routeValues: null, htmlAttributes: new { id = "loginLink" })
|
||||||
|
</p>
|
||||||
|
</div>
|
@ -0,0 +1,15 @@
|
|||||||
|
@model Message_Board.Models.ExternalLoginConfirmationViewModel
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "注册";
|
||||||
|
}
|
||||||
|
<h2>@ViewBag.Title。</h2>
|
||||||
|
<h3>关联你的 @ViewBag.LoginProvider 帐户。</h3>
|
||||||
|
|
||||||
|
@using (Html.BeginForm("ExternalLoginConfirmation", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
||||||
|
{
|
||||||
|
@Html.AntiForgeryToken()
|
||||||
|
|
||||||
|
<h4>关联表单</h4>
|
||||||
|
<hr />
|
||||||
|
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
|
||||||
|
<p class="text-info">
|
@ -0,0 +1,8 @@
|
|||||||
|
@{
|
||||||
|
ViewBag.Title = "登录失败";
|
||||||
|
}
|
||||||
|
|
||||||
|
<hgroup>
|
||||||
|
<h2>@ViewBag.Title。</h2>
|
||||||
|
<h3 class="text-danger">使用服务登录失败。</h3>
|
||||||
|
</hgroup>
|
@ -0,0 +1,15 @@
|
|||||||
|
@model Message_Board.Models.ForgotPasswordViewModel
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "忘记了密码?";
|
||||||
|
}
|
||||||
|
|
||||||
|
<h2>@ViewBag.Title。</h2>
|
||||||
|
|
||||||
|
@using (Html.BeginForm("ForgotPassword", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
||||||
|
{
|
||||||
|
@Html.AntiForgeryToken()
|
||||||
|
<h4>输入你的电子邮件。</h4>
|
||||||
|
<hr />
|
||||||
|
@Html.ValidationSummary("", new { @class = "text-danger" })
|
||||||
|
<div class="form-group">
|
||||||
|
@Html.LabelFor(m => m.Email, new { @class = "col-md-2 control-label" })
|
@ -0,0 +1,13 @@
|
|||||||
|
@{
|
||||||
|
ViewBag.Title = "忘记密码确认";
|
||||||
|
}
|
||||||
|
|
||||||
|
<hgroup class="title">
|
||||||
|
<h1>@ViewBag.Title。</h1>
|
||||||
|
</hgroup>
|
||||||
|
<div>
|
||||||
|
<p>
|
||||||
|
请查看你的电子邮件以重置密码。
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
@ -0,0 +1,15 @@
|
|||||||
|
@using Message_Board.Models
|
||||||
|
@model LoginViewModel
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "登录";
|
||||||
|
}
|
||||||
|
|
||||||
|
<h2>@ViewBag.Title。</h2>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-8">
|
||||||
|
<section id="loginForm">
|
||||||
|
@using (Html.BeginForm("Login", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
||||||
|
{
|
||||||
|
@Html.AntiForgeryToken()
|
||||||
|
<h4>使用本地帐户登录。</h4>
|
||||||
|
<hr />
|
@ -0,0 +1,15 @@
|
|||||||
|
@model Message_Board.Models.RegisterViewModel
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "注册";
|
||||||
|
}
|
||||||
|
|
||||||
|
<h2>@ViewBag.Title。</h2>
|
||||||
|
|
||||||
|
@using (Html.BeginForm("Register", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
||||||
|
{
|
||||||
|
@Html.AntiForgeryToken()
|
||||||
|
<h4>创建新帐户。</h4>
|
||||||
|
<hr />
|
||||||
|
@Html.ValidationSummary("", new { @class = "text-danger" })
|
||||||
|
<div class="form-group">
|
||||||
|
@Html.LabelFor(m => m.Email, new { @class = "col-md-2 control-label" })
|
@ -0,0 +1,15 @@
|
|||||||
|
@model Message_Board.Models.ResetPasswordViewModel
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "重置密码";
|
||||||
|
}
|
||||||
|
|
||||||
|
<h2>@ViewBag.Title。</h2>
|
||||||
|
|
||||||
|
@using (Html.BeginForm("ResetPassword", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
||||||
|
{
|
||||||
|
@Html.AntiForgeryToken()
|
||||||
|
<h4>重置你的密码。</h4>
|
||||||
|
<hr />
|
||||||
|
@Html.ValidationSummary("", new { @class = "text-danger" })
|
||||||
|
@Html.HiddenFor(model => model.Code)
|
||||||
|
<div class="form-group">
|
@ -0,0 +1,12 @@
|
|||||||
|
@{
|
||||||
|
ViewBag.Title = "重置密码确认";
|
||||||
|
}
|
||||||
|
|
||||||
|
<hgroup class="title">
|
||||||
|
<h1>@ViewBag.Title。</h1>
|
||||||
|
</hgroup>
|
||||||
|
<div>
|
||||||
|
<p>
|
||||||
|
你的密码已重置。请 @Html.ActionLink("单击此处登录", "Login", "Account", routeValues: null, htmlAttributes: new { id = "loginLink" })
|
||||||
|
</p>
|
||||||
|
</div>
|
@ -0,0 +1,15 @@
|
|||||||
|
@model Message_Board.Models.SendCodeViewModel
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "发送";
|
||||||
|
}
|
||||||
|
|
||||||
|
<h2>@ViewBag.Title.</h2>
|
||||||
|
|
||||||
|
@using (Html.BeginForm("SendCode", "Account", new { ReturnUrl = Model.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" })) {
|
||||||
|
@Html.AntiForgeryToken()
|
||||||
|
@Html.Hidden("rememberMe", @Model.RememberMe)
|
||||||
|
<h4>发送验证代码</h4>
|
||||||
|
<hr />
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-8">
|
||||||
|
选择双因素身份验证提供程序:
|
@ -0,0 +1,15 @@
|
|||||||
|
@model Message_Board.Models.VerifyCodeViewModel
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "验证";
|
||||||
|
}
|
||||||
|
|
||||||
|
<h2>@ViewBag.Title.</h2>
|
||||||
|
|
||||||
|
@using (Html.BeginForm("VerifyCode", "Account", new { ReturnUrl = Model.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" })) {
|
||||||
|
@Html.AntiForgeryToken()
|
||||||
|
@Html.Hidden("provider", @Model.Provider)
|
||||||
|
@Html.Hidden("rememberMe", @Model.RememberMe)
|
||||||
|
<h4>输入验证代码</h4>
|
||||||
|
<hr />
|
||||||
|
@Html.ValidationSummary("", new { @class = "text-danger" })
|
||||||
|
<div class="form-group">
|
@ -0,0 +1,15 @@
|
|||||||
|
@model Message_Board.Models.ExternalLoginListViewModel
|
||||||
|
@using Microsoft.Owin.Security
|
||||||
|
|
||||||
|
<h4>使用其他服务登录。</h4>
|
||||||
|
<hr />
|
||||||
|
@{
|
||||||
|
var loginProviders = Context.GetOwinContext().Authentication.GetExternalAuthenticationTypes();
|
||||||
|
if (loginProviders.Count() == 0) {
|
||||||
|
<div>
|
||||||
|
<p>
|
||||||
|
没有配置外部身份验证服务。有关设置此 ASP.NET 应用程序
|
||||||
|
以支持通过外部服务登录的详细信息,请参阅<a href="http://go.microsoft.com/fwlink/?LinkId=403804">此文</a>。
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
@{
|
||||||
|
ViewBag.Title = "About";
|
||||||
|
}
|
||||||
|
|
||||||
|
<h1>this message board is builded by aiden!</h1>
|
||||||
|
<img src="~/magic/Saved Pictures欧美♫丨缥缈迷雾的空灵回响_109951163020898145.jpg" />
|
||||||
|
|
@ -0,0 +1,15 @@
|
|||||||
|
@{
|
||||||
|
ViewBag.Title = "Contact";
|
||||||
|
}
|
||||||
|
<h2>@ViewBag.Title.</h2>
|
||||||
|
<h3>@ViewBag.Message</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:Support@example.com">Support@example.com</a><br />
|
@ -0,0 +1,15 @@
|
|||||||
|
@{
|
||||||
|
ViewBag.Title = "Home Page";
|
||||||
|
}
|
||||||
|
|
||||||
|
<div class="jumbotron">
|
||||||
|
<h1>ASP.NET</h1>
|
||||||
|
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
|
||||||
|
<p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more »</a></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-4">
|
||||||
|
<h2>Getting started</h2>
|
||||||
|
<p>
|
||||||
|
ASP.NET MVC gives you a powerful, patterns-based way to build dynamic websites that
|
@ -0,0 +1,9 @@
|
|||||||
|
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "Management";
|
||||||
|
}
|
||||||
|
|
||||||
|
<h2>管理员模式</h2>
|
||||||
|
<h3>敬请期待!</h3>
|
||||||
|
<img src="~/magic/Saved Pictures日语丨水风空落眼前花_19212866184371108.jpg">
|
||||||
|
|
@ -0,0 +1,15 @@
|
|||||||
|
@model Message_Board.Models.AddPhoneNumberViewModel
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "电话号码";
|
||||||
|
}
|
||||||
|
|
||||||
|
<h2>@ViewBag.Title。</h2>
|
||||||
|
|
||||||
|
@using (Html.BeginForm("AddPhoneNumber", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
||||||
|
{
|
||||||
|
@Html.AntiForgeryToken()
|
||||||
|
<h4>添加电话号码</h4>
|
||||||
|
<hr />
|
||||||
|
@Html.ValidationSummary("", new { @class = "text-danger" })
|
||||||
|
<div class="form-group">
|
||||||
|
@Html.LabelFor(m => m.Number, new { @class = "col-md-2 control-label" })
|
@ -0,0 +1,15 @@
|
|||||||
|
@model Message_Board.Models.ChangePasswordViewModel
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "更改密码";
|
||||||
|
}
|
||||||
|
|
||||||
|
<h2>@ViewBag.Title。</h2>
|
||||||
|
|
||||||
|
@using (Html.BeginForm("ChangePassword", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
||||||
|
{
|
||||||
|
@Html.AntiForgeryToken()
|
||||||
|
<h4>更改密码表单</h4>
|
||||||
|
<hr />
|
||||||
|
@Html.ValidationSummary("", new { @class = "text-danger" })
|
||||||
|
<div class="form-group">
|
||||||
|
@Html.LabelFor(m => m.OldPassword, new { @class = "col-md-2 control-label" })
|
@ -0,0 +1,15 @@
|
|||||||
|
@model Message_Board.Models.IndexViewModel
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "管理";
|
||||||
|
}
|
||||||
|
|
||||||
|
<h2>@ViewBag.Title。</h2>
|
||||||
|
|
||||||
|
<p class="text-success">@ViewBag.StatusMessage</p>
|
||||||
|
<div>
|
||||||
|
<h4>更改你的帐户设置</h4>
|
||||||
|
<hr />
|
||||||
|
<dl class="dl-horizontal">
|
||||||
|
<dt>密码:</dt>
|
||||||
|
<dd>
|
||||||
|
[
|
@ -0,0 +1,15 @@
|
|||||||
|
@model Message_Board.Models.ManageLoginsViewModel
|
||||||
|
@using Microsoft.Owin.Security
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "管理你的外部登录名";
|
||||||
|
}
|
||||||
|
|
||||||
|
<h2>@ViewBag.Title。</h2>
|
||||||
|
|
||||||
|
<p class="text-success">@ViewBag.StatusMessage</p>
|
||||||
|
@{
|
||||||
|
var loginProviders = Context.GetOwinContext().Authentication.GetExternalAuthenticationTypes();
|
||||||
|
if (loginProviders.Count() == 0) {
|
||||||
|
<div>
|
||||||
|
<p>
|
||||||
|
没有配置外部身份验证服务。有关设置此 ASP.NET 应用程序
|
@ -0,0 +1,15 @@
|
|||||||
|
@model Message_Board.Models.SetPasswordViewModel
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "创建密码";
|
||||||
|
}
|
||||||
|
|
||||||
|
<h2>@ViewBag.Title。</h2>
|
||||||
|
<p class="text-info">
|
||||||
|
你没有此站点的本地用户名/密码。请添加一个本地
|
||||||
|
帐户,这样,无需外部登录名即可登录。
|
||||||
|
</p>
|
||||||
|
|
||||||
|
@using (Html.BeginForm("SetPassword", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
||||||
|
{
|
||||||
|
@Html.AntiForgeryToken()
|
||||||
|
|
@ -0,0 +1,15 @@
|
|||||||
|
@model Message_Board.Models.VerifyPhoneNumberViewModel
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "验证电话号码";
|
||||||
|
}
|
||||||
|
|
||||||
|
<h2>@ViewBag.Title。</h2>
|
||||||
|
|
||||||
|
@using (Html.BeginForm("VerifyPhoneNumber", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
||||||
|
{
|
||||||
|
@Html.AntiForgeryToken()
|
||||||
|
@Html.Hidden("phoneNumber", @Model.PhoneNumber)
|
||||||
|
<h4>输入验证代码</h4>
|
||||||
|
<h5>@ViewBag.Status</h5>
|
||||||
|
<hr />
|
||||||
|
@Html.ValidationSummary("", new { @class = "text-danger" })
|
@ -0,0 +1,15 @@
|
|||||||
|
@model Message_Board.Models.Message
|
||||||
|
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "Create";
|
||||||
|
}
|
||||||
|
|
||||||
|
<h2>Create</h2>
|
||||||
|
<style>
|
||||||
|
.EditClassFormat {
|
||||||
|
display: block;
|
||||||
|
width: 800px;
|
||||||
|
height: 40px;
|
||||||
|
padding: 6px 12px;
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 1.428571429;
|
@ -0,0 +1,15 @@
|
|||||||
|
@model Message_Board.Models.Message
|
||||||
|
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "DeleteReply";
|
||||||
|
}
|
||||||
|
|
||||||
|
<h2>DeleteReply</h2>
|
||||||
|
|
||||||
|
<h3>Are you sure you want to delete this?</h3>
|
||||||
|
<div>
|
||||||
|
<h4>Message</h4>
|
||||||
|
<hr />
|
||||||
|
<dl class="dl-horizontal">
|
||||||
|
<dt>
|
||||||
|
@Html.DisplayNameFor(model => model.UserName)
|
@ -0,0 +1,15 @@
|
|||||||
|
@model Message_Board.Models.Message
|
||||||
|
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "DeleteSubject";
|
||||||
|
}
|
||||||
|
|
||||||
|
<h2>DeleteSubject</h2>
|
||||||
|
|
||||||
|
<h3>Are you sure you want to delete this?</h3>
|
||||||
|
<div>
|
||||||
|
<h4>Message</h4>
|
||||||
|
<hr />
|
||||||
|
<dl class="dl-horizontal">
|
||||||
|
<dt>
|
||||||
|
@Html.DisplayNameFor(model => model.UserName)
|
@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "Details";
|
||||||
|
}
|
||||||
|
|
||||||
|
@model IEnumerable<Message_Board.Models.Message>
|
||||||
|
<h3>留言主题:@ViewBag.Subject</h3>
|
||||||
|
<h3>留言类型:@ViewBag.MessageType</h3>
|
||||||
|
<div style="border:inset">
|
||||||
|
<h4> @ViewBag.Content</h4>
|
||||||
|
</div>
|
||||||
|
<br/>
|
||||||
|
<br />
|
||||||
|
<div>
|
||||||
|
<label style="color:aquamarine">楼主:</label>
|
@ -0,0 +1,15 @@
|
|||||||
|
@model Message_Board.Models.Message
|
||||||
|
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "Details2";
|
||||||
|
}
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<h4>@ViewBag.sub</h4>
|
||||||
|
<hr />
|
||||||
|
<dl class="dl-horizontal">
|
||||||
|
<dt>
|
||||||
|
@Html.DisplayNameFor(model => model.UserName)
|
||||||
|
</dt>
|
||||||
|
|
||||||
|
<dd>
|
@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "Index";
|
||||||
|
}
|
||||||
|
|
||||||
|
<fieldset style="margin-top: 30px;">
|
||||||
|
<legend>主页</legend>
|
||||||
|
|
||||||
|
<link rel="stylesheet" type="text/css" href="~/Views/Messages/Index.css" />
|
||||||
|
<script type="text/javascript">
|
||||||
|
function goto() {
|
||||||
|
var a = document.getElementById("txtInputNumber").value;
|
||||||
|
var url = "/Messages/Index?currentPage=" + a;
|
||||||
|
location.href = url;
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
ul.pagination {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pagerlist {
|
||||||
|
float: left;
|
||||||
|
margin-left: 40%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pagination {
|
||||||
|
display: inline-block;
|
||||||
|
padding-left: 0;
|
||||||
|
margin: 20px 0;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "Personal";
|
||||||
|
}
|
||||||
|
|
||||||
|
@model IEnumerable<Message_Board.Models.Message>
|
||||||
|
<h2>@ViewBag.userName</h2>
|
||||||
|
<fieldset style="margin-top: 30px;">
|
||||||
|
<legend>自己创建的主题</legend>
|
||||||
|
<br />
|
||||||
|
<table width="100%">
|
||||||
|
<tr>
|
||||||
|
<th> 留言主题 </th>
|
||||||
|
<th> 留言类型 </th>
|
||||||
|
<th> 留言内容 </th>
|
@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "PersonalReply";
|
||||||
|
}
|
||||||
|
@model IEnumerable<Message_Board.Models.Message>
|
||||||
|
<h2>@ViewBag.userName</h2>
|
||||||
|
<table class="table table-striped" width="100%">
|
||||||
|
<tr>
|
||||||
|
<th> 留言内容 </th>
|
||||||
|
<th> 留言主题 </th>
|
||||||
|
<th> 留言类型 </th>
|
||||||
|
<th> 留言时间 </th>
|
||||||
|
<th> 留言楼数 </th>
|
||||||
|
<th> 回复:</th>
|
||||||
|
<th> 操作</th>
|
@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "PersonalSubject";
|
||||||
|
}
|
||||||
|
@model IEnumerable<Message_Board.Models.Message>
|
||||||
|
<h2>@ViewBag.userName</h2>
|
||||||
|
<table class="table table-striped" width="100%">
|
||||||
|
<tr>
|
||||||
|
<th> 留言主题 </th>
|
||||||
|
<th> 留言类型 </th>
|
||||||
|
<th> 留言内容 </th>
|
||||||
|
<th> 留言时间 </th>
|
||||||
|
<th> 操作 </th>
|
||||||
|
<th> <a href="/Messages/Create">创建一个新的主题</a> </th>
|
||||||
|
</tr>
|
@ -0,0 +1,15 @@
|
|||||||
|
@model Message_Board.Models.Message
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "Reply";
|
||||||
|
}
|
||||||
|
|
||||||
|
<h2>Reply</h2>
|
||||||
|
<style>
|
||||||
|
.EditClassFormat {
|
||||||
|
display: block;
|
||||||
|
width: 800px;
|
||||||
|
height: 40px;
|
||||||
|
padding: 6px 12px;
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 1.428571429;
|
||||||
|
color: #555555;
|
@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "ReplyMyself";
|
||||||
|
}
|
||||||
|
@model IEnumerable<Message_Board.Models.Message>
|
||||||
|
<h2>@ViewBag.userName</h2>
|
||||||
|
<table width="100%">
|
||||||
|
<tr>
|
||||||
|
<th> 留言内容 </th>
|
||||||
|
<th> 留言主题 </th>
|
||||||
|
<th> 留言类型 </th>
|
||||||
|
<th> 留言时间 </th>
|
||||||
|
<th> 留言楼数 </th>
|
||||||
|
<th> 留言人:</th>
|
||||||
|
<th> 操作</th>
|
@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "ReplyMyself";
|
||||||
|
}
|
||||||
|
@model IEnumerable<Message_Board.Models.Message>
|
||||||
|
<h2>@ViewBag.userName</h2>
|
||||||
|
<div >
|
||||||
|
<table class="table table-striped" width="100%">
|
||||||
|
<tr>
|
||||||
|
<th> 留言内容 </th>
|
||||||
|
<th> 留言主题 </th>
|
||||||
|
<th> 留言类型 </th>
|
||||||
|
<th> 留言时间 </th>
|
||||||
|
<th> 留言楼数 </th>
|
||||||
|
<th> 留言人:</th>
|
@ -0,0 +1,9 @@
|
|||||||
|
@model System.Web.Mvc.HandleErrorInfo
|
||||||
|
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "Error";
|
||||||
|
}
|
||||||
|
|
||||||
|
<h1 class="text-danger">Error.</h1>
|
||||||
|
<h2 class="text-danger">An error occurred while processing your request.</h2>
|
||||||
|
|
@ -0,0 +1,10 @@
|
|||||||
|
@model System.Web.Mvc.HandleErrorInfo
|
||||||
|
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "已锁定";
|
||||||
|
}
|
||||||
|
|
||||||
|
<hgroup>
|
||||||
|
<h1 class="text-danger">已锁定。</h1>
|
||||||
|
<h2 class="text-danger">此帐户已锁定,请稍后重试。</h2>
|
||||||
|
</hgroup>
|
@ -0,0 +1,15 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>@ViewBag.Title - Aiden的 ASP.NET 应用程序</title>
|
||||||
|
@Styles.Render("~/Content/css")
|
||||||
|
@Scripts.Render("~/bundles/modernizr")
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="navbar navbar-inverse navbar-fixed-top">
|
||||||
|
<div class="container">
|
||||||
|
<div class="navbar-header">
|
@ -0,0 +1,15 @@
|
|||||||
|
@using Microsoft.AspNet.Identity
|
||||||
|
@if (Request.IsAuthenticated)
|
||||||
|
{
|
||||||
|
using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm", @class = "navbar-right" }))
|
||||||
|
{
|
||||||
|
@Html.AntiForgeryToken()
|
||||||
|
|
||||||
|
<ul class="nav navbar-nav navbar-right">
|
||||||
|
<li>
|
||||||
|
@Html.ActionLink("你好," + User.Identity.GetUserName() + "!", "Index", "Manage", routeValues: null, htmlAttributes: new { title = "Manage" })
|
||||||
|
</li>
|
||||||
|
<li><a href="javascript:document.getElementById('logoutForm').submit()">注销</a></li>
|
||||||
|
</ul>
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
@model Message_Board.Models.User
|
||||||
|
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "Create";
|
||||||
|
}
|
||||||
|
|
||||||
|
<h2>Create</h2>
|
||||||
|
|
||||||
|
@using (Html.BeginForm())
|
||||||
|
{
|
||||||
|
@Html.AntiForgeryToken()
|
||||||
|
|
||||||
|
<div class="form-horizontal">
|
||||||
|
<h4>User</h4>
|
||||||
|
<hr />
|
@ -0,0 +1,15 @@
|
|||||||
|
@model Message_Board.Models.User
|
||||||
|
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "Details";
|
||||||
|
}
|
||||||
|
|
||||||
|
<h2>Details</h2>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<h4>User</h4>
|
||||||
|
<hr />
|
||||||
|
<dl class="dl-horizontal">
|
||||||
|
<dt>
|
||||||
|
@Html.DisplayNameFor(model => model.ID)
|
||||||
|
</dt>
|
@ -0,0 +1,15 @@
|
|||||||
|
@model Message_Board.Models.User
|
||||||
|
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "Edit";
|
||||||
|
}
|
||||||
|
|
||||||
|
<h2>Edit</h2>
|
||||||
|
|
||||||
|
@using (Html.BeginForm())
|
||||||
|
{
|
||||||
|
@Html.AntiForgeryToken()
|
||||||
|
|
||||||
|
<div class="form-horizontal">
|
||||||
|
<h4>User</h4>
|
||||||
|
<hr />
|
@ -0,0 +1,15 @@
|
|||||||
|
@{
|
||||||
|
ViewBag.Title = "Index";
|
||||||
|
}
|
||||||
|
<h2>Login</h2>
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
|
<form action="/Users/Login" class="form-group" method="post">
|
||||||
|
<div>
|
||||||
|
<label class="control-label col-md-2">用户账号</label> <input type="text" name="Name" class="form-control" />
|
||||||
|
</div>
|
||||||
|
<br />
|
||||||
|
<div>
|
||||||
|
<label class="control-label col-md-2">用户密码</label> <input type="text" name="Password" class="form-control" />
|
||||||
|
</div>
|
||||||
|
<br />
|
@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "Login";
|
||||||
|
}
|
||||||
|
|
||||||
|
@model IEnumerable<Message_Board.Models.User>
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "Index";
|
||||||
|
}
|
||||||
|
<h2>ViewBag.User</h2>
|
||||||
|
<table width="100%">
|
||||||
|
<tr>
|
||||||
|
<th> 用户名称 </th>
|
||||||
|
<th> 用户密码 </th>
|
||||||
|
<th> 邮箱 </th>
|
@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
|
<configuration>
|
||||||
|
<configSections>
|
||||||
|
<sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
||||||
|
<section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
|
||||||
|
<section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
|
||||||
|
</sectionGroup>
|
||||||
|
</configSections>
|
||||||
|
|
||||||
|
<system.web.webPages.razor>
|
||||||
|
<host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||||
|
<pages pageBaseType="System.Web.Mvc.WebViewPage">
|
||||||
|
<namespaces>
|
||||||
|
<add namespace="System.Web.Mvc" />
|
@ -0,0 +1,3 @@
|
|||||||
|
@{
|
||||||
|
Layout = "~/Views/Shared/_Layout.cshtml";
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!--
|
||||||
|
For more information on how to configure your ASP.NET application, please visit
|
||||||
|
http://go.microsoft.com/fwlink/?LinkId=301880
|
||||||
|
-->
|
||||||
|
<configuration>
|
||||||
|
<configSections>
|
||||||
|
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
|
||||||
|
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
|
||||||
|
</configSections>
|
||||||
|
<connectionStrings>
|
||||||
|
<add name="DefaultConnection" connectionString="Data Source=.;Initial Catalog=Messages;Integrated Security=True;" providerName="System.Data.SqlClient"/>
|
||||||
|
<add name="UserDBContext" connectionString="Data Source=.;Initial Catalog=MessageBoard;Integrated Security=True;" providerName="System.Data.SqlClient"/>
|
||||||
|
<add name="MessageDBContext" connectionString="Data Source=.;Initial Catalog=Messages;Integrated Security=True;" providerName="System.Data.SqlClient"/>
|
||||||
|
</connectionStrings>
|
@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<packages>
|
||||||
|
<package id="Antlr" version="3.4.1.9004" targetFramework="net452" />
|
||||||
|
<package id="bootstrap" version="3.0.0" targetFramework="net452" />
|
||||||
|
<package id="EntityFramework" version="6.1.3" targetFramework="net452" />
|
||||||
|
<package id="EntityFramework.zh-Hans" version="6.1.3" targetFramework="net452" />
|
||||||
|
<package id="jQuery" version="1.10.2" targetFramework="net452" />
|
||||||
|
<package id="jQuery.Validation" version="1.11.1" targetFramework="net452" />
|
||||||
|
<package id="Microsoft.ApplicationInsights" version="2.0.0" targetFramework="net452" />
|
||||||
|
<package id="Microsoft.ApplicationInsights.Agent.Intercept" version="1.2.1" targetFramework="net452" />
|
||||||
|
<package id="Microsoft.ApplicationInsights.DependencyCollector" version="2.0.0" targetFramework="net452" />
|
||||||
|
<package id="Microsoft.ApplicationInsights.JavaScript" version="0.22.9-build00167" targetFramework="net452" />
|
||||||
|
<package id="Microsoft.ApplicationInsights.PerfCounterCollector" version="2.0.0" targetFramework="net452" />
|
||||||
|
<package id="Microsoft.ApplicationInsights.Web" version="2.0.0" targetFramework="net452" />
|
||||||
|
<package id="Microsoft.ApplicationInsights.WindowsServer" version="2.0.0" targetFramework="net452" />
|
@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<doc>
|
||||||
|
<assembly>
|
||||||
|
<name>EntityFramework.SqlServer</name>
|
||||||
|
</assembly>
|
||||||
|
<members>
|
||||||
|
<member name="T:System.Data.Entity.SqlServer.SqlAzureExecutionStrategy">
|
||||||
|
<summary>
|
||||||
|
An <see cref="T:System.Data.Entity.Infrastructure.IDbExecutionStrategy"/> that retries actions that throw exceptions caused by SQL Azure transient failures.
|
||||||
|
</summary>
|
||||||
|
<remarks>
|
||||||
|
This execution strategy will retry the operation on <see cref="T:System.TimeoutException"/> and <see cref="T:System.Data.SqlClient.SqlException"/>
|
||||||
|
if the <see cref="P:System.Data.SqlClient.SqlException.Errors"/> contains any of the following error numbers:
|
||||||
|
40613, 40501, 40197, 10929, 10928, 10060, 10054, 10053, 233, 64 and 20
|
||||||
|
</remarks>
|
@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<doc>
|
||||||
|
<assembly>
|
||||||
|
<name>EntityFramework</name>
|
||||||
|
</assembly>
|
||||||
|
<members>
|
||||||
|
<member name="T:System.Data.Entity.Core.Mapping.FunctionImportResultMapping">
|
||||||
|
<summary>
|
||||||
|
Represents a result mapping for a function import.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Data.Entity.Core.Mapping.MappingItem">
|
||||||
|
<summary>
|
||||||
|
Base class for items in the mapping space (DataSpace.CSSpace)
|
||||||
|
</summary>
|
@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<doc>
|
||||||
|
<assembly>
|
||||||
|
<name>EntityFramework.SqlServer</name>
|
||||||
|
</assembly>
|
||||||
|
<members>
|
||||||
|
<member name="T:System.Data.Entity.SqlServer.SqlAzureExecutionStrategy">
|
||||||
|
<summary>一个 <see cref="T:System.Data.Entity.Infrastructure.IDbExecutionStrategy" />,它重试引发 SQL Azure 瞬态错误导致的异常的操作。</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Data.Entity.SqlServer.SqlAzureExecutionStrategy.#ctor">
|
||||||
|
<summary>创建 <see cref="T:System.Data.Entity.SqlServer.SqlAzureExecutionStrategy" /> 的新实例。</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Data.Entity.SqlServer.SqlAzureExecutionStrategy.#ctor(System.Int32,System.TimeSpan)">
|
||||||
|
<summary>使用指定的重试次数限制值和两次重试之间的延迟时间创建 <see cref="T:System.Data.Entity.SqlServer.SqlAzureExecutionStrategy" /> 类的新实例。</summary>
|
||||||
|
<param name="maxRetryCount">最大重试次数。</param>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue