Тёмный

Class Diagram in Visual Studio 2019 | Class Designer Getting Started 

Hacked
Подписаться 29 тыс.
Просмотров 164 тыс.
50% 1

Class Diagram in Visual Studio 2019 | Class Designer Getting Started
Design, visualize, and refactor classes and other types in your code with Class Designer in Visual Studio. Use class diagrams to create and edit classes in your C#, Visual Basic, or C++ project. You can also use class diagrams to understand your project structure better or reorganize your code.
Class diagrams show the details of types, for example, their constituent members, and the relationships between them. The visualization of these entities is a dynamic view into the code. This means that you can edit types in the designer and then see your edits reflected in the source code of the entity. Similarly, the class diagram is kept in sync with changes you make to code files.
Design: Edit your project's code by editing the class diagram. Add new elements and delete unwanted ones. Your changes are reflected in code.
Visualize: Understand your project's structure by viewing the classes in your project on a diagram. Customize your diagram so that you can focus on the project details that you care about the most. Save your diagram to use later for demonstration or documentation.
Refactor: Override methods, rename identifiers, refactor parameters, and implement interfaces and abstract classes.

Опубликовано:

 

25 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 71   
@starmole5000
@starmole5000 3 года назад
I feel like i've been missing this capability for years! Thanks a lot!
@hacked101
@hacked101 3 года назад
You are welcome
@vladchulskyi8077
@vladchulskyi8077 2 года назад
Wow, that's fantastic explanation, very clear and simple. Thank you very much for your work.
@hacked101
@hacked101 2 года назад
You are welcome
@essammohammed8694
@essammohammed8694 10 месяцев назад
Thanks, quick question, I did not see you add Category Id as a foreign key feature to Product class, why some people add such foreign key (cat_id) into the class along side with ( Category ProductCategoryP ) which they are usually called as navigation property. is that necessary to use with particular technique like EF ?
@hacked101
@hacked101 10 месяцев назад
That will be inside the productcategory
@factboxtv101
@factboxtv101 3 года назад
Nice video on class diagram, thank you
@hacked101
@hacked101 3 года назад
You are welcome
@bruggyanderson1397
@bruggyanderson1397 2 года назад
Is there functionality available to have this process work inversely? As in, you could open a pre-written project and the class diagram would populate based on the existing code?
@hacked101
@hacked101 2 года назад
Try code maps
@aldenheterodyne2833
@aldenheterodyne2833 2 года назад
It looks like this would be impractical on a large already established codebase- lots of clicking on classes by hand. That's impractical for me because I'm looking at such a large codebase that I'm completely unfamiliar with. Is there any way to automate the process? Is it already automated and I just missed it in the video?
@hacked101
@hacked101 2 года назад
Will make a new video on visual studio 2022 on this topic shortly
@michaelaldeni6447
@michaelaldeni6447 2 года назад
Hi, thanks for the video! I have a problem: when I create an empty project, class diagram interface doesn’t let me add classes, enum, structs etc, but only comments. Can you help me?
@hacked101
@hacked101 2 года назад
Will make an up to date video on this shortly
@denis-florinboboi7601
@denis-florinboboi7601 2 года назад
yeah, I have the same problem
@adesakinadedapo1509
@adesakinadedapo1509 2 года назад
Thanks so much for the video quite understanding
@hacked101
@hacked101 2 года назад
You are welcome
@appstuff6565
@appstuff6565 7 дней назад
Thank you for this! is this available for vs code?
@hacked101
@hacked101 6 дней назад
You are welcome. I will look into that shortly
@cinismovirtual
@cinismovirtual 3 года назад
2:16 to 2:43 is the part where class diagram is enabled in VS installer.
@hacked101
@hacked101 3 года назад
Ok
@idan4848
@idan4848 Год назад
thanks! very helpful
@hacked101
@hacked101 Год назад
You are welcome
@m01s3s93
@m01s3s93 3 года назад
Thanks!I have been looking this way to render class structured of a .NET project
@hacked101
@hacked101 3 года назад
You are welcome
@marceloamado6223
@marceloamado6223 3 года назад
Thank you! You saved me a lot of time!
@hacked101
@hacked101 3 года назад
You are welcome
@scotolivera8207
@scotolivera8207 3 года назад
Very helpful thanks, subscribed
@hacked101
@hacked101 3 года назад
You are welcome
@salmanyasin9490
@salmanyasin9490 3 года назад
Amazing video Thanks for this
@hacked101
@hacked101 3 года назад
You are welcome
@spyro2008
@spyro2008 10 месяцев назад
Thank you!
@hacked101
@hacked101 10 месяцев назад
You are welcome
@prasadmadushan
@prasadmadushan 3 года назад
Great content. thanks, for sharing
@hacked101
@hacked101 3 года назад
You are welcome
@mmx969
@mmx969 3 года назад
Thank you, comrade!!
@hacked101
@hacked101 3 года назад
You are welcome
@ВолодимирГошівський-ч2г
I installed class designer but there is no class diagram in items list(
@weronikagolinska3814
@weronikagolinska3814 2 года назад
same here
@hacked101
@hacked101 2 года назад
Gonna make an up to date video with visual studio 2022 shortly
@user-oh2bk6mx6z
@user-oh2bk6mx6z 3 года назад
Hello, thank you for this! I've been doing what you stated yet I kept on encountering Error Code 0x80004005 E_FAIL every time I click on the class diagram found on solution explorer. Can you help me please? Thank you so much and have a nice day ahead!
@hacked101
@hacked101 3 года назад
You are welcome, please provide more details
@gelordtube
@gelordtube 2 года назад
Hi, do you have some video with many to many, one to one?
@hacked101
@hacked101 2 года назад
I'll make a video on that shortly thanks
@bystronq
@bystronq Год назад
thank you
@hacked101
@hacked101 Год назад
You are welcome
@leonardosandoval8418
@leonardosandoval8418 3 года назад
Sorry but in moment that u press add, the only thing that I see is comment...
@hacked101
@hacked101 3 года назад
Please can you be more specific
@obaidaqeel7443
@obaidaqeel7443 3 года назад
Helpfull
@hacked101
@hacked101 3 года назад
No doubt
@HCShuffle
@HCShuffle 3 года назад
i can't select a class diagram, its just not there.
@hacked101
@hacked101 3 года назад
Have you installed the class designer?
@HCShuffle
@HCShuffle 3 года назад
@@hacked101 nope, that was indeed the issue.
@hacked101
@hacked101 3 года назад
No doubt
@jakub-lt8gl
@jakub-lt8gl 3 года назад
Have u downloaded it
@michaelstevefox
@michaelstevefox 3 года назад
some one konws how to put black sscreen for default its white?
@aldenheterodyne2833
@aldenheterodyne2833 2 года назад
Go to your menu (top left part of your screen), drop down "tools". At the very bottom of the "tools" drop down, you will see a cog icon that says "Options". Click options. This will bring up a window. There's a search bar in the top left of the window. In that search bar type "Environment". When you expand "Environment" you should see "General". Click on "General". The right side of the window should say "Visual Experience" and the first thing underneath that should say "color theme" with a drop-down menu next to it. Look for "dark". Press okay. Summary: Tools> Options> Environment> General> Color Theme> Dark. Then click "ok".
@A_walk_in_the_park
@A_walk_in_the_park 3 года назад
How to do this in asp. Net core mvc?
@hacked101
@hacked101 3 года назад
Check out the channel, have a video on that
@quietackshon
@quietackshon 3 года назад
2:21 is the juice.
@islamomar672
@islamomar672 3 года назад
thanks
@hacked101
@hacked101 3 года назад
You are welcome
@jphvnet
@jphvnet 3 года назад
Stupid thing --> Stupid me that I did not found it in the menu and thinking "what's wrong?". Thanks!!!
@hacked101
@hacked101 3 года назад
Sure
@amitzohar3107
@amitzohar3107 3 года назад
thanks. 2109 -> 2019
@hacked101
@hacked101 3 года назад
Changed thanks
@ckpydjic
@ckpydjic 2 года назад
эдинствинный нормальный гайд
@zackvillalta9253
@zackvillalta9253 2 года назад
Wow that’s so good … you’re crack… you can help me please with a exercise in C# about class diagram and OOP if you help me i would really appreciate it:)♥️🫶🏻
@hacked101
@hacked101 2 года назад
No doubt
@caseyspaulding
@caseyspaulding Год назад
Thanks!
@hacked101
@hacked101 Год назад
You are welcome