Browse by Tags

  • Developing For Reusability

    As software developers, we try to keep reusability in mind. To figure out whether a particular solution is reusable, take a look at what you have to do to use it. For instance, if you are developing an ASP.NET user control, does the developer who consumes that user control have to only write 2, 20, or...
    Posted to Brian Mains Blog (Weblog) by bmains on 06-03-2008
  • Encapsulating State Changes

    Whenever it comes to determining whether a business object meets a certain state, I like to do create a property or method for this. For instance, evaluate the property below: public bool IsCompleted { get { return this.CompletedDate != null; } } The IsCompleted property checks to see if a completed...
    Posted to Brian Mains Blog (Weblog) by bmains on 05-20-2008
  • Calendar Day View: TDD Breakdown

    If you haven't heard about the series I'm doing, the Calendar Day View project is one that I'm trying to use TDD practices to show the process creating a custom control. However, there are times when TDD breaks down, not because TDD fails, but because I failed to implement TDD. Now, that's...
    Posted to Brian Mains Blog (Weblog) by bmains on 05-16-2008
  • Calendar Day View: TDD and Refactoring at work

    So, to start out, I thought a little bit about the initial setup for how I could do some testing on the server side of the control. You have to understand the inner workings of server controls to understand. At the end of the process, no matter whether the control is a simple control, a composite control...
    Posted to Brian Mains Blog (Weblog) by bmains on 05-10-2008
  • CalendarDayView: Initial Design Specs and Setup

    I've come up with some preliminary design specs of the initial functionality that I want in this control. I've included some of the interactions that can happen in the control, and the basic view (once I figure out how to attach an image, I'll make that available on this post). I want to...
    Posted to Brian Mains Blog (Weblog) by bmains on 05-09-2008
  • Importance of Customers to Agile

    Customers are an important part to Agile development. A portion of the Agile Manifesto reads: "Business people and developers must work together daily throughout the project." This is a key part ot the software development process, and I'm starting to see why. As developers, we have to...
    Posted to Brian Mains Blog (Weblog) by bmains on 05-05-2008
  • Staying the Course

    I'm going to stray from LINQ to SQL to talk a little bit about software development in nature. In software development, developers are trying to achieve a goal of the customer you are working with. During requirements gathering, you find out all the particular details and aspects about the goal....
    Posted to Brian Mains Blog (Weblog) by bmains on 05-02-2008
  • HttpContext.Items

    You may have noticed that the Page has an items collection. This items collection can store any information, as it's a local dictionary. I could not find anywhere where the dictionary is serialized and stored, so the dictionary is only temporary and has to be reloaded on every page load. If you've...
    Posted to Brian Mains Blog (Weblog) by bmains on 04-29-2008
  • Method Calls: Using Object References

    As a general recommendation, I would pass in object references to DAL, BAL, or other methods in your application, rather than passing in individual properties. The reason is you can conceal the properties you need in your code. For instance, look at this method: public OrderCollection GetOrders(int customerKey...
    Posted to Brian Mains Blog (Weblog) by bmains on 03-13-2008
  • ASP.NET and Business Objects (POCO or LINQ)

    If you like architecture, you may realize there are some challenges that come into play when you try to bind data to the interface controls in ASP.NET. Because data is often normalized, and this data is structured in several parent-child relationships, normalizing these for a tablular control like a...
    Posted to Brian Mains Blog (Weblog) by bmains on 03-13-2008
Page 1 of 4 (35 items) 1 2 3 4 Next >
The leading UI suite for ASP.NET - Telerik radControls
Outstanding performance. Full ASP.NET AJAX support. Nearly codeless development.