摘要:
https://docs.microsoft.com/en-us/aspnet/aspnet/overview/owin-and-katana/owin-oauth-20-authorization-server
阅读全文
posted @ 2017-10-07 01:25
shiningrise
阅读(566)
推荐(0)
摘要:
nuget安装Swashbuckle包 修改SwaggerConfig文件 给接口添加注释,即可看到参数及方法描述了 http://www.cnblogs.com/softidea/p/5728843.html
阅读全文
posted @ 2017-10-07 00:56
shiningrise
阅读(231)
推荐(0)
摘要:
Installation¶ There are a couple of packages for Hangfire available on NuGet. To install Hangfire into your ASP.NET application withSQL Server storage
阅读全文
posted @ 2017-10-05 18:17
shiningrise
阅读(681)
推荐(0)
摘要:
protected override void OnModelCreating(DbModelBuilder modelBuilder) { modelBuilder.Entity().HasKey(t => t.ProductID); modelBuilder.Entity().Property(t => t.ProductID) .HasColumnName(...
阅读全文
posted @ 2017-10-05 10:36
shiningrise
阅读(1033)
推荐(0)
摘要:
https://marketplace.visualstudio.com/items?itemName=ConnieYau.NETPortabilityAnalyzer
阅读全文
posted @ 2017-10-04 22:15
shiningrise
阅读(144)
推荐(0)
摘要:
Add-Migration -Name Bisaiupdate-database EF迁移设置的最后一步是在包管理器控制台中输入命令“add-migration InitialMigration -IgnoreChanges”。“InitialMigration”(高亮的黄色)是您想要给当前迁移的名
阅读全文
posted @ 2017-10-04 11:30
shiningrise
阅读(6720)
推荐(0)
摘要:
https://www.microsoft.com/zh-cn/store/p/nuget-package-explorer/9wzdncrdmdm3?ocid=badge&rtc=1
阅读全文
posted @ 2017-10-03 18:28
shiningrise
阅读(475)
推荐(0)
posted @ 2017-10-02 15:01
shiningrise
阅读(271)
推荐(0)
摘要:
https://github.com/ghostchina/Ghost-zh
阅读全文
posted @ 2017-10-01 18:19
shiningrise
阅读(163)
推荐(0)
摘要:
ContainerBuilder builder = new ContainerBuilder(); builder.RegisterGeneric(typeof(Repository)).As(typeof(IRepository)); Type baseType = typeof(IDependency); // 获取所有相关类库的程序集 Assembly[] assemblies = ....
阅读全文
posted @ 2017-10-01 15:04
shiningrise
阅读(1080)
推荐(0)
摘要:
https://aspnetboilerplate.com/Pages/Documents/Zero/Startup-Template-Core Introduction The easiest way of starting a new project using ABP with ASP.NET
阅读全文
posted @ 2017-10-01 00:14
shiningrise
阅读(465)
推荐(0)
摘要:
using System; using System.Collections.Generic; using System.Linq; using AutoMapper; using System.Collections; namespace DanaZhangCms.Domain.AutoMapper { public static class AutoMapperExtension ...
阅读全文
posted @ 2017-09-29 13:37
shiningrise
阅读(465)
推荐(0)
摘要:
EntityFramework Reverse POCO Generator https://marketplace.visualstudio.com/items?itemName=SimonHughes.EntityFrameworkReversePOCOGenerator#qna
阅读全文
posted @ 2017-09-26 12:16
shiningrise
阅读(371)
推荐(0)
摘要:
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline. public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory logge...
阅读全文
posted @ 2017-09-25 15:29
shiningrise
阅读(930)
推荐(0)
摘要:
http://www.cnblogs.com/i6first/p/5123995.html
阅读全文
posted @ 2017-09-24 23:24
shiningrise
阅读(194)
推荐(0)
posted @ 2017-09-24 17:44
shiningrise
阅读(238)
推荐(0)
摘要:
if object_id('tempdb..#tempTable') is not null Begin drop table #tempTable End SELECT TOP 1000 [校区],[学年],[考试年级],[考试类别],avg(语文含挑战) '平均分',STDEV(语文含挑战) '标准差' into #tempTable FROM [SchoolAnalyze].[dbo]...
阅读全文
posted @ 2017-09-24 16:26
shiningrise
阅读(365)
推荐(0)
摘要:
http://www.cnblogs.com/keepfool/
阅读全文
posted @ 2017-09-23 16:27
shiningrise
阅读(164)
推荐(0)
摘要:
重置 MySQL 自增列 AUTO_INCREMENT 初时值 注意, 使用以下任意方法都会将现有数据删除. 方法一: 1 2 (好处, 可以设置 AUTO_INCREMENT 为任意值开始) 提示:如果表列和数据很多, 速度会很慢, 如90多万条, 会在10分钟以上. 方法二: 1 (好处, 简单
阅读全文
posted @ 2017-09-22 20:29
shiningrise
阅读(8805)
推荐(0)
摘要:
1.什么是ImageProcessor.Web ImageProcessor.Web是基于ImageProcessor的web图像处理模块,允许开发者使用URL查询字符串参数的方式作为指令执行图像处理。 最新版有些问题,请大家使用4.5版本 2.常用功能 完整功能请参见官方文档:http://ima
阅读全文
posted @ 2017-06-26 20:23
shiningrise
阅读(334)
推荐(0)
摘要:
210.72.145.44 (国家授时中心服务器IP地址)133.100.11.8 日本 福冈大学time-a.nist.gov 129.6.15.28 NIST, Gaithersburg, Maryland time-b.nist.gov 129.6.15.29 NIST, Gaithersbu
阅读全文
posted @ 2017-05-27 16:36
shiningrise
阅读(769)
推荐(0)
摘要:
http://cn.filegee.com/index.html
阅读全文
posted @ 2017-05-24 13:41
shiningrise
阅读(150)
推荐(0)
摘要:
sudo su 有冲突 全部回答r http://www.hustoj.com/?p=47 OJ技术思考:评测安全 https://zhuanlan.zhihu.com/p/26984739
阅读全文
posted @ 2017-05-22 19:30
shiningrise
阅读(204)
推荐(0)
posted @ 2017-05-21 12:57
shiningrise
阅读(603)
推荐(1)
摘要:
1.什么是ImageProcessor.Web ImageProcessor.Web是基于ImageProcessor的web图像处理模块,允许开发者使用URL查询字符串参数的方式作为指令执行图像处理。 最新版有些问题,请大家使用4.5版本 2.常用功能 完整功能请参见官方文档:http://ima
阅读全文
posted @ 2017-05-21 12:41
shiningrise
阅读(381)
推荐(0)
摘要:
git clone --bare http://git.rcrtm.com/git/dianli.git git clone --mirror https://git.oschina.net/candoo/dianli.git git push --mirror https://git.oschin
阅读全文
posted @ 2017-05-16 16:24
shiningrise
阅读(375)
推荐(0)
摘要:
http://docs.topshelf-project.com/en/latest/index.html 我曾经把名称错为Topself
阅读全文
posted @ 2017-05-05 20:58
shiningrise
阅读(180)
推荐(0)
摘要:
应用程序脱机 系统升级维护中. 注意事项: (1)App_Offline.htm 不能小于 512 字节。 (2)IIS 不能 Stop。 (3)只有对.aspx文件的请求才自动转到App_Offline.htm文件;如果请求的是.htm文件,则不会转到App_Offline.htm
阅读全文
posted @ 2017-04-26 10:18
shiningrise
阅读(199)
推荐(0)
posted @ 2017-04-25 20:49
shiningrise
阅读(266)
推荐(0)
摘要:
protected override string AfterAddJS() { return CanDoo.FineUI.Utility.AfterSaveJS_ReloadData(EntityId)+CanDoo.FineUI.Utility.AfterSaveJS_ReloadFather(); } ...
阅读全文
posted @ 2017-04-24 20:37
shiningrise
阅读(131)
推荐(0)
摘要:
ListHelper.BindEnumDDL(typeof(ViewTypeEnum).ToDescription(), ListItemHelper.EnumToListItems(typeof(ViewTypeEnum)), -1L, this.ed_ViewType, true);
阅读全文
posted @ 2017-04-21 14:35
shiningrise
阅读(117)
推荐(0)
摘要:
string filePath = HttpContext.Current.Server.MapPath("~/log4net.config"); FileInfo fileInfo = new FileInfo(filePath); XmlConfigurator.ConfigureAndWatch(fileInfo); Logger.In...
阅读全文
posted @ 2017-04-11 20:50
shiningrise
阅读(123)
推荐(0)
摘要:
源码下载 注意: 这里的分页执行的语句是: SELECT * FROM (SELECT ROW_NUMBER() OVER (ORDER BY Degree DESC) peta_rn, * FROM Achievement WHERE Course=N'C#程序设计') peta_paged WH
阅读全文
posted @ 2017-04-11 13:38
shiningrise
阅读(249)
推荐(0)
摘要:
using (var db = DbScopeFactory.Create()) { //这里修改数据 db.SaveChanges(); }
阅读全文
posted @ 2017-04-10 22:25
shiningrise
阅读(174)
推荐(0)
摘要:
(转)C# Enum,Int,String的互相转换 枚举转换 Enum为枚举提供基类,其基础类型可以是除 Char 外的任何整型。如果没有显式声明基础类型,则使用 Int32。编程语言通常提供语法来声明由一组已命名的常数和它们的值组成的枚举。 注意:枚举类型的基类型是除 Char 外的任何整型,所
阅读全文
posted @ 2017-04-05 20:47
shiningrise
阅读(189)
推荐(0)
摘要:
protected virtual void InitGrid() { var q = _IContracts.Entities; q = Search(q); GridList.RecordCount = q.Count(); if (GridList.Page...
阅读全文
posted @ 2017-04-04 12:46
shiningrise
阅读(159)
推荐(0)
摘要:
#include #include #include #include #include #include #include using namespace std; int m; char a[250]; char b[250]; int c; int main(){ scanf("%d %s",&m,a); //printf("%s\n",b); //cin>>...
阅读全文
posted @ 2017-03-31 10:32
shiningrise
阅读(353)
推荐(0)
摘要:
#include #include #include #include #include #include #include using namespace std; int a; char b[100]; float s; int main(){ scanf("%d %s",&a,b); //printf("%s\n",b); int len = strlen(b)...
阅读全文
posted @ 2017-03-30 15:01
shiningrise
阅读(301)
推荐(0)
摘要:
#include #include #include #include #include #include #include using namespace std; float b; int main(){ scanf("%f",&b); cout=1) { cout<<"1"; b = b -1; ...
阅读全文
posted @ 2017-03-30 14:27
shiningrise
阅读(173)
推荐(0)
摘要:
#include #include #include #include #include #include #include using namespace std; char a[100]; long b; long s; int main(){ scanf("%s",a); scanf("%d",&b); int len = strlen(a); s =...
阅读全文
posted @ 2017-03-30 14:16
shiningrise
阅读(207)
推荐(1)