440 likes | 450 Views
Explore the history from hyperlinks to modern SPA frameworks like Angular.js, React.js, and Blazor using .NET technologies. Learn about WebAssembly and the power of Blazor for full-stack development. Get started with Blazor now!
E N D
Korea Community Day 2019 • “SPA with C#, • Blazor” 원기욱 • kiwookwon@noblemade.net
Experimental. 형용사 1. (아이디어·방법 등이) 실험적인
Front-End 웹의 연대기 브라우저와 개발자 전쟁의 서막 1세대 2세대 3세대 4세대? 2010년 이전 웹의 성장기 모바일 지원 이슈 등장 1990년대 인터넷이 등장. 하이퍼텍스트 위주의 환경 2010년 이후 웹 표준 및 웹접근성 IE 폭망의 시대 현재? 프론트앤드 개발 부각 SPA 프레임워크의 다양성
Single Page Application 새로 고침 방식의 웹과의 작별 SPA Frameworks Angular.js React.js Vue.js 약장수
One way Ticket! 천하군림 유아독존!
Change the World! 내가 이세상을 바꾸리라!
Edge WEB ASSEMBLY Crome Firefox Opera
WebAssembly • Not JavaScript 그것이 알고 싶다. What is that? • Modern browser • Native speed
Whyuse.NET for browser? • Stability and consistency • Modern innovative languages • Industry-leading tools • Speed and scalability • Full-stack development that leverages existing skills • .
.NET C#
What is Mono? • Android, IOS, Mac OS • Cross Platform
Dev C# / Razor files mono.wasm WebAssembly binary MyApp.dll .NETRuntime Runtime (Browser) Browser APIs DOM, HTTP, etc.
Browser + Razor Blazor
What is Blazor? • .NET Based Client Side in Browser • Single Page Application • No Plug-in • .NET end-to-end
Get started with Blazor • .NET 3.0 Core SDK • (https://www.microsoft.com/net/learn/dotnet/hello-world-tutorial#install) • Visual Studio 2019 (Preview 2 or later)(https://www.microsoft.com/net/learn/dotnet/hello-world-tutorial#install) • Blazor Language Services extension • (https://marketplace.visualstudio.com/items?itemName=aspnet.blazor)
Blazor Demo
Menu Main Component
mono .NET dll
Blazor Demo
BROWSER .cshtml .cs App.dll Compile to .NET .NET (System.Core.dll, , mscorlib.dll,…) WebAssembly (mono.wasm)
Component • Nested • Razor or C# Code • Shared Class Libraries
http://localhost/ http://localhost/Counter
javascript C#
Blazor Demo
https://www.mono-project.com https://webassembly.org/ Blazor.NET