DCSIMG
May 2009 - Posts - I Love C#
Sign in | Join | Help

I Love C#

Eyal Vardi

May 2009 - Posts

קורסים חדשים לחודש יוני

פורסם בתאריך May 30 2009, 08:17 PM על ידי Vardi

לאחר עבודה מאומצת שלי ושל גיל ושאר אנשי הצוות להלן רשימת הקורסים החדשים לחודש יוני 2009. לעדכונים שוטפים על הקורסים אפשר להירשם ל-E4D Solutions Courses RSS.

What's New in .NET 4.0 & Visual Studio 2010

שבוע הכרות עם דוט-נט 4.0 וויז'ואל סטודיו 2010. בשבוע זה נעבור על כל החידושים והתוספות, ויש הרבה מאוד. הדגש יהיה על החידושים המעשיים שיהיו אבני פינה בכל אפליקציה דוט-נט 4.0.

לצפייה בתוכנית הקורס לחץ כאן

Microsoft Distributed Cache (Velocity)

"Velocity" הינה טכנולוגיה חדשה מבית מיקרוסופט אשר מספקת זיכרון מטמון (Cache) מבוזר ובר הרחבה עבור כל סוגי הנתונים. על ידי שימוש בזיכרון מטמון ביצועי המערכות יכולים להשתפר משמעותית וזאת על ידי הימנעות מיותרת מקריאת נתונים ממקור הנתונים. על ידי שימוש בזיכרון מטמון מבוזר המערכות יוכלו גם להתאים את עצמן לביקוש הגובר וזאת על ידי הגדלת התפוקה. במהלך הקורס נסקור את יכולותיה של טכנולוגיית Velocity, איך היא עובדת under the hood ואיך ניתן להשתמש בה על מנת לשפר ביצועים במערכות שונות.

לצפייה בתוכנית הקורס לחץ כאן

ADO.NET Entity Framework

הגישה למידע היא חלק בלתי נפרד ומכריע בכל מערכת אירגונית. דוט נט 3.5 (SP1) הביא איתו שינויים רבים לעולם ה-ADO.NET ובתוכם גם טכנולוגיות Data Access חדשות כאשר העיקרית שבהם היא Entity Framework.
Entity Framework עוצבה כטכנולוגיה שמאפשרת למתכנתים לעבוד מול שכבת אבסטרקציה מעל data storages. במהלך הקורס נסקור את יכולותיה של טכנולוגיית Entity Framework, איך היא עובדת under the hood ואיך ניתן להשתמש בה ליצירת מערכות מוכוונות מידע מורכבות.

לצפייה בתוכנית הקורס לחץ כאן

Microsoft Distributed Cache Velocity

פורסם בתאריך May 20 2009, 08:26 AM על ידי Vardi

אני עוקב אחר ה-Velocity של מיקרוסופט הרבה זמן וככל שעובר הזמן אני מאמין שהפתרון הזה הוא סוג של אבן פינה בכל פתרון אירגוני. לכן החלטנו בחברת E4D לבנות קורס של יום אחד שנוכל לחשוף ללקוחתנו וקהל הרחב את העוצמה של Velocity.

Velocity משנה את חוקי המשחק במערכות מבוזרות

בשנה האחרונה אני עוסק בהמון פרויקטים של WCF בהם בונים מערכות SOA. אני יכול להגיד שבכל פרויקט שיש מספר רב של שירותים, עולות אותן בעיות שמצריכות כתיבת קוד רב למשל:

  • איך שומרים את קבצי הקונפיג במקום מרכזי, ושולפים אותם ע"פ פרופיל שימוש.
  • איך בונים מוניטור על השירותים השונים.
  • איך מוצאים שירות שמשנה את כתובתו.
  • איך מבצעים התקנה ופריסה דינאמית של שירותים ע"פ תוכנית שנמצאת במקום מרכזי.

ויש עוד מספר רב של בעיות שמצריכות לבנות שירותים (WCF Service ) שהם לא השירותים העסקים אלה שירותי התשתית. הבעיה שתשתיות אלו קרוכות בזמן פיתוח רב, ובהבנה טובה מאוד של הטכנולוגיה. כלומר הם יעלו הרבה כסף….

