dotnet / wpf

WPF is a .NET Core UI framework for building Windows desktop applications.
MIT License
7k stars 1.16k forks source link

Do I have to install the framework to use an application built with the same framework?...and several other questions #9416

Open vsfeedback opened 1 month ago

vsfeedback commented 1 month ago

This issue has been moved from a ticket on Developer Community.


Hello everyone, I want to ask a group of questions.

I want to develop an application CRM, what is the appropriate technology to build it using .NET, with a mention of the reason, although I have thought about using WPF, I am confused about whether to use WPF .net or WPF .net framework.

Also, I want to make sure there is no difference between .NET and .NET core.

Finally, I have read that the .NET framework needs to be installed on the device in order for applications built using the .NET framework to work. Does this also apply to the .NET and other frameworks?

With regard to the first question, the WPF.NET documents recommend using the .NET, but there are websites that advised that I use the .NET framework, which made me confused because WPF is used to build Windows applications only, so what is the difference? The second question was due to the lack of clarity of the answers And thank you all.


Original Comments

Feedback Bot on 7/5/2023, 08:45 AM:

(private comment, text removed)

miloush commented 1 month ago

This could be converted to a discussion.

whether to use WPF .net or WPF .net framework.

Depends on your requirements. .NET Framework is not getting any updates or new features, while the .NET (Core) is being actively developed. Some newer language features will not be available for .NET Framework.

there is no difference between .NET and .NET core

Correct.

I have read that the .NET framework needs to be installed on the device

Both NET (Core) and .NET Framework need to be installed on the device for your application to run. .NET Framework comes preinstalled with Windows, so you might be able to deploy just binaries for your application. On the other side, .NET Core allows you to ship the framework with your application, so that you have the .NET version you want only for yourself.

WPF is used to build Windows applications only

Yes if you are using WPF UI then it will run on Windows only, regardless of the framework used.