Invoking Javascript From a WebBrowser Control

March 25, 2010

Invoking Javascript From a WebBrowser Control Today I got a request to use A WebForms application inside a WinForms application. One problem that we needed to solve was how to make an interaction between the WinForm and the WebForm it uses. The post will show the solution. Invoking Javascript From a WebBrowser Control When you want to use a WebForm within a WinForms application you should use the WebBrowser control. Taken from MSDN the WebBrowser control “Enables the user to navigate Web pages inside your form.”. One of the nice features of the WebBrowser control is its ability to invoke Javascript. On...
no comments

Self Validation in Validation Application Block

Self Validation in Validation Application Block There are times when you don’t find a solution for a validation you need inside Validation Application Block validators. When this is happening Self Validation can help you to keep using VAB and gaining all its abilities. This post will explain how to use Self Validation in VAB. What is Self Validation? Self validation gives you the ability to implement validation logic inside the class you want to validate. When you have a complicated validation or your validation logic can’t be performed  using the VAB validators you can apply this method. How to use Self Validation? The...

DevAcademy4 Has Left the Building

March 22, 2010

DevAcademy4 Has Left the Building Today I attended the DevAcademy4 conference. The day started for me at 0700 when all the lecturers for the conference got together for a morning briefing. After that I went to a nice breakfast which was served in the Avenue hall for all the attendees. After the keynotes session which was great and included a laptop giveaway for one of the attendees, I went to prepare for my session about Entity Framework Evolution in .Net Framework 4.  In that point I want to thank all of the attendees in my session. I had a great...

MIX10 – Summary

March 19, 2010

MIX10 – Summary Home sweet home! I arrived today back to Israel after a trip of six days to the MIX10 conference (three days conference and almost three days “on the roads”). To tell the truth, I was a little disappointed from the conference. I’ve expected more relevant information and less recycling of things that I already know. As you know (if you followed the...

EF Evolution in .Net Framework 4

March 17, 2010

EF Evolution in .Net Framework 4 On next Monday I’m going to give a session about EF4 in the DevAcademy4 conference. The session will provide you details about why you will want EF in your application, which development approaches EF provides and how to apply them and the major tooling and functionality enhancements. If you are interested in the subject go to the DevAcademy4 ...

MIX10 – Last Day Wrap up

MIX10 – Last Day Wrap up The last day of MIX has arrived and in this day we haven’t had a keynote session. The first session I went for was Building Great Standards-Based Websites for the Big Wide World with Microsoft ASP.NET 4. A very big title for a session about XHTML, usability and accessibility which are things that you are require to do when you develop major sites. The lecturers showed...

MIX10 – Second Day Wrap up

MIX10 – Second Day Wrap up This is the wrapping up of the second day I had in the MIX10 conference. In the keynotes Dean Hachamovitch talked about IE9 and how it will support HTML5 standard. There will be a lot of improvements in IE9 which include: performance, standards support, GPU powered HTML5, an IE9 platform and the punch line hardware accelerated HTML5 video. After Dean Scott Guthrie talked about the Microsoft...

MIX 10 – First Day Wrap up

March 16, 2010

MIX 10 – First Day Wrap up As I wrote earlier this week I’m attending the MIX conference at Las Vegas. This is a summary of the first day I had in the conference. The day started with a keynote session by Scott Guthrie. The keynotes included information about Silverlight 4, Windows Phone 7 and more. Lots of cool demos and exciting news for web developers. After the keynote I went to the Building Offline/Cache mode web Apps using Sync Framework session with Mike Clark. The news here are the OData-Sync protocol and Windows Azure support. Combining the OData protocol which is...

MIX10 – Here I Come

March 14, 2010

MIX10 – Here I Come I’m flying today to attend MIX10 conference in Las Vegas. This will be my first MIX and my first visit to Las Vegas so I’m very excited. I’m attending this conference with four other colleagues from Sela Group. I’ll try to keep you updated with things that happen in the conference so expect for more posts this week. If you are also attending the conference...
no comments

Performing Queries Against Active Directory Domain Services

March 3, 2010

Performing Queries Against Active Directory Domain Services One of the missions that needed my attention lately was to check whether a user exists in an enterprise Active Directory. The post will show exactly how to perform such a query. The DirectoryEntry Class The DirectoryEntry class represent an entry in Active Directory. That entry live in memory when created and changes that you perform on it won’t be submitted to Active Directory unless you call the CommitChnages method. That class can be found in System.DirectoryServices namespace. The following code shows how to create a DirectoryEntry object using a the path to the LDAP,...
no comments