{"id":25836010,"url":"https://github.com/bugsplat-git/bugsplat-dotnet-standard","last_synced_at":"2025-03-01T01:38:51.766Z","repository":{"id":40385451,"uuid":"178291910","full_name":"BugSplat-Git/bugsplat-dotnet-standard","owner":"BugSplat-Git","description":"🌋📋🕵️ BugSplat error reporting for .NET Standard applications","archived":false,"fork":false,"pushed_at":"2024-09-16T23:30:20.000Z","size":1150,"stargazers_count":10,"open_issues_count":2,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-09-17T04:00:57.115Z","etag":null,"topics":["bugsplat","crash","dotnet","dotnet-core","dotnet-framework","dotnet-standard","error","exception","reporting"],"latest_commit_sha":null,"homepage":"https://docs.bugsplat.com/introduction/getting-started/integrations/cross-platform/dot-net-standard","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BugSplat-Git.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-03-28T22:30:35.000Z","updated_at":"2024-09-16T23:30:23.000Z","dependencies_parsed_at":"2024-03-06T02:41:26.585Z","dependency_job_id":"fb5ad746-d2e7-4df1-8bc8-12b88cb891e5","html_url":"https://github.com/BugSplat-Git/bugsplat-dotnet-standard","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BugSplat-Git%2Fbugsplat-dotnet-standard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BugSplat-Git%2Fbugsplat-dotnet-standard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BugSplat-Git%2Fbugsplat-dotnet-standard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BugSplat-Git%2Fbugsplat-dotnet-standard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BugSplat-Git","download_url":"https://codeload.github.com/BugSplat-Git/bugsplat-dotnet-standard/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241304300,"owners_count":19941100,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bugsplat","crash","dotnet","dotnet-core","dotnet-framework","dotnet-standard","error","exception","reporting"],"created_at":"2025-03-01T01:38:51.283Z","updated_at":"2025-03-01T01:38:51.759Z","avatar_url":"https://github.com/BugSplat-Git.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![BugSplat Banner Image](https://user-images.githubusercontent.com/20464226/149019306-3186103c-5315-4dad-a499-4fd1df408475.png)](https://bugsplat.com)\n\n# BugSplat\n### **Crash and error reporting built for busy developers.**\n\n[![Follow @bugsplatco on Twitter](https://img.shields.io/twitter/follow/bugsplatco?label=Follow%20BugSplat\u0026style=social)](https://twitter.com/bugsplatco)\n[![Join BugSplat on Discord](https://img.shields.io/discord/664965194799251487?label=Join%20Discord\u0026logo=Discord\u0026style=social)](https://discord.gg/bugsplat)\n\n## 👋 Introduction\n\nBugSplatDotNetStandard allows you to capture and track exceptions on all platforms that support .NET Standard 2.0. This includes, .NET Core, Universal Windows Platform, Mono and more! Before continuing with the tutorial please make sure you have completed the following checklist:\n\n- [Register](https://app.bugsplat.com/v2/sign-up) as a new BugSplat user.\n- [Log in](https://app.bugsplat.com/cognito/login) using your email address.\n\nYou can also view the [MyUwpCrasher](https://github.com/BugSplat-Git/MyUwpCrasher) repo which contains a sample application with BugSplatDotNetStandard installed and configured to post exceptions to BugSplat.\n\n## 🏗 Installation\n\nInstall the [BugSplatDotNetStandard](https://www.nuget.org/packages/BugSplatDotNetStandard/) NuGet package.\n\n```ps\nInstall-Package BugSplatDotNetStandard\n```\n\n## ⚙️ Configuration\n\nAfter you've installed the NuGet package, add a using statement for the `BugSplatDotNetStandard` namespace.\n\n```cs\nusing BugSplatDotNetStandard;\n```\n\nCreate a new instance of `BugSplat` providing it your database, application, and version. It's best to do this at the entry point of your application. Several defaults can be provided to BugSplat. You can provide default values for things such as description, email, key, notes, user, file attachments, and attributes.\n\n```cs\nvar bugsplat = new BugSplat(database, application, version);\nbugsplat.Attachments.Add(new FileInfo(\"/path/to/attachment.txt\"));\nbugsplat.Description = \"the default description\";\nbugsplat.Email = \"fred@bugsplat.com\";\nbugsplat.Key = \"the key!\";\nbugsplat.Notes = \"the notes!\";\nbugsplat.User = \"Fred\";\nbugsplat.Attributes.Add(\"key\", \"value\");\n```\n\nThe `Post` method can be used to send Exception objects to BugSplat.\n\n```cs\ntry\n{\n    throw new Exception(\"BugSplat rocks!\");\n}\ncatch(Exception ex)\n{\n    await bugsplat.Post(exception);\n}\n```\n\nAdditionally, `Post` can be used to upload minidumps to BugSplat.\n\n```cs\nawait bugsplat.Post(new FileInfo(\"/path/to/minidump.dmp\"));\n```\n\nThe default values for description, email, key and user can be overridden in the call to Post. Additional attachments can also be specified in the call to Post. If BugSplat can't read an attachment (e.g. the file is in use), it will be skipped. Please note that the total size of the Post body and all attachments is limited to **20MB** by default.\n\n```cs\nvar options = new ExceptionPostOptions()\n{\n    Description = \"BugSplat rocks!\",\n    Email = \"fred@bugsplat.com\",\n    User = \"Fred\",\n    Key = \"the key!\"\n};\noptions.Attachments.Add(new FileInfo(\"/path/to/attachment2.txt\"));\n\nawait bugsplat.Post(ex, options);\n```\n\n## ✅ Verification\n\nOnce you've generated an error, navigate to the BugSplat [Dashboard](https://app.bugsplat.com/v2/dashboard) and ensure you have to correct database selected in the dropdown menu. You should see a new crash report under the **Recent Crashes** section:\n\n![BugSplat Dashboard Page](https://user-images.githubusercontent.com/2646053/165813342-289ab25d-90fa-4110-8922-8bbdab687803.png)\n\n Click the link in the **ID** column to see details about the crash:\n\n![BugSplat Crash Page](https://user-images.githubusercontent.com/2646053/165813564-0d81640f-235e-4dd0-b19f-522493fd92d7.png)\n\nThat’s it! Your application is now configured to post crash reports to BugSplat.\n\n## 👷 Support\n\nIf you have any additional questions, please email or [support](mailto:support@bugsplat.com) team, join us on [Discord](https://discord.gg/K4KjjRV5ve), or reach out via the chat in our web application.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugsplat-git%2Fbugsplat-dotnet-standard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbugsplat-git%2Fbugsplat-dotnet-standard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugsplat-git%2Fbugsplat-dotnet-standard/lists"}