Redirect IPhone To Another URL With C#?
Mar 25, 2010How do you check if the user browsing my website is using an iPhone, and then redirect the user to another URL?
View 2 RepliesHow do you check if the user browsing my website is using an iPhone, and then redirect the user to another URL?
View 2 RepliesWe have develop one application in silverlight..
We want more information about how we can use this silverlight application on IPHONE.
Basic requirement is silverlight application should work on IPHONE.
I have my iPhone app that calls an ASP.NET Webservice to download "data". Most of this needs to be protected, but currently the webservice that's deployed can be called by anyone who can figure out its URL, thus resulting in a complete loss of security.
The simplest form that I can think of would be for the phone to make a call over HTTPS including the username, password that the user logs in with, with every web service all. And each method will check to see if these credentials are correct before sending data to the user.
But this will result in an additional database call for every request to check if the user is authenticated, which is not very efficient.
I'm using c# asp.net web how can I check if the user using ipad or iphone? How can I check the platform?
for example....the user enter the website from ipad and the page display hello ipad user
I would like to ask for advice how to build mvc web application for iPhone.
If you have any code sample, Good example how to start and get deep into it.
about iPhone3 development in dotnet, How can I start? what are the requirement for iPhone3 development?Also if posible provide me ebook.
View 6 RepliesI am create an iPhone app that needs to talk to a Windows C# app. The app will run as either a Service or Form Application.
What would be the best way to accomplish this? Ideally exposing a service-type architecture would be best as I don't need a stateful connection (stateless is fine in this case).
Can a WCF service hosted by my app using a form of TCP binding be consumed by my iPhone? Or can an app host using httpBinding without the aid of IIS or some other web server?
I have a asp.net website and I am accessing that web service from my iPhone app to get data.
The WCF web service produces data as JSON.I want to put some kind of authentication on the WCF. What you you guys recommend?
I'm putting this tag at the header of my HTML pages, trying to get the page to stop vertical scrolling on mobile browsers like iPhone Safari:
View 2 RepliesI want develop small iphone blog application. How can i do it. I want steps should i follow? I am beginner for iphone application,
View 5 RepliesHow to develop the IPhone Application using ASP.net. Which are the Softwares and Simulators we have to install to develop the application.
View 7 Replieshow to show Iframe on iphone application i want to simply make sql base php page which shows the database record after login
View 1 RepliesHow to create application for iphone and mobile web application in asp.net?
View 5 RepliesI want to set a session variable like the following:
Session["mySession"] = "Some Value";
But I want to do so when clicking on a button, and using ContentUpdate:
protected void myButtonClick(object sender, EventArgs e)
{
Session["mySession"] = "Some Value";[code]....
The only way I can get it working on an iPhone is to set session variable is on the Page_Load function. It works when browsing from my computer.So, I guess my question is:How to set a Session Variable in C# Using ContentUpdate on an Iphone?
I want to send some values from my iPhone application to an ASp.Net web page in server. I am using asihttp for that. Its processing the request and invoking the page on server. But the none of the values are retrieved in server side. Below is the code from iPhone app.
NSURL *url = [NSURL URLWithString:urlString];
ASIFormDataRequest *request = [[[ASIFormDataRequest alloc] initWithURL:url] autorelease];
[request setPostValue:@"abc" forKey:@"from"];
[code]...
After getting pretty far along with a jQTouch web application for our website, my boss and I decided we may as well just make a true iPhone app instead of struggling with sloppy flickering animations and login authentication issues. We currently have a fully functional web site with some SOAP web services, but we are looking at rewriting these in order to make it easier for the iPhone to call the web methods (for displaying search results, categories, and article) for our app. I have not started anything on the iPhone yet as I am not sure which direction I should be taking.
For a developer that is somewhat unfamiliar with Objective-C (I understand the basics and the syntax), what tools do you recommend to create an iPhone app that uses data from ASP.NET web methods?
how to develop iPhone application using ASP.NET. and what are the minimum requirements to develop.
View 5 Repliesi am currently working on a project with an iphone developer in which i need to receive an image to my .net 1.1 web service. Here is the code that locally works fine if i take an image and convert to bytes... but from the iphone it is coming across as an unreadable 1 kb file. Any thought or experience? Is it encoding issue? Developer says he is sending it as utf8?
<WebMethod()> _
Public Function UploadFile(ByVal fileBytes As Byte()) As Boolean
Try
Dim ms As New MemoryStream(fileBytes)
Dim fs As New FileStream("c:attachments est.jpg", FileMode.Create)
ms.WriteTo(fs)
clean up
ms.Close()
fs.Close()
Catch ex as Exception
End Try
End Function
I want to create a native app/web app which works on iPhone, iPad. I am having Visual Studio with me. how to create a app using .net.
View 1 RepliesI have made a simple web page with a menu (asp:menu). It works fine in different browser, but when it runs on a iphone browser the menu does not work.
View 1 Replieswhich one is better response.redirect or postbackurl(asp:button feture) to redirect web page?
View 3 RepliesI want to redirect to "~/City/Göteborg", but if I just write Response.Redirect("~/City/Göteborg"); I will end up with an ugly URL in the address-bar like this: http://www.mysite.com/City/G%c3%b6teborg..
So my question is how to redirect to obtain a clean url like http://www.mysite.com/City/Göteborg?
Is DragPanelExtender not working in Safari/iPhone? Same page works just fine in other browsers but not on iPhone.
View 1 RepliesWe are developing an Asp.net web application for client .
In this project client wants few modules to be accessed via iphone also.How can we do that?
Do we need to develop separate iphone compatible modules or can we extend the functionality of existing asp.net web application to work with iPhone also.
I'm building an Iphone application, which has to retrieve information from a database on a server.
I thought about building a C# web service on the server,so the Iphone app will send a http request to the web service and get the required data as a xml output. Are there any better alternatives? for instance: I never tried but heard about WCF, maybe it's better using it instead of the older xml web service technology?