web-development

When/Where we use VMware and .net combination?

Hi all, I heard that the combination of VMware and .net application(Web) but dont know why this combination? Does any one have the idea about when and where we use these combinations.? Edit: There are some advantages of running your webserver in a virtual machine.. what are they? ...

From MS .NET to Web development options on Mac OS X

I'm a .NET web developer, who's bought a Mac, and is interested in doing web development natively on the Mac. I've never developed outside of the Microsoft sandbox, and I'm looking for something new, but still in web development. I've looked into Mono, but it looks like trying to fit a square peg into a round hole, am I wrong? Like for...

How to remove proxy from WebRequest and leave DefaultWebProxy untouched

I use FtpWebRequest to do some FTP stuff and I need to connect directly (no proxy). However WebRequest.DefaultWebProxy contains IE proxy settings (I reckon). WebRequest request = WebRequest.Create("ftp://someftpserver/"); // request.Proxy is null here so setting it to null does not have any effect WebResponse response = request.GetResp...

Are there any scalability best practices specifically for sites with huge audiences?

While this question has been asked in a variety of contexts before, I can't find any information pertaining specifically to sites targeting very large audiences - for example on the scale of hundreds of thousands or even millions of users. When writing sites that target smaller audiences (such as intranet hosted data driven sites that h...

How do I maintain state across multiple web servers?

Can I have multiple web servers hooked up to a SQL Server cluster and still maintain a user's session? I've thought of various approaches. The one suggested by the Microsoft site is to use response.redirect to the "correct" server. While I can understand the reasoning for this, it seems kind of short sighted. If the load balancer is ...

upload field of an invalid form points to nowhere

This may be a question with a very simple answer, however I couldn't come across to one on the internet. I am writing a Django application. I have a form with an unrequired ImageField. After the user has submitted the form (with an image), if the form is invalid, on the serverside I populate the form with the request data and files (eg:...

What's the difference between the cost of ASP.NET and PHP hosting?

Several times I heard that PHP hosting is much cheaper than ASP.NET one. I decided to check it out and went to Google. But there are different categories of hosting (it can be expensive or not). There is a cheap ASP.NET hosting and expensive PHP hosting, and vice versa. So I can't know exactly if there is a difference between their price...

The Facebook footer bar is an iframe, so why it doesn't it reload with the rest of the page?

I want to know how Facebook is doing their iframe footer bar. I mean, i know they have an iframe on footer, but i want to know how they are reloading pages without reloading the iframe also, 'cause the iframe always stick there even though the page does reload again. Any ideas/knowledge? EDITED: Try clicking on a link which is differen...

ValidateInput(false) doesn't seem to work when running under IIS

When I run my ASPNet MVC 2 Preview 1 website under VS dev server, it works just fine when I do a form post with Form Method "Get" - the form has a textbox with text that has angle brackets (for ex: "i < 10;") However under IIS, when the same form is posted (using Method "Get"), I get a 404 page not found. The resource cannot be found. ...

embed a WinForms app in a web page?

Is there a way to embed a WinForms app in a web page (assuming the browser is running on a machine with .NET)? ...

Opening a file from TFS using the full TFS Path, from a web site

So I have a website running that displays full path of a TFS File on the page somewhere, I want the user to be able to click on it, which should then open up that file from TFS inside their Visual Studio. The command to do this inside Visual Studio is "File.TfsOpenFromSourceControl" (DTE command) - it's basically the user manually going...

How to fetch a resource through a php script?

I am trying to do the following in my web application: <img src="static.example.com/image01.jpg?width=300&height=300" /> Is it possible to have my server (I use Apache in a shared hosting environment) run a PHP script when accessing a .jpg (or any filetype that I chose) instead of just serving the file? I know that the PHP script ha...

Make registered users have its own url

Hello. I want to build a web application where users can register and have a profile. People can visit the profiles adding the user name in the url like this. http://mysite.com/john How can I create this url for each registered user I taught using mod_rewrite to rewrite the url but are there any other aproaches? by the way I want to...

GWT: what are the best practices for building a web2.0 interface with GWT?

I am no artist/designer so usually my GUIs well, you know... I've tinkered a bit with GWT and I was able to get sensible results but I feel I have used contrived ways of getting those results. If the community feels this question could help: please put one recommendation per answer. ...

Is it possible to have an opacified background layer which doesn't opacify its children ?

Let say I've this code : <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'&gt; <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> <head> <title>Layers Opacity</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ...

css for footer text

I'm having a hard time with a simple css snippet for footer text. The footer text must always be at the end of the page and the end of the screen whatever comes later. ...

Crash Course in Web Development (PHP+HTML)

Hi, I started this semester Databases course which I enjoy a lot. We are required to work on a project of our choice at the end of the semester. It seems that everyone in my class is gonna do it on the Web. So far so good! But I am the only one out there who don't care about Web Development, and in fact I am at best an advanced user of ...

Jquery slide effect in ASP.NET Grid

I have a question is there a way I could create the collapsible effect with the Jquery show(), hide(), slide(). Functions and has anyone found any examples to do this? ...

How to create a custom 404 page for my Django/Apache?

I know that you use .htaccess in the document-root directory in standard apache. What if I use Django? Can someone give me step by step how to create a custom 404 page? THanks. ...

Web Development workflow & tools

Hey Everyone, I am an independent Web Developer and I am always looking at ways to improve my product and how I communicate with my clients. Can anyone recommend areas for improvements or tools to help streamline my process. Areas that I know need work are deploying the code and bug tracking. Tools Visual Studio 2008 SQL Server 2005 E...