Skip to main content

Home/ OCG developers/ Group items tagged Programming

Rss Feed Group items tagged

Steven van Dijk

Abstraction: The Rule Of Three - 0 views

  •  
    "I often hear people say something like "if you need it once, build it. If you need it twice, abstract it." People often say then in the context of the "DRY" - or Don't Repeat Yourself - principle. [..] The idea of DRY needs to be tempered with YAGNI - "You Aint Gonna Need It". With that, we end up with The Rule Of Three, and it clearly says that code can be copied once but the third time you need it, you should abstract it."
Steven van Dijk

(PluralSight course) Entity Framework 4.1 - DbContext Data Access - 0 views

  •  
    "The EF 4.1 DbContext API works with Code First, Database First, and Model First and provides a simplified, productive environment for building all types of data-backed applications"
Steven van Dijk

(PluralSight course) C# Fundamentals - 0 views

  •  
    "This course is designed to give you everything you need to become a productive C# developer on the .NET platform"
Steven van Dijk

(PluralSight course) Algorithms and Data Structures - 0 views

  •  
    "A look at the core data structures and algorithms used in day-to-day applications."
Steven van Dijk

(PluralSight course) SOLID Principles of Object Oriented Design - 0 views

  •  
    "This course introduces foundational principles of creating well-crafted code and is appropriate for anyone hoping to improve as a developer"
Steven van Dijk

(Pluralsight course) LINQ Fundamentals - 0 views

  •  
    "This course covers the general purpose query facilities of Language Integrated Query (LINQ)"
Steven van Dijk

6 Ways To Avoid Mass Assignment in ASP.NET MVC - 0 views

  •  
    "One of the scenarios that I always demonstrate during an ASP.NET MVC class is how to create a mass assignment vulnerability and then execute an over-posting attack."
Steven van Dijk

Small in, Big out - 0 views

  •  
    "Consider the following method signatures: IEnumerable Process(List input); IList Process(IEnumerable input); Of the two, which is the better choice? Write down your answer."
Steven van Dijk

Comparing Values for Equality in .NET: Identity and Equivalence - 0 views

  •  
    "The various ways of comparing two values for equality in .NET can be very confusing. In fact if we have two objects a and b in C# there are at least four ways to compare their identity, plus one operator that looks like an identity comparison to add to the confusion"
Steven van Dijk

IDisposable, Done Right - 0 views

  •  
    "Despite IDisposable having only a single method named Dispose to implement, it is commonly implemented incorrectly. After reading this blog post it should be clear how and when to implement IDisposable, as well as how to ensure that resources are properly disposed when bad things happen (also knows as exceptions)."
remonkoopmans

ASP.NET MVC plugin framework - CodeProject - 0 views

  •  
    In this article, you will see creating a plugin is almost exactly same as create a regular ASP.NET MVC web application, it only need to create a plugin manifest file for each plugin.
remonkoopmans

Know Thy .NET Dictionaries - CodeProject - 0 views

  •  
    This article takes a closer than normal look at everyone's favourite data structure - the .NET dictionary. There are quite a lot of different dictionaries classes in .NET these days, so I'm going to explore how they work, what their differences are and where to use them.
remonkoopmans

Performance and the Entity Framework - CodeProject - 0 views

  •  
    If you are using the Entity Framework (EF), then you need to understand the best practices for improving its performance, or you will suffer the consequences!
remonkoopmans

Exception Handling Basics | DaedTech - 0 views

  •  
    A nice blog article illustrating some basic point on exception handling.
Steven van Dijk

Service locator is not an anti pattern. « jgauffin's coding den - 0 views

  •  
    "I'm getting really tired of all blog posts that states that service locator is an anti pattern. It's not."
Steven van Dijk

Testing exceptions with xUnit « Hadi Hariri's Blog - 0 views

  •  
    "Testing for exceptions in unit tests can be tricky. [..] The guys that designed xUnit understood the shortcomings of testing exceptions and took a much cleaner approach."
Steven van Dijk

WPF Quick Tip: Converters as MarkupExtensions - 0 views

  •  
    "Everybody's gotta love their IValueConverters, right? [..] However, they're a bit of a pain when it comes to Xaml. [..] Not anymore with this quick tip."
Steven van Dijk

ploeh blog - Service Locator is an Anti-Pattern - 0 views

  •  
    "Service Locator is a well-known pattern, and since it was described by Martin Fowler, it must be good, right? No, it's actually an anti-pattern and should be avoided."
Steven van Dijk

Syntactic Sugar and the Async Pill - 0 views

  •  
    "Asynchrony is essential  for scalability and performance on the server side. Although it has always been possible to write asynchronous code, there has, up to now, been a downside: it is difficult to understand and maintain. Now, with the async/await. keywords, the whole approach is radically simplified for the programmer."
‹ Previous 21 - 40 of 105 Next › Last »
Showing 20 items per page