<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Software Code Help - .Net</title>
    <link>http://blog.softwarecodehelp.com/</link>
    <description>Blog</description>
    <language>en-us</language>
    <copyright>SoftwareCodeHelp</copyright>
    <lastBuildDate>Wed, 24 Jun 2009 11:05:21 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.3.9074.18820</generator>
    <managingEditor>rajshekher@gmail.com</managingEditor>
    <webMaster>rajshekher@gmail.com</webMaster>
    <item>
      <trackback:ping>http://blog.softwarecodehelp.com/Trackback.aspx?guid=2e806d64-717b-44d2-a65a-b056f52794a7</trackback:ping>
      <pingback:server>http://blog.softwarecodehelp.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.softwarecodehelp.com/PermaLink,guid,2e806d64-717b-44d2-a65a-b056f52794a7.aspx</pingback:target>
      <dc:creator>Raj Shekhar</dc:creator>
      <wfw:comment>http://blog.softwarecodehelp.com/CommentView,guid,2e806d64-717b-44d2-a65a-b056f52794a7.aspx</wfw:comment>
      <wfw:commentRss>http://blog.softwarecodehelp.com/SyndicationService.asmx/GetEntryCommentsRss?guid=2e806d64-717b-44d2-a65a-b056f52794a7</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <font face="HelveticaNeue-Condensed" size="1">
          <p align="left">
            <font size="2">The latest version of Visual Studio has some long-awaited improvements.
They include the following:</font>
          </p>
          <p align="left">
            <font size="2">• </font>
          </p>
        </font>
        <b>
          <font face="HelveticaNeue-BoldCond">Web projects
</font>
        </b>
        <font face="HelveticaNeue-Condensed">: Visual Studio 2005 replaced the
traditional project-based web application model with a lighterweight system of projectless
development. However, this change didn’t please everyone, and so Microsoft released
an add-on that brought the web project option back. In Visual Studio 2008, developers
get the best of both worlds, and can choose to create projectless or project-based
web applications depending on their needs.
<p align="left">
• 
</p></font>
        <b>
          <font face="HelveticaNeue-BoldCond">Multitargeting
</font>
        </b>
        <font face="HelveticaNeue-Condensed">: Web servers won’t shift overnight
from .NET 2.0 to .NET 3.5. With this in mind, Visual Studio now gives you the flexibility
to develop applications that target any version of the .NET Framework, from version
2.0 on.
<p align="left">
• 
</p></font>
        <b>
          <font face="HelveticaNeue-BoldCond">CSS
</font>
        </b>
        <font face="HelveticaNeue-Condensed">: In order to apply consistent formatting
over an entire website, developers often use the Cascading Style Sheets (CSS) standard.
Now Visual Studio makes it even easier to link web pages to stylesheets, and pick
and choose the styles you want to apply to various elements in your page without editing
the markup by hand.
</font>
        <img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=2e806d64-717b-44d2-a65a-b056f52794a7" />
      </body>
      <title>What was the new features in Visual Studio 2008.?</title>
      <guid isPermaLink="false">http://blog.softwarecodehelp.com/PermaLink,guid,2e806d64-717b-44d2-a65a-b056f52794a7.aspx</guid>
      <link>http://blog.softwarecodehelp.com/2009/06/24/WhatWasTheNewFeaturesInVisualStudio2008.aspx</link>
      <pubDate>Wed, 24 Jun 2009 11:05:21 GMT</pubDate>
      <description>&lt;font face=HelveticaNeue-Condensed size=1&gt; 
&lt;p align=left&gt;
&lt;font size=2&gt;The latest version of Visual Studio has some long-awaited improvements.
They include the following:&lt;/font&gt;
&lt;/p&gt;
&lt;p align=left&gt;
&lt;font size=2&gt;• &lt;/font&gt;
&lt;/font&gt;&lt;b&gt;&lt;font face=HelveticaNeue-BoldCond&gt;Web projects
&lt;/b&gt;&gt;&lt;font face=HelveticaNeue-Condensed&gt;: Visual Studio 2005 replaced the traditional
project-based web application model with a lighterweight system of projectless development.
However, this change didn’t please everyone, and so Microsoft released an add-on that
brought the web project option back. In Visual Studio 2008, developers get the best
of both worlds, and can choose to create projectless or project-based web applications
depending on their needs.&gt;
&lt;p align=left&gt;
• 
&lt;/font&gt;&lt;b&gt;&lt;font face=HelveticaNeue-BoldCond&gt;Multitargeting
&lt;/b&gt;&gt;&lt;font face=HelveticaNeue-Condensed&gt;: Web servers won’t shift overnight from .NET
2.0 to .NET 3.5. With this in mind, Visual Studio now gives you the flexibility to
develop applications that target any version of the .NET Framework, from version 2.0
on.&gt;
&lt;p align=left&gt;
• 
&lt;/font&gt;&lt;b&gt;&lt;font face=HelveticaNeue-BoldCond&gt;CSS
&lt;/b&gt;&gt;&lt;font face=HelveticaNeue-Condensed&gt;: In order to apply consistent formatting
over an entire website, developers often use the Cascading Style Sheets (CSS) standard.
Now Visual Studio makes it even easier to link web pages to stylesheets, and pick
and choose the styles you want to apply to various elements in your page without editing
the markup by hand.&gt;
&lt;/font&gt;&lt;img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=2e806d64-717b-44d2-a65a-b056f52794a7" /&gt;</description>
      <comments>http://blog.softwarecodehelp.com/CommentView,guid,2e806d64-717b-44d2-a65a-b056f52794a7.aspx</comments>
      <category>.Net</category>
    </item>
    <item>
      <trackback:ping>http://blog.softwarecodehelp.com/Trackback.aspx?guid=bae2fbfa-4b6e-4f92-a659-5690215a35c0</trackback:ping>
      <pingback:server>http://blog.softwarecodehelp.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.softwarecodehelp.com/PermaLink,guid,bae2fbfa-4b6e-4f92-a659-5690215a35c0.aspx</pingback:target>
      <dc:creator>Raj Shekhar</dc:creator>
      <wfw:comment>http://blog.softwarecodehelp.com/CommentView,guid,bae2fbfa-4b6e-4f92-a659-5690215a35c0.aspx</wfw:comment>
      <wfw:commentRss>http://blog.softwarecodehelp.com/SyndicationService.asmx/GetEntryCommentsRss?guid=bae2fbfa-4b6e-4f92-a659-5690215a35c0</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
