07 2020 档案
摘要:https://nga.178.com/read.php?tid=21047002&rand=425 目录 1、功能介绍 2、原理概述 3、手动测试 4、基础知识 5、脚本版本 6、已知缺陷 7、其他 功能介绍 适用性广,适用于win10下,任何单个程序的网络断线操作,且不会导致整体网络中断。而对于
阅读全文
摘要:参考这个项目 https://github.com/xkevas24/ZhengHuo 1.netsh advfirewall firewall show rule name="ZhengHuo"2.netsh advfirewall firewall add rule name="ZhengHuo
阅读全文
摘要:What's the replacement for fuslogvw in .net core 2? When encountering problems with resolving DLLs and assemblies in general with .Net fuslogvw gave y
阅读全文
摘要:What exactly happens when I set LoadUserProfile of IIS pool? 回答 I mean if it's a "good" thing then why it is not "on" by default and why is it there a
阅读全文
摘要:DebugView v4.90 Introduction DebugView is an application that lets you monitor debug output on your local system, or any computer on the network that
阅读全文
摘要:How to track down log4net problems First you have to set this value on the application configuration file: <configuration> <appSettings> <add key="log
阅读全文
摘要:IIS: Idle Timeout vs Recycle 问题 In IIS there are two areas (well, more than two) where recycling can occur: Under the "Process Model" section → "Idle
阅读全文
摘要:Window.location Web technology for developers See Web APIs See Window Window.location The Window.location read-only property returns a Location object
阅读全文
摘要:Storage The Storage interface of the Web Storage API provides access to a particular domain's session or local storage. It allows, for example, the ad
阅读全文
摘要:Know the basics about NTFS permissions Most seasoned administrators are familiar with the fact that New Technology File System (NTFS) permissions are
阅读全文
摘要:Giving Application Pools Event Log Access Overview When the database becomes inaccessible, Secret Server will try to log errors to the Windows event l
阅读全文
摘要:一张图看懂ASP.NET MVC5认证和授权过滤器的执行顺序 IAuthenticationFilter是MVC5中的新特性,它有2个关键方法: OnAuthentication OnAuthenticationChallenge 当IAuthenticationFilter和IAuthorizat
阅读全文
摘要:git check-ignore git check-ignore -v . 检查当前文件夹被哪一个配置忽略了 git check-ignore -v fileName 检查指定的文件被哪一个配置忽略了 .gitignore exclude folder but include specific s
阅读全文
摘要:What does “Challenge” term stand for? 问题 ControllerBase class has Challenge method, that returns an object of the ChallengeResult class. CookieAuthent
阅读全文
摘要:Implementing MVC 5 IAuthenticationFilter 问题 I don't understand the purpose/difference of OnAuthentication and OnAuthenticationChallenge aside from OnA
阅读全文
摘要:HttpContext.Current.User is null even though Windows Authentication is on The answer to of moving the Application Pool back to classical is just delay
阅读全文
摘要:When should the volatile keyword be used in C#? I don't think there's a better person to answer this than Eric Lippert (emphasis in the original): In
阅读全文
摘要:HttpApplicationState.Remove(String) Method // System.Web.HttpApplicationState /// <summary>Removes the named object from an <see cref="T:System.Web.Ht
阅读全文
摘要:Detailed ASP.NET MVC Pipeline ASP.NET MVC is an open source framework built on the top of Microsoft .NET Framework to develop the web application that
阅读全文
摘要:每个module的作用不同,会分别注册到所需要处理的事件。 事件本身的处理顺序是由pipeline决定的,如果多个module注册了同一个事件,触发的顺序按照注册事件的先后顺序来。注册的顺序,是由module的配置决定的。 C:\Windows\System32\inetsrv\config\app
阅读全文
摘要:Life Cycle Stages The following table lists the stages of the ASP.NET application life cycle with Integrated mode in IIS 7.0. 1.A request is made for
阅读全文
摘要:HTTPModule Event Execution Order? Does anyone know of a site or page, or know the order of execution for the events of the HTTPApplication class for H
阅读全文
摘要:HttpModule的认识与深入理解 一个HTTP请求在HttpModule容器的传递过程中,会在某一时刻(ResolveRequestCache事件)将这个HTTP请求传递给HttpHandler容器。在这个事件之后,HttpModule容器会建立一个HttpHandler的入口实例,但是此时并没
阅读全文
摘要:ASP.NET底层与各个组件的初步认识与理解 汇总 ASP.NET是一个非常强大的构建Web应用的平台,它提供了极大的灵活性和能力以致于可以用它来构建所有类型的Web应用,作为asp.Net程序员,应该更深了解一下其工作原理. 这段时间在国外国内的网进行查证与理解进行总结, 收集整理且当程序代码成长
阅读全文
摘要:HttpRuntime的认识与加深理解 下面最先介绍HttpRuntime的Web.config里的配置 <httpRuntime executionTimeout = "number" maxRequestLength = "number" requestLengthDiskThreshold =
阅读全文
摘要:AllowAnonymousAttribute Class // System.Web.Http.AuthorizeAttribute // Token: 0x0600010A RID: 266 RVA: 0x000048D5 File Offset: 0x00002AD5 private stat
阅读全文
摘要:AuthenticateRequest event 问题 Q 1. To my understanding FormsAuthenticationModule is subscribed to AuthenticateRequest event, and thus only after this e
阅读全文
摘要:被 System.Web.Security.FormsAuthenticationModule中的私有方法ExtractTicketFromCookie调用 // System.Web.Security.FormsAuthenticationModule // Token: 0x06004BFC R
阅读全文
摘要:Share cookie between subdomain and domain 问题 I have two questions. I understand that if I specify the domain as .mydomain.com (with the leading dot) i
阅读全文
摘要:https://en.wikipedia.org/wiki/Subdomain In the Domain Name System (DNS) hierarchy, a subdomain is a domain that is a part of another (main) domain The
阅读全文
摘要:Database Files and Filegroups At a minimum, every SQL Server database has two operating system files: a data file and a log file. Data files contain d
阅读全文
摘要:1.Database Growth Size growth in 3,6,12,24,60 months Database integrity check Indexes -Rebuild,ReOrganize,Update Statistics 2.User Assignment and Perm
阅读全文
摘要:Why are there directories called Local, LocalLow, and Roaming under \Users\<username>\AppData? 问题 I have a workstation running Windows Server 2008 tha
阅读全文
摘要:Development source A development source represents the current state of the database in your development environment. There are two types of developme
阅读全文
摘要:What is the difference between POST and GET? GET and POST are two different types of HTTP requests. According to Wikipedia: GET requests a representat
阅读全文
摘要:Which side is more logical: front-end or back-end? When you program, you write 1. Business logic2. View Logic Business Logic: It deals with the securi
阅读全文
摘要:The configuration element is not declared Go to XML menu (visual studio top menu item) choose schemas and find for DotNetConfig.xsd and choose Use thi
阅读全文
摘要:https://github.com/NLog/NLog/blob/dev/src/NLog/Config/LoggingConfigurationFileLoader.cs#L222 /// <summary> /// Get default file paths (including filen
阅读全文
摘要:serilog-sinks-file <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="serilog:using:File" value="Serilog.Sinks.File" /> <
阅读全文
摘要:Comparison Review: Microsoft SSDT vs Redgate SQL Source Control Summary To re-cap, here are our winners for each category: Ease of use: Redgate Refact
阅读全文
摘要:Azure DevOps Azure Repos Git How-to Guides Authenticate with SSH Connect to your Git repos through SSH on macOS, Linux, or Windows to securely connect
阅读全文
摘要:FlagsAttribute Class Indicates that an enumeration can be treated as a bit field; that is, a set of flags. C# [System.AttributeUsage(System.AttributeT
阅读全文
摘要:Debugging and Diagnostics When Serilog is not behaving as you expect, this may be caused by an internal exception or configuration issue. Here are a c
阅读全文
摘要:FailureSink https://github.com/serilog/serilog-sinks-elasticsearch/blob/dev/src/Serilog.Sinks.Elasticsearch/Sinks/ElasticSearch/ElasticsearchSinkOptio
阅读全文
摘要:var loggerConfiguration = new LoggerConfiguration(); loggerConfiguration = loggerConfiguration.ReadFrom.AppSettings(filePath: path); var logger = logg
阅读全文
摘要:Kibana Guide [7.8] » Discover » Search data » Kibana Query Language Kibana Query Languageedit In Kibana 6.3, we introduced a number of exciting experi
阅读全文
摘要:Serilog.Sinks.Elasticsearch This repository contains two nuget packages: Serilog.Sinks.Elasticsearch and Serilog.Formatting.Elasticsearch. What is thi
阅读全文
摘要:Getting Started using System; using Serilog; namespace SerilogExample { class Program { static void Main() { Log.Logger = new LoggerConfiguration() .M
阅读全文
摘要:The Elasticsearch target works best with the BufferingWrapper target applied. By default the target assumes an Elasticsearch node is running on the lo
阅读全文
摘要:RollingFileAppender bufferSize is not working? Here is an alternative If you have used log4net for your logging need, you may have come across the buf
阅读全文
摘要:SSH Protocol The SSH protocol (also referred to as Secure Shell) is a method for secure remote login from one computer to another. It provides several
阅读全文
摘要:https://www.cnblogs.com/wohenxinwei/p/3912528.html MaxFileSize 最大的文件大小。我们可以使用"KB", "MB" 或 "GB"为 MaxFileSize 作为后缀限定大小。默认的文件大小是10MB。 RollingStyle是文件创建的方
阅读全文
摘要:Initializing a static field vs. returning a value in static property get? A) In the following code, will the method DataTools.LoadSearchList() only be
阅读全文
摘要:Internal Logging If you have trouble getting NLog to work properly you may want to enable internal logging, which can help identify where the problem
阅读全文
摘要:public void Debug(Exception exception, [Localizable(false)] string message) { if (IsDebugEnabled) { WriteToTargets(LogLevel.Debug, exception, message,
阅读全文
摘要:Archive old log files NLog 4.5 makes it easy to setup archive logic to move/cleanup old files with dynamic fileName-Layout. You just need to configure
阅读全文
摘要:Custom date and time format strings The "fff" custom format specifier The "fff" custom format specifier represents the three most significant digits o
阅读全文
摘要:log4net <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date{yyyy-MM-dd HH:mm:ss.fffzzz} %-5p [%t]: %m%n" /> </layout> https:/
阅读全文
摘要:Tutorial This describes NLog for .NET Framework (.NET ver. 3.5 - 4.8) and .NET Core (NetStandard 1.3+) NLog can be setup with the following steps: Ins
阅读全文
摘要:Securing Azure CDN assets with token authentication Overview Token authentication is a mechanism that allows you to prevent the Azure Content Delivery
阅读全文
摘要:How can I uninstall the language pack of .net 4.8? I did not install the Chinese language pack for .net, but why I got these two folders? C:\Windows\M
阅读全文
摘要:RemotingAppender For full details see the SDK Reference entry: log4net.Appender.RemotingAppender. The following example shows how to configure the Rem
阅读全文
摘要:修复的问题汇总 Writing to the same file from multiple processes does not function when concurrentWrites="true" and keepFileOpen="true" Writing to the same fi
阅读全文
摘要:Why is the date appended twice on filenames when using Log4Net? I was trying to add the date to my log file name and I was able to make it work by fol
阅读全文
摘要:Windows Service: System.Reflection.ReflectionTypeLoadException was thrown with the following error message: Unable to load one or more of the re 问题: T
阅读全文
摘要:Requested registry access is not allowed 回答1 app.manifest should be like this: <?xml version="1.0" encoding="utf-8"?> <asmv1:assembly manifestVersion=
阅读全文
摘要:What is the benefit of developing the application as a windows service? On the top of my head: You can control the user (and the rights associated wit
阅读全文
摘要:开始菜单,搜索lusrmgr.msc 直接打开管理页面,在中间空白的地方右键,就会有创建用户的菜单 创建的用户无法通过远程桌面进行连接, 把这个用户设置为Administrators的用户组就可以了。
阅读全文
摘要:Can I see my edit suggestions? By going on your own profile, under All actions tab, you can view it all: Revisions, Reviews, Suggestion, etc as shown
阅读全文
摘要:《普通话异读词审音表(修订稿)》征求意见公告 2016-06-06 来源:语信司 为全面贯彻《国家通用语言文字法》,落实党的十八大提出的“推广和规范使用国家通用语言文字”,推进普通话推广工作,国家语委于2011年10月启动了新中国成立以来第三次普通话审音工作,主要内容是研制普通话审音原则,根据当前语
阅读全文
摘要:Process.Start(ProcessStartInfo) Starts the process resource that is specified by the parameter containing process start information (for example, the
阅读全文