DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 620 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

Stories recently tagged with 'Singleton' Subscribe to this feed
4
kicks
submitted by questpond 11 days, 7 hours ago

codeproject.com — This article has all design patterns abstract factory pattern ,builder pattern, prototype pattern , shallow copy and deep copy in prototype patterns , singleton pattern , command patterns , Interpreter pattern, iterator pattern , mediator pattern , memento pattern , observer pattern , state pattern , strategy pattern , visitor pattern , difference between visitor and strategy pattern , adapter pattern ,fly weight pattern , bridge pattern , composite pattern , decorator pattern , Façade pattern , chain of responsibility ( COR) , proxy pattern and template pattern, read more...

Add a comment add a comment | category: | Views: 27
tags: , , , , | tag it

1
kicks
submitted by CumpsD CumpsD 2 months, 26 days ago

blog.cumps.be — A little follow up from yesterday ’s Singleton Pattern, where I asked for some help on how you would approach a generic singleton. With the help of Andrew Stevenson and ExNihilo, we came up with the following Generic Singleton Pattern. read more...

Add a comment add a comment | category: | Views: 4
tags: , | tag it

1
kicks
submitted by dotnetfunda dotnetfunda 2 months, 27 days ago

dotnetfunda.com — The Singleton pattern ensures that a class only has one instance and provides a global point of access to it from a well-known access point. The class implemented using this pattern is responsible for keeping track of its sole instance rather than relying on global variables to single instances of objects. read more...

Add a comment add a comment | category: | Views: 8
tags: , | tag it

1
kicks
submitted by CumpsD CumpsD 2 months, 27 days ago

blog.cumps.be — Today we’ll have a look at a well known pattern, the Singleton Pattern. Most people have already heard about this one. The definition: “Ensure a class has only one instance and provide a global point of access to it.“ read more...

Add a comment add a comment | category: | Views: 4
tags: , | tag it

4
kicks
submitted by rstrahl rstrahl 3 months ago

west-wind.com — When building generic ASP.NET Server controls that also provide a sort of API service to other custom controls or page level code, it's often necessary to ensure that only a single instance of a control exists, and that only that single instance of this control or component can be accessed in the context of an ASP.NET request. Using HttpContext and it's Item collection makes it easy to create reusable, cacheable instances and ensure you're only running a Singleton instance of it. read more...

Add a comment add a comment | category: | Views: 12
tags: , , | tag it

3
kicks
submitted by volume4 3 months, 8 days ago

dotnet.dzone.com — Problem: Store some common data in a singleton or static class about your program in an object array, which you store in a class. It saves state between usages and stores some caches, and must be initialized only once and shared in many code locations. Making a new object each time would be expensive. read more...

Add a comment add a comment | category: | Views: 39
tags: , , | tag it

2
kicks
submitted by fquednau fquednau 5 months, 12 days ago

realfiction.net — The umpteenth pattern to singletons...I know you've seen it by the gross ton. Anyway, I just wanted to add a twist with the implicit operator and here you find the result. read more...

Add a comment add a comment | category: | Views: 0
tags: , , | tag it

11
kicks
published 5 months, 26 days ago, submitted by yoavsion yoavsion 5 months, 28 days ago

sharpregion.com — I've decided to stop the copy-paste madness. Not that I use singletons so very often, but still - It never changes, so lets use a snippet. read more...

Add a comment add a comment | category: | Views: 27
tags: , , , | tag it

11
kicks
published 5 months, 26 days ago, submitted by yoavsion yoavsion 5 months, 28 days ago

sharpregion.com — I've decided to stop the copy-paste madness. Not that I use singletons so very often, but still - It never changes, so lets use a snippet. read more...

Add a comment add a comment | category: | Views: 27
tags: , , , | tag it

2
kicks
submitted by AdrianAisemberg AdrianAisemberg 8 months, 21 days ago

sharpregion.com — A complete documented and attributed singleton C# code snippet. Highly recommended. 5 key-strokes for a singleton. read more...

Add a comment add a comment | category: | Views: 21
tags: , , | tag it

16
kicks
published 1 year, 2 months ago, submitted by ekampf 1 year, 2 months ago

ekampf.com — Discussion over the thread-safe singleton snippet presented in "What's wrong with this code? #1" read more...

Add a comment add a comment | category: | Views: 0
tags: , , , | tag it

10
kicks
published 1 year, 4 months ago, submitted by jeremyjarrell jeremyjarrell 1 year, 5 months ago

jeremyjarrell.com — Here's an easy to minimize the overhead of an expensive resource, such as an image or a network connection, using the singleton pattern and some simple hints to the garbage collector. read more...

Add a comment add a comment | category: | Views: 1
tags: , , , | tag it

11
kicks
published 1 year, 5 months ago, submitted by simoneb simoneb 1 year, 5 months ago

dotnetslackers.com — How to prevent a singleton class to be instantiated multiple times when deserialized. read more...

Add a comment 1 comment | category: | Views: 6
tags: , , | tag it

3
kicks
submitted by simoneb simoneb 1 year, 5 months ago

dotnetslackers.com — A tricky interview question about duplicated singleton instances. read more...

Add a comment add a comment | category: | Views: 4
tags: , , | tag it

13
kicks
published 1 year, 5 months ago, submitted by simoneb simoneb 1 year, 5 months ago

dotnetslackers.com — Implementing a singleton-per-page ASP.NET pattern. read more...

Add a comment add a comment | category: | Views: 2
tags: , , , | tag it

16
kicks
published 1 year, 6 months ago, submitted by JamesCurran 1 year, 6 months ago

honestillusion.com — Thoughts on the Singleton Pattern (Executive summary: Don't!) read more...

Add a comment 5 comments | category: | Views: 0
tags: , , | tag it

 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge