Microsoft MVP성태의 닷넷 이야기
개발 환경 구성: 212. Visual Studio Online과 "Monaco" 서비스 연동 [링크 복사], [링크+제목 복사],
조회: 23036
글쓴 사람
정성태 (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

비밀번호

댓글 작성자
 




... 106  107  108  109  110  111  112  113  114  115  116  [117]  118  119  120  ...
NoWriterDateCnt.TitleFile(s)
11040정성태9/10/201628915.NET Framework: 604. C# Windows Forms - Drag & Drop 예제 코드 [2]파일 다운로드1
11039정성태9/9/201624333오류 유형: 355. Visual Studio 빌드 오류 - error CS0122: '__ComObject' is inaccessible due to its protection level
11038정성태9/9/201627167VC++: 99. 서로 다른 프로세스에서 WM_DROPFILES 메시지를 전송하는 방법파일 다운로드1
11037정성태9/8/201630471.NET Framework: 603. socket - shutdown 호출이 필요한 사례파일 다운로드1
11036정성태8/29/201625958개발 환경 구성: 297. 소스 코드가 없는 닷넷 어셈블리를 디버깅할 때 지역 변숫값을 확인하는 방법
11035정성태8/29/201621862오류 유형: 354. .NET Reflector - PDB 생성 화면에서 "Clear Store"를 하면 "Index and length must refer to a location within the string" 예외 발생
11034정성태8/25/201625948개발 환경 구성: 296. .NET Core 프로젝트를 NuGet Gallery에 배포하는 방법 [2]
11033정성태8/24/201623910오류 유형: 353. coreclr 빌드 시 error C3249: illegal statement or sub-expression for 'constexpr' function
11032정성태8/23/201623173개발 환경 구성: 295. 최신의 Visual C++ 컴파일러 도구를 사용하는 방법 [1]
11031정성태8/23/201619047오류 유형: 352. Error encountered while pushing to the remote repository: Response status code does not indicate success: 403 (Forbidden).
11030정성태8/23/201622334VS.NET IDE: 111. Team Explorer - 추가한 Git Remote 저장소가 Branch에 보이지 않는 경우
11029정성태8/18/201629663.NET Framework: 602. Process.Start의 cmd.exe에서 stdin만 redirect 하는 방법 [1]파일 다운로드1
11028정성태8/15/201622514오류 유형: 351. Octave 설치 시 JRE 경로 문제
11027정성태8/15/201624322.NET Framework: 601. ElementHost 컨트롤의 메모리 누수 현상
11026정성태8/13/201625513Math: 19. 행렬 연산으로 본 해밍코드
11025정성태8/12/201624535개발 환경 구성: 294. .NET Core 프로젝트에서 "Copy to Output Directory" 처리 [1]
11024정성태8/12/201623609오류 유형: 350. "nProtect GameMon" 실행 중에는 Visual Studio 디버깅이 안됩니다! [1]
11023정성태8/10/201625225개발 환경 구성: 293. Azure 구독 후 PaaS 서비스 만들어 보기
11022정성태8/10/201625893개발 환경 구성: 292. Azure Cloud Service 배포시 사용자 정의 작업을 추가하는 방법
11021정성태8/10/201623187오류 유형: 349. System.Runtime.Remoting.RemotingException - Type '..., ..., Version=..., Culture=neutral, PublicKeyToken=null' is not registered for activation [2]
11020정성태8/10/201625910VC++: 98. 원본과 대상 버퍼가 같은 경우 memcpy, wmemcpy 주의점
11019정성태8/10/201642567기타: 60. 도서: 시작하세요! C# 6.0 프로그래밍: 기본 문법부터 실전 예제까지 (2쇄 정오표)
11018정성태8/9/201626606.NET Framework: 600. 단일 메서드 내에서의 할당으로 알아보는 자바와 닷넷의 GC 차이점 [1]
11017정성태8/9/201627809웹: 33. HTTP 쿠키에 한글 값을 설정하는 방법
11016정성태8/7/201625993개발 환경 구성: 291. Windows Server Containers 소개
11015정성태8/7/201624362오류 유형: 348. Windows Server 2016 TP5에서 Windows Containers의 docker run 실행 시 encountered an error during Start failed in Win32
... 106  107  108  109  110  111  112  113  114  115  116  [117]  118  119  120  ...