I want to write implement 3rd party server for GCM (Google Cloud Messaging) for android using .Net. The official documentation gives guidelines for using it with servlet-api and gcm-server.jar ( Java helper for server side ).
Is there any equivalent for using it in C#?
The Google Cloud Messaging Client Library has been ported to C#:
https://github.com/Redth/GCMSharp
The same developer has produced a library for sending server-side push notifications to iOS, Android, Windows Phone, and Blackberry:
https://github.com/Redth/PushSharp
If you're not keen on rewriting the whole thing, perhaps IKVM.NET will help? It is a Java virtual machine for .NET and has tools for Java-.NET interoperability as well.
Hope this helps!
Related
I am trying to run a Bluetooth GATT server on raspberry pi 3 and raspbian OS. Based on this post, the BlueZ D-Bus api can be used in .Net Core by Tmds.DBus library and its C# interfaces can be generate using Tmds.DBus tool.
I have read Bluez docs and most of the existing samples (based on python and c),
but i can't understand how to define and advertise the GATT server in .Net Core.
Can anyone provide a .Net sample or any other solution?
Creating a BLE peripheral is one of the more tricky things to do with BlueZ D-Bus API. You will need to create a GATT server and an advertisement. Unlike the GATT client, creating the server requires for objects to be registered on the dbus.
I am not familiar with .NET, but it is the ability to register objects in D-Bus is the key to getting a GATT server working. From this example I found the key word is : RegisterObjectAsync
Using that keyword, I then did a search and turned up this library as using it:
https://github.com/phylomeno/dotnet-ble-server
This looks like it should be of interest to you.
Is there a way to implement skype API in C# or any other language.
I was using Skype4com.DLL but it is deprecated not working with the skype latest updates. I was using it in a Skype plugin(windows application) to log in and make calls. As an alternative, I thought UCWA Skype Web SDK would be the best solution, but it serves a different purpose.
There are companies that are still using it like https://www.minutizer.com/. I can't figure out the way they are able to detect calls and messages.
Help needed! Thanks
According to: Skype Developer Platform supported topologies you can choose from:
You can also choose to use Lync SDK -
By using Lync 2013, a developer can provide instant messaging (IM),
voice, video, application sharing, and meeting session functionality
in a custom client or LOB application
Skype has discontinued the desktop API in 2013. As a result, you wouldn't find any libraries supporting skype programmatically. That's the reason for deprecating libraries like Skype4com and Skype4Java.
https://blogs.skype.com/news/2013/11/06/feature-evolution-and-support-for-the-skype-desktop-api/
The best option for you to implement voice, SMS or video calling is to use a service like Twilio or Plivo which are having wide support for many programming languages including C#.
I am new to Google App Engine. What i really need to go is host my web service which is written in ASP.net & C# on google app engine.
My web service gets a string and translate that string from already stored translated values in the database which is SQL server 2008 R2. This translated string is in the form of spans. i then return the string.
thanks
The Google App Engine currently supports applications written in Python, Java and Go and won't run ASP.net applications unless some heavy magic (such as compiling it to Java bytecode) is involved and I'm not aware of anything that can do that specific trick.
Maybe you should consider Microsoft's Azure. It's kind of an equivalent PaaS solution, but will play with Microsoft's stack.
Note: Google has since added PHP support.
Note: Now Google has the "custom runtime" that allows you to host pretty much anything you can run on a Linux machine.
It should now be possible to host ASP.NET applications on App Engine. Use the custom runtime feature on App Engine and Microsoft's ASP.NET Docker image with your application. Also, you need to create a route for /_ah/health and respond with HTTP status code 200 and a blank message body (see lifecycle events).
You can not host C# applications.
Google App Engine is focused in supporting three application environments only: Java, Python and Go.
Additionally App Engine applications can also be written in any JVM-compatible language (e.g. JRuby, Groovy, Scala, etc.) and run in a Java 6 runtime environment.
Okay, so what I need to do is to write C# code, to integrate into an existing application.
I will (most likely) be using a Nokia 7230 mobile phone, and I'm willing to use the Nokia PC Connectivity SDK/API, or just AT commands over from C#, whatever works.
The catch here, though, is that I have absolutely no idea where to even start. I would be eternally grateful if someone could give me a step-by-step guide/tutorial on how to go about setting everything up. I've downloaded the newest versions of the PC Connectivity SDK, the PC Connectivity API, the PC Suite, and the Nokia Connectivity Framework.
If it's at all possible for me to test code with an emulator before actually purchasing a phone, that would be fantastic.
Thank you in advance for any help/advice.
GSMComm is a useful C# library for this, it comes with a bunch of samples/tools to mess around with as well.
I get the impression you going to buy a Nokia handset specifically to handle your SMS stuff? If so, you could just buy a GSM Modem (depending on your location) they are cheaper, don't include extraneous features and are not dependent on using manufacturer specific software.
What you are looking for is called an "SMS Gateway". Most of the articles on the internet discuss how to create one using Linux.
I did find this article though, which teaches you how to do it using C#: http://www.ozekisms.com/high-performance-sms-gateway/product-manual/index.php?owpn=315
It looks like you need the Nokia PC Connectivity API (note: Forum Nokia registration required for download):
Developers can use the Content Access API to build PC applications
that create, modify, and delete SMS and MMS messages. The API can be
used to send and receive SMS and MMS messages.
Is there any implementation of the NFS protocol written in C# or a good documentation thats easy to read so I can implement my own..
Both server and Client are needed but the client doesn't have to be C#, there must be some thing out there?
Assuming you weren't looking at this as a learning experience I would have suggested taking a C++/C implementation and wrapping it via C++/CLI.
However the only mention of an open source windows client for NFS 4 is this project with the financial support of MS and the university who wrote the reference implementation for many other OS's
That that this is their statement of intent and suggests a two year project sorry.
Hi you can check at my open source project http://code.google.com/p/nekodrive
You can use directly NekoDrive.NFS c# library that wraps my implementation
of V2 e V3 NFS Protocol (V4.1 is coming).. It doesn't support the full protocol yet but It works for basic browsing/download/upload functions..
hope this helps
You could try porting Alfresco JLAN Server to C#. It's written in Java but the two languages are very similar.
Alfresco JLAN uses a virtual file
system interface that allows you to
plug in your own file system
implementation with the core server
handling all of the network protocol
exchange between the client and
server. JLAN is also the only Java
implementation of Window’s CIFS
(Common Internet File System), in
addition to supporting NFS and FTP.
http://www.alfresco.com/products/aifs/
Given that NFS is based on ONC RPC and XDR, I recommend using an XDR implementation for C#, such as RPC.NET.
I recommend starting with the latest stable source code of NFS, and then run it from Cygwin (see below). You would then start with a fully-functional well-tested NFS client and server, which you could then tweak as you desire.
Try this site: Cygwin NFS Server HOWTO
Here is a remotetea port that seems to work http://sourceforge.net/projects/remoteteanet/
These links may help:
The first is a Code Project article describing an implementation of a C# NFS Server
http://www.codeproject.com/KB/IP/NFSServer.aspx
The second is the public github repo. that contains the source
https://github.com/petebarber/NFS
I've started an NFS v2 server based on jnfs (a java implementation of an NFS server) in C#.
The project is hosted on github here https://github.com/shellscape/Snarf