-
-
[C#] gRPC MapGrpcService DI, with parameterC#/기초 2024. 6. 10. 16:30
Services.AddScoped();Services.AddSingleton~ https://stackoverflow.com/questions/37744637/how-can-i-pass-a-runtime-parameter-as-part-of-the-dependency-resolution How can I pass a runtime parameter as part of the dependency resolution?I need to be able to pass a connection string into some of my service implementations. I am doing this in the constructor. The connection string is configurable ..
-
[WPF] Ioc resolve constructor parameterC#/WPF 2024. 6. 7. 08:23
https://stackoverflow.com/questions/42734491/specifying-some-constructor-parameters-at-resolve-time Specifying some constructor parameters at resolve timeI'm facing a rather puzzling situation with DryIoC. This is the first time I use an IoC container, so I may just be misunderstanding everything: from dependency injection, to IoC containers, to Dry...stackoverflow.com https://stackoverflow...
-
[C#] dll COM 등록C#/기초 2024. 6. 5. 07:56
https://change-words.tistory.com/entry/windows-COM-dll-regsvr32 윈도우 레지스트리에 COM dll 등록하는 방법 (regsvr32)COM 모듈, 또는 COM DLL을 사용할 땐 윈도우 레지스트리에 dll을 등록하는 과정을 거쳐야 합니다. 이 작업은 regsvr32.exe를 통해 할 수 있습니다. COM DLL 등록 방법 regsvr32.exe란? regsvr32는 윈도우 레지스트change-words.tistory.com
-
[C#] Registry Read/WriteC#/기초 2024. 6. 3. 10:10
Write Read https://ardor-dev.tistory.com/32 [C#] 레지스트리 사용법 (읽기, 쓰기, 삭제, 64bit or 32bit)레지스트리(Registry)란? Microsoft Window 32/64bit 버전과 윈도우 모바일 운영체제의 설정과 선택 항목을 담고 있는 데이터 베이스입니다. 주로 윈도우즈 환경 설정과 관련된 각종 정보가 등록된 곳입니ardor-dev.tistory.com 삭제#Notewritable: true 로 해야 접근가능. https://stackoverflow.com/questions/10339990/set-registry-value-throws-unauthorizedaccessexception Set Registry value throws ..
-
[VS] TFS기타자료 2024. 5. 24. 16:09
Get latest version 등 안보이고(안되고)Unpanding changed 등 반영 안될 때 온라인 연결해서 바인드 걸어야함. https://stackoverflow.com/questions/14496098/why-are-all-files-write-protected-and-how-can-i-check-in Why are all files write protected and how can I check-in?I currently work with a Team Foundation Server and Visual Studio. Since two days, I keep getting error messages that I can't write to files (it seems not to mat..
-
[C#] BroadcastC# 2024. 5. 24. 11:16
public void ResponseBroadcast(AddressInfo? serverAddressInfo = null) { serverAddressInfo ??= ServerAddressInfo; var server = new UdpClient(serverAddressInfo.Port); var responseData = Encoding.ASCII.GetBytes($"Response {serverAddressInfo.HostName} DSM"); var clientEp = new IPEndPoint(IPAddress.Any, serverAddressInfo.Port); while (true) { var..