Skip to content

Update console sample#2317

Merged
mattjohnsonpint merged 6 commits into
mainfrom
feat/console-sample
Apr 20, 2023
Merged

Update console sample#2317
mattjohnsonpint merged 6 commits into
mainfrom
feat/console-sample

Conversation

@mattjohnsonpint

Copy link
Copy Markdown
Contributor

Updates the basic console sample to cover the key features we think most users will want to use.

Also uses an MSBuild-based approach to setting the default DSN for sample projects. This allows a SENTRY_DSN environment variable to override the default without having to change any code. We'll apply the same technique to the other samples as we clean them up one at a time.

See comments inline.

#skip-changelog

@github-actions

github-actions Bot commented Apr 19, 2023

Copy link
Copy Markdown
Contributor
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against ba75ba7

@mattjohnsonpint

Copy link
Copy Markdown
Contributor Author

Also made a few minor changes to the "customized" sample (and the copy of it currently used by profiling). This was just to get the build passing. We will need to review those samples with more scrutiny to get them in better shape later.

Comment thread samples/Sentry.Samples.Console.Basic/Program.cs Outdated
@mattjohnsonpint mattjohnsonpint merged commit e77d110 into main Apr 20, 2023
@mattjohnsonpint mattjohnsonpint deleted the feat/console-sample branch April 20, 2023 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants