To increase performance of MS Server 2008...
netsh interface tcp set global autotuninglevel=disabled
netsh interface tcp set global rss=disabled
This must be run with admin privs.
Just some random development ramblings mostly related to the Microsoft .NET platform.
Wednesday, April 23, 2008
Monday, April 21, 2008
Can't compile Linq after VS 2008 migration
I migrated a VS 2005 asp.net website (not using Linq) to VS 2008. Initially, the website compiled fine, but once I tried to add Linq statements, it would not compile.
I had already done the following to prepare for Linq use:
1) Added in the web.config so System.Core (where Linq lives) would be a reference (copied several of these from a virgin VS 2008 asp.net site)
2) Modified the site Build properties and targeted .NET 3.5
3) Added "using System.Linq"
But it still would not compile...all Linq statements were not recognized (even Intellisense worked). It was like I was still using the .NET 2.0 compiler.
When I looked back at the web.config from a virgin VS 2008 asp.net site, I realized I needed to also have the section. I copied this entire section into my web.config and it now compiles fine (with the .3.5 compiler).
It would have been nice if the conversion tool from VS 2005 to 2008 would have done this for me. I have the first official release of VS 2008.
I had already done the following to prepare for Linq use:
1) Added
2) Modified the site Build properties and targeted .NET 3.5
3) Added "using System.Linq"
But it still would not compile...all Linq statements were not recognized (even Intellisense worked). It was like I was still using the .NET 2.0 compiler.
When I looked back at the web.config from a virgin VS 2008 asp.net site, I realized I needed to also have the
It would have been nice if the conversion tool from VS 2005 to 2008 would have done this for me. I have the first official release of VS 2008.
Subscribe to:
Posts (Atom)
Can't RDP? How to enable / disable virtual machine firewall for Azure VM
Oh no! I accidentally blocked the RDP port on an Azure virtual machine which resulted in not being able to log into the VM anymore. I did ...
-
Oh no! I accidentally blocked the RDP port on an Azure virtual machine which resulted in not being able to log into the VM anymore. I did ...
-
Here is a full test program that demonstrates how to use SharpZipLib to zip an XElement into a byte array. This allows you to transfer larg...