![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
历史文章
历史文章
大熊程序猿
不积跬步无以至千里不积小流无以成江海
展开
-
layui-页面级弹出框
home/Index.cshtml@{ ViewData["Title"] = "Home Page";}<script>layui.use(['layer','form'], function(){ var $ = layui.jquery, layer = layui.layer; //独立版的layer无需执行这一句 var form = layui.form; //触发事件 var active = { test: function(){原创 2022-02-09 21:28:18 · 4613 阅读 · 0 评论 -
Quartz.Net原理分析-反射
Quartz.Net原理分析-反射新建类库:Quartzusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace Quartz{ public interface IJob {...原创 2017-03-28 20:59:31 · 1741 阅读 · 0 评论 -
使用Serialize.Linq实现WCF方法参数可传入Linq
使用Nuge安装:Serialize.Linq直接上代码:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using Serialize.Linq;using System.Linq.Ex...原创 2017-05-22 20:03:36 · 1007 阅读 · 0 评论 -
C#动态创建对象和使用特性增强程序可扩展性
IPeopleusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ClassLibrary1{ public interface IPeople { v...原创 2017-07-30 10:54:51 · 1608 阅读 · 1 评论 -
C#面向对象设计及软件设计
准备写一个Socket案例,以面向对象思想设计首先:头脑风暴一下第二:设计软件原型第三:设计类对象关系-ER图第四:设计数据库表结构第五:开始编码,解决方案如下:Demo.Libraryusing System;using System.Collections.Generic;using System.Linq;usi...原创 2017-09-16 19:46:53 · 1214 阅读 · 0 评论 -
.Net 使用 Aspose.Words 进行 Word替换操作
using Aspose.Words;using Aspose.Words.Replacing;using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Text;using System.Text.RegularExpressions;using Sy...原创 2018-03-14 22:34:29 · 3379 阅读 · 0 评论 -
第一节:.net core mvc-api 使用IIS调式
下载:DotNetCore.2.0.8-WindowsHosting安装https://docs.microsoft.com/zh-cn/aspnet/core/host-and-deploy/iis/index?view=aspnetcore-2.1原创 2018-08-11 11:04:47 · 772 阅读 · 0 评论 -
MongoDb集群
mongod --port 2001 --dbpath "XXX\primary\data\db" --replSet rs0mongod --port 2002 --dbpath "XXX\replSet1\data\db" --replSet rs0mongod --port 2003 --dbpath "XX\replSet2\data\db" --replSet rs0原创 2018-09-08 15:19:57 · 103 阅读 · 0 评论 -
DotNetCore项目开发宝典
第1章 .NET Core第2章dotnet命令第3章 VS Code开发.NETCore第4章VS2017开发.NET Core第5章ASP.NET Core 5.1Session 5.2Cache第6章EF Core 6.1Code F...原创 2018-10-03 14:49:26 · 224 阅读 · 0 评论 -
.Net事件使用
.Net事件使用using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace EventDemo{ class Program { static void Main(s...原创 2017-03-15 09:34:30 · 397 阅读 · 0 评论 -
设计模式-命令
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using 设计模式讲解.Command;namespace 设计模式讲解{ class Program { static vo...原创 2017-03-07 09:13:33 · 228 阅读 · 0 评论 -
.NET中async与await的使用
.NET中async与await的使用using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Threading;namespace ConsoleApplication13{ ...原创 2017-02-27 22:39:04 · 581 阅读 · 0 评论 -
jQuery css3圆形倒数秒计时器代码
源码:jQuery css3圆形倒数秒计时器代码查看效果<html><head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <script type="text/javascript" src="http://ohyewang.c...转载 2015-03-24 22:40:41 · 1540 阅读 · 0 评论 -
音乐播放器的编写-前台
此内容分3篇文章来撰写1、前台网页2、Flex播放器编写3、音乐后台管理先给大家看看最后的效果:点击打开链接现在我们就开始第一篇的介绍,废话少说,直接上代码,相信大家也很容易看懂<html><head> <meta http-equiv="Content-Type" content="text/html; char...原创 2016-11-06 15:25:56 · 662 阅读 · 1 评论 -
框架设计基本概念-第一篇
给大家介绍一个订单的设计,考虑到商品普通价和VIP打折后的不同订单金额运行结果:UML图:Program.csusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;nam...原创 2016-11-07 22:08:03 · 270 阅读 · 0 评论 -
百度翻译C#API接口
using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Net;using System.Security.Cryptography;using System.Text;using System.Threading.Tasks;namespace B...原创 2016-11-08 22:27:20 · 2894 阅读 · 0 评论 -
Angular与.NetMVC一起使用
Angular与.NetMVC一起使用效果图:App-html:app/home.html<button class="btn btn-primary" ng-click="start()">显示</button><input ng-model="model.name" /><button c...原创 2016-12-28 23:08:52 · 2853 阅读 · 0 评论 -
C#线程安全、事件、元组的使用
using System;using System.Collections.Generic;using System.Linq;using System.Reflection;using System.Text;using System.Threading.Tasks;using System.Threading;using System.Collections;using Sy...原创 2017-02-18 21:57:47 · 698 阅读 · 0 评论 -
C#并发编程(一)
C#并发编程(一) 单线程处理、多线程处理、并行处理、异步处理using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Collections.Concurrent;using Syst...原创 2017-02-19 23:01:06 · 3692 阅读 · 0 评论 -
C#并发编程(二)-动态并行和并行聚合
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Threading;namespace ConsoleApplication11{ class Program { ...原创 2017-02-23 21:35:37 · 1003 阅读 · 0 评论 -
.net Core SignalR 实现
using System;using System.Collections.Generic;using System.Linq;using System.Threading.Tasks;namespace SignalRChat{ public interface IMyClient { Task SayAsync(Message message);...原创 2018-10-28 09:37:57 · 1067 阅读 · 0 评论 -
.netCore-HttpClient使用
namespace WebApplication1{ public class TokenClientOptions { public string Address { get; set; } public string ClientId { get; set; } public string ClientSecret { get...原创 2019-03-10 20:01:20 · 1710 阅读 · 0 评论 -
音乐播放器的编写 -Flex
此内容分3篇文章来撰写1、前台网页2、Flex播放器编写3、音乐后台管理先给大家看看最后的效果:点击打开链接 (请使用IE浏览器)现在我们就开始第二篇的介绍,废话少说,直接上代码,相信大家也很容易看懂<?xml version="1.0" encoding="utf-8"?><s:Application xmlns:fx="...原创 2016-11-13 10:49:06 · 680 阅读 · 0 评论 -
第六节:OA权限管理系统(EF对象关系配置)
using Microsoft.EntityFrameworkCore;using Microsoft.EntityFrameworkCore.Metadata.Builders;using System;using System.Collections.Generic;using System.Text;namespace OYW.OA.EFRepositories.MapConf...原创 2018-07-01 07:30:40 · 572 阅读 · 0 评论 -
第七节:OA权限管理系统(AOP拦截)
Install-Package Autofac.Extras.DynamicProxyService 提取一层(OYW.OA.ApplicationInterface)接口层出来已支持实现AOPusing Castle.DynamicProxy;using Newtonsoft.Json;using System;using System.Collection...原创 2018-07-01 09:05:06 · 621 阅读 · 0 评论 -
第八节:OA权限管理系统(Queryable动态扩展)
using log4net;using OYW.OA.DTO;using OYW.OA.DTO.People;using OYW.OA.EFRepositories;using System;using System.Collections.Generic;using System.Text;using Mapster;using OYW.OA.Domain.People;us...原创 2018-07-01 09:57:06 · 412 阅读 · 0 评论 -
第九节:OA权限管理系统(Web API)
新建项目:OYW.OA.APIInstall-Package Swashbuckle.AspNetCor启用 XML 注释后会为未记录的公共类型和成员提供调试信息。如果出现很多警告信息 例如,以下消息指示违反警告代码 1591:using System;using System.Collections.Generic;using System.IO;usi...原创 2018-07-01 14:47:25 · 550 阅读 · 0 评论 -
第十节:OA权限管理系统(爬虫获取IP所在地)
Nuget:HtmlAgilityPackusing System;using System.Collections.Generic;using System.Linq;using System.Threading.Tasks;using Microsoft.AspNetCore.Http;using Microsoft.AspNetCore.Mvc;namespace ...原创 2018-07-01 14:51:02 · 741 阅读 · 0 评论 -
第十一节:OA权限管理系统(部门管理)
using OYW.OA.ApplicationInterface.People;using OYW.OA.EFRepositories;using System;using System.Collections.Generic;using System.Linq;using System.Linq.Dynamic.Core;using System.Text;namespace...原创 2018-07-07 11:13:16 · 1657 阅读 · 0 评论 -
第十二节:OA权限管理系统(单元测试)
OYW.OA.XUnitTestNugetusing Autofac;using log4net;using Microsoft.EntityFrameworkCore;using Microsoft.EntityFrameworkCore.Metadata.Internal;using Microsoft.Extensions.DependencyInjection;us...原创 2018-07-07 22:01:08 · 440 阅读 · 0 评论 -
第十三节:OA权限管理系统(Exceptionless日志收集)
部属Exceptionless提前先下载好对应的程序包.NET 4.6.1。如果已安装过VS请忽略。JDK http://www.oracle.com/technetwork/java/javase/downloads/index.htmlElasticsearch (Elasticsearch v5.5.2) https://www.elastic.co/downloads/elas...原创 2018-07-14 22:27:01 · 827 阅读 · 0 评论 -
第五节:OA权限管理系统(UI-表格)
引入:jquery-easyui-1.5.4.4操作手册:http://www.jeasyui.com/documentation/#前端页面:@{ ViewData["Title"] = "Index";}<script type="text/javascript"> //初始化 $(function () { emplL...原创 2018-06-30 16:33:59 · 386 阅读 · 0 评论 -
第四节:OA权限管理系统(全局异常处理)
using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Reflection;using System.Threading.Tasks;using Autofac;using Autofac.Extensions.DependencyInjection;...原创 2018-06-30 16:29:03 · 808 阅读 · 0 评论 -
第三节:OA权限管理系统(依赖注入)
Nuget安装:Autofacusing System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Reflection;using System.Threading.Tasks;using Autofac;using Autofac.Extensions.Dep...原创 2018-06-30 16:24:57 · 496 阅读 · 0 评论 -
电影管理网站-第一章 抓取
最近自己为了提升一下技术,写了一个简单的电影链接网站。主要分三部份:第一个:网站点击打开链接第二个:后台管理点击打开链接账号:ag 密码:test@123第三个:抓取服务本文重点介绍抓取服务,目前只抓取了两个电影网站的部份信息(只供技术开发使用为目的)。现在直接上代码:Programusing Autofac;using Autofac.Bu...原创 2018-01-07 16:45:20 · 20264 阅读 · 0 评论 -
电影管理网站-第二章 API项目搭建
自WCF之后,现在主流的就是WebAPI,如果你还在用WCF来创建新的项目,那就看看WebAPI是否更好呢!第一步新建项目:Ohye.Film.API添加控制器:FilmControllerusing Ohye.Film.Application.Film;using Ohye.Film.DTO.Film;using System;using System.Co...原创 2018-01-28 18:08:55 · 917 阅读 · 0 评论 -
电影管理网站-第三章 数据库表结构
USE [OA.Film]GO/****** Object: Table [dbo].[FM_Product] Script Date: 03/03/2018 19:51:20 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGOCREATE TABLE [dbo].[FM_Product]( [ID] [uniquei...原创 2018-03-03 19:52:23 · 3518 阅读 · 0 评论 -
Jenkins部署.net自动化构建
Jenkins部署.net自动化构建1、要使用Jenkins,首先需要保证系统中已经安装了jdk下载并安装安装插件选择"自己选择",不要选择推荐,并选择安装如下插件MSBuild PluginSubversion Plug-in配置登录账号权限配置MSBuild新建任务...原创 2018-03-17 19:44:17 · 3811 阅读 · 0 评论 -
Word插入标签支持文本、图片、表格填充数据生成PDF
using GeneratePDFDemo.Model;using Oyw.PDF;using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.IO;namespace GeneratePDF...原创 2018-04-06 14:20:54 · 335 阅读 · 0 评论 -
Jenkins FTP发布站点
整体思路:Jenkins从SVN获取代码发布到本地文件夹,再通过插件FTP将发布后的文件夹发送到指定FTP服务器上的目录(IIS文件夹)。配置文件.config排除,因为做了删除。这样就可以实现:dev/next/current版本管理一、安装:FileZilla_Server(在IIS站点服务器下面)二、安装Jenkins -Windowns版本安装插件...原创 2018-04-14 14:09:30 · 1293 阅读 · 0 评论