Answer the question
In order to leave comments, you need to log in
OpenSource projects in ASP.NET that can be seen as an example of project structure and code style?
For self-development, I want to look at other people's projects that are beautifully done. First of all, the organization of projects, the style of the code are of interest. Please, tell me the known OpenSource projects on ASP.NET (C#), which you should definitely pay attention to.
Answer the question
In order to leave comments, you need to log in
I know only educational projects, but I would like to see the real ones myself (with both web forms and mvc).
I think it's worth going from the general to the specific. In the future, we consider that we are talking about ASP.NET MVC 3 or 4 (although now even 5 seems to have come out, although I'm not sure about this).
Models, Views, Scripts, Controllers, App_Start are all the folders you might need. Perhaps, for any garbage like MembershipProvider, some helpers that you can’t take out at the domain level, you will need another Infrastructure folder.
We divide the server as standard - Project_Name.Web, Project_Name.Domain. If you want to move data access to a separate project - good luck.
More fun with the client.
First, it is worth remembering the difference between PartialView and EditorTemplates.
Secondly, you should split View into PartialView.
Thirdly, if you are using some fancy MVVM framework, then you should also separate your application scripts into separate folders.
And yes, I do not know of similar projects. =) I think that it is better to watch something big and incomprehensible behind the organization of the code. Like Razor or EntityFramework source code.
If I'm wrong about something, correct me.
We posted an example project on ASP.NET MVC using various design patterns and CQRS https://github.com/AlexanderByndyu/ByndyuSoft.Infr...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question