rss
twitter
  •  

Discover Object Class @ .Net

| Posted in Uncategorized |

0

1:     internal class TestHashCode
2:     {
3:         
4:     }
5: 
6:     class Program
7:     {
8:         static void Main(string[] args)
9:         {
10:             TestHashCode testHashCode = new TestHashCode();
11:             Console.WriteLine(string.Format("Object 1 Hash Code is {0}",testHashCode.GetHashCode()));
12: 
13:             TestHashCode testHashCode1 = new TestHashCode();
14:             Console.WriteLine("Object 2 Hash Code is {0}",testHashCode1.GetHashCode());
15:         }
16:     }
17: 

Active Directory & C#

| Posted in Uncategorized |

1

the Active Directory service is central component in any windows server starting from windows server 2000. modern operating systems require mechanisms for managing the identities and relationships of the distributed resources that make up network environments. A directory service provides a place to store information about network-based entities, such as applications, files, printers, and people. It provides a consistent way to name, describe, locate, access, manage, and secure information about these individual resources. It is the central authority that manages the identities and brokers the relationships between these distributed resources, enabling them to work together Active Directory lets organizations efficiently share and manage information about network resources and users. In addition, Active Directory acts as the central authority for network security, letting the operating system readily verify a user’s identity and control his or her access to network resources. Equally important, Active Directory acts as an integration point for bringing systems together and consolidating management tasks. Active Directory is the first enterprise-class directory service that is scalable, built from the ground up using Internet-standard technologies, and fully integrated with the operating system. In addition to providing comprehensive directory services to Windows applications, Active Directory is designed to be a consolidation point for isolating, migrating, centrally managing, and reducing the number of directories that companies have. This makes Active Directory the ideal long-term foundation for corporate information-sharing and common management of network resources, including applications, network operating systems, and directory-enabled devices.

Active Directory Diagram

From Technical Point of view:

Active Directory lets organizations store information in a hierarchical, object-oriented fashion, and provides multi-master replication to support distributed network environments.

My Source: http://www.google.com.eg/imgres?imgurl=http://www.esp.com.lb/pigier/W2k/index_files/image002.gif&imgrefurl=http://www.esp.com.lb/pigier/W2k/&h=313&w=492&sz=15&tbnid=URTa6tvKSlAbZM:&tbnh=83&tbnw=130&prev=/images%3Fq%3Dactive%2Bdirectory&usg=___KgC8XmUQF0HTyDL8w5a4QlNJOE=&ei=p978S8DVKJOr4Qa2os2hCw&sa=X&oi=image_result&resnum=6&ct=image&ved=0CCwQ9QEwBQ

SharePoint 2010 Overview

| Posted in Uncategorized |

0

SharePoint 2010 is made from two main products

  1. SharePoint 2010 Foundation (Called Previously Windows SharePoint Services ) (Provides the fundamental collaboration services on which the SharePoint platform is built)
  2. SharePoint 2010 Server
SharePoint Foundation 2010 SharePoint Server 2010
Web Management Presentation
List & Libraries
Integrating with Active Directory and security context
Integrating Workflow Foundation services

DataGridView Empty Row

| Posted in C# |

0

in datagrid view, you have one empty row and have an * on the lest most portion of the row. to solve this problem click on the DataGridView and you should see a little arrow in the top right corner. click on that once and you should see a number of options. some of those options have checkboxs and one of them should say “Enable Adding”. Make sure that it is not checked to solve this problem

Casting @ C#

| Posted in C# |

0

using as keyword in c# in conversion from type to another type (CASTING) , use it like “expression as type”  type and expression are references type but what different when as fail to cast the expression to certain type it won’t through any expression but it will fill the expression with null