Very nice and interesting infographic.

How colleges and universities have embraced social mediaGo outside
by Loreal Lynch | August 29, 2011

University adoption of social media
Courtesy of: Schools.com

HttpWebRequest super slow

Thursday, August 25, 2011
By keiji
Category: C#, How to
Using HttpWebRequest is quite convenient to access URL.
H/owever, you might have noticed that it sometimes super slow without any apparent reason.
It could take like 10 sec first time to connect, but it works just fine other times.

This seems to be caused by HttpWebRequest's proxy setting.
(Refer to http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.proxy.aspxGo outside)

If you do set nothing about it, the default behavior is to use default proxy setting, which try to auto detect proxy server.
This is causing the slowness.

To disable it, just set the "Proxy" property with new WebProxy object as below:

System.Net.ServicePointManager.Expect100Continue = false;
System.Net.ServicePointManager.CheckCertificateRevocationList = false;
HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create(sURL);
myRequest.Proxy = new WebProxy();

Update August 27, 2011
At some point, the solution setting Proxy didn't solve the issue.
Further research indicated that you might need to change some ServicePointManager's properties. (shown above)

Update August 29, 2011
Well, all these change didn't solve the issue for me, unfortunately.
So, I'm going to use a different method to meat my goal. See my next post.

Installing MVC3 failed with error code 0x80070643

Tuesday, August 02, 2011
By keiji
Category: How to
When I tried to install MVC3 using Web Platform Installer, it said "Successful", but no MVC3 template when I tried to create a new project.
The Web Platform Installer shows no error.

So, then, I tried to use installer "AspNetMVC3ToolsUpdateSetup.exe".
(Download from hereGo outside)
It failed and provided a log file.

The log file indicated some unexpected error, with the error code 0x80070643.

I Googled and tried a couple of solution, but none worked, but I finally found the solution hereGo outside.

Essentially, it looks like we need to fix a registry entry for old "Microsoft ASP.NET Web Pages" package to be able to be uninstalled.

Here is the post to resolve the issue:
Mar 11, 2011 05:37 AM by Matt Garven

We experienced the same issue - I was unable to install because an old version of "Microsoft ASP.NET Web Pages" was still installed. However, the uninstaller was failing for the old version.

It seems VS 2010 SP 1 modifies the framework paths in the registry to contain a trailing backslash, which causes the uninstaller for the old version of "Microsoft ASP.NET Web Pages" to fail.

Steps to workaround are:

1. Remove the trailing backslash from the following registry keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\Path

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\ASP.NET\4.0.30319.0\Path

2. Uninstalled the old version of "Microsoft ASP.NET Web Pages".

3. Add the trailing backslash back to those keys.

4. Install MVC 3.
LinkedIn provides a nice page to generate HTML code to link to your profile page.

LinkedIn - My Profile: PromoteGo outside

For example, my profile :)
View Keiji Ikuta's profile on LinkedIn
I needed a sample database to explain some SQL code, and realized "AsventureWorks" was not installed on my PC.
So, I searched and it is available as a download from here:

Sample Databases for Microsoft SQL Servers:
http://msftdbprodsamples.codeplex.com/Go outside

Also I found there are many sample projects and databases. Very cool.

Microsoft SQL Server Community Projects & Samples
http://sqlserversamples.codeplex.com/Go outside
« Older 5 items | Top | Newer 5 items »