Intro To Elmah.Io for Logging in .NET 8 and Blazor Web Apps

Поділитися
Вставка
  • Опубліковано 7 вер 2024
  • Storing your logs online in a useful manner can be tricky. There are many different services out there with different options. One service that I have found useful, especially since I like to use Serilog as my logging system, is Elmah.io. Elmah.io is an online log storage and management system that works really well with .NET. It quickly gives you clarity into what is happening with your applications, and it can even help you capture unhandled exceptions, 404 errors, and more so that you have a clear picture of what is happening in your deployed applications.
    In this video, we are going to look at how to get started with Elmah.io and how to configure our application to send data to the service quickly and easily.
    Full Training Courses: IAmTimCorey.com

КОМЕНТАРІ • 18

  • @TheSjoerd
    @TheSjoerd Місяць тому

    Great one Tim, thanks👍

  • @ThomasArdal
    @ThomasArdal Місяць тому

    Thank you so much for sharing, Tim. Just a quick comment. You can actually configure Elmah.Io.Blazor.Wasm using a similar approach to Elmah.Io.AspNetCore. You can even re-use the entire configuration section like this:
    builder.Services.Configure(builder.Configuration.GetSection("ElmahIo"));
    builder.Logging.AddElmahIo(options =>
    {
    });
    You still need to provide options for the AddElmahIo method. I think we will remove that requirement in a future stable version of the Elmah.Io.Blazor.Wasm package so that you can just call AddElmahIo() when the options are already set up in appsettings. We also want to improve the documentation on this, since I can see how this is not currently clear.

  • @Comphonia
    @Comphonia Місяць тому

    .NET focused and a beginner friendly UI is definitely a plus -- but the pricing isn't, unless I'm reading it wrong. $19/mo. for only 1k messages is a bit steep for less than 50MB of data! Azure logs or Datadog would charge less than a dollar

    • @IAmTimCorey
      @IAmTimCorey  Місяць тому +2

      Think of that as more of an extended trial tier rather than a production-level tier.

  • @Gordack
    @Gordack Місяць тому

    Hi tim. I was wondering what would you choose for logging ? Serilog or Elmah ? Thank you

    • @IAmTimCorey
      @IAmTimCorey  Місяць тому +2

      I use Serilog to log to Elmah.io.

  • @rikudouensof
    @rikudouensof Місяць тому

    Elmah is quite old. Since. Net framework

  • @AthanSousouris
    @AthanSousouris Місяць тому

    I don’t care whom you are. Let’s not push message.

    • @IAmTimCorey
      @IAmTimCorey  Місяць тому

      I do not understand what you mean.

    • @AthanSousouris
      @AthanSousouris Місяць тому

      @@IAmTimCorey it means that I do not want Notifications pushed to my phone. I now realize it was not you, it was UA-cam. I have unsubscribed from your channel.

    • @IAmTimCorey
      @IAmTimCorey  Місяць тому +1

      Yep, that's a UA-cam thing. Also, you can be subscribed to a channel and not get the push notifications. When you subscribe, there is a little bell icon. When you select that, you can choose how you want to be notified (or not notified).