mhallan / xeeny Goto Github PK
View Code? Open in Web Editor NEWFramework For Building And Consuming Services In .Net Standard
License: MIT License
Framework For Building And Consuming Services In .Net Standard
License: MIT License
Hi,
i'm trying to use your library to connect xamarin forms server with xamarin forms client.
i can call server method but no response on the client.
my exception is: "Timeout reached without reponse"
this is StackTrace
at Xeeny.Transports.ResponseContext.GetResponse () [0x00021] in <917d92855ad64c8795ccaaf2e3600964>:0
at Xeeny.Transports.TransportBase.SendRequest (Xeeny.Transports.Message message) [0x0013f] in <917d92855ad64c8795ccaaf2e3600964>:0
at Xeeny.Connections.ClientConnection.InvokeAsync[TResponse] (System.String operation, System.Object[] parameters) [0x00099] in <33f4d7a082534d29b53ff98c310e6bbc>:0
Can you help me to use your library?
Greets,
I dont know if its a bug or something, but I try to install from nuget the version 1.2.3 and it says that Xeeny doesnt have a compatible version for .NET Framework 4.5.2 or 4.6.1.
Thank you !
For local, interprocess comms, that do not go outside the machine, it would be nice to have a named pipes transport that can be used. Named pipes is supported with .net standard 2.0, so it could be done.
Kestrel in .net core 2.1 uses standard sockets, it should be possible to use it for websockets
Hi ,
First of all , this is a fantastic solution . I tried to use for xamarin (Android - Windows) communication. It almost worked. I can connect from adnroid (Tcp and http) to a windows host , but the methode call does not work. When i call a function from the client it will run on the server , but never return on the client and it will be freez.
I used " async await " methode call on xamarin.
Did you try it ever ?
Thank you ,
Karesz
There seems to be some kind of heisenbug when sending long messages using JsonSerializer - the receiving end gets a fragment with no header information somehow. I've uploaded a project to my fork demonstrating the issue.
If I put a conditional breakpoint on SocketBase.Listen (as below), everything seems to run just fine:
But if I disable it, I almost immediately get an exception because it doesn't recognise the message type:
On the iteration of the loop which threw the exception, count
contains a value which would have triggered the breakpoint:
Since both properties of BaseBuilder are protected internal, it is difficult to add custom ILoggerProvider instances to the default LoggerFactory in the connection.
I understand there is an extension method to provide a new instance of LoggerFactory, but in my case, I'd rather keep the LoggerFactory that the connection is using separate from the LoggerFactory that the rest of the app is using. However, I'd like to inject a LoggerProvider (i.e. Serilog) so the behavior of the logging can be managed via configuration.
I think the easiest solution would be an additional extension method in Xeeny.Extensions.Loggers.BaseBuilderExtenions.
public static TBuilder WithCustomLoggerProvider<TBuilder>(this TBuilder builder, ILoggerProvider provider)
where TBuilder : BaseBuilder
{
builder.LoggerFactory.AddProvider(provider);
return builder;
}
Hi i came across this looking for a solid solution to communicate between some personal .net core 2.0 applications im working on. I was wondering if i can do NamedPipe IPC with it? i notice that i can setup custom transports with it. How would i setup a namedpipe transport? Sorry im new to c# just wondering if you had an example custom transport
Thank you
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.