views:

43

answers:

1

I am trying to set up small web farm using "Microsoft Web Farm Framework 2.0 Beta for IIS 7"

Everything works fine, except for one problem -

My web application is written using ASP.NET MVC 2 and there is no references to ".aspx" files used. A typical url looks like:

http://192.168.2.35/Billing/Account/Create

Howver when this url is processed by the web farm it is rewritten as:

http://192.168.2.35/Billing/Account/Create/default.aspx

/default.aspx is being added to every url.

I can workaround this problem using URL Rewriting. But I think this is not a great solution.

Probably I missed something in Web Farm settings?

A: 

It sounds to me like you have missed a step in configuration and are seeing an undesired effect. You can see this without the framework when you dont setup MVC correctly. Check out this link for general info: http://weblogs.asp.net/scottgu/archive/2010/09/08/introducing-the-microsoft-web-farm-framework.aspx

CrazyDart
Thanks. I was already read this general stuff.I realized that this was a environment-specific problem.Then I used another web farm all became works fine.Thanks to everybody for answers.
Brian J. Hakim
Glad you got it to work. I figured you had found the general stuff. I posted that in hopes that you would see MVC is an accepted configuration and that it should just work correctly. This seems to be a neat new feature.
CrazyDart