There are Four type of symmetric encryption algorithms in .net.<br /><br /><strong>DES</strong> 
</p>
        <p>
The Data Encryption Standard (DES) was developed by an IBM team around 1974 and adopted
as a national standard in 1977. DES encrypts and decrypts data in 64-bit blocks, using
a 64-bit key. Although the input key for DES is 64 bits long, the actual key used
by DES is only 56 bits in length. The least significant (right-most) bit in each byte
is a parity bit, and should be set so that there are always an odd number of 1s in
every byte. These parity bits are ignored, so only the seven most significant bits
of each byte are used, resulting in a key length of 56 bits. 
</p>
        <p>
          <strong>Triple DES</strong> 
</p>
        <p>
Triple DES is three times slower than regular DES but can be billions of times more
secure if used properly. Triple DES is simply another mode of DES operation. It takes
three 64-bit keys, for an overall key length of 192 bits. The procedure for encryption
is exactly the same as regular DES, but it is repeated three times, hence the name
Triple DES. The data is encrypted with the first key, encrypted with the second key,
and finally encrypted again with the third key. Triple DES enjoys much wider use than
DES because DES is so easy to break with today's rapidly advancing technology. 
</p>
        <p>
          <strong>RC2</strong>
        </p>
        <p>
RC2 (Rivest Cipher) was designed by Ron Rivest as a replacement for DES and boasts
a 3 times speed increase over DES. The input and output block sizes are 64 bits each.
The key size is variable, from one byte up to 128 bytes, although the current implementation
uses eight bytes. The algorithm is designed to be easy to implement on 16-bit microprocessors.
</p>
        <p>
          <strong>Rijndael</strong>
        </p>
        <p>
The National Institute of Standards and Technology (NIST) officially announced that
Rijndael, designed by Joan Daemen and Vincent Rijmen, would be the new Advanced Encryption
Standard. 
</p>
        <p>
The Advanced Encryption Standard (AES) is the current encryption standard, intended
to be used by  the U.S. Government organisations to protect sensitive (and even
secret and top secret) information. It is also becoming a global standard for commercial
software and hardware that use encryption. It is a block cipher which uses 128-bit,
192-bit or 256-bit keys. Rijndael is very secure and has no known weaknesses.<br /></p>
        <img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=bae2fbfa-4b6e-4f92-a659-5690215a35c0" />
      </body>
      <title>What are the different type of symmetric encryption algorithms in .net framework.</title>
      <guid isPermaLink="false">http://blog.softwarecodehelp.com/PermaLink,guid,bae2fbfa-4b6e-4f92-a659-5690215a35c0.aspx</guid>
      <link>http://blog.softwarecodehelp.com/2009/06/24/WhatAreTheDifferentTypeOfSymmetricEncryptionAlgorithmsInNetFramework.aspx</link>
      <pubDate>Wed, 24 Jun 2009 10:10:15 GMT</pubDate>
      <description>&lt;p&gt;
