#an

What is the difference between Shrink Database and File?

Simply...DBCCShrinkDatabase():shrinkallfilesDBCCShrinkFile():justonefileForexample,youmayhavealogbackupissueandit'sgrownoutofcontrolsoyourunDBCCShrinkFile().You...

Enabling IIS and required IIS components on Windows Server

TolearnhowtoenableIISandtherequiredIIScomponentsonWindowsServer2012/2012R2,seetheinstructionsbelow.OpenServerManagerandclickManage>AddRolesandFeatures.ClickN...

How can I manually create a authentication cookie instead of the default method?

Hereyougo.ASP.NETtakescareofthisforyouwhenyouusethehigherlevelmethodsbuiltintoFormsAuthentication,butatthelowlevelthisisrequiredtocreateanauthenticationcookie.&...

Why you need to understand garbage collection

I’vebeeninterviewinglotsofC#developersrecently,andoneofmystockquestionsis“howdoesthe.NETgarbagecollectorknowwhenyou’vefinishedusinganobject?&r...

What is the difference between UNION and UNION ALL?

UNIONremovesduplicaterecords(whereallcolumnsintheresultsarethesame),UNIONALLdoesnot.ThereisaperformancehitwhenusingUNIONinsteadofUNIONALL,sincethedatabaseserver...

Object changed by Unknown

https://documentation.red-gate.com/soc7/troubleshooting/object-changed-by-unknownhttps://documentation.red-gate.com/soc7/configuring/log-changes-to-shared-datab...

解决echsop兼容jquery(transport.js的冲突)的问题

方案一:本人亲测过,可以用。有的人说需要删除js目录下的gobal.js文件,否则依然会冲突。我没删除也解决了冲突。1、加入JSON2.js文件原因很简单,transport修改Object是为了加入支持JSON的方法。所以我这里用JSON官网在javascript语言上提供的json2.js支持具体下载地址json官...

mysql5.7密码过期ERROR 1862 (HY000): Your password has expired. To log in you must change

环境:ubuntu14.04 mysql5.7 一、mysql5.7密码过期问题报错:ERROR1862(HY000):Yourpasswordhasexpired.Tologinyoumustchangeitusingaclientthatsupportsexpiredpasswords.翻译:错...

Django框架下的增强分页组件

本文通过文章同步功能推送至博客园,显示排版可能会有所错误,请见谅!描述:Django框架内置了分页功能,但其只能满足简单需求,难以实现复杂功能。实现代码:#!/usr/bin/envpython3#-*-coding:utf-8-*-__auth__='SongWei'fromdjango.utils.safestri...

pytest执行时mian函数传参

在代码中执行pytest可以通过main函数加参数来指定运行规则时,参数需要放在列表或者元祖中#pytest.main(["--html=report.html"])#pytest.main(["--collect-only"])#展示所有测试用例#pytest.main(["-k","11"])#使用指定表达式运行希...

postman批量运行和参数化

1、新建请求,并保存在集合中,需要参数化的参数使用{{参数名}}填写   2、新建csv文件或txt文件,第一列填写参数名,一定要与需要参数化的参数名相同3、点击集合右侧的三角,再点击run  4、设置collectionrunner  5、执行6、...

Postman教程 授权

授权过程就是验证我们是否有权限从服务器访问所需的数据。发送请求时,通常必须包含参数以确保请求有权访问并返回所需的数据。Postman提供的授权类型可以让我们轻松处理Postman进行接口测试中的身份验证协议。在Postman中,提供了以下的几种授权:Inheritauthfromparent---从父继承授权NoAut...
IT猿 ·2020-03-27

Postman测试脚本编写例子

1.设置环境变量设置环境变量postman.setEnvironmentVariable("key","value");2.将嵌套对象设置为环境变量将嵌套对象设置为环境变量vararray=[1,2,3,4];postman.setEnvironmentVariable("array",JSON.stringify(a...
首页上一页...801802803804805...下一页尾页