I am new to the IOS app development. I go through the apple developer portal they use Objective -C as their server side framework.
The main problem is I need to develop the app in one month and I know C# web service or java server side framework.
Does these frameworks are supported by the iOS apps API. Please suggest me.
And if possible give me some reference for these existing frameworks.
Thanks in advance
Usually an App communicates via an HTTP service (usually a REST service) with a server. The server can be written in any language which can be used to provide a REST service. For example ASP.NET Web API if you are familiar with .NET and C#
Related
Context:
I'm currently on application including many subproject based on .NET Standard (for Xamarin).
This application need to run Kestrel Web Server to expose an API (application must be callable from external to receive updated datas).
So, I have created an ASP.NET Core project permitting to make easily a WebApi and run a server (Kestrel). Problem, It's a .NET Core project and it's incompatible with Xamarin.
Objectives:
The application must be callable from external (expose an API)
The application must used .NET Standard Projects (compatibility with
Xamarin)
The application must run on desktop and mobile
Questions:
Will WebAPI included in futures releases of .NET Standard?
Does it seems complicated to expose an API (and so, run a server) in
mobile app (and not a good practice by the way)?
Is there any other way to do this work?
Objectives:
•The application must be callable from external (expose an API)
Get a web server serving as middle man and passing the request it got from external then it should be doable
•The application must used .NET Standard Projects (compatibility with
Xamarin)
Web API runs on server and Xamarin runs on mobile/Desktop, Xamarin shouldn't have to worry about what tech stack the server uses as long as it complies with the protocol both agrees on (http)
•The application must run on desktop and mobile
Not an issue
Questions:
•Will WebAPI included in futures releases of .NET Standard ?
Definitely yes.
•Does it seems complicated to expose an API (and so, run a server) in
mobile app (and not a good practice by the way) ?
Totally wrong way to do it. your app will lost internet connection whenever the phone decides to sleep for a while plus the phone is just not designed to serve as a server.
•Is there any other way to do this work?
Get a real cloud server instead and run your API there.
I am still relatively new to writing API's and web services, so bear with me if I use incorrect terminology.
I want to know if it is possible to create an API in C# using nancyfx (or any other framework) or even just a simple web app and then set it up as a continually running web service using WampServer. I'm pretty new to Wamp, all I have done so far is create a few rudimentary pages with php; but I can't seem to find any information about running a web service with Wamp using a different back end language other than php.
WAMP is stand for Windows Apache MySQL PHP. As I can say, you can't run a C# web service with it base configuration. However, you actually don't need this. If you are on .net Core, there is a Kestrel web server. You can use it to serve your app. On a .net framework you have a HttpListener which can help you to implement self-hosted web service (for example, a windows service which hosts your application).
There are many other options, btw. Try google for some kind of "Hosting .net web application" or "Self-hosted .net web application"
so our company wrote an accounting app,in windows,using c# for a certain company that ordered an accounting application.
after a while,they requested an android app that can communicate with the server and request or send data from or to the database that the windows form application uses,which uses SQLExpress 2014.
note that : the application that runs on the android platform may need run on more than one client at any given time.
AND
the android app will be native.
my main question is this : whats the best technology to use?
do i HAVE to use web services ?
well to do that i have to install IIS on the windows client which is
all im trying to avoid,because i have a setup and the program has been
mass produced within the city so i cant just take back every
customer's product and add iis setup procedures to the setup...if u
know what i mean
Not true. Since WCF days, there's an in-process option called XXX self-host which is a tiny web server written in C# and started along with your process using code.
Currently your best web should be developing your Web services using OWIN/Katana self-host and implement your RESTful service running on a Windows service (did you know about TopShelf?).
Check this interesting MSDN article to learn more about self-hosting a Web API into a Windows Service using Topshelf.
TL;DR
Your best bet here would be creating a Windows service which might be installed along with the Windows application or in some customer's server machine and host this way your RESTful Web service using ASP.NET Web API.
This is easy to deploy and distribute, and your customer won't require an IIS installed to host web services.
I have an existing website that is currently using .Net 3.5 and must stay that way because of our sharepoint integration. I need to write a web service/web api that the website will interact with (a method to send an email, for example). I also need to write a windows service that is going to do the same thing. The windows service will probably be .Net 4.5.
What framework should I use for the web service/web api so both environments can interact with it the best?
The very nature of web services, soap or rest, is that they are platform agnostic. This also applies to .net versions, you can have whatever version at the server and another version at the client and this surely will work.
I have developed a web application in C# and an android app. Web app(c#) is acting as a server and attached to SQL server 2008 R2 while android is acting as client and it communicates with web app(C#) via bluetooth( bluetooth coding is done in c# winforms).
Now one thing I know is that android cannot directly communicate with SQL database for it I have to utilize web service. I wanted to authenticate my android app login/register from web app(C#)
My winform(C#) in which bluetooth(using feet32 library) functionality is implement should act as an agent between client(android) and server(C#).
Now I wanted to know that:
How my winform application will act as an agent to communicate with client and server both and read/send data to and fro.
If I need web service to implement then in which application I should write in webapp or winform?
I wanted to authenticate my android app login/register from web app(C#). I f I have to write for it webservice then whether I will write it in web app or winform?
I am just a beginner and its my final project. Please help me to understand the complete scenario and my knowledge is too little and also if there is any good tutorial for any of these functionality please do mention the link ..
Thanks
Edited: After little Research I come to know about SOAP http web service, What you guys think where to implement this web service according to above questions.
To establish communication between two devices by using Web services you don't have to use winform application.
You can establish a connection via web services, just create a new ASP.NET project using visual studio then add a Web service and folloe the template it gives you.
Right click on the service, click on view in browser, verify there is no any error. The address of this browser is the address of your service just connect to this service from the second device.
Please check out this guideline: CodeProject Web Service
Try ICE, It got excellent cross platform support and is open source. I have been using it for last four years to communicate between c++ and C# applications.
ICE for .Net
ICE for Android