I am trying to set up 开发者_如何学Csmall 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?
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
精彩评论