DotNetShoutout - Stories tagged with Patterns
5
Shouts

Inversion of Control Containers - Things Every Senior .NET Developer Should Know, Part 3

published 512 days, 17 hours, 12 minutes ago posted by Matt_TCFMatt_TCF 515 days, 23 hours, 36 minutes ago
Monday, December 26, 2011 8:15:27 AM GMT Friday, December 23, 2011 1:51:34 AM GMT
Think you're a senior developer? Not yet senior, but interested in taking the next step? Today’s topic in the "Things Every Senior .NET Developer Should Know" series will cover Dependency Injection, Inversion of Control containers, and my favorite Inversion of Control container, StructureMap. (more)
category: How To | clicked: 49 | 1 comment | | source: trycatchfail.com
tags: IoC, Inversion of control, Patterns, dependency injection, StructureMap
5
Shouts

Data Access in Fail Tracker–Row-Level Security with LINQ to NHibernate

published 621 days, 18 hours, 16 minutes ago posted by Matt_TCFMatt_TCF 624 days, 23 minutes ago
Thursday, September 08, 2011 7:11:32 AM GMT Tuesday, September 06, 2011 1:05:00 AM GMT
It's quite easy to implement row-level security using LINQ to NHibernate. See how you can do this by combining the Repository and Decorator patterns in this post. (more)
category: Architecture | clicked: 15 | comment | | source: trycatchfail.com
tags: .NET, Patterns, NHibernate, Data Access
5
Shouts

Reusable deferred action execution mechanism

published 635 days, 3 hours, 51 minutes ago posted by http://byteflux.myopenid.com/http://byteflux.myopenid.com/ 636 days, 13 hours, 1 minute ago
Thursday, August 25, 2011 9:37:21 PM GMT Wednesday, August 24, 2011 12:27:13 PM GMT
There are situations in which you need to do some processing when an event fires but you don’t want to do it every time if the event happens in a very short time interval. Such a situation can occur for example when handling MouseMove events – you want to do the processing when the mouse stops for a certain amount of time, but not for every intermediate position of the mouse. (more)
category: How To | clicked: 6 | comment | | source: byteflux.me
tags: .NET, C#, Patterns, VisualStudio, code
2
Shouts

Data Access in Fail Tracker

published 656 days, 5 hours, 5 minutes ago posted by Matt_TCFMatt_TCF 657 days, 20 hours, 4 minutes ago
Thursday, August 04, 2011 8:23:15 PM GMT Wednesday, August 03, 2011 5:23:38 AM GMT
This is the first in a series of short posts on how data access is handled in Fail Tracker. Future posts will get into how the strategy works with unit testing as well as how advanced topics, such as row-level security, are handled. Read on to find out how Fail Tracker utilizes a simple repository layer around NHibernate for all data access. (more)
category: Architecture | clicked: 5 | comment | | source: trycatchfail.com
tags: Repository, Patterns, NHibernate
3
Shouts

To repeat or not to repeat yourself?

published 690 days, 4 hours, 23 minutes ago posted by slo2olsslo2ols 693 days, 20 hours, 24 minutes ago
Friday, July 01, 2011 9:04:59 PM GMT Tuesday, June 28, 2011 5:03:25 AM GMT
What do modern developers if they are forced to write repeated code? Of course, they follow DRY principle and try to write generic code that covers as much as possible cases and can easily be extended to the rest. But sometimes such a change is complex, inefficient, or simply impossible. Here template engines come into play that allow the developer to set the rules and get your service code. I propose to try to take the advantages of both these approaches. (more)
category: How To | clicked: 4 | comment | | source: osmirnov.net
tags: Repository, T4, Builder, Patterns, singleton, dry, snippets, Fluent Interface
4
Shouts

DynamicObject: AOP for the poor

published 712 days, 2 hours, 1 minute ago posted by slo2olsslo2ols 712 days, 17 hours, 15 minutes ago
Thursday, June 09, 2011 11:27:04 PM GMT Thursday, June 09, 2011 8:12:38 AM GMT
Use of AOP without help of third-party frameworks is difficult and often all of their functionality is not needed. In this post I want to share an interesting example of how I replaced AOP in its typical problem for a dynamic type. (more)
category: How To | clicked: 21 | comment | | source: osmirnov.net
tags: Performace Testing, DLR, C#, proxy, Patterns, dynamic object, wrapper
8
Shouts

The 4 Stages of Learning Design Patterns - Steve Smith's Blog

published 734 days, 18 hours, 53 minutes ago posted by StevesSteves 737 days, 16 hours, 56 minutes ago
Wednesday, May 18, 2011 6:34:38 AM GMT Sunday, May 15, 2011 8:32:09 AM GMT
Design patterns are general, reusable solutions that occur in software design, which can usually be adapted to fit into a number of different situations and applications.  Recently, I recorded a screencast interview with Carl Franklin on Commonly Used Design Patterns for dnrTV, and one of the things we discussed was the stages of learning design patterns.  I noted that, at least for myself, I’d found that I tended to go through four distinct phases during my learning process when it came to these pattern... (more)
category: How To | clicked: 7 | comment | | source: stevesmithblog.com
tags: Design, Patterns, Design Patterns
5
Shouts

