블로그 이미지
This blog covers the latest technologies in Microsoft .Net. In 2020, I will be talking about Uno Platform frequently. http://youtube.com/FutureOfDotNet kaki104

카테고리

List All (621)
Uno Platform (5)
Visual Studio (7)
Blazor (2)
Windows App(Universa.. (110)
Xamarin Forms (4)
Bot Framework (19)
Azure (10)
Windows 10 (53)
WPF (7)
Facebook News & Tips (158)
Windows 8&8.1 (113)
Windows Phone 8 (42)
Silverlight (37)
HTML5 & MVC4 (16)
Portable Class Library (2)
Uncategorised Tips a.. (3)
Kinect for Windows (2)
ETC (12)
kaki104 Scrap (4)
App News (13)
Total565,953
Today10
Yesterday106

Register Desktop Bridge app and UWP app as Startup program

Future Of DotNet
https://youtube.com/FutureOfDotNet

UWP앱을 시작프로그램으로 등록/삭제하는 방법입니다.

Youtube : https://youtu.be/5cI6oS0HLOQ
Blog : https://kaki104.tistory.com/664
Git : https://github.com/kaki104/StartupSample

Reference

Desktop Bridge vs UWP

  • How
  • Namespace
  • EntryPoint
  • Enabled
  • Multiple startupTask
  • Diabled/Enabled

Constrained in UWP apps

  • The default is Disable
  • Show a user-prompt dialog for UWP apps
  • StartupTask includes a Disable method
  • If the user disables, then the prompt is not shown again
  • If the feature is disabled by local admin or group policy, then the user prompt is not shown, and startup cannot be enabled
  • Platforms other than Desktop that don’t support startup tasks also report DisabledByPolicy

Package.appxmanifest

<Application>
    <Extensions>
        <uap5:Extension Category="windows.startupTask“ Executable="StartupXXX.exe“ EntryPoint="StartupXXX.App">
            <uap5:StartupTask TaskId="StartupXXX“ Enabled="false“ DisplayName="StartupXXX“/>
        </uap5:Extension>
    </Extensions>
</Application>

MainPage.xaml.cs

var startupTask = await StartupTask.GetAsync("StartupXXX");
StartupTaskState newState = await startupTask.RequestEnableAsync();

App.xaml.cs

protected override void OnActivated(IActivatedEventArgs args)

var staea = args as StartupTaskActivatedEventArgs;
rootFrame.Navigate(typeof(MainPage), staea.TaskId);
Window.Current.Activate();

Register startup program.pdf
190.9 kB

Posted by kaki104

댓글을 달아 주세요

WebView2 Control Preview 버전이 얼마전에 공개되었습니다.

Introduction to Microsoft Edge WebView2 (Preview)

  • https://bit.ly/3alYpOW
  • 응용 프로그램에 웹 기술(HTML, CSS 및 JavaScript)을 포함 할 수 있음
    Microsoft Edge (Chromium)을 렌더링 엔진으로 사용 – 호환성 향상
  • Preview 버전이므로, 프로덕션 앱에 이 버전을 사용 금지

Supported platforms

  • Environments
    • Win32 C/C++
    • .NET Framework 4.6.2 or later
    • .NET Core 3.0 or later
    • WinUI 3.0
  • Windows
    • Windows 10
    • Windows 8.1
    • Windows 8
    • Windows 7
    • Windows Server 2016, 2012, 2012 R2, 2008 R2

Getting started with WebView2 in WPF (Preview)

  • https://bit.ly/31O9wMM
  • Prerequisites
    • Microsoft Edge (Chromium) Canary channel installed on Windows 10, Windows 8.1 or Windows 7
    • Visual Studio 2017 or later
  • 오류 해결

WebView2 nuget package

  • Important
    • Ensure you check Include prerelease, select a prerelease package in Version, and then choose Install.
  • 8/17/2020
    • Microsoft.Web.WebView2 version 0.9.579-prerelease
      • Minimum Microsoft Edge version 86.0.579.0
    • Canary Microsoft Edge version 86.0.608.0
      • How to check the version
        • … → Help and feedback → About Microsoft Edge

Youtube :

Microsoft Edge(Chromium) WebView Control.pdf
0.34MB

Posted by kaki104

댓글을 달아 주세요

  • Uno Platform을 이용해서 간단한 RSS Reader를 만드는 강좌입니다. Part1과 Part2로 나누어 짐니다.
  • This is a course to create a simple RSS reader using the Uno Platform. It is divided into Part1 and Part2.
  • Setting up your development environment

  • What is the nuget package for using MVVM

  • Refractored.MvvmHelpers

  • RSS Reader Step1

    • Goal

      • Creating an RSS Reader app with one page
    • Create Uno project
    • Nuget packages
  • RSS Reader Step2

    • Settings

    • Controls

  • 추가사항
    • Wasm 프로젝트는 실행해도 결과가 출력되지 않습니다. 이유는 크로스도메인 정책으로 인해 RSS 데이터를 가지고 올 수 없기 때문입니다. 이 부분은 해결을하는 데로 추가하도록 하겠습니다.
  • source
    . https://github.com/kaki104/SimpleRSS.UNO

 

kaki104/SimpleRSS.UNO

Creating a simple RSS app using the Uno Platform. Contribute to kaki104/SimpleRSS.UNO development by creating an account on GitHub.

github.com

  * Youtube : youtu.be/CQBfyTSV5uc

 

Posted by kaki104

댓글을 달아 주세요

What's new in ML.NET

Visual Studio / 2020. 6. 17. 19:58

//Build2019에서 발표된 세션을 기준으로 작업했습니다.

  1. ML.NET introduction session
    Introducing ML.NET : https://aka.ms/mlnetbuild2019

  2. What is ML.NET

  • ML
  • ML.NET
  1. ML.NET runs anywhere

  2. A few things you can do with ML.NET

  3. ML.NET Model Builder

  4. DEMO

  5. ML.NET CLI

  6. Database Loader

  7. What if I want to classify based on my own custom domain?

  8. 동영상

    1. youtu.be/52bHpUGdeCs

 

 

'Visual Studio' 카테고리의 다른 글

What's new in ML.NET  (0) 2020.06.17
Modernizing .NET Desktop Applications with .NET Core  (0) 2019.10.07
What's New In C# 8.0 Part 2  (0) 2019.09.30
What's New in C# 8.0 Part 1  (0) 2019.09.29
.NET Conf 2019 Keynote 정리  (0) 2019.09.26
Offline Visual Studio 2019 perfect installation  (0) 2019.09.08
Posted by kaki104

댓글을 달아 주세요

How to deploy UWP apps
- Microsoft Store
- App Installer
  . After Windows 10 version 1803
  . Can be installed Local, Shared Folder, or on the Web

For developers
- Settings -> Update & Security -> For developers -> Sideload apps
- Sideload apps must be selected in order to install apps outside of the Microsoft Store.

Install Windows 10 apps with App Installer

Create an App Installer file with Visual Studio
- Doc
  . Windows 10 version 1803 or higher
  . Visual Studio 2017 version 15.7 or higher
  . Create sideload apps that can be automatically updated using .appinstaller files
  . UWP TargetPlatformMinVersion version 1803 or higher
- Work
  . Windows 10 version 1909
  . Visual Studio 2019 version 16.5.4

Demo
- Create UWP app

Package
- UWP app project -> Right-click -> Publish -> Create App Packages…
- Click the Create button to create a test certificate
- Enter additional simple information
- Enter additional simple information

Select and configure packages
- Choose the platform you want to support
- For release of the full version, please select a Release

Configure update settings
- Installer location
  . Enter the location to copy the installation files
  . You can enter the web path, shared folder path, and local folder path.
  . Copy the completed distribution package to the folder you just entered.
  Ex) Web https://hellobotstorage.z12.web.core.windows.net/apps
  Ex) Local c:\install
  Ex) Shared Folder \\kakiserver\home\apps

