Feeds:
Posts
Comments

Archive for February, 2009

Xml Basics

XML Definition: XML stands for Extensible Markup Language. XML is a markup language much like HTML. XML was designed to describe data. XML tags are not predefined in XML. You must define your own tags. XML is self describing. XML uses a DTD (Document Type Definition) to formally describe the data. Xml Document: Xml Document [...]

Read Full Post »

/* interface and ‘is’ operator*/ Definition: By using ‘is’ operator we can find that, whether the class is inherited from a particular interface/class. EXAMPLE 1: using System; using System.Collections.Generic; using System.Text; using System.Reflection; namespace LearningConcepts { interface INode { string Text { get; set; } object Tag { get; set; } int Height { get; [...]

Read Full Post »

Reflection

10. Reflection   Definition:             We can access some data about object at runtime by using Reflection. That information contain ·          Data of the class ·          Names of the Methods that are inside the class ·          Constructor of that Object. To write a C# .Net program this uses reflection,                         The program should use [...]

Read Full Post »

Oops Concepts

7. Oops Concepts ABSTRACT CLASS:             Abstract class can simply defined as incomplete class. It contains one or more incomplete methods called abstract methods. It leaves the implementation of these methods to derived or sub classes. Since abstract classes are incomplete, they can not be instantiated. They must be sub-classed in order to use their [...]

Read Full Post »

Using and Using Alias

6. Using & Using Alias   The using directive has two uses: To allow the use of types in a namespace so that you do not have to qualify the use of a type in that namespace: Using System.Text; // Using Directives All of the members defined within name of a Namespace are brought into [...]

Read Full Post »

C# Namespaces

C# .Net Namespaces Namespace:           Namespace is logically group’s classes. Namespace can span in multiple assemblies. Namespaces and its usage:      System is the basic namespace for .Net Framework. It is having the following Namespaces Collections: The .NET Framework provides specialized classes for data storage and retrieval.   These classes provide support for stacks, queues, lists, [...]

Read Full Post »

Just in time compiler

3. Just In Time Compiler (JIT)                  During Run Time, the CLR invokes the JIT compiler to convert the MSIL into Native code (i.e. Executable Binary Code). When the Function is called, the IL of the function’s body is converted to Native code Just In Time. So the part of code that is not [...]

Read Full Post »

  First step: Setting-up your SMTP (Simple Mail Transfer Protocol)   you must have installed IIS (internet information services), so you can setup your SMTP Virtual Server from there.   Control Panel->Administrative Tools->Internet Information Services , then you select the SMTP Virtual Server Properties and grant permission to local host (127.0.0.1) (Access->Relay).   Second Step: [...]

Read Full Post »

Smtp Classes in .Net

MailMessage Class:      The MailMessage class can be considered the foundation class of the System.Net.Mail namespace. It deals with creating and managing the email message. All other classes will somehow interact with this class. The MailMessage class exposes such properties as the Property  Description Attachments  Gets the attachment collection used to store data attached to [...]

Read Full Post »

SMTP Basics

Simple Mail Transfer Protocol: Short for Simple Mail Transfer Protocol, a protocol for sending e-mail messages between servers. Most e-mail systems that send mail over the Internet use SMTP to send messages from one server to another; the messages can then be retrieved with an e-mail client using either POP or IMAP. In addition, SMTP [...]

Read Full Post »

Follow

Get every new post delivered to your Inbox.