S
S
Smilley2016-09-18 01:08:06
.NET
Smilley, 2016-09-18 01:08:06

How to correctly implement a project in .NET (WPF Desktop)?

Goodnight. At this stage, there is a project in Visual Studio, which is the following program:
Window, Ribbon, TabControl and StatusBar below. The ribbon contains buttons that add tabs to the TabControl, which in turn contain UserControls (implemented in MVVM). In total, there are about 40 UserControls now, and Solution Explorer is already starting to have problems finding the necessary files (each UserControl is stored in its own folder). In connection with the above, several questions arose:
- Shouldn't each UserControl be rewritten into its own separate project (.dll) and then dragged into the main window?
- what in general can be read about the correct architecture of the application (as far as I understand, the question is on this topic)?
- I would like to start working with versions of my project. Visual Studio Team Services seems to fit, where to start learning about this service?
Thanks in advance for advice and replies.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Stanislav Makarov, 2016-09-18
@Smilley

- Shouldn't each UserControl be rewritten into its own separate project (.dll) and then dragged into the main window?

Projects are best done by subsystems or large components in the project, taking into account the existing dependencies. Without seeing your situation, it is difficult to advise a specific solution, but in any case, it is unlikely that each control should be shoved into a separate project.
Better start with Git. Of course, you can work with Studio version control, but since you have not worked with anything at all, git will be a more universal skill due to its overwhelming popularity. And yes, the most important thing is that you will not have to immediately use some service, the project can be versioned on your machine and uploaded to VSTS if necessary. It's amazing how you haven't used any VCS yet, apparently you are a neat and patient person)
Yes, make sure you understand MVVM. It may be worth picking up a framework or building the base library yourself, if you already have some developments.

R
Rou1997, 2016-09-18
@Rou1997

Shouldn't each UserControl be rewritten into its own separate project (.dll) and then dragged into the main window?

Firstly, each one does not need to be separate, it must be ordered according to tasks, and secondly, namespaces can be made different in one DLL.
Just like you study everything else.

R
Roman, 2016-09-18
@yarosroman

Take a look at BitBucket, it allows you to create private repositories, unlike GitHub.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question