פתרון:

הפתרון שאני הולך להציעה נשען על ההנחות הבאות:

  • מספר השרתים קטן ( גם 100 שרתים נחשב קטן )
  • ההודעות שעוברות בין שירותי התשתית קטנות.
  • כמות ההודעות, קצב שינוי התשתית ( למשל שירות עלה,ירד עבר מקום ) נמוך.

מכאן אני מגיע למסקנה שבמקום לכתוב את כל השירותים המנהלים ואת התקשורת עליהם, אני יכול להשתמש ב-Velocity או ב-P2P כערוץ להעברת אינפורמציה מנהלתית בין שרתים. בגלל הנחות המוצא והיכולות של Velocity.

מה קיבלנו:

  • בוני השירותים העסקים מקבלים API פשוט מאוד שלא חושף את בעיות התקשורת. כלומר שהם רוצים מידע על שירות מסוים הם פשוט מבקשים אותו למשל מ- E4DHelpU והוא שולף אותו מה-Velocity.
  • הוספת שירות מינהלתי הופך לפעולה מאוד פשוטה, ולמעשה זה לא שירות אלא סוג של Feeder שמעדכן את Velocity במידע והמידע הופך לזמין בכל המחשבים.

מסקנה:

אני מאמין שבזמן הקרוב מאוד נראה שימוש רחב ואינטנסיבי ב-Velocity בכל פינה בארגון. לאט לאט תתפתח קהילה של מפתחי תוספים (Add-on) ו Adapter ל-Velocity כך שיהיה אפשר לחבר אותו לכל דבר.

אנחנו למשל מתחילים לתכנן איך לממשק אותו ל:

  • Entity FRamework
  • Workflow
  • UDDI

אז מי שרוצה לעמיק בנושא מוזמן לקורס בנושא Velocity.

תודה לMIKE על הסרטים בנושא WCF

פורסם בתאריך May 18 2009, 05:51 PM על ידי Vardi

אני אוהב לראות את הסרטים של MIKE הם עוזרים להיכנס לטכנולוגיות חדשות במהירות.

להלן רשימה של סרטים שעשה בתחום WCF:

Windows Communication Foundation:" Hello World"

The Windows Communication Foundation is a new framework for building distributed applications. In this session we'll take a look at the basics of getting an application up and running

Click here to watch the video online or here to download a zip file to watch offline

Windows Communication Foundation: Type Serialization

The WCF offers a number of different serialization technologies for turning .NET object types into XML for transmission across service boundaries. This session explores what's available.

Click here to watch the video online or here to download a zip file to watch offline

Windows Communication Foundation: DataContract Serialization

The DataContract is the standard mechanism in the WCF for serializing .NET object types into XML. This session looks at the various options that DataContract makes available.

Click here to watch the video online or here to download a zip file to watch offline

Windows Communication Foundation: Typed and Untyped Messages

The WCF has a lot of flexibility in the way in which it goes from .NET objects to SOAP messages. It can handle parameters and typed/untyped messages. Let's take a look.

Click here to watch the video online or here to download a zip file to watch offline

Windows Communication Foundation: Bindings

A great deal of power and flexibility comes from the use of bindings in the WCF to specify communication details. Here we explore a little of the standard bindings and how we can configure them.

Click here to watch the video online or here to download a zip file to watch offline

Windows Communication Foundation: Message Encoding

The WCF offers a flexible choice of mechanisms for turning a SOAP message into something that we can transmit between services. In this session we'll look at the options.

Click here to watch the video online or here to download a zip file to watch offline

Windows Communication Foundation: Message Patterns

And you thought service communication was just request and response? This session looks at how we can use the WCF for one way and two way message exchanges.

Click here to watch the video online or here to download a zip file to watch offline

Windows Communication Foundation: Sessions

The WCF has facilities for maintaining a session of messages between a client and a service. In this session we'll take a look at how we can make use of those facilities.

Click here to watch the video online or here to download a zip file to watch offline

Windows Communication Foundation: Instancing

WCF services can be singletons, they can be single-call objects or they can have a lifetime that is tied to the session. Let's dive into how we make this work.

