Code Monkey home page Code Monkey logo

dominion-core's Introduction

StackShare

About Me

I am a 40 yr old polyglot developer(C#, JS, Python, C++, some Ruby) with a penchant for never saying can't. It may be ugly, but I will find a way. I have been using C# since 2001 with total experience sitting somewhere around 9 years, JS for about 9 years, and Python for about 4 years. I have 2 kids and the Spazmanian Devil™.

My Personal Story

I am somewhat neophytic in the programming world. I have only been doing development professionally for the last 6 years. Wait What did I do before that I hear you ask, waiting with bated breath (ok maybe not, but I am going to tell you anyway.) Since I was a tot, I wanted to be a Veterinarian. Companion animals mostly. I fought through ADHD-fueled apathy about school in general and then fought through ADHD-feuled apathy about college until I found myself not getting into Vet School (It's really competitive, a doctor of mine joked that the A students at MU went to Vet School, the B & C students became doctors). What was I going to do now? I have spent the last 6 years driving toward this singular goal, and now it is all but unattainable.... Well, my father was a Mechanical Engineer designing those huge dump trucks you see on mining sites, and taught me how to build computers at 8 (To all you Gen-Z, that was a lot more impressive in the 80's & early 90's than it is now). I levied that into a job supporting HP notebooks, which I leveraged my Excel Skillz™ to get on the fledgling reporting team. This I leveraged to get a job at Expedia supporting Hotel Operations (bsically NOC for their Large and Medium Hotel partners). It was here that I got my first taste of the code in a production environment. I was hooked. I have been absorbing it ever since like a sponge.

My Stats

Jacrys' GitHub stats

My Wakatime Stats

Jacrys' wakatime stats

Languages I Use:

ASP.NET Core 188/300 C# 197/300 Python 164/300 MySQL 212/300 CSS 194/300 HTML 5 211/300 jQuery 157/300 JavaScript 160/300

Top Langs

My Certs:

CompTIA A+      CompTIA Project+

dominion-core's People

Contributors

jacrys avatar

Watchers

 avatar  avatar

dominion-core's Issues

Setup Airbrake for your .NET application

Installation

Installation is available by the package repository NuGet. There are a variety of packages, each for different types of .NET apps:

Adding via Package Manager

For .NET 4.5.2 applications and above install the Sharpbrake.Client package available on NuGet via your Package Manager Console:

PM> Install-Package Sharpbrake.Client

Configuration

Before using the library and its notifiers, you must to configure them. In most cases, it is sufficient to configure only one, default, notifier.

(You can find your project ID and API key in your project's settings)

var airbrake = new AirbrakeNotifier(new AirbrakeConfig
  {
    ProjectId = "<Your project ID>",
    ProjectKey = "<Your project API KEY>"
  });

There are multiple ways to set your PROJECT_ID and PROJECT_KEY:

  • Setting explicitly:

    var config = new AirbrakeConfig {
      ProjectId = "<Your project ID>",
      ProjectKey = "<Your project API KEY>"
    };
  • Using App.config or Web.config:

    <appSettings>
        <add key="Airbrake.ProjectId" value="<Your project ID>" />
        <add key="Airbrake.ProjectKey" value="<Your project API KEY>" />
    </appSettings>
    var settings = ConfigurationManager.AppSettings.AllKeys
        .Where(key => key.StartsWith("Airbrake", StringComparison.OrdinalIgnoreCase))
        .ToDictionary(key => key, key => ConfigurationManager.AppSettings[key]);
    
    var airbrakeConfiguration = AirbrakeConfig.Load(settings);
  • Using airbrake.json. Use comma-separated values to add more than one
    argument for options that support it:

    {
      "Airbrake": {
        "ProjectId": "<Your project ID>",
        "ProjectKey": "<Your project API KEY>",
      }
    }
    var path = "airbrake.json";
    var configurationBuilder = new ConfigurationBuilder()
        .SetBasePath(System.IO.Directory.GetCurrentDirectory())
        .AddJsonFile(path)
        .Build();
    
    var settings = configurationBuilder.AsEnumerable()
        .Where(setting => setting.Key.StartsWith("Airbrake"))
        .ToDictionary(setting => setting.Key, setting => setting.Value);
    
    var airbrakeConfiguration = AirbrakeConfig.Load(settings);

Full documentation

For a rundown of advanced configuration options and the notifier API provided for .NET/C# apps, please visit our GitHub.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.