4GuysFromRolla – Membership, Roles, and Profile

There is a series of 9 articles on ASP.NET’s Membership, Roles, and Profile on 4GuysFromRolla: Examining ASP.NET 2.0’s Membership, Roles, and Profile (There is a link to the Provider Model’s article as well. ) Part 1 – learn about how the membership features make providing user accounts on your website a breeze. This article covers … Continued

Display Image Thumbnails and Resizing

3 articles on Scott Mitchell’s 4GuysFromRolla regarding displaying scaled images: (The resizing here means resizing on the server, on the fly, to create thumbnails so the loading speed can be improved. This doesn’t control the size of the initial uploading. ) Displaying a List of Scaled Images True Image Resizing – Part 1 True Image … Continued

Data Access Tutorials

Microsoft ASP.NET Official Data Access Tutorials – really covers a whole varieties of topics, take the time to read them. By Bryan Xu

Delete Files using C#

Example code to follow: protected void CleanImageFolder() { string imgFolder = Server.MapPath(“~/lab/maskemail/img/”); string[] imgList = Directory.GetFiles(imgFolder, “*.jpg”); foreach (string img in imgList) { FileInfo imgInfo = new FileInfo(img); if (imgInfo.LastWriteTime < DateTime.Now.AddMinutes(-3)) { imgInfo.Delete(); } } } By Bryan Xu

ASP.NET 3.5

Couple general readings by Scott Mitchell on his 4GuysFromRolla: