Microsoft MVP성태의 닷넷 이야기
개발 환경 구성: 212. Visual Studio Online과 "Monaco" 서비스 연동 [링크 복사], [링크+제목 복사],
조회: 22412
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

Visual Studio Online과 "Monaco" 서비스 연동

지난번 글에서 "Monaco" 서비스와 github 연동하는 방법을 설명했는데요.

Visual Studio Online "Monaco" 서비스와 github 연동
; https://www.sysnet.pe.kr/2/0/1544

이번에는 Monaco와 원래의 "Visual Studio Online" 서비스와 연동하는 방법을 알아볼 텐데요.

형상 관리 서버 운영을 대신해 주는 Visual Studio 온라인 서비스
; https://www.sysnet.pe.kr/2/0/1539

다소 아이러니하지만, Monaco와 github 연동하는 방법보다 좀 더 복잡합니다. ^^




이번 실습도 역시 github 연동 때와 마찬가지로 지난 글에서 만들어 두었던 예제 웹 사이트를 대상으로 할 텐데요. 우선, "Connect to Visual Studio Online" 메뉴를 선택해서,

monaco_online_1.png

역시 지난번에 만들어 둔 Visual Studio Online 계정과 연결해 줍니다.

monaco_online_2.png

그다음, Visual Studio Online 웹 사이트에 접속해,

monaco_online_3.png

Azure 웹 사이트에서 Visual Studio Online에 접근이 가능하도록 계정 보안에 basic 인증을 추가해 주어야 합니다. (이 과정은 한번만 해주면 됩니다.) 이를 위해 "My profile" 메뉴로 들어가서,

monaco_online_4.png

"CREDENTIALS" 탭의 "Enable alternate credentials" 링크를 누릅니다.

monaco_online_5.png

그렇게 하면 다음과 같이 기본 인증에 사용될 계정 정보를 설정할 수 있습니다.

monaco_online_6.png

계정 준비가 끝났으니 이제 Azure 웹 사이트 개발과 연동될 Team Project를 하나 생성합니다. 이 때 주의할 것은 반드시 "Version control" 항목을 "Git"으로 해야 한다는 점입니다. (당연한 이야기지만 Team Foundation Version Control로 하면 git remote 등록이 안됩니다.)

monaco_online_7.png

만들어진 Team Project에 들어가서 "CODE" 탭을 누르면,

monaco_online_8.png

해당 Team Project의 Git 저장소 주소를 구할 수 있습니다.

monaco_online_9.png

이 주소를 이용해 Monaco 콘솔 창에서 다음과 같이 입력해 주면 됩니다.

/ (master) $ git remote add origin git@github.com:stjeong/anyconnect.git

/ (master) $ git push -u origin master

그럼, push 단계에서 계정 정보를 묻는 창이 나오는데,

monaco_online_10.png

위의 과정에서 기본 인증이 가능하도록 설정한 바로 그 계정 정보를 입력해 주시면 됩니다. 그렇게 해주면 다음과 같이 push 과정이 완료됩니다.

/ (master) $ git push -u origin master
Counting objects: 36, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (36/36), 1.28 MiB | 179 KiB/s, done.
Total 36 (delta 1), reused 0 (delta 0)
remote: Analyzing objects (36/36) (3972 ms)
remote: Storing pack file and index... done (449 ms)
Branch master set up to track remote branch master from origin.
To https://techshare.visualstudio.com/DefaultCollection/_git/anyconnect
 * [new branch]     master  ->  master




Monaco를 Visual Studio Online과 연동할지 github와 연동할지에 대한 선택기준은 비교적 명확합니다. 전반적인 형상관리 서비스를 받고 싶다면 Visual Studio Online과 연동하는 것이 좋고, 소스컨트롤만 필요하다면 github로 연동하시면 됩니다.




[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]







[최초 등록일: ]
[최종 수정일: 6/28/2021]

Creative Commons License
이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.
by SeongTae Jeong, mailto:techsharer at outlook.com

비밀번호

댓글 작성자
 




