[윈도우] WebView2

Code 2020. 9. 30. 01:00

WebView2

    

    - 윈도우 앱에 웹 브라우저 기능(HTML, CSS, JavaScript)를 포함시킬수 있는 기능



Introduction to Microsoft Edge WebView2 (Preview)

https://docs.microsoft.com/en-us/microsoft-edge/webview2/



 

OS : Windows 10 (~7) , 

    Windows Server 2019 (~ 2008)



지원 플랫폼: 

Win32 C/C++ (VC++)

.NET Framework 4.6.2 or later (C#)

.NET Core 3.0 or later

WinUI 3.0

 


필요 사항

* Microsoft Edge (Chromium) 

https://www.microsoftedgeinsider.com/ko-kr/download



* WebView2 SDK

https://www.nuget.org/packages/Microsoft.Web.WebView2



    - WebView2 Runtime 다운로드

https://developer.microsoft.com/ko-kr/microsoft-edge/webview2/




//-----------------------

Getting started with WebView2 (Win32) (developer preview)

https://docs.microsoft.com/en-us/microsoft-edge/webview2/gettingstarted/win32





//--------------------

샘플 코드

https://github.com/MicrosoftEdge/WebView2Samples





//--------------------------------------------------------------------------

// 참고

 

//--------------------------------------------

< 윈도우 UI 기술>

* WPF(Windows Presentation Foundation)

https://docs.microsoft.com/ko-kr/visualstudio/designers/getting-started-with-wpf?view=vs-2019

    - 데스크탑용 UI프레임워크 ,  .NET 에 포함



* Windows Forms

https://github.com/dotnet/winforms

    -  UI프레임워크 ,  .NET 과 Mono Framework 에 포함 



* UWP(Universal Windows Platform)

https://docs.microsoft.com/ko-kr/windows/uwp/get-started/universal-application-platform-guide

    - WinRT API를 사용, Win32 API와 .NET 클래스를 사용 가능



* WinUI 3

https://github.com/microsoft/microsoft-ui-xaml

https://docs.microsoft.com/ko-kr/windows/apps/winui/winui3/

    - Win32와 UWP 통합

    - 환경 : Windows 10 1803 이상 

        , Visual Studio 2019 v16.7.2 이상

        .NET 5 이상




//------------------------------------------------

< Microsoft Project Reunion >

https://github.com/microsoft/ProjectReunion

    - Win32 와 UWP 앱 통합하는 프로젝트

    - 핵심 기술 :  WinUI 3, WebView2 , MSIX



* WebView2

https://docs.microsoft.com/en-us/microsoft-edge/webview2/

    - 앱에 웹 기능 통합



* MSIX

https://docs.microsoft.com/en-us/windows/msix/overview

https://github.com/microsoft/msix-packaging

    - 윈도우 앱 패키지 포맷, Win32, WPF, and Windows Forms 




//---------------------------------

.NET 5

https://devblogs.microsoft.com/dotnet/introducing-net-5/

    - 2020년 11월경 출시 예정인 .NET 프레임워크 버전

    - .NET + .NET Core + Mono (통합)

 

작동 환경 : Windows, Linux, macOS, iOS, Android, tvOS, watchOS , WebAssembly , ...

    - 데스크탑, 모바일, IoT, 웹, 게임




반응형

'Code' 카테고리의 다른 글

2020년 프로그래밍 언어 인기 순위  (0) 2020.12.11
[Docker] 도커 사용법  (0) 2020.11.25
[정규식] 단어 AND, OR 연산  (0) 2020.09.21
자연어 처리(Natural Language Processing) 이론 용어  (0) 2020.09.07
영영사전 API  (0) 2020.09.02
Posted by codens