ASP.NET app to send an mail with a hyperlink

MailMessage message = new MailMessage(); message.From = new MailAddress("<a href="https://getridbug.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="50383b312210373d31393c7e333f3d">[email protected]</a>"); message.Subject = "Subject"; message.Body = "Please login"; SmtpClient smtp = new SmtpClient(); message.To.Add("<a href="https://getridbug.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="43282231222e222d03242e222a2f6d202c2e">[email protected]</a>"); smtp.Send(message); I want to have a hyperlink in the body of sent mail where it says “login”. How can I do that? Answers: Thank you for visiting … Read more

Are Multiple DataContext classes ever appropriate?

In order to fully use LinqToSql in an ASP.net 3.5 application, it is necessary to create DataContext classes (which is usually done using the designer in VS 2008). From the UI perspective, the DataContext is a design of the sections of your database that you would like to expose to through LinqToSql and is integral in setting up the ORM features of LinqToSql.