There are Four type of symmetric encryption algorithms in .net.&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;DES&lt;/strong&gt;&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
The Data Encryption Standard (DES) was developed by an IBM team around 1974 and adopted
as a national standard in 1977. DES encrypts and decrypts data in 64-bit blocks, using
a 64-bit key. Although the input key for DES is 64 bits long, the actual key used
by DES is only 56 bits in length. The least significant (right-most) bit in each byte
is a parity bit, and should be set so that there are always an odd number of 1s in
every byte. These parity bits are ignored, so only the seven most significant bits
of each byte are used, resulting in a key length of 56 bits.&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Triple DES&lt;/strong&gt;&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
Triple DES is three times slower than regular DES but can be billions of times more
secure if used properly. Triple DES is simply another mode of DES operation. It takes
three 64-bit keys, for an overall key length of 192 bits. The procedure for encryption
is exactly the same as regular DES, but it is repeated three times, hence the name
Triple DES. The data is encrypted with the first key, encrypted with the second key,
and finally encrypted again with the third key. Triple DES enjoys much wider use than
DES because DES is so easy to break with today's rapidly advancing technology.&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;RC2&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
RC2 (Rivest Cipher) was designed by Ron Rivest as a replacement for DES and boasts
a 3 times speed increase over DES. The input and output block sizes are 64 bits each.
The key size is variable, from one byte up to 128 bytes, although the current implementation
uses eight bytes. The algorithm is designed to be easy to implement on 16-bit microprocessors.
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Rijndael&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
The National Institute of Standards and Technology (NIST) officially announced that
Rijndael, designed by Joan Daemen and Vincent Rijmen, would be the new Advanced Encryption
Standard. 
&lt;/p&gt;
&lt;p&gt;
The Advanced Encryption Standard (AES) is the current encryption standard, intended
to be used by&amp;nbsp; the U.S. Government organisations to protect sensitive (and even
secret and top secret) information. It is also becoming a global standard for commercial
software and hardware that use encryption. It is a block cipher which uses 128-bit,
192-bit or 256-bit keys. Rijndael is very secure and has no known weaknesses.&lt;br&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=bae2fbfa-4b6e-4f92-a659-5690215a35c0" /&gt;</description>
      <comments>http://blog.softwarecodehelp.com/CommentView,guid,bae2fbfa-4b6e-4f92-a659-5690215a35c0.aspx</comments>
      <category>.Net</category>
    </item>
    <item>
      <trackback:ping>http://blog.softwarecodehelp.com/Trackback.aspx?guid=09331c60-490e-4c77-a901-8d1254a6372e</trackback:ping>
      <pingback:server>http://blog.softwarecodehelp.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.softwarecodehelp.com/PermaLink,guid,09331c60-490e-4c77-a901-8d1254a6372e.aspx</pingback:target>
      <dc:creator>Raj Shekhar</dc:creator>
      <wfw:comment>http://blog.softwarecodehelp.com/CommentView,guid,09331c60-490e-4c77-a901-8d1254a6372e.aspx</wfw:comment>
      <wfw:commentRss>http://blog.softwarecodehelp.com/SyndicationService.asmx/GetEntryCommentsRss?guid=09331c60-490e-4c77-a901-8d1254a6372e</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <font color="#0000ff" size="2">
          <pre>
            <span style="FONT-SIZE: 11px; COLOR: black; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">
              <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">
                <font face="Verdana" size="2">      </font>
                <font face="Verdana" color="#000000" size="2">Microsoft
.net framework provide a facility for sending mail using System.Web.Mail(SMTP)<br />
      First include this using System.Web.Mail in your code,
For sending mail we are creating a function sendMail, 
<br />
      it is used for sending email. For correctly running 
<br />
      this code, please find register two dll "cdonts.dll"
and "cdosys.dll".<br />
      These two dll is microsoft dll used for sending mail.</font>
              </span>
            </span>
          </pre>
          <pre>
            <span style="FONT-SIZE: 11px; COLOR: black; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">
              <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">
              </span>
            </span> </pre>
          <pre>
            <span style="FONT-SIZE: 11px; COLOR: black; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">
              <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">      public</span>
              <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">void</span> sendMail()
        {             <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">try</span>             {
                <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">//Provides
properties and methods for sending messages using the Collaboration Data Objects for 
<br />
                  Windows
2000 (CDOSYS) message component. </span>                 SmtpMail.SmtpServer= <span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"SMTP
Server IP Address"</span>;                 MailMessage
msg <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">=</span><span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">new</span> MailMessage();
                <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">//
Specify the e-mail sender.</span>                 msg.From <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">=</span><span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"rajshekhar@mail.com"</span>;<span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">//Self
mail address</span><span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">//
Set destinations for the e-mail message.</span>                 msg.To <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">=</span><span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"Send
Email Address"</span>;                 <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">//
Set destinations of Carbon Copy(CC) for the e-mail message.</span>                 msg.Cc <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">=</span><span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"CC
Email Address;                 //
Set destinations of Blind carbon copies(BCC) for the e-mail message.                 msg.Bcc
= "</span>BCC Email Address<span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">";
                //
Specify the message subject.                 msg.Subject
= this.txtSubject.Text;                 //
Specify the message content.                 msg.Body
= "</span>Content of Message Assign Here<span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">";
                msg.BodyFormat
= MailFormat.Text;                 //The
username for authenticating to an SMTP server using basic (clear-text) authentication.
                msg.Fields.Add(
"</span>http:<span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">//schemas.microsoft.com/cdo/configuration/sendusername",<br />
                                 "itq@vmaildeliver.vsnl.com");</span>                 <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">//The
password used to authenticate to an SMTP server using basic (clear-text) authentication.</span>                 msg.Fields.Add( <span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"http://schemas.microsoft.com/cdo/configuration/sendpassword"</span>,<span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"itq.1.123"</span>);
                /%        
                Specifies
the authentication mechanism to use when authentication <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">is</span> required
to send messages<br />
               
to an SMTP service <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">using</span> a
TCP/IP network socket.                                         
                The
Secound parameter <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">in</span> smtpauthenticateis
CdoProtocolsAuthentication enumeration, It <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">is</span><br />
               
used to specify the mechanism used when authenticating to a Simple Mail Transfer Protocol(SMTP)<br />
               
service over the network.                 It
has three different type of value:                 Name            Value                Description
                ====            =====                ============
                cdoAnonymous    
0                
Do not authenticate.                 
                cdoBasic        
1                
Use basic (clear-text) authentication. The configuration 
<br />
                                                   sendusername/sendpassword
or postusername/postpassword fields<br />
                                                  are
used to specify credentials.                 
                cdoNTLM            
2              Use
NTLM authentication (Secure Password Authentication <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">in</span><br />
                                                   Microsoft®
Outlook® Express).The current process security 
<br />
                                                   context <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">is</span> used
to authenticate with the service.                 
                */                            
                msg.Fields.Add( <span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"http://schemas.microsoft.com/cdo/configuration/smtpauthenticate"</span>,1);
                <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">//Sending
Message            </span>                 SmtpMail.Send(msg);
                
            }             <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">catch</span> (Exception
