Bo Wu's IT Lab

If winter comes, can spring be far behind?

Browsing Posts in Microsoft

Written by David Barrett March 25, 2011 at 7:00 am Posted in CEO Friday, Job Original Post URL: http://blog.expensify.com/2011/03/25/ceo-friday-why-we-dont-hire-net-programmers/ As you might know, we’re hiring the best programmers in the world. Sure, everyone says that. But my coders will beat up your coders, any day of the week. For example, Mich is barely 5 foot [...]

1. Concatenate Multiple Text Files in Windows: You have a directory full of log files that you want to import into Excel or a database so you can do some processing on them… but there are hundreds of files… how do you make them into a single file? copy /a *.log aggregate.txt 2. How to [...]

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} [...]

My environment: OS: Windows XP Web Server: IIS 5 .NET Framework: 1.1 IDE: Visual Studio 2003 After moving or copying my code directory, when I tried to open the solution in the Visual Studio 2003, I got an error: “Unable to get the project file form the Web server” as following screenshot. The reason is [...]

In the server versions of Windows, you can have multiple versions of web sites installed into IIS and running simultaneously. You can install and run more than one web site within IIS in the professional version of Windows XP or Windows 2000. You just have to pull a trick to modify the IIS metabase to [...]

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 [...]

As an .NET application developer, the following 9 websites are my most frequently visited websites. 1. ASP.net I learned .NET and get a lot of resources from this website. 2. MSDN MSDN’s primary web presence at msdn.microsoft.com is a collection of sites for the developer community that provide information, documentation, and discussion which is authored [...]

Although I think that running PHP and MySQL applications on Linux is more natural and easy to be implemented, sometimes I am still asked to install PHP applications on Windows and use MS SQL Server as database. My environment is: Windows 2003R2 in VirtualBox IIS 6 MS SQL Server 2005 1. Install PHP on IIS: [...]

Windows has a lot of useful commands accessible from Run menu. To invoke the Run box, click on Start button and choose Run, or hold down the Windows key and hit R. Run commands allows simply run applications by typing their name instead of click on an icon. Remember these commands. They can save a [...]