... 91  92  93  94  95  96  97  98  99  [100]  101  102  103  104  105  ...
NoWriterDateCnt.TitleFile(s)
11467정성태3/19/201817453오류 유형: 455. Visual Studio Installer - 업데이트 실패
11466정성태3/18/201818046개발 환경 구성: 355. 한 대의 PC에서 2개 이상의 DirectX 게임을 실행하는 방법
11463정성태3/15/201820302.NET Framework: 733. 스레드 간의 read/write 시에도 lock이 필요 없는 경우파일 다운로드1
11462정성태3/14/201823907개발 환경 구성: 354. HTTPS 호출에 대한 TLS 설정 확인하는 방법 [1]
11461정성태3/13/201826275오류 유형: 454. 윈도우 업데이트 설치 오류 - 0x800705b4 [1]
11460정성태3/13/201818383디버깅 기술: 112. windbg - 닷넷 메모리 덤프에서 전역 객체의 내용을 조사하는 방법
11459정성태3/13/201819615오류 유형: 453. Debug Diagnostic Tool에서 mscordacwks.dll을 찾지 못하는 문제
11458정성태2/21/201820481오류 유형: 452. This share requires the obsolete SMB1 protocol, which is unsafe and could expose your system to attack. [1]
11457정성태2/17/201824640.NET Framework: 732. C# - Task.ContinueWith 설명 [1]파일 다운로드1
11456정성태2/17/201830734.NET Framework: 731. C# - await을 Task 타입이 아닌 사용자 정의 타입에 적용하는 방법 [7]파일 다운로드1
11455정성태2/17/201819960오류 유형: 451. ASP.NET Core - An error occurred during the compilation of a resource required to process this request.
11454정성태2/12/201828918기타: 71. 만료된 Office 제품 키를 변경하는 방법
11453정성태1/31/201820728오류 유형: 450. Azure Cloud Services(classic) 배포 시 "Certificate with thumbprint ... doesn't exist." 오류 발생
11452정성태1/31/201826105기타: 70. 재현 가능한 최소한의 예제 프로젝트란? [3]파일 다운로드1
11451정성태1/24/201819912디버깅 기술: 111. windbg - x86 메모리 덤프 분석 시 닷넷 메서드의 호출 인자 값 확인
11450정성태1/24/201836178Windows: 146. PowerShell로 원격 프로세스(EXE, BAT) 실행하는 방법 [1]
11449정성태1/23/201822842오류 유형: 449. 단위 테스트 - Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.VideoRecorderEngine' or one of its dependencies. [1]
11448정성태1/20/201820944오류 유형: 448. Fakes를 포함한 단위 테스트 프로젝트를 빌드 시 CS0619 관련 오류 발생
11447정성태1/20/201822214.NET Framework: 730. dotnet user-secrets 명령어 [2]파일 다운로드1
11446정성태1/20/201822526.NET Framework: 729. windbg로 살펴보는 GC heap의 Segment 구조 [2]파일 다운로드1
11445정성태1/20/201820820.NET Framework: 728. windbg - 눈으로 확인하는 Workstation GC / Server GC
11444정성태1/19/201820360VS.NET IDE: 125. Visual Studio에서 Selenium WebDriver를 이용한 웹 브라우저 단위 테스트 구성파일 다운로드1
11443정성태1/18/201821807VC++: 124. libuv 모듈 살펴 보기
11442정성태1/18/201818849개발 환경 구성: 353. ASP.NET Core 프로젝트의 "Enable unmanaged code debugging" 옵션 켜는 방법
11441정성태1/18/201817298오류 유형: 447. ASP.NET Core 배포 오류 - Ensure that restore has run and that you have included '...' in the TargetFrameworks for your project.
11440정성태1/17/201820606.NET Framework: 727. ASP.NET의 HttpContext.Current 구현에 대응하는 ASP.NET Core의 IHttpContextAccessor/HttpContextAccessor 사용법파일 다운로드1
... 91  92  93  94  95  96  97  98  99  [100]  101  102  103  104  105  ...