ex)             {                 ErrorMessage(<span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"Send
Mail Process was failed!!!"</span>);                 
            }             <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">finally</span>             {
                
                SuccessMessage(<span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"Send
Mail Process was successfull!!!"</span>);             }
        } </span>
          </pre>
          <p>
You can use this above code for sending mail using SMTP in ASP.NET.
</p>
        </font>
        <font size="2">
        </font>
        <img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=09331c60-490e-4c77-a901-8d1254a6372e" />
      </body>
      <title>How to send mail in ASP.NET using C# technology.</title>
      <guid isPermaLink="false">http://blog.softwarecodehelp.com/PermaLink,guid,09331c60-490e-4c77-a901-8d1254a6372e.aspx</guid>
      <link>http://blog.softwarecodehelp.com/2009/06/22/HowToSendMailInASPNETUsingCTechnology.aspx</link>
      <pubDate>Mon, 22 Jun 2009 10:26:30 GMT</pubDate>
      <description>&lt;font color=#0000ff size=2&gt;&lt;pre&gt;&lt;span style="FONT-SIZE: 11px; COLOR: black; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;&lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;&lt;font face=Verdana size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;font face=Verdana color=#000000 size=2&gt;Microsoft
.net framework provide a facility for sending mail using System.Web.Mail(SMTP)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; First include this using System.Web.Mail in your code,
For sending mail we are creating a function sendMail, 
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;it is used for sending email. For correctly running 
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this code, please find register two dll "cdonts.dll"
and "cdosys.dll".&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; These two dll is microsoft dll used for sending mail.&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE: 11px; COLOR: black; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;&lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE: 11px; COLOR: black; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;&lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;public&lt;/span&gt; &lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;void&lt;/span&gt; sendMail()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;try&lt;/span&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;//Provides
properties and methods for sending messages using the Collaboration Data Objects for 
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Windows
2000 (CDOSYS) message component. &lt;/span&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SmtpMail.SmtpServer= &lt;span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4"&gt;"SMTP
Server IP Address"&lt;/span&gt;; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MailMessage
msg &lt;span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;=&lt;/span&gt; &lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;new&lt;/span&gt; MailMessage();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;//
Specify the e-mail sender.&lt;/span&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;msg.From &lt;span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;=&lt;/span&gt; &lt;span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4"&gt;"rajshekhar@mail.com"&lt;/span&gt;;&lt;span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;//Self
mail address&lt;/span&gt; &lt;span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;//
Set destinations for the e-mail message.&lt;/span&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;msg.To &lt;span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;=&lt;/span&gt; &lt;span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4"&gt;"Send
Email Address"&lt;/span&gt;; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;//
Set destinations of Carbon Copy(CC) for the e-mail message.&lt;/span&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;msg.Cc &lt;span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;=&lt;/span&gt; &lt;span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4"&gt;"CC
Email Address; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//
Set destinations of Blind carbon copies(BCC) for the e-mail message. &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;msg.Bcc
= "&lt;/span&gt;BCC Email Address&lt;span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4"&gt;";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//
Specify the message subject. &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;msg.Subject
= this.txtSubject.Text; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//
Specify the message content. &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;msg.Body
= "&lt;/span&gt;Content of Message Assign Here&lt;span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4"&gt;";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;msg.BodyFormat
= MailFormat.Text; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//The
username for authenticating to an SMTP server using basic (clear-text) authentication.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;msg.Fields.Add(
"&lt;/span&gt;http:&lt;span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;//schemas.microsoft.com/cdo/configuration/sendusername",&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"itq@vmaildeliver.vsnl.com");&lt;/span&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;//The
password used to authenticate to an SMTP server using basic (clear-text) authentication.&lt;/span&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;msg.Fields.Add( &lt;span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4"&gt;"http://schemas.microsoft.com/cdo/configuration/sendpassword"&lt;/span&gt;,&lt;span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4"&gt;"itq.1.123"&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/%&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Specifies
the authentication mechanism to use when authentication &lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;is&lt;/span&gt; required
to send messages&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
to an SMTP service &lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;using&lt;/span&gt; a
TCP/IP network socket. &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;The
Secound parameter &lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;in&lt;/span&gt; smtpauthenticateis
CdoProtocolsAuthentication enumeration, It &lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;is&lt;/span&gt; 
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
used to specify the mechanism used when authenticating to a Simple Mail Transfer Protocol(SMTP)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
service over the network. &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;It
has three different type of value: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Value&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Description
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;====&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=====&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;============
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cdoAnonymous&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Do not authenticate. &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cdoBasic&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Use basic (clear-text) authentication. The configuration 
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sendusername/sendpassword
or postusername/postpassword fields&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;are
used to specify credentials. &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cdoNTLM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Use
NTLM authentication (Secure Password Authentication &lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;in&lt;/span&gt; 
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Microsoft®
Outlook® Express).The current process security 
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;context &lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;is&lt;/span&gt; used
to authenticate with the service. &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*/&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;msg.Fields.Add( &lt;span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4"&gt;"http://schemas.microsoft.com/cdo/configuration/smtpauthenticate"&lt;/span&gt;,1);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;//Sending
Message&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SmtpMail.Send(msg);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;catch&lt;/span&gt; (Exception
ex) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ErrorMessage(&lt;span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4"&gt;"Send
Mail Process was failed!!!"&lt;/span&gt;); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;finally&lt;/span&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SuccessMessage(&lt;span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4"&gt;"Send
Mail Process was successfull!!!"&lt;/span&gt;); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} &lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;
You can use this above code for sending mail using SMTP in ASP.NET.
&lt;/font&gt;&lt;font size=2&gt;&gt;
&lt;/font&gt;&lt;img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=09331c60-490e-4c77-a901-8d1254a6372e" /&gt;</description>
      <comments>http://blog.softwarecodehelp.com/CommentView,guid,09331c60-490e-4c77-a901-8d1254a6372e.aspx</comments>
      <category>.Net</category>
      <category>asp.net</category>
    </item>
    <item>
      <trackback:ping>http://blog.softwarecodehelp.com/Trackback.aspx?guid=5040d132-b04a-475d-b265-51bc21e82a95</trackback:ping>
      <pingback:server>http://blog.softwarecodehelp.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.softwarecodehelp.com/PermaLink,guid,5040d132-b04a-475d-b265-51bc21e82a95.aspx</pingback:target>
      <dc:creator>Raj Shekhar</dc:creator>
      <wfw:comment>http://blog.softwarecodehelp.com/CommentView,guid,5040d132-b04a-475d-b265-51bc21e82a95.aspx</wfw:comment>
      <wfw:commentRss>http://blog.softwarecodehelp.com/SyndicationService.asmx/GetEntryCommentsRss?guid=5040d132-b04a-475d-b265-51bc21e82a95</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Everyone who writes code
</p>
        <p>
Describe the difference between a Thread and a Process? 
<br />
What is a Windows Service and how does its lifecycle differ from a "standard" EXE? 
<br />
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? 
<br />
What is the difference between an EXE and a DLL? 
<br />
What is strong-typing versus weak-typing? Which is preferred? Why? 
<br />
Corillian's product is a "Component Container." Name at least 3 component containers
that ship now with the Windows Server Family. 
<br />
What is a PID? How is it useful when troubleshooting a system? 
<br />
How many processes can listen on a single TCP/IP port? 
<br />
What is the GAC? What problem does it solve?<br />
Mid-Level .NET Developer
</p>
        <p>
Describe the difference between Interface-oriented, Object-oriented and Aspect-oriented
programming. 
<br />
Describe what an Interface is and how it’s different from a Class. 
<br />
What is Reflection? 
<br />
What is the difference between XML Web Services using ASMX and .NET Remoting using
SOAP? 
<br />
Are the type system represented by XmlSchema and the CLS isomorphic? 
<br />
Conceptually, what is the difference between early-binding and late-binding? 
<br />
Is using Assembly.Load a static reference or dynamic reference? 
<br />
When would using Assembly.LoadFrom or Assembly.LoadFile be appropriate? 
<br />
What is an Asssembly Qualified Name? Is it a filename? How is it different? 
<br />
Is this valid? Assembly.Load("foo.dll"); 
<br />
How is a strongly-named assembly different from one that isn’t strongly-named? 
<br />
Can DateTimes be null? 
<br />
What is the JIT? What is NGEN? What are limitations and benefits of each? 
<br />
How does the generational garbage collector in the .NET CLR manage object lifetime?
What is non-deterministic finalization? 
<br />
What is the difference between Finalize() and Dispose()? 
<br />
How is the using() pattern useful? What is IDisposable? How does it support deterministic
finalization? 
<br />
What does this useful command line do? tasklist /m "mscor*" 
<br />
What is the difference between in-proc and out-of-proc? 
<br />
What technology enables out-of-proc communication in .NET? 
<br />
When you’re running a component within ASP.NET, what process is it running within
on Windows XP? Windows 2000? Windows 2003?<br />
Senior Developers/Architects
</p>
        <p>
What’s wrong with a line like this? DateTime.Parse(myString); 
<br />
What are PDBs? Where must they be located for debugging to work? 
<br />
What is cyclomatic complexity and why is it important? 
<br />
Write a standard lock() plus “double check” to create a critical section around a
variable access. 
<br />
What is FullTrust? Do GAC’ed assemblies have FullTrust? 
<br />
What benefit does your code receive if you decorate it with attributes demanding specific
Security permissions? 
<br />
What does this do? gacutil /l | find /i "Corillian" 
<br />
What does this do? sn -t foo.dll 
<br />
What ports must be open for DCOM over a firewall? What is the purpose of Port 135? 
<br />
Contrast OOP and SOA. What are tenets of each? 
<br />
How does the XmlSerializer work? What ACL permissions does a process using it require? 
<br />
Why is catch(Exception) almost always a bad idea? 
<br />
What is the difference between Debug.Write and Trace.Write? When should each be used? 
<br />
What is the difference between a Debug and Release build? Is there a significant speed
difference? Why or why not? 
<br />
Does JITting occur per-assembly or per-method? How does this affect the working set? 
<br />
Contrast the use of an abstract base class against an interface? 
<br />
What is the difference between a.Equals(b) and a == b? 
<br />
In the context of a comparison, what is object identity versus object equivalence? 
<br />
How would one do a deep copy in .NET? 
<br />
Explain current thinking around IClonable. 
<br />
What is boxing? 
<br />
Is string a value type or a reference type? 
<br />
What is the significance of the "PropertySpecified" pattern used by the XmlSerializer?
What problem does it attempt to solve? 
<br />
Why are out parameters a bad idea in .NET? Are they? 
<br />
Can attributes be placed on specific parameters to a method? Why is this useful?<br />
C# Component Developers
</p>
        <p>
Juxtapose the use of override with new. What is shadowing? 
<br />
Explain the use of virtual, sealed, override, and abstract. 
<br />
Explain the importance and use of each component of this string: Foo.Bar, Version=2.0.205.0,
Culture=neutral, PublicKeyToken=593777ae2d274679d 
<br />
Explain the differences between public, protected, private and internal. 
<br />
What benefit do you get from using a Primary Interop Assembly (PIA)? 
<br />
By what mechanism does NUnit know what methods to test? 
<br />
What is the difference between: catch(Exception e){throw e;} and catch(Exception e){throw;} 
<br />
What is the difference between typeof(foo) and myFoo.GetType()? 
<br />
Explain what’s happening in the first constructor: public class c{ public c(string
a) : this() {;}; public c() {;} } How is this construct useful? 
<br />
What is this? Can this be used within a static method?<br />
ASP.NET (UI) Developers
</p>
        <p>
Describe how a browser-based Form POST becomes a Server-Side event like Button1_OnClick. 
<br />
What is a PostBack? 
<br />
What is ViewState? How is it encoded? Is it encrypted? Who uses ViewState? 
<br />
What is the &lt;machinekey&gt; element and what two ASP.NET technologies is it used
for? 
<br />
What three Session State providers are available in ASP.NET 1.1? What are the pros
and cons of each? 
<br />
What is Web Gardening? How would using it affect a design? 
<br />
Given one ASP.NET application, how many application objects does it have on a single
proc box? A dual? A dual with Web Gardening enabled? How would this affect a design? 
<br />
Are threads reused in ASP.NET between reqeusts? Does every HttpRequest get its own
thread? Should you use Thread Local storage with ASP.NET? 
<br />
Is the [ThreadStatic] attribute useful in ASP.NET? Are there side effects? Good or
bad? 
<br />
Give an example of how using an HttpHandler could simplify an existing design that
serves Check Images from an .aspx page. 
<br />
What kinds of events can an HttpModule subscribe to? What influence can they have
on an implementation? What can be done without recompiling the ASP.NET Application? 
<br />
Describe ways to present an arbitrary endpoint (URL) and route requests to that endpoint
to ASP.NET. 
<br />
Explain how cookies work. Give an example of Cookie abuse. 
<br />
Explain the importance of HttpRequest.ValidateInput()? 
<br />
What kind of data is passed via HTTP Headers? 
<br />
Juxtapose the HTTP verbs GET and POST. What is HEAD? 
<br />
Name and describe at least a half dozen HTTP Status Codes and what they express to
the requesting client. 
<br />
How does if-not-modified-since work? How can it be programmatically implemented with
ASP.NET?<br />
Explain &lt;@OutputCache%&gt; and the usage of VaryByParam, VaryByHeader. 
<br />
How does VaryByCustom work? 
<br />
How would one implement ASP.NET HTML output caching, caching outgoing versions of
pages generated via all values of q= except where q=5 (as in <a href="http://localhost/page.aspx?q=5">http://localhost/page.aspx?q=5</a>)?<br />
Developers using XML
</p>
        <p>
What is the purpose of XML Namespaces? 
<br />
When is the DOM appropriate for use? When is it not? Are there size limitations? 
<br />
What is the WS-I Basic Profile and why is it important? 
<br />
Write a small XML document that uses a default namespace and a qualified (prefixed)
namespace. Include elements from both namespace. 
<br />
What is the one fundamental difference between Elements and Attributes? 
<br />
What is the difference between Well-Formed XML and Valid XML? 
<br />
How would you validate XML using .NET? 
<br />
Why is this almost always a bad idea? When is it a good idea? myXmlDocument.SelectNodes("//mynode"); 
<br />
Describe the difference between pull-style parsers (XmlReader) and eventing-readers
(Sax) 
<br />
What is the difference between XPathDocument and XmlDocument? Describe situations
where one should be used over the other. 
<br />
What is the difference between an XML "Fragment" and an XML "Document." 
<br />
What does it meant to say “the canonical” form of XML? 
<br />
Why is the XML InfoSet specification different from the Xml DOM? What does the InfoSet
attempt to solve? 
<br />
Contrast DTDs versus XSDs. What are their similarities and differences? Which is preferred
and why? 
<br />
Does System.Xml support DTDs? How? 
<br />
Can any XML Schema be represented as an object graph? Vice versa?
</p>
        <img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=5040d132-b04a-475d-b265-51bc21e82a95" />
      </body>
      <title>What Great .NET Developers Ought To Know</title>
      <guid isPermaLink="false">http://blog.softwarecodehelp.com/PermaLink,guid,5040d132-b04a-475d-b265-51bc21e82a95.aspx</guid>
      <link>http://blog.softwarecodehelp.com/2009/06/21/WhatGreatNETDevelopersOughtToKnow.aspx</link>
      <pubDate>Sun, 21 Jun 2009 10:16:13 GMT</pubDate>
      <description>&lt;p&gt;
Everyone who writes code
&lt;/p&gt;
&lt;p&gt;
Describe the difference between a Thread and a Process? 
&lt;br&gt;
What is a Windows Service and how does its lifecycle differ from a "standard" EXE? 
&lt;br&gt;
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? 
&lt;br&gt;
What is the difference between an EXE and a DLL? 
&lt;br&gt;
What is strong-typing versus weak-typing? Which is preferred? Why? 
&lt;br&gt;
Corillian's product is a "Component Container." Name at least 3 component containers
that ship now with the Windows Server Family. 
&lt;br&gt;
What is a PID? How is it useful when troubleshooting a system? 
&lt;br&gt;
How many processes can listen on a single TCP/IP port? 
&lt;br&gt;
What is the GAC? What problem does it solve?&lt;br&gt;
Mid-Level .NET Developer
&lt;/p&gt;
&lt;p&gt;
Describe the difference between Interface-oriented, Object-oriented and Aspect-oriented
programming. 
&lt;br&gt;
Describe what an Interface is and how it’s different from a Class. 
&lt;br&gt;
What is Reflection? 
&lt;br&gt;
What is the difference between XML Web Services using ASMX and .NET Remoting using
SOAP? 
&lt;br&gt;
Are the type system represented by XmlSchema and the CLS isomorphic? 
&lt;br&gt;
Conceptually, what is the difference between early-binding and late-binding? 
&lt;br&gt;
Is using Assembly.Load a static reference or dynamic reference? 
&lt;br&gt;
When would using Assembly.LoadFrom or Assembly.LoadFile be appropriate? 
&lt;br&gt;
What is an Asssembly Qualified Name? Is it a filename? How is it different? 
&lt;br&gt;
Is this valid? Assembly.Load("foo.dll"); 
&lt;br&gt;
How is a strongly-named assembly different from one that isn’t strongly-named? 
&lt;br&gt;
Can DateTimes be null? 
&lt;br&gt;
What is the JIT? What is NGEN? What are limitations and benefits of each? 
&lt;br&gt;
How does the generational garbage collector in the .NET CLR manage object lifetime?
What is non-deterministic finalization? 
&lt;br&gt;
What is the difference between Finalize() and Dispose()? 
&lt;br&gt;
How is the using() pattern useful? What is IDisposable? How does it support deterministic
finalization? 
&lt;br&gt;
What does this useful command line do? tasklist /m "mscor*" 
&lt;br&gt;
What is the difference between in-proc and out-of-proc? 
&lt;br&gt;
What technology enables out-of-proc communication in .NET? 
&lt;br&gt;
When you’re running a component within ASP.NET, what process is it running within
on Windows XP? Windows 2000? Windows 2003?&lt;br&gt;
Senior Developers/Architects
&lt;/p&gt;
&lt;p&gt;
What’s wrong with a line like this? DateTime.Parse(myString); 
&lt;br&gt;
What are PDBs? Where must they be located for debugging to work? 
&lt;br&gt;
What is cyclomatic complexity and why is it important? 
&lt;br&gt;
Write a standard lock() plus “double check” to create a critical section around a
variable access. 
&lt;br&gt;
What is FullTrust? Do GAC’ed assemblies have FullTrust? 
&lt;br&gt;
What benefit does your code receive if you decorate it with attributes demanding specific
Security permissions? 
&lt;br&gt;
What does this do? gacutil /l | find /i "Corillian" 
&lt;br&gt;
What does this do? sn -t foo.dll 
&lt;br&gt;
What ports must be open for DCOM over a firewall? What is the purpose of Port 135? 
&lt;br&gt;
Contrast OOP and SOA. What are tenets of each? 
&lt;br&gt;
How does the XmlSerializer work? What ACL permissions does a process using it require? 
&lt;br&gt;
Why is catch(Exception) almost always a bad idea? 
&lt;br&gt;
What is the difference between Debug.Write and Trace.Write? When should each be used? 
&lt;br&gt;
What is the difference between a Debug and Release build? Is there a significant speed
difference? Why or why not? 
&lt;br&gt;
Does JITting occur per-assembly or per-method? How does this affect the working set? 
&lt;br&gt;
Contrast the use of an abstract base class against an interface? 
&lt;br&gt;
What is the difference between a.Equals(b) and a == b? 
&lt;br&gt;
In the context of a comparison, what is object identity versus object equivalence? 
&lt;br&gt;
How would one do a deep copy in .NET? 
&lt;br&gt;
Explain current thinking around IClonable. 
&lt;br&gt;
What is boxing? 
&lt;br&gt;
Is string a value type or a reference type? 
&lt;br&gt;
What is the significance of the "PropertySpecified" pattern used by the XmlSerializer?
What problem does it attempt to solve? 
&lt;br&gt;
Why are out parameters a bad idea in .NET? Are they? 
&lt;br&gt;
Can attributes be placed on specific parameters to a method? Why is this useful?&lt;br&gt;
C# Component Developers
&lt;/p&gt;
&lt;p&gt;
Juxtapose the use of override with new. What is shadowing? 
&lt;br&gt;
Explain the use of virtual, sealed, override, and abstract. 
&lt;br&gt;
Explain the importance and use of each component of this string: Foo.Bar, Version=2.0.205.0,
Culture=neutral, PublicKeyToken=593777ae2d274679d 
&lt;br&gt;
Explain the differences between public, protected, private and internal. 
&lt;br&gt;
What benefit do you get from using a Primary Interop Assembly (PIA)? 
&lt;br&gt;
By what mechanism does NUnit know what methods to test? 
&lt;br&gt;
What is the difference between: catch(Exception e){throw e;} and catch(Exception e){throw;} 
&lt;br&gt;
What is the difference between typeof(foo) and myFoo.GetType()? 
&lt;br&gt;
Explain what’s happening in the first constructor: public class c{ public c(string
a) : this() {;}; public c() {;} } How is this construct useful? 
&lt;br&gt;
What is this? Can this be used within a static method?&lt;br&gt;
ASP.NET (UI) Developers
&lt;/p&gt;
&lt;p&gt;
Describe how a browser-based Form POST becomes a Server-Side event like Button1_OnClick. 
&lt;br&gt;
What is a PostBack? 
&lt;br&gt;
What is ViewState? How is it encoded? Is it encrypted? Who uses ViewState? 
&lt;br&gt;
What is the &amp;lt;machinekey&amp;gt; element and what two ASP.NET technologies is it used
for? 
&lt;br&gt;
What three Session State providers are available in ASP.NET 1.1? What are the pros
and cons of each? 
&lt;br&gt;
What is Web Gardening? How would using it affect a design? 
&lt;br&gt;
Given one ASP.NET application, how many application objects does it have on a single
proc box? A dual? A dual with Web Gardening enabled? How would this affect a design? 
&lt;br&gt;
Are threads reused in ASP.NET between reqeusts? Does every HttpRequest get its own
thread? Should you use Thread Local storage with ASP.NET? 
&lt;br&gt;
Is the [ThreadStatic] attribute useful in ASP.NET? Are there side effects? Good or
bad? 
&lt;br&gt;
Give an example of how using an HttpHandler could simplify an existing design that
serves Check Images from an .aspx page. 
&lt;br&gt;
What kinds of events can an HttpModule subscribe to? What influence can they have
on an implementation? What can be done without recompiling the ASP.NET Application? 
&lt;br&gt;
Describe ways to present an arbitrary endpoint (URL) and route requests to that endpoint
to ASP.NET. 
&lt;br&gt;
Explain how cookies work. Give an example of Cookie abuse. 
&lt;br&gt;
Explain the importance of HttpRequest.ValidateInput()? 
&lt;br&gt;
What kind of data is passed via HTTP Headers? 
&lt;br&gt;
Juxtapose the HTTP verbs GET and POST. What is HEAD? 
&lt;br&gt;
Name and describe at least a half dozen HTTP Status Codes and what they express to
the requesting client. 
&lt;br&gt;
How does if-not-modified-since work? How can it be programmatically implemented with
ASP.NET?&lt;br&gt;
Explain &amp;lt;@OutputCache%&amp;gt; and the usage of VaryByParam, VaryByHeader. 
&lt;br&gt;
How does VaryByCustom work? 
&lt;br&gt;
How would one implement ASP.NET HTML output caching, caching outgoing versions of
pages generated via all values of q= except where q=5 (as in &lt;a href="http://localhost/page.aspx?q=5"&gt;http://localhost/page.aspx?q=5&lt;/a&gt;)?&lt;br&gt;
Developers using XML
&lt;/p&gt;
&lt;p&gt;
What is the purpose of XML Namespaces? 
&lt;br&gt;
When is the DOM appropriate for use? When is it not? Are there size limitations? 
&lt;br&gt;
What is the WS-I Basic Profile and why is it important? 
&lt;br&gt;
Write a small XML document that uses a default namespace and a qualified (prefixed)
namespace. Include elements from both namespace. 
&lt;br&gt;
What is the one fundamental difference between Elements and Attributes? 
&lt;br&gt;
What is the difference between Well-Formed XML and Valid XML? 
&lt;br&gt;
How would you validate XML using .NET? 
&lt;br&gt;
Why is this almost always a bad idea? When is it a good idea? myXmlDocument.SelectNodes("//mynode"); 
&lt;br&gt;
Describe the difference between pull-style parsers (XmlReader) and eventing-readers
(Sax) 
&lt;br&gt;
What is the difference between XPathDocument and XmlDocument? Describe situations
where one should be used over the other. 
&lt;br&gt;
What is the difference between an XML "Fragment" and an XML "Document." 
&lt;br&gt;
What does it meant to say “the canonical” form of XML? 
&lt;br&gt;
Why is the XML InfoSet specification different from the Xml DOM? What does the InfoSet
attempt to solve? 
&lt;br&gt;
Contrast DTDs versus XSDs. What are their similarities and differences? Which is preferred
and why? 
&lt;br&gt;
Does System.Xml support DTDs? How? 
&lt;br&gt;
Can any XML Schema be represented as an object graph? Vice versa?
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=5040d132-b04a-475d-b265-51bc21e82a95" /&gt;</description>
      <comments>http://blog.softwarecodehelp.com/CommentView,guid,5040d132-b04a-475d-b265-51bc21e82a95.aspx</comments>
      <category>.Net</category>
    </item>
  </channel>
</rss>