Browse by Tags

All Tags » Application Design (RSS)
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...
Posted by bmains | with no comments
Filed under:
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...
Posted by bmains | with no comments
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...
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...
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...
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...
Posted by bmains | with no comments
Filed under:
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...
Posted by bmains | with no comments
Filed under:
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...
Posted by bmains | 3 comment(s)
Filed under: ,
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...
Posted by bmains | 1 comment(s)
Filed under:
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...
Posted by bmains | 2 comment(s)
Filed under:
Sometimes there needs to be logic that someone on the outside using your object can do. For instance, there is a piece of calculation that only the subscriber of the class can use. Instead of using inheritance and the template method approach, it's...
Posted by bmains | with no comments
Filed under:
I learned an interesting technique whenever I was looking at the Validation Application Block the other day. Each validator has an attribute associated with it, so you can define validation at the attribute level of a business object. So the following...
Posted by bmains | with no comments
Oftentimes, when working with an API, it is helpful to utilize the best of generics; after all, generics automatically strong-type a class, and avoid boxing/unboxing issues. There can be some downfalls to this approach, however. For instance, if you have...
Posted by bmains | 4 comment(s)
Filed under:
I remember reading about an approach to create an Object-Oriented API for an application, similar to Visual Studio, using documents, tool windows, menu items, and other objects. The approach was to create events for each transaction and have these events...
Posted by bmains | with no comments
Despite what some may believe, you can work with ASP.NET in a unit-testing environment, though it is somewhat limited. Certain objects that ASP.NET is able to utilize aren't available when unit-testing. This is because a series of modules defined...
Posted by bmains | with no comments
Filed under: ,
More Posts Next page »
The leading UI suite for ASP.NET - Telerik radControls
Outstanding performance. Full ASP.NET AJAX support. Nearly codeless development.