Skip to main content

Home/ ASP.Net MVC/ Group items tagged routing

Rss Feed Group items tagged

Jacques Bosch

KISS Your ASP.NET MVC Routes - 0 views

  •  
    "A little bit of thinking and compromise can remove unnecessary complexity from the routes in an MVC application. "
Jacques Bosch

Implementing resource oriented controllers in ASP.NET MVC - Pablo M. Cibraro (aka Cibrax) - 2 views

  •  
    "One common problem with the naming convention and default routing mechanism in ASP.NET MVC is that we tend to group actions in a controller for sharing an URL space. This basically leads to complex controllers with a lot of unrelated methods that break the SOLID principles. Too many responsibilities in a simple class affects maintainability in the long run and causes secondary effects that complicates unit testing. For example, we usually end up with class constructors that receives too many dependencies as it is discussed here in SO."
Jacques Bosch

Integrating Backbone.js with ASP.NET Web API - Pablo M. Cibraro (aka Cibrax) - 1 views

  •  
    "In case you did not see the latest news, what we used to know as WCF Web API was recently rebranded and included in ASP.NET MVC 4 as ASP.NET Web API. While both frameworks are similar in essence with focus on HTTP, the latter was primarily designed for building HTTP services that don't typically require an user intervention. For example, some AJAX endpoints or a Web API for a mobile application. While you could use ASP.NET MVC for implementing those kind of services, that would require some extra work for implementing things right like content-negotiation, documentation, versioning, etc. What really matter is that both framework share many of the extensibility points like model binders, filters or routing to name a few."
Jacques Bosch

Securing your MVC Application - Ricka on MVC & Dynamic Data - Site Home - MSDN Blogs - 0 views

  •  
    "You cannot use routing or web.config files to secure your MVC application. The only supported way to secure your MVC application is to use a base class with an [Authorize] attribute, and then have each controller type subclass that base type. "
1 - 8 of 8
Showing 20 items per page