RageFeed’s Application Bus, and Why I Built My Own

published 896 days, 8 hours, 23 minutes ago posted by Matt_TCFMatt_TCF 897 days, 22 hours, 52 minutes ago
Tuesday, December 07, 2010 5:04:41 PM GMT Monday, December 06, 2010 2:36:12 AM GMT
In my last article, I introduced the Application Bus pattern, a specialization of the Message Bus pattern. I’m employing an Application Bus in RageFeed, the hobby social networking application I sometimes work on. Today, I’ll show you how the bus utilizes StructureMap for locating message end points and for dispatching messages. I’ll also explain why I chose to build my own bus instead of leveraging an existing one, such as the bus available in MVCContrib. (more)
category: Architecture | clicked: 4 | comment | | source: trycatchfail.com
tags: Patterns, Messaging, application bus, message bus, ASP.NET
3
Shouts

DRY with Lambda Expression (errors management) - Context is King

published 913 days, 23 hours ago posted by thangchungthangchung 914 days, 9 hours, 18 minutes ago
Saturday, November 20, 2010 2:28:02 AM GMT Friday, November 19, 2010 4:09:58 PM GMT
Some technical that make your code is easy to manage and maintain. (more)
category: Architecture | clicked: 0 | comment | | source: weblogs.asp.net
tags: .NET, C#, AOP, Patterns, lambda expression
6
Shouts

Consuming data from Windows Azure Table Storage using the Repository-Mapper-Command pattern

published 959 days, 14 hours, 2 minutes ago posted by JemmJemm 961 days, 12 hours, 7 minutes ago
Tuesday, October 05, 2010 11:25:29 AM GMT Sunday, October 03, 2010 1:20:51 PM GMT
Simon Evans shows his approach to Windows Azure Table Storage using neat Repository-Mapper-Command -pattern. (more)
category: Architecture | clicked: 11 | comment | | source: consultingblogs.emc.com
tags: Patterns, WCF Data Services, Azure Storage, Azure Storage Services, Azure
9
Shouts

Cloud Architecture: The Scheduler-Agent-Supervisor Pattern

published 964 days, 20 hours, 33 minutes ago posted by clemensvclemensv 966 days, 10 hours, 7 minutes ago
Thursday, September 30, 2010 4:54:55 AM GMT Tuesday, September 28, 2010 3:21:05 PM GMT
As our team was starting to transform our parts of the Azure Services Platform from a CTP ‘labs’ service exploring features into a full-on commercial service, it started to dawn on us that we had set ourselves up for writing a bunch of ‘enterprise apps’. This post is about one of the cloud architecture patterns we developed in the process. (more)
category: Architecture | clicked: 8 | 1 comment | | source: vasters.com
tags: Cloud, Best Practices, SOA, Patterns, Architecture, Azure
5
Shouts

Quick introduction to MVVM design pattern for WPF | Samuel Moura's DevUX

published 1006 days, 10 hours, 34 minutes ago posted by smourasmoura 1006 days, 15 hours, 43 minutes ago
Thursday, August 19, 2010 2:54:21 PM GMT Thursday, August 19, 2010 9:45:00 AM GMT
A quick introduction to get you started with M-V-VM (Model-View-ViewModel). In this tutorial, the pattern is introduced in a very straight forward way with some code examples. (more)
category: Metro | clicked: 5 | comment | | source: blog.smoura.com
tags: Patterns, WPF, MVVM
12
Shouts

Coding Without A Net - Coding without comments - Jesse Liberty

published 1008 days, 9 hours, 6 minutes ago posted by jantujantu 1011 days, 8 hours, 8 minutes ago
Tuesday, August 17, 2010 4:21:41 PM GMT Saturday, August 14, 2010 5:20:15 PM GMT
I recently imposed on myself the constraint of coding without comments. Why? * Comments rust faster than code, even when you’re careful * Well written code can be read, and comments are annoying footnotes * Comments make for lazy coding Now, setting the bar at no comments at all seems a bit fanatic, but any value greater than zero is an invitation to using comments when better approaches are available, and like any addiction, I bet you can’t stop at one. (more)
category: Metro | clicked: 0 | 2 comments | | source: jesseliberty.com
tags: Programming, C#, Patterns
7
Shouts

ARCast.TV - Rocky Lhotka on Patterns, Architecture and MVVM - Innovation Showcase - Site Home - MSDN Blogs

published 1036 days, 6 hours, 45 minutes ago posted by zhimingzhiming 1037 days, 6 hours, 37 minutes ago
Tuesday, July 20, 2010 6:43:23 PM GMT Monday, July 19, 2010 6:50:34 PM GMT
Rockford Lhotka is the Principal Technology Evangelist for Magenic, a company focused on delivering business value through applied technology and one of the nation's premiere Microsoft Gold Certified Partners. Rocky is the creator of CSLA .NET, one of the most widely used development frameworks for Microsoft .NET and he is the author of numerous books, including the Expert 2008 Business Objects book. In this episode Rocky talks to Bob Familiar about why patterns are important, the relationship between ... (more)
category: Architecture | clicked: 1 | comment | | source: blogs.msdn.com
tags: Patterns, Thought Leadership, Architecture, Architects, MVVM, ARCast
5
Shouts

