Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying SignalR Blueprints
  • Table Of Contents Toc
SignalR Blueprints

SignalR Blueprints

By : Einar Ingerbrigsten
close
close
SignalR Blueprints

SignalR Blueprints

By: Einar Ingerbrigsten

Overview of this book

This book is designed for software developers, primarily those with knowledge of C#, .NET, and JavaScript. Good knowledge and understanding of SignalR is assumed to allow efficient programming of core elements and applications in SignalR.
Table of Contents (12 chapters)
close
close
9
9. Debugging or Troubleshooting
chevron up
11
Index

Logging


Perhaps, one of the most efficient debugging tools is logging; just get the text out that says what is going on in your system. SignalR has a great support for this in all tiers.

Server

You simply enable logging on the server by adding configuration to the application configuration file (App.config or Web.config) depending on the project type. In the configuration, you specify what events you are interested in seeing. You can also specify where you want it to log to, such as a text file, the Windows event log or a custom log, using an implementation of TraceListener. The following table shows what trace sources are available and a description of what they represent:

Source

Messages

SignalR.SqlMessageBus

This scales out the setup, database operation, error, and timeout events

SignalR.ServiceBusMessageBus

This scales out provider topic creation and subscription, error, and messaging events

SignalR.RedisMessageBus

This scales out provider connection, disconnection, and error...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
SignalR Blueprints
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon