Bo Wu's IT Lab

If winter comes, can spring be far behind?

Browsing Posts tagged asp.net

If you want to Binary or XML Serialization in .NET Programming and you are using C#, you can use following code. using System; using System.IO; using System.Collections; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters; using System.Runtime.Serialization.Formatters.Binary; using System.Web.Mail; namespace npuInfoCS.Utilities {     public class Serialization     {         public enum SerializationFormat {Xml, Binary} [...]

Original Post: http://dotnetslackers.com/articles/aspnet/Sending-email-from-ASP-NET-MVC-through-MVC-and-MSMQ-Part2.aspx By: Andrew Siemer In this article you will learn how to send emails using ASP.NET MVC and MSMQ. Contents Introduction Setting up a private queue MSMQ in Windows 7 MSMQ in Windows 2008 Creating an MSMQ Service Update your web application to use MSMQ instead of SMTP Draining the queue A quick [...]

Original Post: http://dotnetslackers.com/articles/aspnet/Sending-email-from-ASP-NET-MVC-through-MVC-and-MSMQ-Part1.aspx Published: 22 Mar 2010 By: Andrew Siemer In this article you will learn how to send emails using ASP.NET MVC and MSMQ. Contents Introduction An example of sending mail directly to SMTP Creating the ASP.NET MVC web application Creating the email logging database Creating a quick business layer Adding LINQ to SQL [...]