10
Feb
07

Quick Tip for Developers using ASP.Net / osX / Parallels / Flash / Flex / Kitchen Sink

How to access and debug your ASP.net application when making calls from Flex/Flash when you’re developing in osX. Some kid on a forum was having issues with figuring this out. So heres the solution to how to access your ASP.net (Using studio 2005) application from osX.

Heres the setup:

osX: Flex or Flash

Windows: Visual Studio ASP.NET 2005 Project

shot2.jpg

The asp.net development server is only available on the local machine (for security reasons). So really all we need to do is switch to using your local IIS install.

1. Make sure IIS is running and the home directory of your web is set to your applications directory.

2. Change your windows firewall to allow port 80.

3. Open your studio asp.net project and right click on the project. Select “Property Pages”

4. Select “Start Options”. Change “Server” from “Use default web server” to “Use custom server” and enter a base URL of http://localhost

shot1.jpg

5. Get your xp installs current ip address. Go to start, run, enter “cmd”. Enter ipconfig. (Note: I’m not using parallels shared network) (also a good idea to use an internal static IP in XP)

6. Open Safari. Enter Http://{your windows ip address} (make sure your .net project has a default page)

7. I know what you’re thinking. Damn Jenny! Thats the sh*t!

8. Ok, probably not. But hey it works.

9. The only other problem with this whole setup? It kind of overloads my macbook(flex,flash,Studio,XP,osX,Fireworks,PS,etc) and makes it sad. Still waiting for final girlfriend approval on that Mac Pro.

There you go kid. Knock yourself out. -s


5 Responses to “Quick Tip for Developers using ASP.Net / osX / Parallels / Flash / Flex / Kitchen Sink”


  1. 1 Feb 10th, 2007 at 10:00 pm

    dude,

    don’t make it sad. you get more done when you are happy, so toss the whole xp, .net stuff. Who needs it anyway? work on apple? develop in flex, let some other schmo do the .net thingamigs, or do it in a decent language like ruby or maybe ehm, java…

  2. 2 Sep 15th, 2007 at 1:55 pm

    Ilya, dude!
    Since when Flex is supposed to replace asp.net? Decent languages like ruby are like 203823 times slower than .net, and Java is overloaded with syntax requirements that c# doesn’t have. VS 2005 is the best IDE there is, better than Eclipse or any JBuilder. Most of the developers of .net stayed with Microsoft because of their development environment. I did dome Java, when I started Netbeans or JBuilder I had time to walk my dog until it booted up. Flex is supposed to be the front end to a web service of flash remoting. ASP.NET supports free flash remoting protocol if you know how to set it up. Web Services are developed in seconds in vs2005. Go do some reading, because apparently you have no IT knowledge which is which but just read DHH’s blog or some opinionated source. Every Java developer is happy to escape Java to Ruby, and with .net you will have IronRuby and C# and IronPython + ASP.NET and other IL compilers. Even PHP run under .net (phpalanger it is call, as I remeber) is faster than the native version. Mac are nice hardware, but you’re only left with slow Java solutions or crippled languages like PHP. It’s good to be able to run VS2005 .

  3. 3 Oct 11th, 2007 at 3:56 am

    sweeeet! i have this exact setup, and this makes debugging my vs.net projects way smoother (and slicker). thanks man!

  4. 4 Todd Oct 15th, 2007 at 6:09 am

    Cool thanks for the tips. I’m looking forward to eventually migrating my whole .NET development platform to a VMWare image on a OSX. Any experience with this? (I actually already have my image on Win, but am looking to get a Mac once OSX 10.5 comes out.)

    At the guy who suggested just dropping .NET. That’s great to drop .NET if you’re working on some small project by yourself for your uncle’s website that hosted for $10/month on some shared server (or a startup that has no infrastructure). But if you ever do any big client projects, at established institutions who already have massive data centers built on .NET (or J2EE), with a trained operations staff in managing the data center, well, then…good luck convincing them to swap out their backend. You’re not going to have any say in the architecture for the backend. I’ll gladly take the work from you.

    –Todd

  1. 1 Trackback on Jun 7th, 2007 at 5:06 pm

Vote

flickr