Tags:
Node Thumbnail

ไมโครซอฟท์เปิดตัว .NET Core 3 Preview 1 ให้คนทั่วไปดาวน์โหลดความเปลี่ยนแปลงสำคัญคือมีไลบรารีเดสก์ทอปแล้ว หลังจาก .NET Core 2 ตัดส่วนนี้ออกไป

ตัว .NET Core เป็นโอเพนซอร์สในเวอร์ชั่นนี้ก็ยังเป็นเช่นเดิม โดยไมโครซอฟท์เปิดซอร์ส WPF, Windows Form, และ WinUI ออกมาพร้อมกัน โดยเฉพาะตัว WPF และ Windows Form นั้นอยู่ภายใต้ .NET Foundation และมีผู้ทั้งกูเกิล, เรดแฮต, ซัมซุง, Unity เข้ามาสนับสนุน

ความเปลี่ยนแปลงในตัวไลบรารีหลักมีอีกหลายอย่าง เช่น การรองรับ IoT ด้วยการรองรับพอร์ต UART บนลินุกซ์, รองรับ GPIO, PWM, SPI, และ I2C ส่วนในแง่ความปลอดภัยรองรับ TLS 1.3

ตัวแพลตฟอร์มรองรับ Windows 7, 8, 10, Windows Server 2012 R2 SP1+, macOS 10.12+, ลินุกซ์สายหลักทั้ง RHEL, Fedora, Ubuntu, Debian, SLES, OpenSUSE, Alphine ซีพียูรองรับทั้ง x86, x86-64, ARM32, และ ARM64

note: พาดหัวแรกของข่าวนี้ระบุว่า แอปเดสก์ทอปจะรองรับบนลินุกซ์ด้วย อันนี้เป็นความเข้าใจผิดของผมเอง โดยแม้จะโอเพนซอร์สไลบรารีออกมาแต่ยังซัพพอร์ตเฉพาะวินโดวส์ จึงลบพาดหัวนี้ออกไป

ที่มา - MSDN

No Description

Get latest news from Blognone

Comments

By: sukjai
iPhoneAndroidRed HatUbuntu
on 5 December 2018 - 07:37 #1085404

แจ่มเลยครับ

By: frank153 on 5 December 2018 - 08:21 #1085413

คงจะไม่ได้เห็นแอป .NET บน Linux/Mac ได้ง่ายง่ายเพราะว่าใน Repository ทาง Microsoft เขียนไว้ว่า

"We also do not intend to accept contributions that provide cross-platform implementations for Windows Forms or WPF."

By: hisoft
ContributorWindows PhoneWindows
on 5 December 2018 - 08:58 #1085416 Reply to:1085413
hisoft's picture

Just like @dotMorten says, we are not taking cross-platform implementations, per our Contributor Guide.
We look forward to many contributions to WPF. This request is out of scope for the project.
From a technical standpoint, WPF depends on multiple Windows components: D3D (DirectX), DWrite, User32, GDI+, WISP (Touch), and several others (including Windows Runtime dependencies). The interaction with these components is complex, critical and not architected with cross-platform in mind. As a result, our focus is on completing open source of WPF and bringing it to parity with .NET Framework.
I am closing this issue as a result.

Make WPF cross-platform (MacOS and Linux support)

By: Architec
ContributorWindows PhoneAndroidWindows
on 5 December 2018 - 10:06 #1085430 Reply to:1085413

อ่านจบแล้ว รู้สึกเสียดายเวลาที่หมดไปกับการลง mac

สงสัยว่าทำไมไม่ทำแบบ Swing ไปเลยว้า

By: soullz
AndroidUbuntu
on 6 December 2018 - 10:37 #1085650
soullz's picture

รอ cross-platform ยังไงก็ต้องมา T_T