<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[学习记录园地]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/feathercloudy</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; feathercloudy]]></copyright><item><title><![CDATA[ZeroWidthSpace-----零宽空格]]></title><link>https://blog.youkuaiyun.com/feathercloudy/article/details/133926696</link><guid>https://blog.youkuaiyun.com/feathercloudy/article/details/133926696</guid><author>feathercloudy</author><pubDate>Thu, 19 Oct 2023 14:58:22 +0800</pubDate><description><![CDATA[找到原因后没有办法直接使用replace来替换，因为在字符串中不存在，需要用HttpUtility.UrlEncode转化后查找其中的“%e2%80%8b”来进行替换后再用HttpUtility.UrlDecode转化回来，这样就可以解决这个问题了。代码监控查看均显示正常，以为是数据库汉字编码问题，但是在数据库中监控了入库的sql脚本后看到已经存在乱码，就确定是字符串问题。”，但是网站端显示都是UTF8编码，客户专题的只是一串汉字的，没有什么编码方式。直接查看是看不到的，但是粘贴后存在，很是坑人。]]></description><category></category></item><item><title><![CDATA[abp框架发送邮件设置和问题处理]]></title><link>https://blog.youkuaiyun.com/feathercloudy/article/details/125160384</link><guid>https://blog.youkuaiyun.com/feathercloudy/article/details/125160384</guid><author>feathercloudy</author><pubDate>Tue, 07 Jun 2022 11:07:02 +0800</pubDate><description><![CDATA[abp发送邮件设置和遇到为问题]]></description><category></category></item><item><title><![CDATA[abp框架学习笔记（三）--Angular和前端]]></title><link>https://blog.youkuaiyun.com/feathercloudy/article/details/115129344</link><guid>https://blog.youkuaiyun.com/feathercloudy/article/details/115129344</guid><author>feathercloudy</author><pubDate>Wed, 27 Apr 2022 15:01:45 +0800</pubDate><description><![CDATA[暂时没有内容

]]></description><category></category></item><item><title><![CDATA[abp框架学习笔记（一）--解决方案框架]]></title><link>https://blog.youkuaiyun.com/feathercloudy/article/details/114999033</link><guid>https://blog.youkuaiyun.com/feathercloudy/article/details/114999033</guid><author>feathercloudy</author><pubDate>Sun, 24 Apr 2022 17:35:13 +0800</pubDate><description><![CDATA[一、ABP各项目介绍
1、.Domain.Shared 项目
项目包含常量,枚举和其他对象,这些对象实际上是领域层的一部分,但是解决方案中所有的层/项目中都会使用到。
该项目不依赖解决方案中的其他项目. 其他项目直接或间接依赖该项目。
2、.Domain 项目
解决方案的领域层. 它主要包含 实体, 集合根, 领域服务, 值类型, 仓储接口 和解决方案的其他领域对象。
它依赖 .Domain.Shared 因为它可能会在应用接口和DTO中使用常量,枚举和其他的共享对象。
注：专门放实体类，集合跟，聚合根和仓]]></description><category></category></item><item><title><![CDATA[abp框架学习笔记（二）--实体，仓储，应用]]></title><link>https://blog.youkuaiyun.com/feathercloudy/article/details/115127648</link><guid>https://blog.youkuaiyun.com/feathercloudy/article/details/115127648</guid><author>feathercloudy</author><pubDate>Sun, 24 Apr 2022 17:34:24 +0800</pubDate><description><![CDATA[暂时没有内容

]]></description><category></category></item><item><title><![CDATA[谷歌浏览器设置接收http网站系统消息]]></title><link>https://blog.youkuaiyun.com/feathercloudy/article/details/119612406</link><guid>https://blog.youkuaiyun.com/feathercloudy/article/details/119612406</guid><author>feathercloudy</author><pubDate>Wed, 11 Aug 2021 17:30:10 +0800</pubDate><description><![CDATA[目前浏览器把http网站都认为是不安全网站，禁止了网页系统消息的弹出显示。但是谷歌浏览器可以进行设置，把网站加入安全中。

设置地址为：chrome://flags/#unsafely-treat-insecure-origin-as-secure

进入如下界面，在红色框中加入http网站域名，并把default改为enabled即可。




...]]></description><category></category></item><item><title><![CDATA[sql脚本中拼接查询内容转义处理方法]]></title><link>https://blog.youkuaiyun.com/feathercloudy/article/details/118498835</link><guid>https://blog.youkuaiyun.com/feathercloudy/article/details/118498835</guid><author>feathercloudy</author><pubDate>Mon, 05 Jul 2021 21:53:13 +0800</pubDate><description><![CDATA[这次遇到的问题是显示员工的所有部门，有张员工和部门关系表和部门表；

部门表的结构为

id
			部门标号
		name
			部门名称
		parentid
			父级编号
		

