Take advantage of this popular AOP framework to seamlessly manage common functionalities like exception handling, logging, security, and transactions in your application
Explore value types and reference types in .Net and learn how and where they are stored
Weak references in .Net create references to large objects in your application that are used infrequently so that they can be reclaimed by the garbage collector if needed
A struct is a good choice when you need to create a user defined type that would hold a few value types
Leverage ADO.Net's ability to work in disconnected mode to enable your application to stay disconnected to the database, conserve the system resources, and reduce the network traffic
Explore ways to tweak the settings in machine.config file for improved performance
Learn how to build multilingual applications in .Net by leveraging the framework's built-in support for globalization
Explore ways to work with a WCF service programmatically without the service configuration files
Serialization converts an object's state into a stream of bytes so that it can be persisted in a permanent or temporary storage medium
Generalization, specialization and dependency define relationships between the objects in your application
Fluent NHibernate provides a Fluent API also enables you to use LINQ to query data on top of the NHibernate engine
Take advantage of reflection in .Net to inspect or retrieve metadata of a type at runtime
Take advantage of polymorphism to isolate interface from implementation and promote flexibility in your designs
Leverage collections in .Net to store to promote type safety, facilitate code reuse, and improve performance when working with in-memory collection of objects
Parallel LINQ enables you to optimize your queries by splitting them into parts so as to execute these parts in parallel and hence boost the query performance. In this article we would discuss PLINQ and how it can be used in applications.
Leverage application domains to provide a level of isolation inside the managed environment so as to enable multiple applications to run in a single process
Take advantage of indexers in C# to access an instance of a class or a struct by using indexes
WCF has matured a lot over the years, and the new WCF 4.5 comes up with many significant improvements
Take advantage of sockets in C# to implement inter-process communication for the purpose of sharing data over a network
Take advantage of contracts, a standard followed in WCF to specify what your WCF service is supposed to do
Take advantage of the facade design pattern to provide a simplified interface to a set of sub systems and hence reduce the dependencies and complexities in your designs
Take advantage of the mission-critical capabilities in SQL Server 2016 for real time operational analytics, rich data visualizations and improved data security
Take advantage of performance counters to get an insight on the performance of your applications
Take advantage of thread pools to create and use threads on demand and improve the responsiveness of your application
Take advantage of attributes to embed metadata information to your assemblies and decorate the business objects in your C# application.
Take advantage of the FxCop library to build custom rules and enforce code quality
Take advantage of the Builder design pattern to create complex objects in a step by step manner
Leverage action results to return data as an HttpResponseMessage object from your Web API controller method
Explore ways to build and host your Web API in a separate process
Unsafe code helps you to write unmanaged code that wouldn't be handled by the execution environment of the CLR. This article takes a look at how we can work with unsafe code in the managed environment of .Net.
You can take advantage of asynchrony to perform resource-intensive I/O operations sans the need to block the main or the executing thread of the application. This article presents an overview on asynchronous file operations using C#.
Take advantage of message handlers to execute cross cutting concerns earlier in the Web API life cycle
In this article I would present a discussion on implementing HTTP authentication in Web API with code examples to illustrate the concepts discussed.
Obfuscation makes your assemblies hard to reverse-engineer, thereby protecting your intellectual property
Although .Net is adept at reclaiming managed objects, you should follow certain guidelines to facilitate faster garbage collection to improve the performance of your application. This article presents a discussion on how garbage collection works and ....
.Net framework 4.5 and later versions can leverage the multiple cores in your system by allowing the JIT compilation to run in two processors in parallel; hence reducing the compilation time. This article discusses in depth how Multicore JIT compilat....
Generics enables you to work with type safe data with no boxing and un-boxing overhead. You can leverage generics to create typesafe collections, create classes and methods that can accept a type as a parameter. This helps your code to be much more m....
Take advantage of the Entity Client Provider -- a client side query engine, to execute queries against a conceptual model of data
Leverage the Adapter design pattern to map incompatible interfaces, increase code coverage, and reduce complexities in designs
Take advantage of Protocol Buffers media formatter in your Web API services to reduced payload and generate faster responses
There are three approaches to model your entities in Entity Framework: Code First, Model First, and Database first. This article discusses all these three approaches and their pros and cons
Take advantage of the streamed transfer mode to transfer large amounts of data using WCF
Caching enables the web page to be rendered faster, and proper use of caching minimizes or reduces database hits or consumption of server's resources
Take advantage of the dependency injection principle to provide support for pluggable implementations in your application and build loosely coupled, testable components
SignalR is an open source library written in .Net that simplifies the exchange of data between a web browser and a web server using WebSockets as a communication protocol. This article presents an in-depth discussion on SignalR.
The Liskov Substitution Principle (LSP) is a fundamental principle of OOP and states that derived classes should be able to extend their base classes without changing their behaviour
Understand the core concepts behind asynchronous programming to build applications that are responsive
The interface segregation principle states that the clients should not be compelled to implement an interface that contains declarations of members or operations that they don't need. This article explores this principle with code examples.
When working in WCF you should be aware of the concepts of instancing, throttling and concurrency to build services that are scalable and can provide better throughput
The main objective behind the Open Closed Principle was that once the application has been tested and deployed in the production system, you should no longer have to change the existing source code. Ideally, you should enable such changes to the exis....