siri
siri

Reputation: 133

MVC4 Mobile environment on xp

I am trying to develop a simple sample mobile web app using MVC4, to provide a small demo to my team. Following is my machine config

OS: Windows XP VS: VS 2010 express Emulator: Android (i couldn't find windows7 emulator for xp)

Problem: Android Emulator needs (as far as i know) application to be hosted as IIS application but when i create virtual directory for the MVC4 and try to access, it simple throws 403 error, thats because (again as far as i know) IIS 5.1 doesn't know MVC4 Request handling

Question: Now how to proceed in this situation to test the application on latest mobile (of any kind windows7, android or apple) emulator browser ?

I tried IIS Express, but android emulator didn't like it.

Upvotes: 0

Views: 245

Answers (2)

RickAndMSFT
RickAndMSFT

Reputation: 22800

I tried IIS Express, but android emulator didn't like it.

IIS Express is a web server (albeit better than Cassini), IIS Express is not your problem. The simplest emulators are Chrome/FF plug-ins and settings. See my tutorial ASP.NET MVC 4 Mobile Features

Upvotes: 1

Michiel van Oosterhout
Michiel van Oosterhout

Reputation: 23084

Have you tried mapping all requests to aspnet_isapi.dll?

See this blog post for instructions: http://itscommonsensestupid.blogspot.in/2008/11/deploy-aspnet-mvc-app-on-windows-xp-iis.html?m=1

Upvotes: 1

Related Questions