Online apps in Metro [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 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.

Related

WCF, SignalR or websockets for webchat [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 trying to develop web chat integrated to site on ASP.NET. What technology for messaging is better to use for it? Please tell about benefits or disadvantages of each other.
I will be very glad to each answer. I incline to using SignalR.
I wouldn't include WCF just for the fact that it is more of a technology for building services that serve the data you want.
So it really boils down to websockets and SignalR.
websockets are a techonolgy to allow bi-directional communication in a web environment. Of course it isn't supported by all browsers.
SignalR is a library the rolls multiple communication technologies together. EG: websockets & long-polling. It is the better choice for your question as it will automatically take care of the technology that can be used to accomplish the bi-directional communication you seek.
WCF is for tick-client apps; it is not designed to be consumed from a browser.
Signalr is a wrapper around web sockets (with fallbacks) and is what you want to use
WebSockets is a protocol with various implementations in different languages.
For non-real-time scenarios, you would want ASP.Net Web API.

PHP developer thinking of Java [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.
I'm a PHP developer trying to learn a new language which has better security and performance. I heard that facebook is built on C# and PHP front end. I was thinking of learning Java and use it backend, business logics and use PHP for front-end. Is this a great combination for big websites/webapps or not?
It is possiple, but each of these languages have it's own stack of technologies. If you intended to use Java, i'd recommend you to use JSP instead of PHP (same with ASP for C#). It allows you to use advanced possibilities, provided by these languages.
Facebook does not use C#, instead, it uses HipHop to compile the php code into c++.
In my opinion, Java and PHP are the best gears for web developers. So try to learn java instead of C#. Also Java has cross-platform support

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.

How to make a chat client for the iPhone [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.
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).

Is there any guides to assist a seasoned PHP developer wanting to learn c# and .net? [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 remember when I switched from Classic ASP to PHP many years ago, and I came accross an awesome document on the net showing how the VBscript differed to PHP. It really helped me when I ported an old photo album software I made to PHP.
I was wondering if anyone knows a similar guide, from PHP to .net? If not, what are the best resources to start? Is there anything I need to untrain myself in doing, being a PHP developer?
Learn ASP.NET: for PHP Developers
This series of code casts and labs from Microsoft should really help you.
http://msdn.microsoft.com/en-us/rampup/dd861537.aspx
Since you seem to be into web development, I assume that you want to use .net and C# to make web projects. There are basically two flavors: ASP.NET Web Forms and ASP.NET MVC. Google for the latter, I think it will feel more "at home" concept-wise when you're coming from PHP.

Categories

Resources