download link for smpp client api for smpp 3.4 - asp.net

Plese provide a smpp client that can be used for my mvc3 app. My sms provider is using smpp protocol 3.4 and i need a free client api for this. form where i can download same and use .

May I suggest the following as starting points:
Jamaa SMPP Client
SMSC client .NET
Inetlab.SMPP
SMPP Component [IP*Works! V8]
ActiveXperts Mobile Messaging Toolkit
Also see A robust SMPP library for .NET which references roaminsmpp and
Easy SMPP. However, the answer mentions these have issues, recommends ActiveXperts, but ultimately ended up writing their own.

Related

How does one configure KeepAlive on Grpc.AspNetCore.Client?

I'm trying to configure the KeepAlive settings for a gRPC connection using Grpc.Net.Client. The original SDK supports this through injecting ChannelOption objects into the Channel constructor. What I can't see is any way to set this up through the new .NET Core 3.1 API. Is this possible?
Unfortunately the Grpc.Net.Client does not currently provide configurable keepalive support (it requires feature support from the underlying HttpClient)
This might be available in the future, see https://github.com/dotnet/corefx/issues/41852 for details.

SignalR 2.2.2 Asp.Net 4.5 Web Application - Don't have access to the response object in Hub class

I'm using SignalR 2.2.2 Asp.Net 4.5 Web Application. I want to access the current http response object of the client caller but don't know how. How do I reference the response object? I've tried Context.Request.GetHttpContext().Response but it errors out saying "It does not exist in the current context". Can someone please assist and point me in the right direction.
SignalR does not let the user write directly to HttpResponse Stream for a couple of reasons and even if you found a way to do this it is not a good idea:
when using WebSockets transport SignalR uses webSockets to send messages so writing to HttpResponse would not work (and is not possible)
SignalR uses its own JSON based protocol if you write anything directly you will most likely create invalid SignalR messages which the client will not be able to process
If you want to send PDFs over SignalR you will need to be able to save it to a stream (e.g. MemoryStream) and invoke the client with an array created from this stream. (Note that the version of SignalR you are using is using JSON based protocol so sending binary data will be quite inefficient - it might be better to use SignalR to let the client know there is a PDF they can download and then the client would download it using e.g. HTTP GET request)

Perform SOAP calls with WS-Trust (ADFS)

I have a huge and old Java 5 application which now should call a webservice from MS-CRM. This is secured with an ADFS and SOAP calls can be done using WS-Trust.
My first (unauthorized) tries with Apache HTTP Components 4.3 (httpcore/httpclient) just have been fine but they only provide HTTP Basic//Digest and NTLM authentication - not WS-Trust.
Is there a library which can perform SOAP client calls from a standalone Java 5 application (no servlet engine or application server) using WS-Trust?
Key requirements:
Java 1.5
Only client required
WS-Trust authentication
Not-code-generated clients would be preferred as the application doing the calls is somewhat limitating
Some of the popular and robust WS frameworks out there (like Apache CXF and Axis2) support WS-Trust of ADFS. But today it became complicated to make those run in a Java 1.5 environment.
Besides suggesting CXF and Axis 2 my solution was to use the REST-endpoint of MS-CRM and obtaining the WS-Trust token by simulated a browser-like HTML-form-login.

How can I implement the reverse ajax like comet or Websync in asp.net simple web pages

How can I implement the reverse ajax like comet or Websync in asp.net simple web pages?
I want to get push the updates on server then reverse the response on all clients with in a second.
Because I'm new and don't have any idea about the reverse ajax ?
Have a look at WebSync. It uses the Bayeux protocol (so you can integrate with solutions from other vendors), uses WebSockets when available, supports web browsers back to IE 5.5, and has client SDKs for just about every software platform.
Have your clients subscribe to a channel (e.g. '/data'):
var client = new fm.websync.client('websyncurl');
client.connect();
client.subscribe({ channel: '/data', onReceive: function(e) {
alert(e.getData());
});
Then when you want to send something from the server:
WebSyncServer.Publish("/data", Json.Serialize(data));
Disclaimer: I work for Frozen Mountain.
Use SignalR http://signalr.net/ it enables to push content to client
SignalR works well with MVC, and the Chat Application they use in the sample is MVC. As pointed out by #Garath, there's a tutorial to follow on ASP.NET. Another technology to consider is Knockout, they work well together with the instant updates to the UI. I have just finished a messageboard type application using Knockout, MVC and SignalR and it works really well.
http://knockoutjs.com/
There's a TODO application here which implements the mentioned technologies also, http://www.codeproject.com/Articles/322154/ASP-NET-MVC-SIngalR-and-Knockout-based-Real-time-U

Newbie question for Flex Remoting with WebOrb

Since Flashbuilder does not support WCF over https, i am considering to use weborb remoting as alternative, but not really sure how flash is going to know weborb location, if they are sitting on different servers. Looked at destination, source fields, but not really find a field called url in remoteObject in Flex. Has anyone done similar things?
I know this is an old question, but thought I'd answer it anyway. You can expose your WCF services to remoting clients (Flash, Flex) via WebORB. WebORB supports both self-host and IIS-hosted WCF services. Here are links to instructions for both models.
Self-hosted: http://www.themidnightcoders.com/fileadmin/docs/dotnet/v4/guide/index.html?standalone_wcf_services.htm
IIS-hosted: http://www.themidnightcoders.com/fileadmin/docs/dotnet/v4/guide/index.html?iis_hosted_wcf_services.htm
Both documents address your questions. Here is an example of one approach:
Invoking Self-Hosted Service From Flex/AIR
Flex and AIR clients can use the RemoteObject API to invoke methods on self-hosted WCF services which use the AMF endpoint. There are two approaches for invoking self-hosted WCF service. The first approach requires less code, but creates a dependency on configuration files declaring destinations and channels (the files located in WEB-INF/flex). The second approach does not have any dependencies on the configuration files, but results in a few additional lines of code.Consider the examples of the API below:
Approach 1 (with dependency on configuration files):
var remoteObject:RemoteObject = new RemoteObject("GenericDestination");
remoteObject.endpoint = "http://localhost:8000/WCFAMFExample/amf"
remoteObject.GetQuote.addEventListener( ResultEvent.RESULT, gotResult );
remoteObject.GetQuote.addEventListener( FaultEvent.FAULT, gotError );
remoteObject.GetQuote( "name" );
The endpoint URL uniquely identifies the WCF service. Notice the /amf at the end of the URL, it is required for the AMF endpoint. With the approach demonstrated above, the destination name in the RemoteObject constructor is required however it is not used. As a result, for the code to work, the Flex/AIR application must be compiled with additional compile argument:
-services "C:\Program Files\WebORB for .NET\4.0\web-inf\flex\services-config.xml"
I hope this helps.
K

Resources