views:

22

answers:

1

I'm looking at some (old) sample projects of ASP.NET MVC 2, to do some self-teaching on the subject.

However, I 'WebformViewLocator' no longer seems to be present in MVC2, while it is used in the sample projects...

Searching for breaking changes on WebFormViewLocator does not make me any smarter...

Has it been removed/replaced/renamed?

A: 

You can see these classes in the first check-in of the code on Codeplex:

View Locator http://aspnet.codeplex.com/SourceControl/changeset/view/590#8302

Web Form View Locator http://aspnet.codeplex.com/SourceControl/changeset/view/590#8310

But they were not present in RC1 but if you check out classes such as ViewResult, is has its own FindView method.

http://aspnet.codeplex.com/SourceControl/changeset/view/21528#266531

Sohnee