Use bulkaccess splitting from the library #387
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes to the
Directory.Packages.props
file and theAXSharp.Connector.S71500.WebAPI
project to update package versions and refactor the codebase. The most significant changes include updating package versions, removing unused code, and refactoring theWebApiConnector
class for improved readability and maintainability.Package Version Updates:
Microsoft.Extensions.DependencyInjection.Abstractions
to version9.0.2
for bothnet9.0
andnet8.0
target frameworks inDirectory.Packages.props
. [1] [2]Siemens.Simatic.S7.Webserver.API
to version3.2.1
inDirectory.Packages.props
.Code Removal:
ApiRequestsExtensions
class fromApiRequestsExtensions.cs
as it was no longer needed.Refactoring:
WebApiConnector
class inWebApiConnector.cs
to improve readability and maintainability:ApiRequestSplitterByBytes
for request handling. [1] [2]RequestHandler
andAntiThrottling
. [1] [2]HandleCommFailure
method.var
where appropriate. [1] [2]RetryPolicy
initialization.ReadBatchAsync
andWriteBatchAsync
methods to streamline the request processing logic. [1] [2]