How to make a chat client for the iPhone [closed] - c#

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Hey guys, I'm starting the development of a native iPhone app which will implement a chat interface. So far the implementation seems to be pretty complicated, I've read of Websockets, XMPP/Jabber and raw TCP/IP sockets, but have no idea which to use. The client will be programmed in Objective-C, and I would like to program the server in C# (and not have to pay $100/month for a hosting service).
What would you guys suggest?

I would suggest using something like XMPP/Jabber as there are already a ton of libraries in existence for pretty much every language under the sun. That would allow you to focus on the unique aspects of your app rather than having to worry about implementing a protocol. Check out the XMPP website for a list of libraries for both clients and servers.
With regards to hosting, C# might be difficult to find free hosting simply because it requires a Windows installation which requires a non-free license. You can find cheap Windows hosting through somebody like GoDaddy, but you won't be able to find free (at least I doubt it).

Related

Online apps in Metro [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I would like to make an app that get data from web site for windows 8 Metro which I already have a couple of offline apps there ,but I really don't have an idea where to start and what to study to know with online applications.
Should I learn WCF or ASP.Net or something else?
I know this didn't work with Metro but I just wanna to learn the best way to work with servers from an app.
My programming language is C#.
Thnx.
WCF is overkill and is on the way out anyway - SOAP is dead, long-live REST!
Anyway, depending on what web-service you want to talk to you can use either a pre-written client or write your own. If it's a RESTful service then you can easily write your own client using HttpWebRequest, if it's a SOAP/WCF service then you'll probably want to use VS's client proxy generator to save you the pain.
...and yes, all this works with Metro (or rather, Tifkam) because you can do it in pure C# using classes made available to these kinds of applications.

is P2P really serverless? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am following this guide here. P2P
One of the advantages I had thought P2P would bring is the fact that it is a serverless setup.
Now that I have this working I noticed that you do need a resolver to keep track of who is connected.
To me this is really does require a server as you need a resolver to make P2P work in the first place.
Ami missing something?
It depends on your definition of a server I suppose. Using a P2P game for example most players will connect to a central point, be matched up and will then communicate between themselves with no involvement from the server.
This means the server doesn't have to host any data it simply has to coordinate those who do. It keeps resources down (as each client only needs to connect once) and the infrastructure is often more robust.
Do you need a central application to coordinate peers? Yes
Does that application need to stream content/data to each peer? No

WP7 Push notification server setup [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am trying to set up a push notification service for my WP7 app.
I have followed the guides and built a WCF service with WPF front end based on the code provided by the Channel9 WP7 jump start guide (Weather Service exmaple) ; http://channel9.msdn.com/Learn/Courses/WP7TrainingKit/WP7Silverlight/UsingPushNotificationsLab/Exercise-2-Introduction-to-the-Toast-and-Tile-Notifications-for-Alerts
This all works locally with the address "http://localhost:8000/RegirstatorService"
The part I am cluless about is how I translate this app to my server and make it work in the real world.
I have a basic public facing server 2008 setup with a domain and IIS7 running.
What do I do with the WPF app to make it work on my server? Is it just a case of changing the endpoint address so somehwere on my server, and where do i locate it on my server.
any pointers would be helpful. i have had a good read around the web but still cant understand this part of the whole PN process. I ahve never dealt with WCF before and dont have much expreirence with web servers or IIS.
Many thanks.
You might to check out these posts for a more real world example:
http://benjii.me/2010/12/push-notifications-in-windows-phone-7-1-code-on-the-device/
http://benjii.me/2011/01/push-notifications-in-windows-phone-7-2-code-on-the-server/
http://benjii.me/2011/04/push-notifications-in-windows-phone-7-3-push-that-notification/
You're probably most interested in the second one.

Is anyone testing Mono-Touch? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Is anyone on the site in the beta for MonoTouch? What issues have you been seeing with it?
I personally have found it a very nice little system and have just made a small test app with it. The test app seems to startup slowly, but it works on my device so I am happy to be using C# on the iPhone.
If you have access to the monotouch mailing list you will find lots of useful information.
I for one found a couple of issues, mainly with the Interface Builder generating the C# code.
another one was an issue with MapKit where the app crashes.
Constant conversation on issues and ways to work around it are in the list and in #monotouch on the GIMP irc network.
Monotouch:
https://itunes.apple.com/au/app/conqueror/id606796149?mt=8&ign-mpt=uo%3D4
https://itunes.apple.com/au/app/conqueror-for-ipad/id606816778?mt=8&uo=44
It's also using ZXing.Net.Mobile.MonoTouch
I just loved it.
I don't know much about beta version. I bought the professional license and I am happy with that. It's impressive how fast I can get things running on C#. These 2 games are retina ready and optimized for iPhone 5.

Implementing trial app in C# [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Duplicate
Time bomb needed in asp.net application
I've done developing my app in C#. I need some info of how I can implement 'trial' functionality for my app (I want to let the user use the app for 30 day for example)
Take a look at these tools:
.NET Licensing Pro
SerialShield SDK
PC Guard
Maxtocode
DeployLX Licensing
There are a lot of good answer in this question
Time bomb needed in ASP.NET application
There's also the solutions from Xheo, in particular DeployLX.
A specific commercial solution I've used is from Aladdin. They offer a USB dongle or a "software dongle" that allows you to pick and choose what features are enabled/disabled. The USB dongles even come with a battery-operated clock sealed in them so that gaming the system clock doesn't get around your protection.
Some people may say that any system like this can be broken. This is true. However, I've found Aladdin tools can be used to make cracking very difficult. Pair that with improving your protection on subsequent releases and what you get is a product that takes a lot of time and effort (cost) to break.
There's a related discussion on this SO question: Software evaluation licensing.
You can also check LicenseSpot which gives you the ability to control the license via the online license manager with activation, revoking and trial extensions.

Categories

Resources