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

by Shawn 9. February 2009 13: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 9. February 2009 09:45

Tags:

Development

How to replace notepad.exe on Windows Server 2008

by Shawn 8. February 2009 16: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

notepad.exe (17.50 kb)

replace_notepad.cmd (3.64 kb)

Tags: ,

Scripting

A starting point for Sharepoint and SilverLight

by Shawn 4. February 2009 14: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 4. February 2009 14:00

Tags:

Development

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

by Shawn 4. February 2009 14: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

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

About the author

As an individual with a passion for technology and knolwedge I have long enjoyed being part of the computer industry as both a systems architect and infrastructure engineering.  This blog is way for me to share some thoughts. ideas, and ponderings on all of these things.

Calendar

<<  February 2012  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
2728291234
567891011

View posts in large calendar

Calendar Of Posts