Why can't it find my BasicAuthenticationModule?
问题 I'm trying to create my own implementation of a basic-authentication. I have BasicAuthenticationModule.cs stored in my solution\Modules and its namespace is: namespace Web_API.Modules { public class BasicAuthenticationModule2 : IHttpModule Ive added it to my web.config as such: <system.webServer> <modules> <add name="BasicAuthenticationModule" type="Web_API.Modules.BasicAuthenticationModule, BasicAuthenticationModule"/> Running this gets me: HTTP Error 500.19 - Internal Server Error - Cannot