No Image

Making the app single-instanced (Part 3)

2022-01-29 KENNETH 0

Making the app single-instanced (Part 3) Single-instanced apps only allow one instance of the app running at a time. WinUI apps are multi-instanced by default. They allow you to launch multiple instances of the same app at one time, which we call multiple instances. However, you may implement single-instancing based on the use case of your app. Attempting to launch a second instance of a single-instanced app will only result in the first instance’s main window being activated instead. This tutorial demonstrates how to implement single-instancing. By the end of this section, you will be able to: 1. Turn off XAML’s generated Program code 2. Define customized MAIN method for redirection 3. Test single-instancing via app deployment Turn off XAML’s generated Program code We need to check for redirection as early as possible, and before creating any windows. To do [ more… ]

Adding event handlers: Sounds, Dark Mode & Windowing (Part 2)

2022-01-29 KENNETH 0

Adding event handlers: Sounds, Dark Mode & Windowing (Part 2) Adding event handlers: Sounds, Dark Mode & Windowing (Part 2) Note that in part 1 of the WinAppSDK Blog Series you implemented the visual layer of the DrumPad using WinUI 3 controls. However, if you click on any buttons, nothing happens, because we have not defined any actions, which we will do now. You will be guided to accomplish the following in this post:  Play a sound when a drum pad button is clicked Switch into dark mode when the toggle switch is turned on Go into a specific windowing mode when a presenter mode is selected Play a sound when a drum pad button is clicked Download sound clips to your project’s Assets folder NOTE: You may download any .wav sound clips for this part. Optionally, you could use [ more… ]

No Image

Build your first WinUI 3 app (Part 1)

2022-01-29 KENNETH 0

Build your first WinUI 3 app (Part 1) As part of the Windows App SDK, WinUI 3 provides a modernized UI framework for building Windows 10 and Windows 11. This 3-part blog aims to help members new to Windows development quickly build familiarity using the Window App SDK through a fun sample app. This post is only part 1 of the 3-part Windows App SDK blog and is scoped to showing you how to use WinUI 3 controls to create a simple working user interface. Part 2 and 3 are for windowing and single instancing. Sample app overview We are going to build an app with buttons that produce drum sounds (DrumPad). As simple as this demo app is, it shows some cool things you can do right away with the Windows App SDK (WinAppSDK):  Working with simple and easy-to-use [ more… ]

No Image

Amazon EC2 X2iezn 인스턴스 출시 – 최신 인텔 제온 스케일러블 CPU 기반 대용량 메모리 활용 가능

2022-01-29 KENNETH 0

Amazon EC2 X2iezn 인스턴스 출시 – 최신 인텔 제온 스케일러블 CPU 기반 대용량 메모리 활용 가능 Electronic Design Automation(EDA) 워크로드에는 높은 컴퓨팅 성능과 큰 메모리 공간이 필요합니다. 성능이 빠를수록 적은 수의 코어에서 더 많은 작업을 완료 할 수 있기 때문에 이러한 워크로드는 더 빠른 CPU 성능과 더 높은 클럭 속도에 민감합니다. AWS re:Invent 2020에서는 Amazon EC2 M5zn 인스턴스를 출시했습니다. 이 인스턴스는 2세대 인텔 제온 스케일러블 (캐스케이드 레이크) 프로세서를 사용하며 이는 모든 클라우드 인스턴스 중 가장 빠른 최대 4.5GHz의 올코어 터보 클럭 주파수를 지원합니다. 고객은 EC2 M5zn 인스턴스의 높은 단일 스레드 성능, 고속 네트워킹 및 균형 잡힌 메모리 대 vCPU 비율을 사용했습니다. 고객은 이러한 기능을 활용하는 동시에 vCPU당 더 많은 메모리 공간을 제공하는 인스턴스를 요청했습니다. 오늘은 M5zn 인스턴스와 동일하게 인텔 제온 스케일러블 프로세서를 사용하는 Amazon EC2 X2iezn 인스턴스를 출시합니다. 이 인스턴스는 올코어 터보 클럭 주파수가 4.5GHz이고 메모리가 최대 1.5TiB이며, 이는 EDA [ more… ]

Amazon Elastic File System(EFS) 자동 복제 기능 신규 출시

2022-01-28 KENNETH 0

Amazon Elastic File System(EFS) 자동 복제 기능 신규 출시 Amazon Elastic File System(Amazon EFS)을 사용하면 EC2 인스턴스, AWS Lambda 함수 및 컨테이너가 완전관리형 파일 시스템에 대한 액세스를 공유할 수 있습니다. 2015년에 처음 발표되어 2016년에 정식 출시한 Amazon EFS는 다양한 워크로드에 대해 지연 시간이 짧은 성능을 제공하며 동시 클라이언트 또는 연결을 수천 개까지 확장할 수 있습니다. 2016년 출시 이후 우리는 고객의 피드백을 계속해서 경청하고 혁신해 왔으며 이에 부응하여 많은 새로운 기능을 추가했습니다. 여기에는 Direct Connect를 통한 온프레미스 액세스(2016), 저장된 데이터 암호화(2017), 프로비저닝된 처리량 및 전송 중 데이터 암호화(2018년), 자주 액세스하지 않는 스토리지 클래스(2019), IAM 인증 및 액세스 포인트(2020), 저렴한 단일 영역 스토리지 클래스(2021) 등이 있습니다. Amazon EFS 복제 기능 소개 오늘 발표해 드릴 복제 기능을 사용하시면 EFS 파일 시스템의 사본을 자동으로 유지 관리함으로써 비즈니스 연속성을 보장하거나 재해 복구 전략의 일환으로 규정 준수 요구 사항을 충족할 수 있습니다. 단일 AWS 리전 내에서 또는 [ more… ]