Showing content from https://github.com/FantasticFiasco/serilog-sinks-udp-sample-dotnet-framework below:
FantasticFiasco/serilog-sinks-udp-sample-dotnet-framework: Sample application of Serilog.Sinks.Udp producing log events in .NET Framework.
Serilog.Sinks.Udp - Sample in .NET Framework
This repository contains two sample applications of Serilog.Sinks.Udp producing log events sent using UDP to Log2Console.
Running the console application
- Download the latest release of Log2Console
- Unzip the release
- Install Log2Console using the installer found in the
output
folder
- Start Log2Console and add a UDP receiver with the following settings:
- Multicast Group Address (Optional):
- Receive Buffer Size: 10000
- UDP Port Number: 7071
- Use IPv6 Addresses: False
- Open
dotnet-framework-sample.sln
is Visual Studio
- Right-click on project console-sample and select Set As StartUp Project
- Press F5 to start debugging
What you will end up with is a console application producing log events displayed in Log2Console.
Running the Web API application
- Download the latest release of Log2Console
- Unzip the release
- Install Log2Console using the installer found in the
output
folder
- Start Log2Console and add a UDP receiver with the following settings:
- Multicast Group Address (Optional):
- Receive Buffer Size: 10000
- UDP Port Number: 7071
- Use IPv6 Addresses: False
- Open
dotnet-framework-sample.sln
is Visual Studio
- Right-click on project web-api-sample and select Set As StartUp Project
- Press F5 to start debugging
- Using a web server, navigate to the endpoints exposed by
ValuesController
What you will end up with is a web API application hosted in IIS Express producing log events displayed in Log2Console.
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4