https://github.com/dotnet/windows-desktop
https://github.com/dotnet/windows-desktop
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dotnet/windows-desktop
- Owner: dotnet
- Created: 2019-02-26T00:04:27.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2023-07-07T21:44:38.000Z (almost 2 years ago)
- Last Synced: 2025-01-30T07:42:33.611Z (3 months ago)
- Size: 361 KB
- Stars: 87
- Watchers: 14
- Forks: 72
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Code of conduct: CODE-OF-CONDUCT.md
Awesome Lists containing this project
README
# Windows Desktop Application Modernization Guidance
This repo contains information to help you modernize your .NET desktop applications. We are prioriizing the following *high level* topics to document and provide samples, but feel free to suggest new topics in our [issues](https://github.com/dotnet/windows-desktop/issues) section.
### Porting WPF and WinForms apps to .NET Core 3
Samples, options, tips and tricks to convert WPF and WinForms projects based on .NET Framework to .NET Core 3.
- [How to: Port a Windows Forms desktop app to .NET Core](https://docs.microsoft.com/en-us/dotnet/core/porting/winforms)
- [How to: Port a WPF desktop app to .NET Core](https://docs.microsoft.com/en-us/dotnet/core/porting/wpf)### Using Windows 10 features in WPF and WinForms apps
Windows 10 include a number of APIs that are accessible from Windows 10 SDKs. You can use these APIs in .NET apps by using the Microsoft.Windows.SDK.Contracts NuGet package. [More information](/docs/win10apis/README.md)
### Data Access
ADO.NET can be used in .NET Core 3 applications, however not all data source providers are available.
We have plans to support Entity Framework 6 in .NET Core, and Entity Framework Core is already supported.
Other non-relational data stores (such as CosmosDB) are also available to .NET Core.
### Connecting to Services
WCF has been partially ported to .NET Core 3; however, there is no support for WCF server. WCF clients features are documented here. Additional services that support .NET Core will be included as well.
### Deployment
.NET Desktop applications can be deployed with [MSIX](https://docs.microsoft.com/windows/msix/). To create MSIX packages you can use the [Windows Application Packaging Project](https://aka.ms/wapproj) available in Visual Studio 2019.
>Note: To package .NET Core 3 applications you must use Visual Studio 2019 Update 1 Preview or later.
### Known issues
- AppDomains
- Remoting
- WCF Server
- WCF Client supported features
- Non-String Resources## Samples
- BeanTraders
- WPF Concepts
- Memory Game