본문 바로가기

IT82

[javascript]call back Promise는 Javascript 비동기 처리에 사용되는 객체이다. 자바스크립트가 비동기를 유연하게 하기 윟나 골백 함수, 콜백함수 지옥, promise사용해야 하는 이유 비동기처리: 특정 코드의 연산이 끝날 때까지 코드 실행을 멈추지 않고 당므 코들르 먼저 실행하는 JS의 특성 비동기 처리의 가장 흔한 사례는 Ajax 이미지나 데이터를 서버에서 불러와 표시해야 하는데 이때 ajax 통신으로 해당 데이터를 서버로 가져올 수 있다. 1. 특정 로직의 실행이 끝날 때까지 기다려주지 얺고 나머지 코드를 먼저 실행하는 것 2. setTimeout() WebAPI의 한 종류로 코드를 바로 실행하지 않고 지정한 시간만큼 기다렸다가 로직을 실행 callback함수를 사용함녀 특정 로직이 끝났을 때 원하는 동작 실행.. 2020. 9. 7.
[.Net 교육] Day6 오전 3.1 -> 5.0 @ razor using System; using System.Net.Http; using System.Collections.Generic; using System.Threading.Tasks; using System.Text; using Microsoft.AspNetCore.Components.WebAssembly.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using BlazorApp9.Data; namespace BlazorApp9 { public class Program { publi.. 2020. 7. 22.
[.Net교육] Day 6 설치과정 https://devblogs.microsoft.com/aspnet/asp-net-core-updates-in-net-5-preview-7/?fbclid=IwAR2vFwIc3Lm4eKLFgKb1tDhMwTA0ErTIhQZFIDWUNgDQLDeAqpiOrkwXzeQ ASP.NET Core Updates in .NET 5 Preview 7 | ASP.NET Blog .NET 5 Preview 7 is now available and is ready for evaluation. Here’s what’s new in this release: Blazor WebAssembly apps now target .NET 5 Updated debugging requirements for Blazor WebAssembly .. 2020. 7. 22.
[.NET 교육] Day5 오전 Web Brower(css) HTML Template brower Markup Language Template Rendering Service CSS CSS ver2 Spark view engine Razor view Engine NoGet == nodejs npm MVC는 모델 = Data(execution?) service dataService Person.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BlazorApp4.Data { public class Person { public int Id { get; set; } = default; public.. 2020. 7. 21.
[c# 교육]day4 2 route Component client-side blazor webassembly -> mobile solution andriod Xplatform \watching TV VR- PersonService.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BlazorApp4.Data { public class PersonService { public Task GetPersonAsync() { List people = new List{ new Person{ Id =1,Age=11, Gender =true, Name="Son"}, new Person{ Id =2,.. 2020. 7. 20.
[C#] 상속 상속 (inheritance) 계층적인 관계 공통적인 특징을 정의하는 부모 클래스(parent class ; base or super)를 두고 자식 클래스(child class)에서 부모의 기능으을 물려 받는 식으로 처리 public class Computer { bool PowerOn; public void Boot() { } public void Shutdown() { } public void Reset() { } } public class Notebook: Computer{ bool fingerScan; // Notebook 타입에 해당하는 멤버만 추가 public bool HasFingerScanDevice() { return fingerScan; } } public class Desktop : .. 2020. 7. 10.