Click here to watch the video online or here to download a zip file to watch offline

Windows Communication Foundation: Concurrency

In an server side development, concurrency always crops up and the WCF is no exception. Here we explore the options for single and multi-threaded services.

Click here to watch the video online or here to download a zip file to watch offline

Windows Communication Foundation: Exceptions

Every piece of code needs to think about how to deal with exceptions - the WCF has particular mechanisms for translating .NET exceptions into SOAP faults which we explore here.

Click here to watch the video online or here to download a zip file to watch offline

Windows Communication Foundation: Transactions

The WCF has facilities for coordinating work done by multiple pieces of software under a single atomic transaction. In this session we'll look at getting that set up and working.

Click here to watch the video online or here to download a zip file to watch offline

Windows Communication Foundation: HTTPS Transport Security

The WCF provides transfer security for messages either by relying on the transport or by using message level mechanisms. In this session we'll look at using HTTPS at the transport layer to provide integrity, privacy and authentication for messages in transit.

Click here to watch the video online or here to download a zip file to watch offline

Windows Communication Foundation: Message Security

The WCF provides transfer security for messages either by relying on the transport or by using message level mechanisms. In this session we'll look at using message security in order to perform authentication and provide privacy and integrity for messages.

Click here to watch the video online or here to download a zip file to watch offline

Windows Communication Foundation: Authorisation

In this session we'll look at some basic mechanisms for authorising access to service operations that the WCF offers.

Click here to watch the video online or here to download a zip file to watch offline

Windows Communication Foundation: Auditing

The WCF has facilities for auditing message authentication operations and service authorisation operations. In this session we'll look at how we can configure those facilities.

Click here to watch the video online or here to download a zip file to watch offline

Video Duration 9 minutes, Original publication date Tuesday, March 21, 2006, Feedback Score (0.0 out of 5 from 0 votes)

הקוד + המצגת של מחר עכשיו באוויר :-)

פורסם בתאריך May 17 2009, 07:00 PM על ידי Vardi

תמיד אני מבטיח להעלות לבלוג שלי את הקוד והמצגת מיד אחרי ההרצאה, אבל משום אני מגיע לזה רק לאחר כמה ימים. לכן החלטתי לשנות את ההרגל ולהעלות הפעם את הקוד והמצגת לפני ההרצאה.

קוד + מצגת

מפגש נוסף !!!

פורסם בתאריך May 13 2009, 07:13 PM על ידי Vardi

ההרשמה לבית הפתוח בתאריך 18.05.2009 במיקרוסופט נסגרה, אי אפשר להכניס לאולם יותר מ-250 איש.

בעקבות הביקוש הרב שיש להרצאה זו החלטתי לקיים מפגש נוסף במשרדי החברה E4D ביהוד ( ליד HP ) בתאריך 08-06-2009.
לפרטים נוספים http://www.e4d.co.il/Events/.

What’s New in WCF 4.0?

פורסם בתאריך May 08 2009, 10:02 PM על ידי Vardi

What’s New in WCF 4.0?

בתקופה האחרונה אני משקיע הרבה זמן על ללמוד את החידושים  בדוט-נט 4.0 ובפרט ב-WCF. אני מתכוון לעשות על זה הרצאה בזמן הקרוב !

להלן מספר לינקיים שמאוד עוזרים להיכנס לנושא.

  1. What’s New in WCF 4.0?
  2. Using WS-Discovery in WCF 4.0
  3. Using XAML serialization in WCF 4.0
  4. Routing Service in WCF 4.0
  5. Routing Service in WCF 4.0
  6. Discovery Support in WCF 4.0

מסקנות:
אחד הדברים המידיים שמגלים שמתחילים לעבוד עם WCF שחסר כלים ותשתיות לניהול מספר רב של שרותי WCF.
WCF גירסה 4.0 מתחיל לתת מענה לנושאים אלו ולכן זה כיוון מאוד מבורך. אני מאמין שנושא ה- Discovery  ו- Routing הם אבני יסוד במערכות מבוזרות ולכן אני שמח מאוד על התוספות אלו בגירסה 4.0.