Browse by Tags
All Tags »
.NET (RSS)
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority...
string sql = "some sql" ArrayList al = new ArrayList(); using (SqlConnection cn = new SqlConnection(cs)) using (SqlCommand cmd = new SqlCommand(sql, cn)) { cn.Open(); using (SqlDataReader dr = cmd.ExecuteReader(CommandBehavior.CloseConnection...
I was surfing around today looking for information on .NET vs J2EE performance when I came across this site: http://msdn2.microsoft.com/en-us/netframework/bb499684.aspx Summary from that site: "This application is an end-to-end sample application...
A colleague asked me to be a second pair of eyes for a project he was working on that was getting this error. He had just deployed a new .NET web site to a relatively clean IIS6 machine. He was receiving a 404 error in IE when he merely tried to view...
I'm done with most of these, but not totally. Tons of great information! Here are some more great articles that I found doing debugging research. They mostly pertain to debugging and CLR internals type of stuff. CLR Inside Out - Investigating Memory...
As I mentioned in a previous post , David Hayden sat in the front row and gave me an especially hard time about ‘set nocount on’ as a tip. I don’t remember the exact words, so I’m going to have to roughly paraphrase. His complaint was that some data access...
using System ; using System.Data ; using System.Data.SqlClient ; using System.Web.Services ; namespace IamSimple.Service.WebServices { [WebService(Namespace = "http://royashbrook.com/ns" )] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1...
Stuff I've been intending to post a meaningful post about, but haven't: If you have ever wondered what ildasm is all about, here's a great link. http://msdn.microsoft.com/msdnmag/issues/01/05/bugslayer/ Simple SQLCLR stored Proc deployment...
These are the articles (in no particular order) that I felt best showed a thorough use of the WinDbg.exe tool from start to finish. They were absolutely priceless to me. Enjoy! ASP.NET 2.0 Crash case study: Unhandled exceptions A word for WinDbg (2) Some...
5 things I wish I had known or done prior to attempting to work with SOS.dll and windbg.exe: sos.dll needs to be in the path for windbg in order to load it you can .load %full path to sos.dll% instead of .load sos mscorwks or other statements SOS for...
something cool i've never heard of. quoted from http://blogs.msdn.com/dougste/ about a path value of \\?\C:\WEBSites\WWWMyApp\scripts: First of all, what is illegal about this path? Well, nothing, if you are a Unicode Win32 API. As you can read in...
I found this while in my surfing and thought it was a noteworthy point on .net multi-threading. quoted from http://msdn2.microsoft.com/en-us/library/ms998547.aspx ( underlining is mine ): The CLR exposes managed threads , which are distinct from Microsoft...
There are a ton of articles about using command cancel vs close when you are using a datareader. The idea is that it will make things faster if you cancel the command rather than just closing it if you have an occasion to interrupt the execution. If you...