A simple example of the Open/Closed Principle

posted by http://webpoet.myopenid.com/http://webpoet.myopenid.com/ 1043 days, 20 hours, 27 minutes ago
Tuesday, July 13, 2010 5:01:08 AM GMT
The Open/Closed Principle says that we should strive to write code that doesn’t have to be changed every time the requirements change. When using Java, C# or other statically typed languages the solution often involves inheritance and polymorphism, which is what this simple example illustrates. (more)
category: Agile | clicked: 3 | comment | | source: joelabrahamsson.com
tags: Patterns, SOLID, SOLID Principles, Open Closed Principle
5
Shouts

Observer in .NET 4.0 with IObserver(T)

published 1075 days, 15 hours, 9 minutes ago posted by http://baldi.myopenid.com/http://baldi.myopenid.com/ 1075 days, 19 hours, 45 minutes ago
Friday, June 11, 2010 10:18:48 AM GMT Friday, June 11, 2010 5:43:19 AM GMT
Switcher (more)
category: How To | clicked: 1 | 1 comment | | source: www.code-in.net
tags: .NET, .net 4, Observer Pattern, Patterns
3
Shouts

Evaluating View Model Options - Markus Egger

published 1076 days, 16 hours, 31 minutes ago posted by DustinDustin 1077 days, 1 hour, 19 minutes ago
Thursday, June 10, 2010 8:56:59 AM GMT Thursday, June 10, 2010 12:09:07 AM GMT
If you are building WPF or Silverlight applications, chances are you are using the MVVM Pattern (see below if you are not familiar with this pattern). So far, so common. Once you look at the details however, there are some interesting aspects to this setup. A recent discussion on my fellow “Advisors” on the Microsoft Prism Advisory Board got me interested in investigating different options to create the “ViewModel” (VM) part of this pattern. After all, there are quite a few different ways to go about thi... (more)
category: Architecture | clicked: 4 | comment | | source: www.markusegger.com
tags: Patterns, Model-View-ViewModel, MVVM
6
Shouts

Heavy controller actions? The Message Bus Pattern to the rescue!

published 1098 days, 12 hours, 5 minutes ago posted by Matt_TCFMatt_TCF 1099 days, 13 hours ago
Wednesday, May 19, 2010 1:22:43 PM GMT Tuesday, May 18, 2010 12:28:06 PM GMT
I recently derailed (badly) while working on a simple requirement for RageFeed: new user registration. I found myself adding a lot of code to facilitate the registration workflow, but I realized I had a bigger problem when I stopped and looked at the tremendous number of test cases for my controller. I had drifted so slowly into a bad design. Fortunately, all was not lost. A design pattern from the distributed computing domain came to save the day. (more)
category: Web Dev | clicked: 2 | comment | | source: trycatchfail.com
tags: ASP.NET MVC, Patterns, message bus, ASP.NET
4
Shouts

MVVM – It’s Not Kool-Aid* - Jesse Liberty

published 1106 days, 10 hours, 14 minutes ago posted by jantujantu 1107 days, 15 hours, 58 minutes ago
Tuesday, May 11, 2010 3:13:40 PM GMT Monday, May 10, 2010 9:30:11 AM GMT
I’m in the position of running through the streets yelling at folks “c’mere! ya’ gotta see this!” and what I’m pointing to is the incredible new invention of… a laptop computer. Something that is undeniably amazing and cool, but everyone else on my block has already got one.Second, and much worse, I’m about to show you how I used a “pattern” that you either have already embraced, or that you’ve been avoiding like the plague because the folks who are running around shouting “MVVM! MVVM!” sound just like t... (more)
category: Metro | clicked: 0 | comment | | source: jesseliberty.com
tags: Patterns, MVVM, MVC
8
Shouts

The Next Six Months Silverlight On-Ramp and Site Navigation - Jesse Liberty

published 1114 days, 14 hours, 11 minutes ago posted by jantujantu 1116 days, 11 hours, 16 minutes ago
Monday, May 03, 2010 11:17:12 AM GMT Saturday, May 01, 2010 2:12:17 PM GMT
Enough is going on that I thought I’d lay out my plans for the next six months, especially as a few of these items involve community contributions. My principal focus from now until the end of 2010 will be: * Silverlight On Ramp * Windows Phone 7 * Silverlight and Data * Best Practices: MVVM, Test-Driven Design, Agile, MEF and more These four areas of intense concentration have spawned a number of projects, many of which address more than one area. The principal projects are… (more)
category: Metro | clicked: 0 | 1 comment | | source: jesseliberty.com
tags: Community, data, Start, Patterns, phone
Previous 1 2 Next