Finished creating package
- Output location
  . This is where the package was created.
  . Click the link to open the folder with File Explorer.
  . Copy files to the installer location

Install apps from web
- I use Static Web in Azure
https://hellobotstorage.z12.web.core.windows.net/apps

Installation failed
- Either you need a new certificate installed for this app package…
- If you buy a signed certificate and use it, this is not necessary.
- Certificate Sales Site I Know

Install Certificate
- Additional Links -> Publisher Certificate
- Install Certificate… -> Local Machine -> Place all certificates in the following store -> Trusted Root Certification Authorities -> OK
- Next -> Finish

Update app on the web
- Create an updated version and copy it to the installation location
- Run the installed apps (check for update version existence)
- App exit
- Re-run the app(update progress)

 

https://youtu.be/uedWhxNSs3Y

 

'Windows App(Universal App) > Beginner' 카테고리의 다른 글

Face detecting in UWP app  (0) 2020.08.06
Create a UWP app with File System Access  (0) 2020.07.24
Install and update UWP apps from the Web  (0) 2020.04.25
LINQ - Join Operations - part5/5  (0) 2020.04.15
LINQ part 4  (0) 2020.02.11
LINQ part 3  (0) 2020.02.04
Posted by kaki104

댓글을 달아 주세요

마이크로소프트에서 얼마전에 공개한 듀얼 스크린 경험이라는 동영상의 15분 설명 입니다.

