-
-
Notifications
You must be signed in to change notification settings - Fork 18
Validate Namespace organisation #8
Comments
Hi Daniel, I had fork this repository and working on the namespaces from web part. Regards, |
OSS is awesome, this is so cool that JHipster.NET takes off so quickly. |
Local lobbying ;-)
Le jeu. 14 févr. 2019 à 20:05, Julien Dubois <notifications@github.com> a
écrit :
… OSS is awesome, this is so cool that JHipster.NET takes off so quickly.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAkOnH3KboXfbN48pQri_hEQ1VkYxZulks5vNbN-gaJpZM4ax2QO>
.
|
I propose to track the application structure choices here:
The points not clear
@kbeaugrand @Authfix I need your help here! |
In Asp.net core, everything is a Controller. There is no more distinction (via inheritance or attribute) between an "Api" controller or a "Mvc" controller. Today, I try to have a project Api-oriented (without view engine) and/or Mvc-oriented (with view engine) but not both. By default, namespaces correspond to the Assembly name plus the folder hierarchy. That said :
Now, regarding JHipster.NET goals, I think usage of areas will add a complexity that is not necessary, especially in an Api-oriented context with Angular/React clients.
So there is no room in an API-oriented application for ViewModels. But there is a shiny place for ViewModels in an MVC-oriented application (with views like razor pages). My 2 cts ;) |
Currently the namespaces are inspired by the Java packages names of JHipster. The namespace organization and naming should follow the .Net convention and culture.
The text was updated successfully, but these errors were encountered: