C# Corner

Resources  
  • In Depth Look: Strategy Design Pattern, Dependency Injection (DI), Open/Closed Principle (OCP) and Loose CouplingJun 06, 2015. This article explains the Strategy Design Pattern, Dependency Injection, Open/Closed principle and Loose Coupling.
  • Onion Architecture Using MVC and Database First ApproachMay 05, 2015. The main purpose of this article is try to explain the Onion Architecture and provide sample sample code that is loosely coupled and easily maintainable.
  • Problems of Learning (Programming Language) in (x) DaysMay 03, 2015. This article points out a few of the problems of this type of teaching and learning for new developers, who might fall for this approach.
  • Basics of Dependency InjectionApr 27, 2015. In this article we will learn about Dependency Injection.
  • Dependency Injection In Software EngineeringApr 02, 2015. In this article we will learn about Dependency Injection which is a software design pattern that implements inversion of control.
  • Implement Dependency Injection Using Autofac IoC ContainerJun 09, 2014. This article provides a basic understanding of de-coupled architecture and the concept of Inversion of Control.
  • Service Locator Design PatternJun 09, 2014. This article assumes a basic knowledge of de-coupled architecture. An understanding of various design patterns will help you to understand this better.
  • Constructor Dependency Injection Pattern Implementation in C#May 25, 2014. This article is about the Constructor Dependency Injection Pattern Implementation in C#.
  • Demystify SOLID: D For “Dependency Inversion Principal”May 10, 2014. In this article we will discuss the last principal called “Dependency Inversion Principal”. This is one of the important principals to develop de-coupled architecture.
  • Dependency Inversion PrincipalApr 27, 2014. In this article we will discuss the last principal called “Dependency Inversion Principal”. This is one of the important principals for developing de-coupled architecture.
  • Measure Depth of Inheritance and Class Coupling in Visual StudioApr 20, 2014. Here, we will see how to measure depth of inheritance and class coupling in the Visual Studio environment.
  • Customizing Debugging Session in .NET: Part IMar 06, 2014. This article describes a couple of ways to customize what the debugger shows us during debugging.
  • Simple Search Panel in MVC 4Aug 02, 2013. This article provides a demonstration of implementing a search panel in an MVC project using little more than a bit of JQuery along with a couple of freely available plugins.
  • Dynamic WCF Usage in ClientJun 13, 2013. I have decided to show a Channel Factory usage in the client side.The Channel Factory will be created in a generic ServiceFactory according to ServiceContract type. It will provide us full isolated usage WCF service more dynamically than adding a service into the service references. Also I would like to show us proxy and channelFactory usage differences.
  • SharePoint 2013 and Sharepoint 2010 Site Pages With Inline CodeMar 05, 2013. Recently a couple of people asked about adding inline code into an aspx page, that resides in a page library or document library.
  • Difference Between Loose Coupling and Tight CouplingDec 19, 2012. The pros and cons Loose Coupling and Tight Coupling.
  • Implement Concrete Factory Design Pattern using Reflection in VB.NETNov 10, 2012. Reflection is used to dynamically create an instance of a type, bind the type to an existing object, or get the type from an existing object. In this example, we implement Concrete Factory Pattern using Reflection to fetch records from MS-Access and MS-SQL Database.
  • Providing unbound List based controls with Text and Value properties in VB.NETNov 10, 2012. The purpose of this article is to discuss the construction of a couple of simple custom controls that extend both the Combobox and the Listbox controls to allow them to be associated with both a text and a value property for each item in the control's list.
  • jQuery UI Datepicker in MVC 4 IssueOct 28, 2012. Today, I spent couple of hours in finding the best suited fix of this issue. Actually that was a very simple problem and we may fix it by adding another http request layer in the application but that was not a productive choice.
  • S.O.L.I.D Design Principles Explained : Part 1Aug 12, 2012. This article will cover the acronyms for SOLID and a brief introduction to Cohesion and Coupling is provided to understand the SOLID principles.
  • S.O.L.I.D Design Principles Explained : Part 2Aug 12, 2012. Here we will discuss the second letter in the word SOLID i.e., O. O stands for OCP (Open Closed Principle).
  • Working with Animating Attached Properties, Splines-Key Frames and Easing Functions in Windows Phone 7Dec 30, 2010. You can use Silverlight animations in a couple different ways to move an element around the screen. One way is to target a TranslateTransform set to the element’s RenderTransform property.
  • Patterns for centralising reference data management Dec 13, 2010. Sharing data can be difficult, this article shows some patterns you can use to share data between applications without causing tight coupling. Each pattern is described with its merits and drawbacks to allow you to make an informed decision.
  • Panels in Layout Mechanism for Windows Phone 7Dec 06, 2010. Panels are written entirely in code. There is no XAML involved. When you write a Panel derivative, you’ll probably be defining a couple properties to make the panel more flexible.
  • Progressbar control in Silverlight 3.0Nov 16, 2009. In this article, I will explain couple of things step by step. First how to work with Progressbar control of Silver Light 3.0.Then how to consume WCF service in Silverlight application when both are in same solution.
  • Introduction to Loosely Coupled CollectionsFeb 16, 2009. This article explains about Implementation of Loosely Coupled Collections in C#.
  • DI using Unity Application BlocksJan 20, 2009. In this article we will take up a simple example and try to implement DI using unity application blocks thus resulting in loosely coupled architecture.
  • DI and IOCJan 19, 2009. In this article we will discuss about how IOC and DI can help us build loosely coupled software architecture.
  • Design pattern -Inversion of control and Dependency injectionNov 04, 2008. In this section we will discuss about how IOC and DI can help us build loosely coupled software architecture.
  • Save TreeView Nodes ExpansionJun 24, 2008. We frequently use an ASP.NET TreeView as a navigation menu. This works well on a single page but if you include the control on a Master Page, it looses its expansion state as you move from one content page to another.
  • Functional Programming with C# - CompositionMar 05, 2008. In this article we'll look at using a couple different functional approaches to implementing a basic formula through composition including using monads.
  • Object Instantiation in C#. Part II Factory MethodsJun 24, 2007. There are many ways to approach object instantiation. In this article we’ll cover a few of the patterns used to instantiate objects.
  • Multi-threaded Asynchronous Programming in C#. Async Database Calls. Part III.May 14, 2007. In my last couple articles we looked at basic ways to have long-running i/o bound process be handled by the ThreadPool using the asynchronous programming model. In this article we’ll take a look at coding async calls against SqlServer which really comes in handy in production environments where our database is on another machine.
  • How to assign Text and Values to Items in an Unbound List Based ControlMar 28, 2007. The purpose of this article is to discuss the construction of a couple of simple custom controls that extend both the Combobox and the Listbox controls to allow them to be associated with both a text and a value property for each item in the control's list.
  • A Better Solution for Enterprise Architects - SOA : Part IFeb 06, 2007. I would like to begin to determine what SOA (service-oriented architecture) is technically meaning. We can clearly say SOA is a methodology for designing software architectures to utilize and organize distributed systems using loosely coupled software services.
  • C# Friendly Assemblies: Looking at Building Truly Reusable ComponentsNov 01, 2006. This article discusses how we can hide our base class implementation and require referencing of our objects through their interfaces. This keeps our own projects loosely coupled and also allows us to publish our assemblies as truly reusable components because they are 100% “Black box”.
  • Asynchronous Callbacks and Ajax based UI Experience in Web ApplicationsSep 11, 2006. The current article shows a couple of different views of showing progress bars in Web based applications.
  • Aural Alert Generator (Voice and Tones)Aug 25, 2006. This article describes an application used to generate and test aural alerts; I wrote the application originally to allow me to define and test aural alerts for use in a couple of cockpit simulators, however, you could use the application to generate aural alerts for any purpose. The application also may be used to define voice messages which may be optionally saved as wave files for subsequent use in other applications.
  • An Elegant C# Data Access Layer using the Template Pattern and GenericsMay 22, 2006. The GOF Template pattern coupled with .NET 2.0 Framework generics provides an awesome synergistic alliance. This article demonstrates how to drastically reduce the amount of code required in building a data access layer. Less code to debug... less code to break... less code to maintain... what could be better?
  • Enhancements in Assemblies and Versioning in Visual Studio 2005May 01, 2006. The article discusses a couple of features introduced for assembly and versioning in Visual Studio 2005 such as referencing assemblies, registering assemblies to GAC, digital signing and friend assemblies.
  • C# Interface Based DevelopmentMar 06, 2006. When trying to build maintainable, reusable, and flexible C# code, the object oriented nature of C# only gets us 50% of the way there. Programming to interfaces can provide us with the last 50%. Interfaced-based design provides loose coupling, true component-based programming, easier maintainability and it makes code reuse much more accessible because implementation is separated from the interface.
  • Business Process Execution Language for Web Services 1.0Mar 11, 2004. Web Services use a loosely coupled integration model to allow flexible integration of heterogeneous systems in a variety of domains including business-to-consumer, business-to-business and enterprise application integration.
  • Image Resizing : Part IIJan 12, 2004. In my first article Image Resizing and FTP, I showed how I resize my digital camera pictures and FTP them to the web. I received a couple of requests to share the code for the image gallery on my web site that I use to view them so here it is.
  • OpenGL BasicsOct 09, 2002. In this article I want to explain couple of more things. First of all, I would like to cover the OpenGL Coordinate System.
  • Writing a Generic Data Access ComponentJul 17, 2002. I've received couple of emails people asking me how can they use a common data provider to access various types of data sources without loosing the power and flexibility of native data provider libraries.
  • Writing a Generic Data Access ComponentJul 17, 2002. OK, I've received couple of emails people asking me how can they use a common data provider to access various types of data sources without loosing the power and flexibility of native data provider libraries.
  • Creating and Opening Microsoft Word Document from .NET Using C#Mar 08, 2002. This article is being written in response to a couple inquiries on the question, "How do I open a word document from .NET?".
  • Text to HTML ParserApr 05, 2001. If you have been into developing Web Applications then you might have at many times experienced that when you display multiple lines of data from a database you loose the spacing or formatting between multiple lines of data.
  • Drag and Drop RevisitedMar 13, 2001. I've had a couple inquiries on how to do drag and drop in .NET again, so I've put together a simple app for dragging text from a TreeView to a TreeView and a TreeView to a ListBox.

About Loose-Coupling

NA

SPONSORED BY

Custom Software Development
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.
Cloud & IoT DevCon16