Radical Development

November 11, 2009
by Steven Swafford
Comments Off

Cheat Sheets

If you looking for a cheat sheet then you may possibly find it here! Python cheat sheet: The Python Cheat Sheet, a quick reference guide for the Python programming language. Subversion cheat sheet: The Subversion Cheat Sheet, a quick reference guide for command line Subversion. Regular Expressions Cheat Sheet (v2): The second version of the Regular Expressions Cheat Sheet, a quick reference guide for regular expressions, including symbols, ranges, grouping, assertions and some sample patterns to get you started. CSS cheat sheet (v2): The second version of the CSS Cheat Sheet, a quick reference guide for CSS, listing selector syntax, …

Continue reading

October 27, 2009
by Steven Swafford
Comments Off

LearnVisualStudio.NET Three Day Thirty Percent Off Sale

Beginning October 28th, Learn Visual Studio .NET is launching a big “3 Day” 30% off sale for all subscriptions. If you’re not familiar with this site then you are missing out on a great resource! If you’re looking for tutorials on VB.NET, C#, ASP.NET, and more then you will find this resource a must have. Here are just a handful of series subjects: LINQ to SQL Differences between WPF and Windows Forms Hands on ASP.NET MVC and so much more… If you are still not sure, then give this video tour a look and then secure your membership today. Remember …

Continue reading

September 25, 2009
by Steven Swafford
Comments Off

Language Integrated Queries: Tutorial Series One

I must admit that I have known of Language Integrated Queries (LINQ) for some time now however I have never been in a position to use it. LINQ allows you to query data from any data source that supports LINQ such as SQL Server , XML , arrays, collections, and ADO.NET DataSets. There are three steps to executing a LINQ query, these are: Obtain your data source Create a query Execute the query For the purpose of this tutorial I will be using a RadioButtonList class that represents a list control that encapsulates a group of radio button controls and …

Continue reading

August 17, 2009
by Steven Swafford
Comments Off

Understanding SMTP Status Codes

Many programmers take processing email as one of those actions that is easily implemented and rarely fails. If you have not read my earlier post How-to: Easily Sent Emails With .NET you want to review this example. One would greatly benefit from understanding the status code result from the attempt to process emails and the .NET framework provides the tools you need to successfully perform this exact task. The System.Net.Mail Namespace provides the SmtpStatusCode Enumeration which will provide a fine level of detail to the programmer thus allowing for better informed decisions. For example, assume that you have a requirement …

Continue reading

July 27, 2009
by Steven Swafford
Comments Off

ASP.NET Tip: Creating and using a task list

If you properly employ the Task List and comment your code appropriately you can ensure that you to complete the important tasks and never again miss something that you intended to correct. The Task List displays comments embedded in your project code that begin with the comment marker for your development language, followed by a default task token such as TODO, HACK, or UNDONE, or a custom comment token. To add a comment to the Task List it is as easy as completing two steps: Open a source code file for editing in the Code Editor. Begin a comment on a line of …

Continue reading

June 13, 2009
by Steven Swafford
Comments Off

How-to: Easily Send Emails With .NET

Sending emails is not as difficult as one may think. While the purpose of this example is to introduce a mechanism of processing emails it should provide you insight into how to separate code into a scalable manner where you write once and use many times. Concept To process an email you need a SMTP server to communicate with as well you must be able to properly authenticate with this server. The class SmtpSettings allows you to properly define these properties. Whereas the class Email allows you to send the physical email. C# Example: Email Class C# Example: Putting Together …

Continue reading

June 2, 2009
by Steven Swafford
2 Comments

Extend MSBuild and Web Deployment Projects To Generate Email Notifications

I use Microsoft’s Web Deployment Projects for an automated mechanism to build and deploy my web projects. If you are not familiar with this product you can read more here. The concept and intent here is to show you how easily you can create a custom task which in turn can used within your web deployment project and MSBuild to perform custom events. For the purpose of this example I will show how to generate an email which in turn is sent to your team members to notify them of a successful build along with any additional information that you …

Continue reading