根据部门和员工关系表查询到员工的部门编号，然后根据部门编号拼接出所有部门。

遇到问题有

1、查询出所有部门

此问题解决方案也是在网上找到的

用了临时表temp来查询所有部门，sql脚本为：


WITH TEMP AS((SELECT * FROM Department(nolock) WHERE Id = 123
]]></description><category></category></item><item><title><![CDATA[企业微信私有化相关信息]]></title><link>https://blog.youkuaiyun.com/feathercloudy/article/details/115942652</link><guid>https://blog.youkuaiyun.com/feathercloudy/article/details/115942652</guid><author>feathercloudy</author><pubDate>Wed, 21 Apr 2021 11:54:55 +0800</pubDate><description><![CDATA[企业微信私有化的发展是这样的，之前有企业微信，但是数据都是保存在腾讯的服务器上的。因为政府部门对数据的安全性要求，企业微信有了政务版，就是企业微信可以部署在自己的服务器上，企业微信的数据也就在自己部署的服务器上。后来就又推出了企业微信私有化部署，这部分就是针对企业了。
不过不管企业微信部署在哪里，对应的接口都没有太大变化，接口的文档可以参考政务版的接口文档https://rdgz.gov.weixin.qq.com/api/doc#10914
企业微信私有化部署比较麻烦，腾讯方面审核比较严格，目前的流程是可]]></description><category></category></item><item><title><![CDATA[使用datatables绑定数据遇见问题]]></title><link>https://blog.youkuaiyun.com/feathercloudy/article/details/115494004</link><guid>https://blog.youkuaiyun.com/feathercloudy/article/details/115494004</guid><author>feathercloudy</author><pubDate>Wed, 07 Apr 2021 20:14:40 +0800</pubDate><description><![CDATA[使用的angular框架，项目比较老，所以版本比较早，为 v1.2.16，绑定数据使用的是datatables来进行数据绑定，版本为V1.10.5 ，在绑定数据的时候遇到了一个问题，目前还没有找到处理的方法，此处为记录一下。
datatables绑定了一组数据，可以对点击行中的查看，查看详细的数据，目前的问题是在新增了分页之后，点击查看事件会被执行多次，我的理解是点击分页后会对表格进行再次渲染，然后渲染几次，事件就会被执行几次，造成的后果会导致详细数据无法正常显示。
代码如下：
function BindD]]></description><category></category></item><item><title><![CDATA[datatables 1.10.5 版参数配置详解]]></title><link>https://blog.youkuaiyun.com/feathercloudy/article/details/115493852</link><guid>https://blog.youkuaiyun.com/feathercloudy/article/details/115493852</guid><author>feathercloudy</author><pubDate>Wed, 07 Apr 2021 19:38:58 +0800</pubDate><description><![CDATA[//@translator codepiano
//@blog codepiano
//@email codepiano.li@gmail.com
//尝试着翻译了一下，难免有错误的地方，欢迎发邮件告知，多谢。
/------------------------------------------------Feature------------------------------------------------/
$(document).ready( function (){
$(‘selector‘]]></description><category></category></item><item><title><![CDATA[创建计划任务用bat批处理定时备份sqlserver数据库]]></title><link>https://blog.youkuaiyun.com/feathercloudy/article/details/88653588</link><guid>https://blog.youkuaiyun.com/feathercloudy/article/details/88653588</guid><author>feathercloudy</author><pubDate>Tue, 19 Mar 2019 01:35:57 +0800</pubDate><description><![CDATA[选择创建计划任务备份数据库其实是自己给自己挖了一个坑，在安装SQLSERVER数据库的时候没有注意版本，安装的是express版本，而这个版本是没有【SQLSERVER代理】功能的。就没有办法在SQLSERVER上直接创建备份作业来定时备份数据库。必须得重新安装数据库，但是服务器已经全部配置好了，客户已经在正常使用了，怕重新安装数据库出问题，所以就想着用其他的办法来对数据库进行备份。在这里建议安装...]]></description><category></category></item><item><title><![CDATA[[ValidateInput(false)]取消对富文本编辑器内容检测]]></title><link>https://blog.youkuaiyun.com/feathercloudy/article/details/84954082</link><guid>https://blog.youkuaiyun.com/feathercloudy/article/details/84954082</guid><author>feathercloudy</author><pubDate>Tue, 11 Dec 2018 14:03:14 +0800</pubDate><description><![CDATA[一般编辑器含有&amp;lt; &amp;gt;类似的标记，会被检测到有危险的符号，这个的作用就是不验证。

类似于在&quot;aspx&quot;页面头部加上&quot; validateRequest=&quot;false&quot;  &quot; 。]]></description><category></category></item><item><title><![CDATA[C#中List实体类转换为object]]></title><link>https://blog.youkuaiyun.com/feathercloudy/article/details/81668771</link><guid>https://blog.youkuaiyun.com/feathercloudy/article/details/81668771</guid><author>feathercloudy</author><pubDate>Tue, 14 Aug 2018 15:58:57 +0800</pubDate><description><![CDATA[用了好几次这个，但是每次用的时候都忘掉。所以写在博客里面记下。

用ConvertAll方法转换：
List&amp;lt;Object&amp;gt; m= list.ConvertAll(s=&amp;gt; (object)s); ]]></description><category></category></item><item><title><![CDATA[uploadify上传控件火狐不显示问题]]></title><link>https://blog.youkuaiyun.com/feathercloudy/article/details/80619922</link><guid>https://blog.youkuaiyun.com/feathercloudy/article/details/80619922</guid><author>feathercloudy</author><pubDate>Fri, 08 Jun 2018 11:33:28 +0800</pubDate><description><![CDATA[uploadify上传事前没有用过，这次是因为接别人的项目用这个控件，但是感觉很坑呀！http://www.uploadify.com/官网地址uploadify上传还是不错的，但是因为是flash上传，所以要求浏览器有安装flash控件，如果没有安装则不显示上传控件（第一次接触就被这个问题给坑了）。当时谷歌和火狐都不显示上传按钮，提出问题的同事说听之前的同事说上传图片这块是应该有个上传按钮的，调...]]></description><category></category></item><item><title><![CDATA[Uediter编辑器中上传附件中文名乱码]]></title><link>https://blog.youkuaiyun.com/feathercloudy/article/details/80499198</link><guid>https://blog.youkuaiyun.com/feathercloudy/article/details/80499198</guid><author>feathercloudy</author><pubDate>Tue, 29 May 2018 17:28:18 +0800</pubDate><description><![CDATA[在asp.net版本中上传附件名字有中文的会出现乱码，这是因为一般都是用UFT8编码，但是在上传时是gb2312造成的问题。解决方案为：在文件夹下的文件：controller.ashx文件里面增加代码context.Request.ContentEncoding = System.Text.Encoding.UTF8;context.Response.ContentEncoding = Syste...]]></description><category></category></item><item><title><![CDATA[asp.net跨域时被请求服务器端口设置]]></title><link>https://blog.youkuaiyun.com/feathercloudy/article/details/80322961</link><guid>https://blog.youkuaiyun.com/feathercloudy/article/details/80322961</guid><author>feathercloudy</author><pubDate>Tue, 15 May 2018 15:11:13 +0800</pubDate><description><![CDATA[做一个前后端完全分离的项目，前端是vue.js+elementUI，后端是asp.net的EF。就跨域问题折腾了2天多，加班到12点，实在是要人命。对于vue不太了解，后端接口很好写，用postman来调试接口都能成功返回数据，配置到服务器上后，前端运行起来就会报405错误，在本地写了个post请求，可以正常返回数据。在网上找了很多资料，可以确定是跨域问题啦~后来在网上找资料，都是在增加配置允许跨...]]></description><category></category></item><item><title><![CDATA[angularjs中设置select的选中项]]></title><link>https://blog.youkuaiyun.com/feathercloudy/article/details/79022165</link><guid>https://blog.youkuaiyun.com/feathercloudy/article/details/79022165</guid><author>feathercloudy</author><pubDate>Wed, 10 Jan 2018 11:59:45 +0800</pubDate><description><![CDATA[最近用angularjs比较多，里面有很多自己的方法，都不咋会用，这篇只是个笔记，防止自己忘记
selectValue">
    viewModel.bizModelList" value="{{item.key}}" ng-selected="item.key==selectValue">{{item.value}}

