seanmcelroy / nntp-client Goto Github PK
View Code? Open in Web Editor NEWA .NET Core NNTP client library to access Usenet newsgroups
License: Microsoft Public License
A .NET Core NNTP client library to access Usenet newsgroups
License: Microsoft Public License
When there is a Usenet article with no body (that is, the entire message is the subject line only), the library crashes in OverAsync when processing the return from the server. Consider the "parts" for this article header:
When the number of lines ("parts[7]") is parsed into an int at line 624 of NttpClient.cs, an exception is thrown as string.Empty can not be parsed as an int value.
(I can submit a pull request to fix this issue.)
Ideally, a dependency shouldn't dictate to the application what logging library to use. As the library consumer, I should be able to tell the library what library my application uses (typically using Microsoft.Extensions.Logging). Doing so everything - the app and the library - uses a common logging infrastructure. With the dependency on log4net, I am required to install log4net when I deploy my app.
The Usenet server that I am using does not support the OVER command. It only supports the older XOVER command. For backwards compatibility, perhaps this library should also support XOVER. The syntax is identical to OVER, except for the additional X in XOVER.
I've already coded XOVER by copying OVER and adding the X. There is certainly a more elegant way to implement XOVER without copying the entire method. If this is something valuable to the project, I will create the more elegant solution and create a pull request.
Have you considered publishing this library as a Nuget package?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.