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...
Posted by royashbrook | with no comments
Filed under:
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...
Posted by royashbrook | with no comments
Filed under: , ,
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...
Posted by royashbrook | 2 comment(s)
Filed under: , , ,
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...
Posted by royashbrook | with no comments
Filed under: ,
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...
Posted by royashbrook | with no comments
Filed under: , ,
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...
Posted by royashbrook | with no comments
Filed under: , ,
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...
Posted by royashbrook | with no comments
Filed under: , ,
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...
Posted by royashbrook | with no comments
Filed under: ,
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...
Posted by royashbrook | with no comments
Filed under: ,
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...
Posted by royashbrook | with no comments
Filed under: , ,
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...
Posted by royashbrook | with no comments
Filed under: ,
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...
Posted by royashbrook | with no comments
Filed under: ,
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...
Posted by royashbrook | with no comments
Filed under: , , ,