Web Service accessible by most browsers but Safari and iOS app - ios

A short version of my current problem:
Our service
https://staging.apps.wv.gov/dhhr/cjtf/HelpMeWV/api/contacts
is accessible in Windows browsers, android app, Chrome in Mac, but not accessible in iOS app, Safari, or Chrome in iOS.
error Code: WebException
message: The remote name could not be resolved: ‘wwwnew.wv.gov’.
Some more detailed info:
HelpMeWV is a .NET application translating SharePoint wcf service (http://wwwnew.wv.gov/services/HelpMeWV/_vti_bin/ListData.svc/$metadata) into RESTful API using ServiceStack. Here wwwnew.wv.gov is parsed in the hosts file on my staging server.
I would assume a web browser visiting the .NET REST API would have no need to be aware of the location of SharePoint service. Further, if my Android app and other browsers to access the API and obtain data, there is no reason a Safari or an iOS app cannot visit.
I have added the wwwnew.wv.gov entry to my Mac's hosts file. Still get the same error.

Related

Outlook Web Add-on(Office-JS) ui-less get bootstrap token outlook for Windows

i am trying to get an outlook add-on with autorun(ui-less) that uses the bootstraptoken to login to the backend of our application. On the web our application is fine. But on Windows for desktop the getAccessToken() is not available when running ui-less.
i cannot figure out how to get the authentication running on a ui-less application.
getAccessToken() is not supported yet on the LaunchEvent Extension Points (i.e. auto running add-ins OnNewMailCompose).

.Net remote debug web api with iOS app

I built a Web API service that's hosted on Server in IIS. My company's project is mainly based on iOS App that runs on iPhone, it calls the web api method and retrieve JSON format data.
Here's the problem. I can't simulate data because there are codes which shows if you are not using iPhone then you get WrongParameter Exception, and the payment module must debug on the server because it's a tranfer from server 2 server.
So is there any ways that I can debug these methods by using iPhone with Visual Studio?

Windows Phone 8 web browser history

Is there a way to get web browser history from Windows Phone 8?
I would like to save history of visited web sites from default web browser. In Android there is a content provider responsible for storing bookmarks and visited web sites. I haven't found the similar solution in Windows Phone. Is it possible or there is no such API for getting those logs?
There's no API to access this on Windows Phone. You can always request new APIs using wpdev.uservoice.com.

What API does iOS have to write Web proxy?

Does IOS provide API to write a proxy program for IPad /IPhone to process web requests from Safari, Chrome, Firefox and also apps that work with UIWebView?
Can this proxy also work as a daemon? I need this proxy to periodically create web usage statistics and generate summary reports.

Azure emulator web site is not visible by Facebook

My ASP.Net MVC3 web site that logs into Facebook is no longer working after moving to an Azure based cloud project. I am using the Azure SDK 1.6 and fail during the the OAuth steps.
I had a working site that ran locally at http://localhost:1200 which matched the Application Url setting that was registered for the application on Facebook. Now when I try to start the project in debug mode, it goes through the Azure emulator which maps the web site (role) to http://127.0.0.1:82/. I've tried updating the Facebook app url to the same address but it fails.
I've been investigating this and I've noticed that the Azure emulator automatically creates on the fly a new IIS web site and employs a load balancer for its created virtual IPs for the individual projects within the cloud solution. Is there a way to get a project to debug successfully and still talk to Facebook when running the Azure emulator within Visual Studio?
Any insight is greatly appreciated.
I would not use localhost for Facebook applications.
What I did, I had registered my real domain in Facebook (such as myapp.com)
Then I created a record in my hosts file (Windows\system32\drivers\etc\hosts)
127.0.0.1 dev.myapp.com
which is sub-domain of my production domain, so it's allowed by FB;
And then I used dev.myapp.com as callback address for Facebook; I also setup Visual Studio to run http://dev.myapp.com:anyport on start application debugging.

Resources