15.12.2011 - שימוש בשיטה אנונימית להרשמה לאירועים
While subscribing to any event much easier not create a separate handler method, but use anonymous method like this example: Button.Click += new EventHandler((obj, args) => { }); Code much more readable, in my opinion. For example, we want create … קרא עוד
14.12.2011 - פתרון לבעיית הרשמה לאירועים באמצעות Lambda Expression בתוך לולאה
The following is the piece of code from our project in LS(LightSwich) environment; partial void LanguagesEditableGrid_InitializeDataWorkspace(List saveChangesTo) { // Write your code here. foreach (INotifyPropertyChanged language in Languages) { Microsoft.LightSwitch.Threading.Dispatchers.Main.BeginInvoke(() => { language.PropertyChanged += new PropertyChangedEventHandler(language_PropertyChanged); }); } } void … קרא עוד
8.12.2011 - המלצה לארכיטקטורה לשירותי אינטגרציה
מטרת מאמר זה הינה להציג המלצה לארכיטקטורת שירותי אינטגרציה (Web Services). המאמר יתייחס לאילוצים ולדרישות המפורטות ולספק מענה שלם ומלא לדרישות, תוך התייחסות לנושאים הבאים: • ניהול גרסאות הקוד • ניהול גרסאות • יצירת גרסאות חדשות להורדת המאמר WCF Standards … קרא עוד