Windows 8부터 대용량의 데이터를 한번에 조회를 하지 않고, 스크롤이 될때 조금씩 계속 조회하는 것을 지원한다. 그에 대한 예제를 MSDN에서 찾아 볼 수 있는데..좀 복잡하게 되어 있어서 이해하기가 쉽지 않아서 간단한 예제를 만들어 보았다. 기존에 작성되었던 WebAPI Sample 프로젝트에 기능을 추가했다. 1. 참고 ISupportIncrementalLoading interface http://msdn.microsoft.com/en-us/library/windows/apps/Hh701916 Data virtualization example using ISupportIncrementalLoading http://social.msdn.microsoft.com/Forums/en-US/winapps..
1. 여러 프레임웍에서 UI 스레드 동기화 public static void InvokeIfRequiredAsync(SynchronizationContext context, SendOrPostCallback callback, object state) { context.Post(callback, state); } #region PropertyChanged public event PropertyChangedEventHandler PropertyChanged; public void OnPropertyChanged(string propertyName) { if (PropertyChanged != null) { StaticFunctions.InvokeIfRequiredAsync(System.Threading.Sy..
1. Downloading SkyDrive desktop app, and install it http://windows.microsoft.com/en-US/skydrive/home Synchronization of file and folder from the SkyDrive on my computer 2. Run File Explorer, Select SkyDrive, and change folder where you upload. 3. Also creates a folder if you want. 4. Make a copy of the file to be upload. File icon upload icon will change. 5. Upload complete. 6. Check in SkyDrive
1. Dispatcher private Windows.UI.Core.CoreDispatcher dispatcher = Window.Current.CoreWindow.Dispatcher; await dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () => { if (task.IsFaulted) { //Console.WriteLine("Send failed {0}", task.Exception.GetBaseException()); var fail = string.Format("Send failed {0}", task.Exception.GetBaseException()); StringCollection.Insert(0, fail); } ..
지난 포스트에서 WebAPI를 이용한 CRUD에 대해서 알아보았다. 이번에는 지난번 소스에서 추가적으로 OData를 이용해서 조회하는 방법에 대해서 알아보도록 하자. OData를 이용하면 url에서 query를 만들어서 data 조회를 할 수 있어서 매우 편리하다. * 이전 포스트 WebAPI CRUD Sample http://kaki104.tistory.com/entry/WebAPI-CRUD-Sample-Framework-45-MVC4-Windows-8-RTM-app-base 예를 들어, http://localhost:11666//api/person/1 위와 같이 하면 id가 1인 레코드 1개를 반환한다. 그런데 이름에 'kaki'라는 문자열이 들어가는 레코드를 모두 반환할려면 어떻게 해야하나? 또 여..
- Total
- Today
- Yesterday
- uno-platform
- windows 11
- Always Encrypted
- LINQ
- #prism
- kiosk
- uno platform
- MVVM
- C#
- #uwp
- XAML
- Microsoft
- Bot Framework
- #MVVM
- ef core
- ComboBox
- .net
- visual studio 2019
- WPF
- .net 5.0
- UWP
- Visual Studio 2022
- IOT
- dotNETconf
- Cross-platform
- Behavior
- PRISM
- #Windows Template Studio
- Build 2016
- Windows 10
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |