06 2020 档案
摘要:Reporting Services Single Sign On (SSO) Authentication - Part 1 This will be the first in a series of posts related to setting up single sign on for S
阅读全文
摘要:.NET - WindowStyle = hidden vs. CreateNoWindow = true? As Hans said, WindowStyle is a recommendation passed to the process, the application can choose
阅读全文
摘要:WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive) You
阅读全文
摘要:How to fix IIS website loading forever Recently, we had a customer who was facing a problem with his IIS website loading forever. We helped him fix it
阅读全文
摘要:Cannot read configuration file due to insufficient permissions There is no problem with your web.config. Your web site runs under a process. In iis yo
阅读全文
摘要:How To Implement Forms-Based Authentication in Your ASP.NET Application by Using C#.NET This article refers to the following Microsoft .NET Framework
阅读全文
摘要:What is the difference between Version and 'Runtime Version' in .Net? Runtime is the version of the CLR (or .NET framework) the DLL needs (usually as
阅读全文
摘要:Quickstart: Create and publish a NuGet package using Visual Studio (.NET Standard, Windows only) Run the pack command Set the configuration to Release
阅读全文
摘要:Differences Between ASP.NET URL Authorization and IIS URL Authorization There are small but important differences between ASP.NET UrlAuthorization and
阅读全文
摘要:How to restrict folder access in asp.net 回答1(不考虑用户权限的问题) For the future generation the answer which works for me is to use hidden segments. If you wan
阅读全文
摘要:Guid.ToString Method Returns a string representation of the value of this instance of the Guid structure. ToString(String) Returns a string representa
阅读全文
摘要:Intercept HTTP requests To intercept HTTP requests, use the webRequest API. This API enables you to add listeners for various stages of making an HTTP
阅读全文
摘要:Fetch API Web technology for developers See Web APIs Fetch API The Fetch API provides an interface for fetching resources (including across the networ
阅读全文
摘要:1. ULDA_007钩杖与连枷(Crook and Flail)Crook and Flail钩杖与连枷Passive After you cast a spell, put a minion from your deck into the battlefield.被动 在你施放一个法术后,将一个
阅读全文
摘要:第三四五关 1.焊钩 焊钩传播的不仅是流感,还有关于他的流言。 ULDA_BOSS_18p染病团伙(Plagued Horde)Plagued Horde染病团伙Hero Power Give a minion "Deathrattle: Deal 2 damage to the enemy her
阅读全文
摘要:ULDA_039奥丹姆宝箱(Uldum Treasure Cache)Uldum Treasure Cache奥丹姆宝箱Hero Power Discover a Treasure.英雄技能 发现一张宝藏牌。 1. ULDA_001“圣光”阿玛基尔(Amakir the Light)Amakir t
阅读全文
摘要:核心思路 1.不要污染卡组 2.研究中断(Study Break)可以找到奥秘法术,法术最多找三个,然后第三个需要确保先法术焚烧掉一个没用的 3.扫地出门(Dismiss)可以移除随从,快去干活(Work, Work!),不过慎用快去干活,己方随从尽量不要超过7/7 4.得力助手确保高级探墓员,起手
阅读全文
摘要:ULDA_BOSS_99h集市里的鲍勃(Bazaar Bob)Bazaar Bob集市里的鲍勃The friendliest face you could hope to meet in a plague-ridden desert.在灾祸横行的沙漠里,他就是你最亲的人。 瓶与饰品 DALA_901
阅读全文
摘要:What is Azure Application Gateway? Azure Application Gateway is a web traffic (OSI layer 7) load balancer that enables you to manage traffic to your w
阅读全文
摘要:Azure Active Directory Azure Active Directory (Azure AD) is Microsoft’s cloud-based identity and access management service, which helps your employees
阅读全文
摘要:Azure Monitor overview Azure Monitor maximizes the availability and performance of your applications and services by delivering a comprehensive soluti
阅读全文
摘要:Microsoft Azure Tutorial for Beginners: Learn in 1 Day Before we learn Azure, let's understand What is Cloud Computing? Cloud computing is a term refe
阅读全文
摘要:Managed services Look for areas in the architecture where it may be natural to incorporate platform-as-a-service (PaaS) options. These include caching
阅读全文
摘要:What is PaaS? Platform as a service (PaaS) is a complete development and deployment environment in the cloud, with resources that enable you to delive
阅读全文
摘要:What is the purpose of FormsAuthenticationTicket isPersistent property? n framework 1.0/1.1, setting IsPersistent to true would set an expiration of 5
阅读全文
摘要:https://docs.microsoft.com/en-us/dotnet/api/system.web.configuration.formsauthenticationconfiguration.domain?view=netframework-4.8 https://docs.micros
阅读全文
摘要:What is the difference between localStorage, sessionStorage, session and cookies? 回答1 This is an extremely broad scope question, and a lot of the pros
阅读全文
摘要:Set-Cookie The Set-Cookie HTTP response header is used to send cookies from the server to the user agent, so the user agent can send them back to the
阅读全文
摘要:HttpContext.Current.ApplicationInstance.Application vs HttpContext.Current.Application They both refer to the same thing, the HttpApplicationState App
阅读全文
摘要:What Is a Replay Attack? A replay attack occurs when a cybercriminal网络罪犯 eavesdrops偷听,窃听 on a secure network communication, 拦截intercepts it, and then
阅读全文
摘要:ASP.NET's Data Storage Objects Introduction In this brief tutorial, we'll look at five different ASP.NET objects we can use to store data. Two of thes
阅读全文
摘要:JSON Web Token (JWT) Abstract JSON Web Token (JWT) is a compact, URL-safe means of representing claims to be transferred between two parties. The clai
阅读全文
摘要:Where are the session variables saved? Variables put into Session are stored wherever the configured SessionStateProvider is configured to store them.
阅读全文
摘要:After change SessionID data in Session variables is lost Command "Manager.SaveSessionID" will remove all data of old sessionid. There is only one way
阅读全文
摘要:HttpCookie Class Provides a type-safe way to create and manipulate individual HTTP cookies. Remarks The HttpCookie class gets and sets properties of i
阅读全文
摘要:Why I’m Leaving Medium I’ve been writing on Medium for three and a half years. In that time, I’ve written somewhere north of 100,000 words, in more th
阅读全文
摘要:What is the difference between Session.Abandon() and Session.Clear() Clear - Removes all keys and values from the session-state collection. Abandon -
阅读全文
摘要:HttpSessionState Class Provides access to session-state values as well as session-level settings and lifetime management methods. public sealed class
阅读全文
摘要:https://tools.ietf.org/html/rfc6265#section-4.1
阅读全文
摘要:https://www.bilibili.com/video/av3404845/?p=18 Perfect love is rare indeed – for to be a lover will require that you continually have the subtlety微妙;敏
阅读全文
摘要:Token Authentication vs. Cookies What is the difference between token authentication and authentication using cookies? I am trying to implement the Em
阅读全文
摘要:Forms Authentication Configuration and Advanced Topics (C#) Step 2: Using Cookieless Forms Authentication Tickets By default the forms authentication
阅读全文
摘要:What Is Token-Based Authentication and Who Uses It? Our approach for securing buildings—whether they’re corporate or residential—and the items within
阅读全文
摘要:Hello Everyone, today I am going to explain some important authentication types that are most commonly used nowadays. But before starting with the typ
阅读全文
摘要:Session Authentication vs Token Authentication In Session-based Authentication the Server does all the heavy lifting server-side. Broadly speaking a c
阅读全文
摘要:ASP.NET replay attack detection again Even ASP.NET Authentication says clearly that you have to have a secondary check to confirm if user is still an
阅读全文
摘要:Cookie replay attacks in ASP.NET when using forms authentication Microsoft ASP.NET 4.5 and earlier versions contain a weakness in the Forms Authentica
阅读全文
摘要:FormsAuthentication.SignOut() does not log the user out 这个应该不能解决官方文档提到的replay attack问题 Users can still browse your website because cookies are not cle
阅读全文
摘要:Series "Dockerless" Dockerless, part 1: Which tools to replace Docker with and why Dockerless, part 2: How to build container image for Rails applicat
阅读全文
摘要:'docker history' command: Why does the column label say 'IMAGE' when the column contains layers? It's complicated ;) This post by Nigel Brown is super
阅读全文
摘要:Use bridge networks In terms of networking, a bridge network is a Link Layer device which forwards traffic between network segments. A bridge can be a
阅读全文
摘要:Networking overview One of the reasons Docker containers and services are so powerful is that you can connect them together, or connect them to non-Do
阅读全文
摘要:Manage data in Docker By default all files created inside a container are stored on a writable container layer. This means that: The data doesn’t pers
阅读全文
摘要:Use volumes Volumes are the preferred mechanism for persisting data generated by and used by Docker containers. While bind mounts are dependent on the
阅读全文
摘要:Why does Docker need a Union File System It is used to: avoid duplicating a complete set of files each time you run an image as a new container isolat
阅读全文
摘要:Docker overview Docker is an open platform for developing, shipping, and running applications. Docker enables you to separate your applications from y
阅读全文
摘要:Subresource Integrity Abstract This specification defines a mechanism by which user agents may verify that a fetched resource has been delivered witho
阅读全文
摘要:https://github.com/sqlmapproject/sqlmap sqlmap is an open source penetration testing tool that automates the process of detecting and exploiting SQL i
阅读全文
摘要:C# Type Comparison: Type.Equals vs operator == I suggest that you read the excellent when is a type not a type? blog post by Brad Wilson. To summarize
阅读全文
摘要:What does “Use of unassigned local variable” mean? The compiler isn't smart enough to know that at least one of your if blocks will be executed. There
阅读全文
摘要:Interface Definition Language With Windows Communication Foundation (WCF), services can expose description metadata by using the Web Service Definitio
阅读全文
摘要:Story of Pass By Value and Pass By Reference in C# Pass By Value in Reference Types I have the following class of User which is a reference type as cl
阅读全文
摘要:What's the difference between the 'ref' and 'out' keywords? I'm creating a function where I need to pass an object so that it can be modified by the f
阅读全文
摘要:How To Verify TLS Options in Windows End of Life for TLS 1.0 June 30, 2018 is the deadline for payment processors to disable support for SSL/early TLS
阅读全文
摘要:How to auto-generate a C# class file from a JSON string [closed] Visual Studio 2012 (with ASP.NET and Web Tools 2012.2 RC installed) supports this nat
阅读全文
摘要:javascript-questions
阅读全文
摘要:What is the difference between application server and web server? 回答1 Most of the times these terms Web Server and Application server are used interch
阅读全文
摘要:Web服务器工作原理详解(基础篇) How do web servers work? If you really want the nuts and bolts of how a web server is supposed to work read the HTTP Spec. A good to
阅读全文
摘要:Code metrics values The increased complexity of modern software applications also increases the difficulty of making the code reliable and maintainabl
阅读全文
摘要:Template Method Design Pattern Rules of thumb Strategy is like Template Method except in its granularity粒度. Template Method uses inheritance to vary p
阅读全文
摘要:What is the difference between the template method and the strategy patterns? The main difference between the two is when the concrete algorithm is ch
阅读全文
摘要:Runtime vs. Compile time 回答1 The difference between compile time and run time is an example of what pointy-headed theorists call the phase distinction
阅读全文
摘要:https://docs.docker.com/docker-for-windows/troubleshoot/ This page contains information on how to diagnose and troubleshoot problems, send logs and co
阅读全文
摘要:夜神模拟器无法使用 https://support.microsoft.com/en-us/help/4526424/windows-10-driver-cant-load-on-this-device Memory integrity You are receiving this message
阅读全文
摘要:https://docs.microsoft.com/en-us/windows/security/identity-protection/credential-guard/credential-guard-manage#disable-windows-defender-credential-gua
阅读全文
摘要:how do you quit docker-compose up @ macOS? If you want to run docker-compose up and leave the process running without being attached to your terminal,
阅读全文
摘要:docker-compose gives ERROR: Cannot locate specified Dockerfile: Dockerfile Here is how to specify dockerfile. Sorry I cannot do it in comments as form
阅读全文
摘要:Docker For Windows | Setting Up Docker On Windows 7 / 11 Blog from Docker If you’re looking for simple and painless software deployment, Docker is the
阅读全文
摘要:What Is Docker & Docker Container ? A Deep Dive Into Docker ! In the previous blog written by our Docker Training expert, we took you through the nece
阅读全文
摘要:Difference between Docker Image and Container? Docker is open-source, virtualization software designed to ease specific application development. It is
阅读全文
摘要:https://www.rabbitmq.com/tutorials/tutorial-one-dotnet.html https://www.rabbitmq.com/dotnet-api-guide.html The RabbitMQ .NET client is an implementati
阅读全文
摘要:https://www.javaguides.net/2018/12/how-rabbitmq-works-and-rabbitmq-core-concepts.html n this quick article, we will learn what is RabbitMQ, how it wor
阅读全文
摘要:Message Queue vs Message Bus — what are the differences? Message Bus A Message Bus is a messaging infrastructure to allow different systems to communi
阅读全文
摘要:Message broker A message broker (also known as an integration broker or interface engine[1]) is an intermediary中间的 computer program module that transl
阅读全文
摘要:The preference can be changed later under Resharper-->Options-->External soucres 选最后一个,leave visual studio
阅读全文
摘要:https://github.com/jbogard/MediatR/wiki#basics MediatR是一种进程内消息传递机制。 支持以同步或异步的形式进行请求/响应,命令,查询,通知和事件的消息传递,并通过C#泛型支持消息的智能调度。 Basics MediatR has two kinds
阅读全文
摘要:MediatR MediatR is a low-ambition library trying to solve a simple problem — decoupling the in-process sending of messages from handling messages. Cro
阅读全文
摘要:What's an Aggregate Root? 回答1 In the context of the repository pattern, aggregate roots are the only objects your client code loads from the repositor
阅读全文
摘要:中介者模式 中介者模式(Mediator Pattern)是用来降低多个对象和类之间的通信复杂性。这种模式提供了一个中介类,该类通常处理不同类之间的通信,并支持松耦合,使代码易于维护。中介者模式属于行为型模式。 介绍 意图:用一个中介对象来封装一系列的对象交互,中介者使各对象不需要显式地相互引用,从
阅读全文
摘要:Domain events: design and implementation Use domain events to explicitly implement side effects of changes within your domain. In other words, and usi
阅读全文
摘要:https://rules.sonarsource.com/csharp/RSPEC-3925 The ISerializable interface is the mechanism to control the type serialization process. If not impleme
阅读全文
摘要:Package version is always 1.0.0 with dotnet pack https://github.com/kerryjiang/SuperSocket/blob/master/Directory.Build.props When you use dotnet pack,
阅读全文
摘要:CA1005: Avoid excessive parameters on generic types https://docs.microsoft.com/en-us/visualstudio/code-quality/install-roslyn-analyzers?view=vs-2019 需
阅读全文
摘要:Event Sourcing pattern
阅读全文
摘要:Command and Query Responsibility Segregation (CQRS) pattern The Command and Query Responsibility Segregation (CQRS) pattern separates read and update
阅读全文
摘要:https://docs.microsoft.com/en-us/dotnet/architecture/microservices/multi-container-microservice-net-applications/integration-event-based-microservice-
阅读全文
摘要:https://martinfowler.com/articles/microservice-trade-offs.html Many development teams have found the microservices architectural style to be a superio
阅读全文
摘要:https://martinfowler.com/tags/microservices.html Microservices Guide Microservices 2014-03-25 Microservices Talk 2015-01-15 How to break a Monolith in
阅读全文
摘要:Domain events: design and implementation Domain events versus integration events Semantically, domain and integration events are the same thing: notif
阅读全文
摘要:What's the real reason for preventing protected member access through a base/sibling class? 问题 I recently discovered that a method in a derived class
阅读全文
摘要:https://martinfowler.com/tags/domain%20driven%20design.html Anemic Domain Model 2003-11-25 Bounded Context 2014-01-15 CQRS 2011-07-14 Contextual Valid
阅读全文
摘要:https://docs.abp.io/en/abp/master/Domain-Driven-Design What is DDD? ABP framework provides an infrastructure to make DDD based development easier to i
阅读全文
摘要:Why Would I Ever Need to Use C# Nested Classes [duplicate] A pattern that I particularly like is to combine nested classes with the factory pattern: p
阅读全文
摘要:Redis Vs RabbitMQ as a data broker/messaging system in between Logstash and elasticsearch 回答1 After evaluating both Redis and RabbitMQ I chose RabbitM
阅读全文
摘要:Utility classes should not have public constructors Utility classes, which are collections of static members, are not meant to be instantiated. C# add
阅读全文
摘要:Why are C# 4 optional parameters defined on interface not enforced on implementing class? UPDATE: This question was the subject of my blog on May 12th
阅读全文
摘要:Method overrides should not change parameter defaults using System; namespace ConsoleApp1 { public class Base { public virtual void Write(int i = 42)
阅读全文
摘要:Why use a public method in an internal class? UPDATE: This question was the subject of my blog in September 2014. Thanks for the great question! There
阅读全文
摘要:Git Submodules vs Git Subtrees Subtrees vs Submodules The simplest way to think of subtrees and submodules is that a subtree is a copy of a repository
阅读全文