C#C
C#3d ago
Bulzo

[WPF] How to layout my WPF application

Hi everyone, I've been a python programmer for two years and I'm now interested in starting to learn WPF and C#. I am having major issues to switching from VS Code to Visual Studio 2022 but I've managed to create my first project. However, I'm struggling to create the proper layout for my app.

From what I read online, a nice way to structure a simple WPF app is having two separate projects that work together, the UI and the Core. It seems logic to me but I don't understand how to do so as I'm 0% familiar with what a solution is and how project work in Visual Studio. In python and more generally in VS Code I had simply files and folders I could organize, but now that structure is not the same if I use Visual Studio and I don't understand why.

Could someone explain to me why is this the case and how to create my first project with the two components semparated in two projects?

Thank you in advance for the time spent helping me.
Was this page helpful?