.NET Tip
There are 2 entries for the tag .NET Tip
I was recently following along in a quick tutorial in Microsoft ASP.NET Programming with Microsoft Visual Basic .NET Version 2003 Step By Step by G. Andrew Duthie, when low and behold I came across a fundamental tutorial about ASP.NET authentication that just didn't work. The culprit? authorization forms credentials has a default of SHA1, not Clear that the book assumed. I checked through the MSDN entries to make sure this still applied in 3.5, even though the book was written for ASP.NET 1.1 (which...
If you make use of the My.User object in a WinForms application, you can just dive right into it and start using it right away, however, if you add this to a new console app it returns a blank response for My.User.Name: Console.WriteLine("User: {0}", My.User.Name) Console.ReadLine() And you'll see this when you run it: To get around this problem, all it takes is an initialization that gets called automagically in WinForms: My.User.InitializeWithWindo... Put that before you use the object for...