원문
Microsoft 365 Developer Day Dual-screen experiences
https://youtu.be/2k1wBi90L-Y

마이크로소프트가 2019년 10월에 공개했던 Surface Neo, Duo 디바이스를 새로운 폼펙터라고 이야기를 했던 이유가 공개 됩니다.

MS는 다 계획이 있었습니다.

https://youtu.be/zz-91PEjuvA

 

Posted by kaki104

댓글을 달아 주세요

 

안녕하세요 Future Of DotNet입니다.

 

dotNet Conf에서 발표한 세션을 정리해 보았습니다.

 

1. Upgrades for Windows desktop development

 

2. Agenda

- Why should you care about .NET Core for desktop

- .NET Core or .NET Framework for my app

- Porting to .NET Core

- Fixing porting issues

- Tolling for desktop on .NET Core

-- Winforms designer Preview 1

 

3. Why .NET Core for desktop

 

4. How to choose : .NET Framework or .NET Core?

 

5. How compatible is my app with .NET Core?

 

6. Porting

 

7. Porting by hand

 

8. Porting with Try Convert

 

9. Windows Compatibility Pack

 

10. WinForms Designer Preview 1

 

https://youtu.be/yjumXnxA3tE

 

'Visual Studio' 카테고리의 다른 글

What's new in ML.NET  (0) 2020.06.17
Modernizing .NET Desktop Applications with .NET Core  (0) 2019.10.07
What's New In C# 8.0 Part 2  (0) 2019.09.30
What's New in C# 8.0 Part 1  (0) 2019.09.29
.NET Conf 2019 Keynote 정리  (0) 2019.09.26
Offline Visual Studio 2019 perfect installation  (0) 2019.09.08
Posted by kaki104

댓글을 달아 주세요

안녕하세요. Future Of DotNet입니다.


닷넷 컨퍼런스 2019에서 발표된 C# 8.0에 대한 두번째 세션을 정리해 보았습니다.

Support modern cloud scenarios
- Async enumerables
- More patterns in more places
- Default interface members
- Indices and Ranges

Increase your productivity
- Using statement
- Static local functions
- Readonly members
- Null coalescing assignment
- Unmanaged constraint
- Interpolated verbatim string


감사합니다.

PS. 요즘 서피스에서 녹화해서 바로 올리기 때문에 해상도가 꽉 차지 안는 것 같습니다. 양해 부탁드립니다.

 

https://youtu.be/JO3DVp6Ahkc

 

'Visual Studio' 카테고리의 다른 글

What's new in ML.NET  (0) 2020.06.17
Modernizing .NET Desktop Applications with .NET Core  (0) 2019.10.07
What's New In C# 8.0 Part 2  (0) 2019.09.30
What's New in C# 8.0 Part 1  (0) 2019.09.29
.NET Conf 2019 Keynote 정리  (0) 2019.09.26
Offline Visual Studio 2019 perfect installation  (0) 2019.09.08
Posted by kaki104

댓글을 달아 주세요

안녕하세요 Future Of DotNet입니다.

 

2019년 9월 23-25일까지 Microsoft .NET Conf 2019가 열리고 있습니다.

키노트가 공개되어서 간단하게 정리를 해보았습니다.

앞으로 닷넷이 어떻게 변하게될지..무섭습니다.

 

프로젝트 진행 중이라 자주 글을 쓰지 못해서 송구합니다.

이번 컨퍼런스 중에 제가 관심있는 내용들에 대해서는 간단하게라도 정리를 해서 빨리 올리도록 하겠습니다.

감사합니다.

 

https://youtu.be/abfwVP1nwyM

 

Posted by kaki104

댓글을 달아 주세요

Win32 데스크탑 어플리케이션인 WinForm과 WPF를 .NET Core 3.0으로 왜 변환을 해야하는지, 어떤 장점이 있는지, 어떻게 변환을 하는지에 대해서 살펴 보도록 하겠습니다.

 

영문 원본 : https://youtu.be/F4v-rNXHyIE

 

* .NET open source
* Reason to port to .NET Core
* Step-by-step porting guide
* Porting
* How to keep using designers
* Windows Compatibility Pack
* Detecting Platform Compatibility Issues
* DEMO

 

유튜브 : https://youtu.be/EVO7XdngSvE

 

Posted by kaki104

댓글을 달아 주세요