Django applications equivalent in ASP.NET MVC?

I am currently developing Django, but I want to be prepared when a future client inevitably requests a site made in ASP.NET MVC. Although most of the structure and flow of ASP.NET MVC is more or less identical to Django and RoR, one part that I'm not sure about is the Apps methodology, which Django uses to make code reuse easier.

Is there an equivalent Django application in ASP.NET MVC? That is, can I create a feature like tagging, comments, an event calendar, a simple blog, etc. And talk about it, making it portable for other projects with the minimum glue code needed to integrate it? Perhaps some kind of plugin or modular system?

+6
django plugins asp.net-mvc
source share
3 answers

Django does not follow the traditional MVC pattern because they advocate that their MTV is more suitable in the Internet world. In general, I prefer Django over Rails because of django applications. You can do almost the same thing in RoR with Rails plugins, but it is not the same.

ASP.NET follows the RoR framework, and therefore you do not have reusable applications. If you check the folder structure in the MVC project, you cannot even find the folder of the RoR plugin, so I bet you should do it VisualStudio-Like.

Create a reusable application as a separate project, include links for this project in the main file, and simply redirect to other project controllers in your route file.

+6
source share

This may also be of interest: Application Areas

+1
source share

we tried to do something similar, albeit from a different angle. we use compositional controllers to increase reuse in bistro and ndjango as a template language. what we begin to see, controllers become more granular and, as a result, less dependent on where they are located - more compiled.

+1
source share

All Articles