티스토리 뷰
Error.
An error occurred while processing your request.
Request ID:
Development Mode
Swapping to the Development environment displays detailed information about the error that occurred.
The Development environment shouldn't be enabled for deployed applications. It can result in displaying sensitive information from exceptions to end users. For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development and restarting the app.
확인: 서버> 이벤트뷰어> Widnoes로그> 응용프로그램 > 에러 로그를 찾아 보자!
Index.razor 파일에서 아래 WithUrl이 로컬 디버깅할때와 서버에 배포한 경로가 달라서 그렇다.
hubConnection = new HubConnectionBuilder()
.WithUrl("https://ddddfajkdsjfasdjfsadf/SigHub/SigHub") // Navigation.ToAbsoluteUri("/SigHub"))
.Build();
string _user =string.Empty ;
//SendMessageToGroup
hubConnection.On<string, string>("ReceiveMessage", (user, message) =>
{
var encodedMsg = $"{user}: {message}";
messages.Add(encodedMsg);
InvokeAsync(StateHasChanged);
_user = user;
});
await hubConnection.StartAsync();
'ETC' 카테고리의 다른 글
SQLite Upsert Query (0) | 2024.05.08 |
---|---|
.Net 7 라즈베리파이 설치 (0) | 2023.09.14 |
MSSQL PatIndex활용 문자열 혼합된 데이터 일괄 업데이트 (0) | 2023.07.31 |
MS SQL Where Not 쿼리 (0) | 2023.01.30 |
Raspberry pi4 multiple usb to serial port setting (0) | 2022.08.08 |
- Total
- Today
- Yesterday
- WPF Excel Export Microsoft.Office.Interop 성능향상(열 기준으로 복사)
- 암호 마스터키
- SkiaSharp
- Windows IIS FTP 디렉토리 목록 오류
- Xamarin.Ios Firebase Phone SMS OTP Send
- Xamarin.Ios Firebase Phone Auth
- ClickOnce 인증서 인증기간 변경
- C# LINQ Left join
- Xamarin Firebase Phone User Add
- FileStream Add Byte
- GetCellContent CheckBox Value
- Xamarin.Forms
- WPF Textbox
- 연산자 뒤에 피연산자가 없습니다.
- c# Encrypt / Decrypt
- Xamarin reCAPTCHA
- Xamarin Firebase Phone Auth
- Xamarin SMS OTP Send
- Xamarin.Ios Firebase Phone User Add
- WPF Datagrid Cell Value Change
- Embeded 한글Font적용
- Microcharts
- Linux SSH Multi Computer Join
- Label Text LineBreak in Xaml
- WPF Scrollviewer in ScrollViwer
- ssl_client_socket_impl.cc
- 서버 수준의 URN 필터
- Entry '' has empty native path
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |