Skip to content
This repository has been archived by the owner on Jun 10, 2020. It is now read-only.

Make JavaScriptEncoder optional and Fallback to JavaScriptEncoder.Default #918

Merged
merged 4 commits into from
Jul 8, 2019

Conversation

cijothomas
Copy link
Contributor

@cijothomas cijothomas commented Jul 8, 2019

Fix Issue #502 .

This fix to make application insights work in web api apps in .netcore 3.0, as web encoders are not present in web api.

Once test infra has 3.0, need to add functional test to ensure apps dont crash if no encoder present.

  • I ran Unit Tests locally.
  • CHANGELOG.md updated with one line description of the fix, and a link to the original issue if available.

For significant contributions please make sure you have completed the following items:

  • Changes in public surface reviewed

  • Design discussion issue #

  • The PR will trigger build, unit tests, and functional tests automatically. If your PR was submitted from fork - mention one of committers to initiate the build for you.
    If you want to to re-run the build/tests, the easiest way is to simply Close and Re-Open this same PR. (Just click 'close pull request' followed by 'open pull request' buttons at the bottom of the PR)

  • Please follow [these] (https://github.com/Microsoft/ApplicationInsights-aspnetcore/blob/develop/Readme.md) instructions to build and test locally.

@cijothomas cijothomas added this to the 2.8.0 milestone Jul 8, 2019
@cijothomas cijothomas merged commit 6ac40d4 into develop Jul 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants