Monitoring HTTP Output with Fiddler in .NET HTTP Clients and WCF Proxies

by Shawn February 09, 2009 09:13

Rick Strahl recently wrote up a great blog article on Monitoring HTTP output for .NET HTTP Clients nad WCF Proxies.  I highly recommend that you check it out as soon as you can.

 Monitoring HTTP Output with Fiddler in .NET HTTP Clients and WCF Proxies

Tags: ,

Development

Looking to create a SharePoint Feature?

by Shawn February 09, 2009 05:45

Tags:

Development

How to replace notepad.exe on Windows Server 2008

by Shawn February 08, 2009 12:41

Have you been looking for a way to replace all instances of notepad.exe on Windows Server 2008? If so, here is a quick and dirty batch file to help you out.

Note: I ran a "dir /s /b notepad.exe > replace_notepad.cmd" to get a list of copies of notepad.exe on the c drive, then edited the new file with what is below

@echo off 
echo Create Backup copies of the original notepad.exe 
copy C:\Windows\notepad.exe C:\Windows\notepad32.exe 
copy C:\Windows\System32\notepad.exe C:\Windows\System32\notepad32.exe
copy C:\Windows\SysWOW64\notepad.exe C:\Windows\SysWOW64\notepad32.exe

echo Take Ownership of the files rem This could be changed to use icacls now 
takeown /F C:\Windows\notepad.exe /A 
takeown /F C:\Windows\System32\notepad.exe /A 
takeown /F C:\Windows\SysWOW64\notepad.exe /A
takeown /F C:\Windows\winsxs\x86_microsoft-windows-notepadwin_31bf3856ad364e35_6.0.6001.18000_none_42c9ccdefb0d0dc9\notepad.exe /A 
takeown /F C:\Windows\winsxs\x86_microsoft-windows-notepad_31bf3856ad364e35_6.0.6001.18000_none_6f1a8d7b6fffbb73\notepad.exe /A 

takeown /F C:\Windows\winsxs\amd64_microsoft-windows-notepadwin_31bf3856ad364e35_6.1.7600.16385_none_9ebebe8614be1470\notepad.exe /A
takeown /F C:\Windows\winsxs\amd64_microsoft-windows-notepad_31bf3856ad364e35_6.1.7600.16385_none_cb0f7f2289b0c21a\notepad.exe /A
takeown /F C:\Windows\winsxs\wow64_microsoft-windows-notepad_31bf3856ad364e35_6.1.7600.16385_none_d5642974be118415\notepad.exe /A

echo Assign full rights to the administrators group 
icacls c:\windows\notepad.exe /grant Administrators:F 
icacls C:\Windows\System32\notepad.exe /grant Administrators:F
icacls C:\Windows\SysWOW64\notepad.exe /grant Administrators:F
icacls C:\Windows\winsxs\x86_microsoft-windows-notepadwin_31bf3856ad364e35_6.0.6001.18000_none_42c9ccdefb0d0dc9\notepad.exe /grant Administrators:F 
icacls C:\Windows\winsxs\x86_microsoft-windows-notepad_31bf3856ad364e35_6.0.6001.18000_none_6f1a8d7b6fffbb73\notepad.exe /grant Administrators:F 

icacls C:\Windows\winsxs\amd64_microsoft-windows-notepadwin_31bf3856ad364e35_6.1.7600.16385_none_9ebebe8614be1470\notepad.exe /grant Administrators:F 
icacls C:\Windows\winsxs\amd64_microsoft-windows-notepad_31bf3856ad364e35_6.1.7600.16385_none_cb0f7f2289b0c21a\notepad.exe /grant Administrators:F 
icacls C:\Windows\winsxs\wow64_microsoft-windows-notepad_31bf3856ad364e35_6.1.7600.16385_none_d5642974be118415\notepad.exe /grant Administrators:F 

echo Copy new notepad.exeover the original versions 
copy /y C:\notepad.exe C:\Windows\notepad.exe 
copy /y C:\notepad.exe C:\Windows\System32\notepad.exe 
copy /y C:\notepad.exe C:\Windows\SysWOW64\notepad.exe
copy /y C:\notepad.exe C:\Windows\winsxs\x86_microsoft-windows-notepadwin_31bf3856ad364e35_6.0.6001.18000_none_42c9ccdefb0d0dc9\notepad.exe
copy /y C:\notepad.exe C:\Windows\winsxs\x86_microsoft-windows-notepad_31bf3856ad364e35_6.0.6001.18000_none_6f1a8d7b6fffbb73\notepad.exe

copy /y C:\notepad.exe C:\Windows\winsxs\amd64_microsoft-windows-notepadwin_31bf3856ad364e35_6.1.7600.16385_none_9ebebe8614be1470\notepad.exe
copy /y C:\notepad.exe C:\Windows\winsxs\amd64_microsoft-windows-notepad_31bf3856ad364e35_6.1.7600.16385_none_cb0f7f2289b0c21a\notepad.exe
copy /y C:\notepad.exe C:\Windows\winsxs\wow64_microsoft-windows-notepad_31bf3856ad364e35_6.1.7600.16385_none_d5642974be118415\notepad.exe

Tags: ,

Scripting

How to setup MOSS 2007 to use ASP.NET 3.5 with AJAX Extensions

by Shawn February 04, 2009 10:00
Here are two links that i have found helpful
This is a great explination of what needs to change:
The only thing to note is that the final section on the system.web.extensions is that you may already have a copy of this in your config. 
So I would recommend taking the sample web.config from the project below as a starting place (with the artcile above explaining what is going on)

Tags:

Development

A starting point for Sharepoint and SilverLight

by Shawn February 04, 2009 10:00
Here is an article on getting started with SilverLight in SharePoint

Tags: ,

Development

Here are a couple of good links on LINQ for starters

by Shawn February 04, 2009 10:00

Tags:

Development

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen | Modified by Mooglegiant