development-server

Launch ASP Development Server Manually?

There has to be a way to do this, I was googling information but I can't seem to get it to work. The sites I checked out said to do something along the lines of start /B %WINDIR%\Microsoft.NET\Framework\v2.0.50727\webdev.webserver.exe /path:"D:\MyFolder" /vpath:/HelloWorldWebSite In a batch file. However, none of my framework folder...

Why would my ASP.NET project run on the development server when not among the startup projects?

I have a visual studio 2008 solution that includes an asp.net-hosted remoting project in c#. The solution also contains other c# projects and c++ projects. When debugging the interaction between my c# client and the asp.net server, the debugging is great. I can literally step into server calls and back out. However, there are times in ...

Is it ok to use different different OSes for production/development servers with Rails?

Say, I love Debian+mod_rails and run it on my laptop which is my development platform. Yet, I am deploying to a production server running Ubuntu+mod_rails. Is it better in a long run if I install Ubuntu on my laptop or are the problems with deployment so miniscule I can go with whatever the hell I like on dev. machine? Thanks. ...

Addressing localhost from a virtualbox virtual machine

I have a local test/development server (http, of course), listening to port 8000, I'm working on Linux, so to test the page on IE6/7/8 etc I run a virtual machine using virtual box; I also need to see how it look on firefox in a windows environment (fonts for instance are different). In my real machine, I open the website simply using ...

stop development server when i stop debugging

how can i stop (automatically) development server when i stop debugging in visual studio? ...

Force visual studio to start development server using the hostname localhost. (with period at end)

Is it possible to change the hostname that the development server fires up in visual studio 2008? Ultimately I would like visual studio to start directly on http://localhost.:xxxx/ (note the period). As I am doing more ajax type calls I find that I need to inspect traffic more often using tools like fiddler to check responses/request...

How do I stop the Development Server starting during Unit Testing?

I have a Visual Studio 2008 solution that contains around 30 projects. Some of these are web services / WCF services / ASP.NET MVC applications. When I run all unit tests (Ctr+R, A) it insists on spinning up all the Development Servers for these various projects. This means that it takes far too long to run the tests and, actually, none...

Dev server for Java, like VS has for .NET?

Hello, I am on a Java learning spree recently, however I am normally a .NET developer. (So please forgive my newbie questions.) In .Net I can develop ASP.Net pages without using IIS, as it has a watered down web server (Cassini, I think it's called). Does Java or a Java IDE have something similar so I can write and test JSP and Java S...

ASP.Net Development Server performance

I am developing a simple ASP.Net application on a Windows 7 x64 machine using Visual Studio 2008 SP1. The computer itself is a very strong machine. I am using the built in development server for debugging. Starting the debug process takes a mindblowingly long time (~20 minutes until the first page is loaded). Sometimes the pages load im...

Is there a way to add a virtual directory to Visual Studio Development Server?

Hi, I'm using the Visual Studio Development Server, with a specific port. Is there a way to add a virtual directory to it? EDIT: Sorry, I wasn't very clear. I'd like to be able to add one or more virtual directories to arbitrary physical directories. For instance: http://localhost/c_drive/ would map to C:\, http://localhost:/d_driv...

Django + WebKit = Broken pipe

I'm running the Django 1.2 development server and I get these Broken Pipe error messages whenever I load a page from it with Chrome or Safari. My co-worker is getting the error as well when he loads a page from his dev server. We don't have these errors when using Opera or Firefox. Traceback (most recent call last): File "/Library/Frame...

HTAccess Rewrite: 301 Redirect Index but not Subdomain

I'm creating an online community and I'm trying to set up a development server. Currently, I'm using GIT as my repository. I have both mysite.com and mysite.net; the .com being the primary site. My Goal: If a user goes to www.mysite.net they should be 301 redirected to www.mysite.com. If a user goes to dev.mysite.net they should b...

Speeding up the rails 3 development server

Now that Rails 3 is out, my favorite dev-mode plugin (rails-dev-boost) is broken. I'm working on a large application (>100 models and controllers) and loading them all every request takes more than ten seconds. I could turn config.cache_classes on, but then I might as well run in production mode since I have to restart the server every c...

Using IIS7 to debug instead of Development Server

Can someone please tell me what needs to be done to debug a asp.net app using IIS7 instead of the Development server with VS2010. I have found multiple resources online that says how to do it and they all have different steps. I cannot seem to get it to work. Thanks, Blake ...

Django development server: templates render from custom views not getting static media

I have a development server running (and serving content) using the built in django server. All my templates that are rendered from generic views point correctly to the static media files (css/java/imgs) but ones that are rendered via custom views don't seem to prepend the /media/ folder to the urls. (At least this seems to be the proble...