Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Upgrading to the latest MVC causes error
Message
 
 
General information
Forum:
ASP.NET
Category:
MVC
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01615733
Message ID:
01615793
Views:
18
>Authentication attribute is irrelevant. It's only looking at {Route] attributes.
>
>IAC, if the method is working (as per previous post) then the route map is probable being created OK and there's no need to remove the MapMvcAtttributeRoutes() call ?

Yes, your other suggestion of changing the base controller's calls seems to be working, e.g. I switched from commented now code to what you suggested and all seems to be well:
  //public PartialViewResult SuccessView<T>(T viewModel, string viewName, string message) where T : BaseEditViewModel
        public PartialViewResult SuccessView(BaseEditViewModel viewModel, string viewName, string message) 
        {
            viewModel.SuccessMessage = message;

            return PartialView(viewName, viewModel);
        }
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform