Cross-platform asynchronous HTTP and DB open source c #

Does anyone know a good resource for open source libraries for asynchronous C # (or native material for the language). I'm interested in something on this topic, but I'm specifically looking for material related to HTTP and DB calls. Maybe an event-oriented framework with plugins for HTTP and DB?

Unfortunately, I cannot use a non-C # solution or something that does not work on mono, unless it is planned to run on mono in the near future.

+3
source share
5 answers

For HTTP, it depends on whether you are talking about a client or server. Assuming client can use * Async methods in WebClient

http://www.go-mono.com/docs/index.aspx?link=T:System.Net.WebClient/ *

For DB, the sqlcommand class (or equivalent) provides BeginExecute * methods for asynchronous calls

http://www.go-mono.com/docs/index.aspx?link=T:System.Data.SqlClient.SqlCommand/ *

+1
source

You may have to use some sort of queuing system. There are many line drives. MSMQueue is Microsoft's “standard” solution.

0
source

Linxter Internet Service Bus? http://www.linxter.com , , , .

0

: HTTP, DB, , :

codeplex HTTP-, , Mono .

Asp.Net, NHibernate

For Linq to Sql, your best bet is likely to use DbLinq , although DbLinq is included in the Mono namespace.

0
source

You should probably check NServiceBus . If it runs on mono, it offers a good foundation for asynchronous calls (based on messaging). By default, it does not support DB or HTTP connection, but it is quite easy to integrate.

0
source

Source: https://habr.com/ru/post/1717296/


All Articles