Articles : Page 1 of 1

  • How to access controller methods from a view in ASP.NET MVC

    How to access controller methods from a view in ASP.NET MVC

    Jul 11
    30

    This question has been posed in several places. One of the places is on StackOverflow here. The use case here is that my controller has important state or an important function, and I’d like to leverage it from the view. It’s not appropriate to factor out to an html helper or other view-based utility class. It is something unique to the controller. It would be very easy to just pass the controller over to the view so that the view could make use of its methods, but there is a lot of discussion...


  • These Times, They Are A-Changin

    These Times, They Are A-Changin

    Oct 10
    20

    Warning, serious rant ahead, get yourself a cup of coffee and relax... C# has been my bread and butter for quite some time, and before that it was Delphi. And you know what, I loved Delphi. It was a powerful language, one which was fast and relatively easy to develop in. I wrote Delphi code for years and enjoyed it. As the .NET platform was taking off I started to take a serious look at C# because it seemed like the most obvious jump from Delphi for what we were doing, which was writing Wind...



  • 1