用ng-repeat来循环显示option的值，用ng-selec]]></description><category></category></item><item><title><![CDATA[uediter单独的配置上传图片，视频和文件]]></title><link>https://blog.youkuaiyun.com/feathercloudy/article/details/78947678</link><guid>https://blog.youkuaiyun.com/feathercloudy/article/details/78947678</guid><author>feathercloudy</author><pubDate>Mon, 01 Jan 2018 21:43:37 +0800</pubDate><description><![CDATA[用过多的编辑器，现在应百度开发的uediter，这款编辑器对表格比较友好，也可以单独使用上传的控件，总体来说是比较方便的。但是有一个缺点，就是首行缩进，有时候会缩进的不对，这个很是讨厌。这次主要是说一下怎么单独使用uediter的上传控件，之前一直是用着图片上传，这次因为需要有做了视频上传和文件上传。]]></description><category></category></item><item><title><![CDATA[AngularJs获取传递参数方法]]></title><link>https://blog.youkuaiyun.com/feathercloudy/article/details/78562073</link><guid>https://blog.youkuaiyun.com/feathercloudy/article/details/78562073</guid><author>feathercloudy</author><pubDate>Fri, 17 Nov 2017 15:37:20 +0800</pubDate><description><![CDATA[AngularJs获取传递参数]]></description><category></category></item></channel></rss>