├── .github └── workflows │ ├── ci.yml │ └── release.yml ├── .gitignore ├── ApplicationInsightsRequestLogging.sln ├── LICENSE ├── README.md ├── src └── ApplicationInsightsRequestLogging │ ├── ApplicationInsightsRequestLogging.csproj │ ├── BodyLoggerMiddleware.cs │ ├── Extensions │ ├── ApplicationBuilderExtensions.cs │ └── ServiceCollectionExtensions.cs │ ├── Filters │ ├── ISensitiveDataFilter.cs │ └── SensitiveDataFilter.cs │ ├── Initializers │ └── ClientIpInitializer.cs │ ├── LICENSE │ ├── Options │ ├── BodyLoggerOptions.cs │ └── StatusCodeRanges.cs │ ├── Reader │ ├── BodyReader.cs │ └── IBodyReader.cs │ └── TelemetryWriter │ ├── ITelemetryWriter.cs │ └── TelemetryWriter.cs └── test ├── ApplicationInsightsRequestLoggingTests ├── ApplicationInsightsRequestLoggingTests.csproj ├── BodyLoggerMiddlewareTests.cs ├── FakeRemoteIpAddressMiddleware.cs ├── FakeTelemetryChannel.cs ├── HttpContextTestFactory.cs ├── Reader │ └── BodyReaderTests.cs └── SensitiveDataFilter │ └── SensitiveDataFilterTests.cs └── ManualTests ├── Controllers └── TestController.cs ├── ManualTests.csproj ├── Model ├── SensitiveData.cs └── TestData.cs ├── Program.cs ├── Properties └── launchSettings.json └── appsettings.json /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/.gitignore -------------------------------------------------------------------------------- /ApplicationInsightsRequestLogging.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/ApplicationInsightsRequestLogging.sln -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/README.md -------------------------------------------------------------------------------- /src/ApplicationInsightsRequestLogging/ApplicationInsightsRequestLogging.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/src/ApplicationInsightsRequestLogging/ApplicationInsightsRequestLogging.csproj -------------------------------------------------------------------------------- /src/ApplicationInsightsRequestLogging/BodyLoggerMiddleware.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/src/ApplicationInsightsRequestLogging/BodyLoggerMiddleware.cs -------------------------------------------------------------------------------- /src/ApplicationInsightsRequestLogging/Extensions/ApplicationBuilderExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/src/ApplicationInsightsRequestLogging/Extensions/ApplicationBuilderExtensions.cs -------------------------------------------------------------------------------- /src/ApplicationInsightsRequestLogging/Extensions/ServiceCollectionExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/src/ApplicationInsightsRequestLogging/Extensions/ServiceCollectionExtensions.cs -------------------------------------------------------------------------------- /src/ApplicationInsightsRequestLogging/Filters/ISensitiveDataFilter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/src/ApplicationInsightsRequestLogging/Filters/ISensitiveDataFilter.cs -------------------------------------------------------------------------------- /src/ApplicationInsightsRequestLogging/Filters/SensitiveDataFilter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/src/ApplicationInsightsRequestLogging/Filters/SensitiveDataFilter.cs -------------------------------------------------------------------------------- /src/ApplicationInsightsRequestLogging/Initializers/ClientIpInitializer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/src/ApplicationInsightsRequestLogging/Initializers/ClientIpInitializer.cs -------------------------------------------------------------------------------- /src/ApplicationInsightsRequestLogging/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/src/ApplicationInsightsRequestLogging/LICENSE -------------------------------------------------------------------------------- /src/ApplicationInsightsRequestLogging/Options/BodyLoggerOptions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/src/ApplicationInsightsRequestLogging/Options/BodyLoggerOptions.cs -------------------------------------------------------------------------------- /src/ApplicationInsightsRequestLogging/Options/StatusCodeRanges.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/src/ApplicationInsightsRequestLogging/Options/StatusCodeRanges.cs -------------------------------------------------------------------------------- /src/ApplicationInsightsRequestLogging/Reader/BodyReader.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/src/ApplicationInsightsRequestLogging/Reader/BodyReader.cs -------------------------------------------------------------------------------- /src/ApplicationInsightsRequestLogging/Reader/IBodyReader.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/src/ApplicationInsightsRequestLogging/Reader/IBodyReader.cs -------------------------------------------------------------------------------- /src/ApplicationInsightsRequestLogging/TelemetryWriter/ITelemetryWriter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/src/ApplicationInsightsRequestLogging/TelemetryWriter/ITelemetryWriter.cs -------------------------------------------------------------------------------- /src/ApplicationInsightsRequestLogging/TelemetryWriter/TelemetryWriter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/src/ApplicationInsightsRequestLogging/TelemetryWriter/TelemetryWriter.cs -------------------------------------------------------------------------------- /test/ApplicationInsightsRequestLoggingTests/ApplicationInsightsRequestLoggingTests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/test/ApplicationInsightsRequestLoggingTests/ApplicationInsightsRequestLoggingTests.csproj -------------------------------------------------------------------------------- /test/ApplicationInsightsRequestLoggingTests/BodyLoggerMiddlewareTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/test/ApplicationInsightsRequestLoggingTests/BodyLoggerMiddlewareTests.cs -------------------------------------------------------------------------------- /test/ApplicationInsightsRequestLoggingTests/FakeRemoteIpAddressMiddleware.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/test/ApplicationInsightsRequestLoggingTests/FakeRemoteIpAddressMiddleware.cs -------------------------------------------------------------------------------- /test/ApplicationInsightsRequestLoggingTests/FakeTelemetryChannel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/test/ApplicationInsightsRequestLoggingTests/FakeTelemetryChannel.cs -------------------------------------------------------------------------------- /test/ApplicationInsightsRequestLoggingTests/HttpContextTestFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/test/ApplicationInsightsRequestLoggingTests/HttpContextTestFactory.cs -------------------------------------------------------------------------------- /test/ApplicationInsightsRequestLoggingTests/Reader/BodyReaderTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/test/ApplicationInsightsRequestLoggingTests/Reader/BodyReaderTests.cs -------------------------------------------------------------------------------- /test/ApplicationInsightsRequestLoggingTests/SensitiveDataFilter/SensitiveDataFilterTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/test/ApplicationInsightsRequestLoggingTests/SensitiveDataFilter/SensitiveDataFilterTests.cs -------------------------------------------------------------------------------- /test/ManualTests/Controllers/TestController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/test/ManualTests/Controllers/TestController.cs -------------------------------------------------------------------------------- /test/ManualTests/ManualTests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/test/ManualTests/ManualTests.csproj -------------------------------------------------------------------------------- /test/ManualTests/Model/SensitiveData.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/test/ManualTests/Model/SensitiveData.cs -------------------------------------------------------------------------------- /test/ManualTests/Model/TestData.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/test/ManualTests/Model/TestData.cs -------------------------------------------------------------------------------- /test/ManualTests/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/test/ManualTests/Program.cs -------------------------------------------------------------------------------- /test/ManualTests/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/test/ManualTests/Properties/launchSettings.json -------------------------------------------------------------------------------- /test/ManualTests/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthiasguentert/azure-appinsights-logger/HEAD/test/ManualTests/appsettings.json --------------------------------------------------------------------------------