// archives

ASP.NET

This category contains 7 posts

Web Service Reference in Visual Studio 2010

If you’ve used Visual Studio 2008 or 2010, you’ll notice that Web Reference is no longer there (like in VS 2005 and previous), instead, you see Service Reference –- actually, it’s STILL there, just hidden! So, what’s the difference?  Well, according to this post: Add Web Reference is the old-style, deprecated ASP.NET webservices (ASMX) technology [...]

Hash class using System.Security.Cryptography

Adding for archival purposes… using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Security.Cryptography; namespace Classes { public class Hash { public Hash() { } #region Hash Choices /// <summary>The wanted hash function.</summary> public enum HashType : int { /// <summary>MD5 Hashing</summary> MD5, /// <summary>SHA1 Hashing</summary> SHA1, /// <summary>SHA256 Hashing</summary> SHA256, /// <summary>SHA384 Hashing</summary> SHA384, [...]

Fix to "The handle is invalid" error when ASP.NET writes to the Eventlogs

Have you ever come across the error below with one of your ASP.NET web apps that is trying to write to the Eventlogs? If so, read on… By default the ASPNET user cannot access the existing eventlogs categories. To resolve this, you must set the permissions in the Eventlog key in the registry: Launch RegEdit. [...]

Most Common ASP.NET Support issues

Below is a summary of the “two top things that cause trouble in production ASP.NET web sites,” per Scott Hanselman, which he obtained from deep within Microsoft Developer Support.  Go here to read the complete article. #1 Issue – Configuration Seems the #1 issue in support for problems with ASP.NET 2.x and 3.x is configuration.  [...]

Free Microsoft Press e-book offer

Just sign up with your Windows Live/Passport account and you can download all three e-books by Microsoft Press.  It includes the following: Enjoy!