July 11, 2007
This is a little chunk of code that has escaped me for a little bit, but I finally was able to find enough resources to piece together how to do it.
If your using the new Profile Providers inside of .NET 2.0, here is how you can access a member's profile from outside the web project. You don't get the strongly typed parameters but it still can come in handy if your desperate.
ProfileBase pb = ProfileBase.Create("UserName");object obj = pb.GetPropertyValue("NameOfValueYouWantToGet");
of ...
June 04, 2007
I found a nice little addition to the email capabilities inside of .NET 2.0 awhile back. Microsoft reorganized a lot of the email functionality in their .NET 2.0 release. In fact they even changed the Namespace that that you have to work with in order to send emails inside of ASP.NET. It went from System.Web.Mail to System.Net.Mail, which makes sense because emails are really sent over a network as opposed to the web.
One feature you have to consider when setting up an email distribution ...