|
|
|
|
|
Total Hits: 9 | Today: 0
|
Author: pfemiani
|
Rating:
|
|

This is intended to be a simple solution to sharing session data across applications. This implementation allows you to use the out of the box session providers that ship with ASP.NET without modifying any stored procedures, or creating custom session store providers. There was a large project going on at work, part of which involved splitting our one large website into smaller logical areas of functionality. This would provide us with more flexibility and manageability of our products. The only...
|
|
|
|
Total Hits: 6 | Today: 0
|
Author: Scott Mitchell
|
Rating:
|
|

Many business applications require users to be able to easily assign assets to resources for a particular date and time. For example, the software that powers a doctor's office needs to schedule assets such as doctors, patients, and equipment to resources such as offices and rooms. And a time sheet application associates employees' time and activities with projects and meetings. Although ASP.NET includes a Calendar Web control, it lacks the features and functionality needed for a robust scheduli...
|
|
|
|
Total Hits: 7 | Today: 0
|
Author: Matthew Cannon
|
Rating:
|
|

This article discusses: 1. How self-describing components emerge from responsibility-driven development practices; 2. How careful use of the Visual Studio “code regions” tool can help to clarify code intent, and how this can be particularly useful in responsibility-driven development; 3. How to test component collaborations using behaviour tests and mock objects....
|
|
|
|
Total Hits: 13 | Today: 0
|
Author: Daniel Turini
|
Rating:
|
|

"My software never fails". Can you believe it? I'm almost hearing you all, screaming that I'm a liar. "Software that never fails is something near to impossible!" Contrary to common belief, creating reliable, robust software is not something near to impossible. Notice that I'm not referring to bug-free software, intended to control nuclear power plants. I'm referring to common business software, which can run unattended on a server, or even a desktop machine, for long periods of time (weeks or m...
|
|
|
|
Total Hits: 6 | Today: 0
|
Author: David Hay
|
Rating:
|
|

The Logging Application Block (part of the Microsoft Enterprise Library) provides a great framework for logging and tracing. Recently, I introduced the Logging Application Block on one of our team projects. While I was investigating how to use the Loggin target=_blankg Application Block, I found some areas where I wanted to enforce greater control over how developers on the team make use of the application block. In this article, I will explain the reason for doing this and show you how you can ...
|
|
|
|
Total Hits: 7 | Today: 0
|
Author: R i c k C o de
|
Rating:
|
|

We can implement this pattern for ”Data Access Application block” provided by Microsoft ® under Enterprise Library. Why would you like to implement Façade pattern for predefined and already tested classes? The problem that we faced with Data Access Application block that it is complex and person who likes to use this block efficiently, they need to understand structure....
|
|
|
|
Total Hits: 5 | Today: 0
|
Author: Serge Lobko-Lobanovsky
|
Rating:
|
|

Sometimes you need to handle one event on different layers of the class hierarchy. Take for example, the following case: You need to implement a system which will receive data from the serial connection, parse it to single out several commands and handle them accordingly. The application will have to report its activity to a form. The form must present: 1. a list of several connections 2. the number of bytes sent and received for each connection 3. last executed command for eac...
|
|
|
|
Total Hits: 10 | Today: 0
|
Author: Don Kackman
|
Rating:
|
|

I started this article as just a simple post about a library that has been useful to me but after reading it over (and a colleague's observation that it assumed a lot of the reader), decided to expand it into a series on the Factory pattern. In my experience, any non-trivial development effort eventually gets to the point where defining linkage to all the various implementation types at compile time becomes unwieldy. Even in a well factored and loosely coupled design, compile time linking betwee...
|
|
|
|
Total Hits: 7 | Today: 1
|
Author: DanielWehrle
|
Rating:
|
|

Sometimes, you need to give a user of your application the chance to implement his own functions without recompiling the full application. For some projects, I needed the user to load their own implementations of an interface. These classes were used to collect and show some information in my application. The configuration was loaded by the runtime, and contained the name of the loaded and used classes....
|
|
|
|
Total Hits: 3 | Today: 0
|
Author: Sacha Barber
|
Rating:
|
|

.NET has evolved over the years, but one of the constants has been the use of delegates. For those that don't know what delegates are they are simply method pointers. Now although not directly related to this articles content, I think it is a good idea to show you a bit about the evolution of delegates leading to lambdas in order for you to understand the rest of the article....
|
|
|
|
Total Hits: 20 | Today: 0
|
Author: RocketteScientist
|
Rating:
|
|

The GraphicalOverlay component draws on top of a form's controls. It is essentially like laying a piece of glass down over the form and drawing on the glass. I use this component to draw lines between controls to help users make sense of complex relationships in the UI. I use it sparingly, but sometimes you just need a big red arrow that says: This affects that! When done correctly the result can be quite elegant....
|
|
|
|
Total Hits: 6 | Today: 0
|
Author: Ahmad Eid Salim
|
Rating:
|
|

Provider Design Pattern is a new pattern that Microsoft formalized in ASP.NET Whidbey. The pattern was officially named in the summer of 2002 when Microsoft was designing Whidbey's new Personalization feature. No need to explicitly instantiate classes. The .NET framework will automatically manage class instantiation, including re-using classes that have already been instantiated. This will greatly improve the memory management of your application....
|
|
|
|
|
|