04 2020 档案
摘要:Create 1.mkdir Connect_Backend_Database 2. cd Connect_Backend_Database 3. git clone url main 4. cd main 5. git worktree add -b v5 ../v5 origin/v5 6. g
阅读全文
摘要:What would I use git-worktree for? I read Github's post on git-worktree. They write: Suppose you're working in a Git repository on a branch called fea
阅读全文
摘要:Git Worktree:你从未听说过的最好的 Git 功能(英文) Git Worktrees: The Best Git Feature You’ve Never Heard Of 这篇文章简单介绍了 git worktree 功能,也就是让一个代码库的两个分支同时都可以访问的功能。 https
阅读全文
摘要:https://indexoutofrange.com/Could_not_load_file_or_assembly_or_one_of_its_dependencies/ Reading assembly binding log files (Fusion Log) This is my pre
阅读全文
摘要:How to resolve .NET reference and NuGet package version conflicts Some problems in programming seem to stay and bother us forever. Much like cockroach
阅读全文
摘要:NPOI.POIXMLException > System.IO.FileLoadException: Could not load file or assembly 'ICSharpCode.SharpZipLib, Version=0.86.0.518, Culture=neutral, Pub
阅读全文
摘要:Problem: Traffic sent to http://localhost or http://127.0.0.1 is not captured Solution 1: Use Machine Name or Hostname The simplest workaround is to u
阅读全文
摘要:Feature IIS return error 0x800F0922 卸载了iis,重启操作系统 在重新安装iis的时候遇到这个错误, 发现是因为安装了WAS导致的,卸载掉WAS就可以安装iis了 Error 0x800f0922 when installing IIS on Windows 10
阅读全文
摘要:Windows 8.1 / Windows 10 breaks my ASP.NET / IIS : “Service unavailable” With Windows 8.1 finally released to MSDN/Technet today I came across the fol
阅读全文
摘要:C pointer to array/array of pointers disambiguation I don't know if it has an official name, but I call it the Right-Left Thingy(TM). Start at the var
阅读全文
摘要:没有加密的<script>alert('XSS')</script> 加密一次的结果%3Cscript%3Ealert('XSS')%3C%2Fscript%3E http://localhost:25665/MvcExample/%3Cscript%3Ealert('XSS')%3C/script
阅读全文
摘要:https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life https://leetcode.com/problems/game-of-life/ The universe of the Game of Life is an infinite, two
阅读全文
摘要:application站点 搭建iis的application,设置application的路径为指定的文件夹 使用的时候必须要加http://的前缀,然后端口需要显式指定 http://127.0.0.1:8086/ApplicationName 这样的话,可以通过http协议访问图片,给<img
阅读全文
摘要:Prevent Cross-Site Scripting (XSS) in ASP.NET Core Accessing encoders in code The HTML, JavaScript and URL encoders are available to your code in two
阅读全文
摘要:All is XSS that comes to the .NET 通杀.NET的XSS! https://localhost:44345/(A(%22onerror=%22alert%601%60%22))/xss.aspx (A("onerror="alert`1`")) 在asp.net的ur
阅读全文
摘要:Generating migrations Applying migrations
阅读全文
摘要:In this scenario, we’ll set up a new SQL Change Automation project for an existing database. Specifically, we’ll: Set up an example database, Adventur
阅读全文
摘要:Creating the baseline script When generating a baseline script, SQL Change Automation will generate a single migration script for all the objects in y
阅读全文
摘要:Generate script in SQL Server Management Studio Here what you have to do: right click the database (not the table) and select tasks --> generate scrip
阅读全文
摘要:Working with scripts folders A scripts folder is a set of object creation scripts representing a database's schema and (optionally) data. An object cr
阅读全文
摘要:These are the steps to follow to successfully integrate Flyway in a project with an existing database. Take a DDL and reference data extract from prod
阅读全文
摘要:Regex for password must contain at least eight characters, at least one number and both lower and uppercase letters and special characters 回答1 Minimum
阅读全文
摘要:Why use strong named assemblies? Let me list the benefits of strong naming your assembly first: Strong naming your assembly allows you to include your
阅读全文
摘要:http://www.dependencywalker.com/ Dependency Walker is a free utility that scans any 32-bit or 64-bit Windows module (exe, dll, ocx, sys, etc.) and bui
阅读全文
摘要:之前的快捷方式设置,是开始菜单找到程序,open file location,找到的快捷方式 C:\ProgramData\Microsoft\Windows\Start Menu\Programs\PowerShell\PowerShell 7 (x64).lnk 在Shortcut里面设置的管理
阅读全文
摘要:https://github.com/ChuckFork/AutofacExamples/tree/chuck-master https://github.com/ChuckFork/AutofacExamples/blob/chuck-master/src/MvcExample/Dependenc
阅读全文
摘要:https://docs.microsoft.com/en-us/dotnet/api/system.web.httpresponse.redirecttoroute?view=netframework-4.8#System_Web_HttpResponse_RedirectToRoute_Syst
阅读全文
摘要:How to set default page asp.net [duplicate] ASP.NET WebForms On the web.config file, try this to use the clear tag before: <system.webServer> <default
阅读全文
摘要:HTTP Handlers and HTTP Modules Overview HTTP Modules An HTTP module is an assembly that is called on every request that is made to your application. H
阅读全文
摘要:Walkthrough: Creating and Registering a Custom HTTP Module This walkthrough illustrates the basic functionality of a custom HTTP module. An HTTP modul
阅读全文
摘要:ASP.NET Page Life Cycle Overview
阅读全文
摘要:ASP.NET Application Life Cycle Overview for IIS 7.0 This topic describes the application life cycle for ASP.NET applications that are running in IIS 7
阅读全文
摘要:Lifecycle of an ASP.NET MVC 5 Application by Cephas Lin Download PDF Document https://opdhsblobprod04.blob.core.windows.net/contents/ed5efb1947c04bb29
阅读全文
摘要:ASP.NET Integration with IIS 7 IIS Application Frameworks Building and Running ASP.NET Applications ASP.NET Integration with IIS 7 ASP.NET Integration
阅读全文
摘要:Execution order of modules in IIS7 Changing order of Modules 问题 Is it possible to change the order of modules via script (appcmd)? In IIS 7.5, on the
阅读全文
摘要:Assembly Binding redirect: How and Why? Why are binding redirects needed at all? Suppose you have application A that references library B, and also li
阅读全文
摘要:Cannot See Worker Processes Icon in IIS Had the same issue, finally found the solution. To see the Worker Processes icon you have to click on the top
阅读全文
摘要:What is the main difference between a key, an IV and a nonce? 问题 What are the main differences between a nonce, a key and an IV? Without any doubt the
阅读全文
摘要:SymmetricAlgorithm Represents the abstract base class from which all implementations of symmetric algorithms must inherit. Derived System.Security.Cry
阅读全文
摘要:What does poc mean in project management? In project management, POC stands for "Proof of Concept." It is a prototype or early version of a product or
阅读全文
摘要:https://logging.apache.org/log4net/release/sdk/html/P_log4net_Appender_FileAppender_Encoding.htm The default encoding set is Default which is the enco
阅读全文
摘要:1.attach源码到w3wp进程,在Application_Start方法里面设置断点 2.修改web.config,随便加一个app setting 3.保存web.config 4.刷新网页 5.然后就会进入断点
阅读全文
摘要:https://docs.kentico.com/k10/custom-development/creating-custom-modules/initializing-modules-to-run-custom-code http://devnet.kentico.com/docs/12_0/ap
阅读全文
摘要:https://www.orcode.com/question/1116824_k1eb72.html LogicalThreadContext Class Remarks The LogicalThreadContext provides a location for CallContext sp
阅读全文
摘要:IContainerProviderAccessor.ContainerProvider returned null, which is invalid. If the container provider belongs to the HttpApplication subclass, ensur
阅读全文
摘要:System.IO.FileLoadException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one o
阅读全文
摘要:按住键盘上“Win+Tab”键调出“任务视图”。按住“Win+Ctrl+D”组合键可新建桌面。win+tab切换桌面
阅读全文
摘要:Which is better, ASP.NET, Java or PHP? It depends on what you want to achieve. Each has its advantages for a particular area. Source: http://Flickr.co
阅读全文
摘要:What is the difference between 'classic' and 'integrated' pipeline mode in IIS7? 回答1 Classic mode (the only mode in IIS6 and below) is a mode where II
阅读全文
摘要:如何面试.NET/ASP.NET工程师? 作者:陈计节链接:https://www.zhihu.com/question/20045362/answer/18131746来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 2018-2-28 更新:距离这篇回答发布已经五年
阅读全文
摘要:razor syntax with errors compiles when it should not compile This is by design. The build of of MVC views is disabled by default. You can enable the b
阅读全文
摘要:C# Method Call Depth Performance Compare the performance of method call depths. Reducing call depth can improve speed. Method calls can be nested. Thi
阅读全文
摘要:https://github.com/travis-ci/travis.rb#installation Make sure you have at least Ruby 1.9.3 (2.0.0 recommended) installed. https://github.com/oneclick/
阅读全文
摘要:Cognitive Complexity, Because Testability != Understandability Cyclomatic Complexity Cognitive Complexity With those rules in mind, let's take another
阅读全文
摘要:var builder = new ContainerBuilder(); var container = builder.Build(); var services = container.ComponentRegistry.Registrations.SelectMany(x => x.Serv
阅读全文
摘要:C:\Users\ %username%\.nuget\packages\supersocket.server\2.0.0-preview3-03
阅读全文
摘要:Syncing your fork to the original repository via the browser
阅读全文
摘要:Is there a way to include commas in CSV columns without breaking the formatting? Enclose the field in quotes, e.g. field1_value,field2_value,"field 3,
阅读全文
摘要:How to determine why visual studio might be skipping projects when building a solution In my case, all the projects were set to "Any CPU" and issue so
阅读全文
摘要:IHttpHandler vs IHttpModule My question is simple (although the answer will most likely not be): I'm trying to decide how to implement a server side u
阅读全文
摘要:Overriding the SDK used with global.json - sort of The solution to SDK versioning problems in projects or Solutions is to use a global.json file in th
阅读全文
摘要:Find out which version of Microsoft Edge you have Here's how: Open the new Microsoft Edge , select Settings and more at the top of the window, and the
阅读全文
摘要:https://answers.microsoft.com/en-us/edge/forum/all/microsoft-edge-high-cpu-and-memory/22062436-8f57-426f-994a-f539684a5833 For start, let's just try t
阅读全文
摘要:Google Analytics Google Analytics is one of the most popular digital analytics software. It is Google's free web analytics service that allows you to
阅读全文
摘要:Analytics Reporting API V4 Client Library for .NET Calling the Google Analytics Reporting API from C# is not particularly difficult, however all of th
阅读全文
摘要:Analytics Reporting API Client Library for .NET Analytics Reporting API: Accesses Analytics report data. This page contains information about getting
阅读全文
摘要:HearthDb项目从另外一个项目导入了初始的xml文件 https://github.com/HearthSim/HearthDb/blob/master/HearthDb/HearthDb.csproj <PropertyGroup> <PreBuildEvent>if exist $(Proj
阅读全文
摘要:https://www.vpngate.net/en/download.aspx VPN Gate Client download (for Windows, freeware) Simply install VPN Gate Client Plugin to SoftEther VPN Clien
阅读全文
摘要:Using .NET Standard with Full Framework .NET .NET Standard has been around long enough now that most people are reasonably familiar with this somewhat
阅读全文
摘要:Publish .net standard library with all it's dependencies? 回答1 At the time of writing, it looks like it's by design and there's quite some fuss and con
阅读全文
摘要:Visual Studio displaying errors even if projects build 回答1 If you have ReSharper, try emptying the ReSharper cache: In menu, ReSharper > Options > Env
阅读全文
摘要:How to compile c# in Microsoft's new Visual Studio Code? Since no one else said it, the short-cut to compile (build) a C# app in Visual Studio Code (V
阅读全文
摘要:Does Dispose still get called when exception is thrown inside of a using statement? Yes, using wraps your code in a try/finally block where the finall
阅读全文
摘要:Dependency Injection: Constructor vs Property Dependency injection is one of my favourite programming patterns for large projects. Among other things,
阅读全文
摘要:MVC Autofac is always kept up to date to support the latest version of ASP.NET MVC, so documentation is also kept up with the latest. Generally speaki
阅读全文
摘要:【给毒瘤应用找个好去处,轻量、易用的 Windows 沙盒工具:Sandboxie】Sandboxie 低系统资源占用、强系统版本兼容性的优势非常适合用来对付一些喜欢夹带「私货」的软件,它既能避免对真实系统数据和安全性的干扰(来自@少数派sspai) 全文:https://sspai.com/pos
阅读全文