June 2004 - Posts
Sheesh, 1 in 3 machines are infected.
“Internet access provider EarthLink and security software maker Webroot scanned nearly 421,000 computers for their April Spy Audit report. Trojan horses and system monitors accounted for 133,715 pieces of the spyware found on those computers--representing almost one in three machines.“
Ug. Novell has gone ahead and released Beta 3 of mono. I just got Beta 2 installed a week ago.
The single site limitation in IIS on XP is frustrating. Since I can't have more then one site on the box, I needed a way to quickly change the Home Directory of the root web. To satisfy my need I came up with this little script.
' setw3.vbs
Dim objArgs
Set objArgs = WScript.Arguments
If objArgs.Length = 0 Then
' Use the current patch
Set WshShell=WScript.CreateObject("WScript.Shell")
Set fs = CreateObject("Scripting.FileSystemObject")
currentPath = fs.GetAbsolutePathName(".\")
Else
currentPath = objArgs.Item(0)
End If
Set IISObject = GetObject("IIS://LocalHost/w3svc/1/Root")
IISObject.Path = currentPath
IISObject.Setinfo
I put this script in my path and can call it from the command line or a batch file.
For example:
w3set “e:\dev\project1“
or a batch file sitting on my Desktop
cd /D e:\dev\project1
w3set
I agree with Scott.
“Unit Testing support should be included with all versions of Visual Studio 2005 and not just with Team System.“
I've been wondering why this was only available in the Team System.
Here's Peter Provost's origianl post.
As I've mentioned before I've been jumping into NUnit more and more lately. I just found this little gem to integrate NUnit and the IDE.
“TestRunner seamlessly integrates NUnit testing and debugging into a compact Visual Studio .NET 2003 add-in.“
http://www.mailframe.net/Products/TestRunner.htm
1using System;
2using NUnit.Framework;
3
4namespace TestRunner
5{
6 public class Library
7 {
8 public static string HelloWorld()
9 {
10 return "Hello World!";
11 }
12 }
13
14 [TestFixture]
15 public class UnitTest
16 {
17 [Test]
18 public void TestEqual()
19 {
20 string TestString = Library.HelloWorld();
21 Assert.AreEqual("Hello World!", TestString );
22 }
23 }
24}
"TechNet
is now providing an RSS (Really Simple Syndication) Feed for its Security
Bulletins, with more RSS content for IT pros on the way in the months ahead. RSS
feeds deliver new content to you on the topics you are interested
in."
http://www.microsoft.com/technet/security/bulletin/secrss.aspx
This is probably common knowledge but it just dawned on me after installing Virtual PC for the first time. Make a copy of your Virtual PC Hard Disk before you start installing other software. This allows you to have a clean OS build anytime you want to start over.
I've been having problems installing the May CTP inside a Virtual PC host. The error log message had this entry:
Errror 1310: Error writing to file: CppCodeProvier.dll. Verify that you have access.
This blog entry gave me some clues but didn't solve my problem. The solution that worked for me was to copy the Visual Studio directory locally and create a share that the VPC host could access.
From MSDN Downloads:
"Common utilities for writing an ISO file to
recordable media such as CD-R include ISORecorder and Nero. The contents of images
files can be extracted to hard drive using utilities such as ISObuster or DaemonTools. Image
files can be mounted locally using the Virtual CD-ROM Control Panel for Windows XP."
More Posts
Next page »