본문 바로가기 메뉴 바로가기

정훈's 프로그래밍

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

정훈's 프로그래밍

검색하기 폼
  • 😍 Jeong Hun.Story (1185)
    • CURSOR (5)
    • 프로젝트 문서화 (7)
    • Back End (191)
      • 🍀 Spring Boot (23)
      • ☠️ Java (65)
      • 🌈 .NET (86)
      • 🍕 .NET RESTful API (10)
      • 🍔 .NET Entity Framework Cor.. (4)
      • 🥧 Python (3)
    • Front End (79)
      • 🤢 Next.js (15)
      • 😤 React (12)
      • 🌈 Html (7)
      • 🌈 JavaScript (44)
    • deploy (11)
      • 💾 Github (4)
      • 🐳 Docker (7)
    • RDBMS (44)
      • Prisma (6)
      • SQL (4)
      • 🌈 MsSql (34)
    • Mobile (29)
      • 📱 SwiftUI (29)
    • 정보 보관 ver1.0 (747)
  • 방명록

😍 Jeong Hun.Story (1216)
HStack

A view that arranges its children in a horizontal line. var body: some View { HStack( alignment: .top, spacing: 10 ) { ForEach( 1...5, id: \.self ) { Text("Item \($0)") } } }

Mobile/📱 SwiftUI 2022. 6. 10. 10:54
VStack

A view that arranges its children in a vertical line. var body: some View { VStack( alignment: .leading, spacing: 10 ) { ForEach( 1...10, id: \.self ) { Text("Item \($0)") } } }

Mobile/📱 SwiftUI 2022. 6. 10. 10:52
List<T> -> String으로 변환

List names = new List() { "John", "Anna", "Monica" }; var result = String.Join(", ", names.ToArray()); var combined = String.Join(",", new String[]{"a","b"}); // a,b List names = new List() { "John", "Anna", "Monica" }; var result = String.Join(", ", names.ToArray()); using System.Linq string.Join(",", people.Select(x => x.surname))

Back End/🌈 .NET 2022. 5. 24. 15:23
String.Replace

여러건을 한번에 치환하기 Dictionary dic = new Dictionary() { {"", "rows chnaged to new value"} }; Console.WriteLine( dic.Aggregate ( "old change", (current, item) => current.Replace (item.Key, item.Value) ) );

Back End/🌈 .NET 2022. 4. 14. 11:27
List<Object>.Where<>를 사용하여 각 항목별 유효성 체크

List 객체에 특정 값이 존재하는지 Where을 사용하여 확인 하는 예제입니다. var isThereEmptyValueInSkuNo = warehouseOutScanningInfo.Where(valueCheck => string.IsNullOrWhiteSpace(valueCheck.sku_no)); if (isThereEmptyValueInSkuNo.Count() > 0) { // 메세지 }

Back End/🌈 .NET 2022. 3. 24. 15:00
C# preprocessor directives(전처리 지시문)

#if (DEBUG && !MYTEST) Console.WriteLine("DEBUG is defined"); #elif (!DEBUG && MYTEST) Console.WriteLine("MYTEST is defined"); #elif (DEBUG && MYTEST) Console.WriteLine("DEBUG and MYTEST are defined"); #else Console.WriteLine("DEBUG and MYTEST are not defined"); #endif

Back End/🌈 .NET 2022. 3. 22. 18:00
포멧(format) 과 시퀀스(sequence)

create sequence dbo.seq_name as [int] start with 1 increment by 1 maxvalue 999999 declare @grn_sequence_no int = next value for dbo.seq_name select format(getdate(), 'yyyyMMdd') + '-' + format(@grn_sequence_no, 'd6') 참조 자료] 날짜 및 시간 스타일 https://docs.microsoft.com/ko-kr/sql/t-sql/functions/cast-and-convert-transact-sql?view=sql-server-2017 포멧(Format) https://docs.microsoft.com/ko-kr/sql/t-sql/func..

RDBMS/🌈 MsSql 2022. 3. 22. 17:17
WebClient

WebClient wc = new WebClient(); wc.Encoding = System.Text.Encoding.UTF8; string api_key = ""; string url = "https://"; var data = wc.DownloadString(url);

Back End/🌈 .NET 2021. 9. 16. 16:07
row_number() without over

SELECT columName , ROW_NUMBER() OVER(ORDER BY (SELECT NULL)) AS rownum FROM dbo.Transactions 참조 사이트 https://stackoverflow.com/questions/44105691/row-number-without-order-by

RDBMS/🌈 MsSql 2021. 7. 12. 15:30
제너릭 형식 메소드

var test1 = this.Wordbook.WordbookListT(1); var test2 = this.Wordbook.WordbookListT(1); T IWordbook.List(long memberNo) { if(typeof(T) == typeof(List)) { return (T)Convert.ChangeType(this.DoctorslDCC.Wordbook_Select_List_AtWordView(memberNo).ToList(), typeof(T)); } else if (typeof(T) == typeof(List)) { return (T)Convert.ChangeType(this.DoctorslDCC.Wordbook_Select_List_My(memberNo).ToList(), type..

Back End/🌈 .NET 2021. 5. 30. 19:46
이전 1 ··· 29 30 31 32 33 34 35 ··· 122 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
  • JangJeongHunWorld
  • 닥터슬랭
TAG
  • React
  • jstl(java standard tag library)
  • REST API
  • 진수 변환
  • 메이븐(maven)
  • 문자 자르기
  • system.io
  • In App Purchase
  • 스프링 시큐리티(spring security)-http basic 인증
  • jsp 오픈 소스
  • System.Diagnostics
  • 람다식(lambda expression)
  • java web-mvc
  • .submit()
  • nl2br
  • 인텔리제이(intellij)
  • java.sql
  • 스프링 프레임워크(spring framewordk)
  • await
  • 스프링 프레임워크(spring framework)
  • 특정 문자를 기준으로 자르기
  • MainActor
  • 스프링 시큐리티(spring security)
  • 표현 언어(expression language)
  • jstl(java standard tag library)-core
  • java 키워드 정리
  • docker
  • java-개발 환경 설정하기
  • error-java
  • 제품 등록
more
«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바