2

Closed

Remainder pieces of code for Medium Trust should be removed

description

They are still some (at least 40) examples of some code that is only used due to Medium Trust, which was dropped a while ago. In most cases it is the following:
return View((object)model);
or something similar, instead of:
return View(model);
In some cases there's a line of comment above it explaining why the casting is there. On one hand it's unnecessary now, but it also became a bad example: I've seen new Orcharders (is it a word yet?) follow this example, because they were learning from e.g. the Core AdminController. I'll gladly fix it.
Closed Sep 23, 2013 at 5:03 PM by sebastienros

comments

Piedone wrote Sep 23, 2013 at 1:11 PM

Not just Orcharder is a noun but "to Orchard" is a verb.

nightwolf226 wrote Sep 23, 2013 at 3:06 PM

And I remember Sipke using the word "Harvesters" for the attendees at the conference in LA (which is an excellent gamer reference btw)! :)

sebastienros wrote Sep 23, 2013 at 5:04 PM

already done in features/fw45 branch,