WTF Next?

Dev ramblings from a master of nothing.

  Home  |   Contact  |   Syndication    |   Login
  126 Posts | 0 Stories | 74 Comments | 0 Trackbacks

News

INETA Community Speakers Program
GeeksWithBlogs.net: WTFNext's hosting!

View Stacy Vicknair's profile on LinkedIn

Twitter







Tag Cloud


Archives

Post Categories

Community Links

User Groups

.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...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

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...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati