The Visual Studio 2005 Beta Experience

Register to the VS 2005 Beta Experience program and receive your copy of Visual Studio.NET 2005 Beta 2.
The Visual Studio 2005 Beta Experience

Tough ASP.NET interview questions

I have just collected these Tough ASP.NET interview questions , I will answer the ones I know soon, but you try to answer any question you know the answer for, they are really tough !

1. From constructor to destructor (taking into consideration Dispose() and the concept of non-deterministic finalization), what the are events fired as part of the ASP.NET System.Web.UI.Page lifecycle. Why are they important? What interesting things can you do at each?
2. What are ASHX files? What are HttpHandlers? Where can they be configured?
3. What is needed to configure a new extension for use in ASP.NET? For example, what if I wanted my system to serve ASPX files with a *.jsp extension?
4. What events fire when binding data to a data grid? What are they good for?
5. Explain how PostBacks work, on both the client-side and server-side. How do I chain my own JavaScript into the client side without losing PostBack functionality?
6. How does ViewState work and why is it either useful or evil?
7. What is the OO relationship between an ASPX page and its CS/VB code behind file in ASP.NET 1.1? in 2.0?
8. What happens from the point an HTTP request is received on a TCP/IP port up until the Page fires the On_Load event?
9. How does IIS communicate at runtime with ASP.NET? Where is ASP.NET at runtime in IIS5? IIS6?
10. What is an assembly binding redirect? Where are the places an administrator or developer can affect how assembly binding policy is applied?
11. Compare and contrast LoadLibrary(), CoCreateInstance(), CreateObject() and Assembly.Load().
12. Describe the difference between a Thread and a Process?
13. What is a Windows Service and how does its lifecycle differ from a “standard” EXE?
14. What is the maximum amount of memory any single process on Windows can address? Is this different than the maximum virtual memory for the system? How would this affect a system design?
15. What is the difference between an EXE and a DLL?
16. What is strong-typing versus weak-typing? Which is preferred? Why?
17. What’s wrong with a line like this? DateTime.Parse(myString
18. What are PDBs? Where must they be located for debugging to work?
19. What is cyclomatic complexity and why is it important?
20. Write a standard lock() plus double check to create a critical section around a variable access.
21. What is FullTrust? Do GAC’ed assemblies have FullTrust?
22. What benefit does your code receive if you decorate it with attributes demanding specific Security permissions?
23. What does this do? gacutil /l find /i “about”
24. What does this do? sn -t foo.dll
25. What ports must be open for DCOM over a firewall? What is the purpose of Port 135?
26. Contrast OOP and SOA. What are tenets of each
27. How does the XmlSerializer work? What ACL permissions does a process using it require?
28. Why is catch(Exception) almost always a bad idea?
29. What is the difference between Debug.Write and Trace.Write? When should each be used?
30. What is the difference between a Debug and Release build? Is there a significant speed difference? Why or why not?
31. Does JITting occur per-assembly or per-method? How does this affect the working set?
32. Contrast the use of an abstract base class against an interface?
33. What is the difference between a.Equals(b) and a == b?
34. In the context of a comparison, what is object identity versus object equivalence?
35. How would one do a deep copy in .NET?
36. Explain current thinking around IClonable.
37. What is boxing?
38. Is string a value type or a reference type?

Understanding XML Namespaces ِArticle

This is a very simple and clear article to get you familiar with XML Namespaces
Understanding XML Namespaces

This is a website including various technologies free tutorials ( I think it's somehow targeted to beginners )

Protect Yourself from Computer Hazards

Watch this demo that includes guidelines to save yourself aches of neck , shoulders, and lower back. Download

MDC 2005 Sessions

MDC is one of the biggest events at the middle east , Bill Gate gave the keynot for the second time , I wish I could attend it but I am away from Cairo , all the sessions are available to download now

Back to History : Cool One


Bill Gates Featured Interviews

I have collected some Bill Gates featured interviews, you will enjoy them so much :

N-Tier Good Article Series

These series is a good beginner guide to get familiar with N-Tier Architecture,
N-Tier Good Article Series.

C# to VB.NET Translator Alex Lowe's ASP.NET Tips and Tricks


I found a lot of colleagues seeking a tool to compare files, WinMerge is an open source good tool to compare files/folders and it has many good features.

Definitions of designations at office

A friend of mine sent me the following nice REAL quotes :

  1. Project Manager is a Person who thinks nine women can deliver a baby in 1 month.
  2. Developer is a Person who thinks it will take 18 months to deliver a baby.
  3. Onsite Coordinator is one who thinks single woman can deliver nine babies in 1 month.
  4. Client is the one who doesn't know why he wants a baby.
  5. Marketing Manager is a person who thinks he can deliver a baby even if no man and woman are available.
  6. Resource Optimization Team thinks they don't need a man or woman; they'll produce a child with zero resources.
  7. Documentation Team thinks they don't care whether the child is delivered, they'll just document 9 months.
  8. Quality Auditor is the person who is never happy with the PROCESS to produce a baby.

My Articles

These are my articles :

Binary Watch Using Observer Pattern

I found this article a great example to Observer Pattern , it's so interesting, showing you how to implement interfaces, and it's a good start to get familiar with the Observer Pattern. Enjoy It !

C# and Win32 API Calls

Review the following articles to call Win32 APIs from C# :

Project Management

G for Growth

On the first birthday of Gmail , Gmail team lanuched two new cool features
  1. All users are granted one more Gigabyte ( how generous !! )
  2. At last they launched the HTML mails format so you can now write formatted mails, Actually I was missing this feature so much
Thanks Gmail and happy birthday :)