Connection pooling in ADO.Net lets you reuse database connections and improves data access performance
ASP.Net Core is an open-source and cross-platform, lean and modular framework for building high-performance web applications
Refrain from calling the GC.Collect method explicitly to reclaim the memory occupied by the objects in your application unless there is a specific reason do so
Cyclomatic complexity is a quantitative measure of the linearly independent paths in source code that can help you understand the complexity of your program and improve code coverage
Tuples can be used to store a finite sequence of homogeneous or heterogeneous data of fixed sizes and can be used to return multiple values from a method
SpinLock handles "busy wait" in scenarios where you have frequent contention but with reasonably short waiting times by avoiding context switches and improving performance
HTTPHandler is a low level request and response API in ASP.Net for injecting pre-processing logic to the pipeline based on file extensions and verbs
The Managed Extensibility Framework in .Net avoids fragile hard dependencies in your code and builds applications that are loosely coupled, lightweight, and extensible
HTTP modules intercept incoming requests and inject pre-processing logic in the ASP.Net request processing pipeline
The BlockingCollection class in .Net implements thread-safe collections efficiently
WebSockets implement fast, secure, bi-directional, full duplex communication between a client and a server to support real-time, low-latency messaging
Explore ways to handle concurrency conflicts to maintain data integrity and data consistency when working with Entity Framework
Content negotiation in Web API helps determine the best representation of a resource from among the various representations available
You can use covariance and contravariance to provide polymorphic extension to delegates, arrays, and generics in C#. Here’s how.
You can increase the performance and scalability of your client-server applications by using asynchronous sockets. Here’s how.
Quartz.Net is a .Net port of the popular Java job scheduling framework. It is an open source job scheduling system that can be used from smallest apps to large-scale enterprise systems.
Learn how to work with the Hashtable and Dictionary collection types and when to use one in lieu of the other in your applications
Constructors in C# initialize the members of the class to which they belong and design your classes with elegance
Explore ways to program the Windows Registry using C# to store and retrieve configuration information
Take advantage of the Decorator design pattern to add extensibility either dynamically or statically to your application
Operator overloading or ad-hoc polymorphism lets you work with user defined types much the same way you work with fundamental data types
Take advantage of PostSharp's compile-time weaving features to reduce code clutter and solidify your application’s code
In this post I would like to highlight a few performance optimization tips that would help you to prevent CPU outrages in your application.
Take advantage of the TPL Dataflow Library to implement producer / consumer pattern in .Net
Take advantage of a custom task scheduler to provide added functionalities over the default task scheduler and manage how tasks are scheduled in .Net
Take advantage of WCF to build light-weight RESTful services and keep the resource URIs clean and lean
Learn the best practices to create and schedule tasks efficiently in .Net using Task.Run and Task.Factory.StartNew methods
MSMQ is a simple, convenient, reliable and persistent backing store for storing your messages
You can leverage the TransactionScope class present in the System.Transactions namespace for efficient transaction management when working in .Net.
Take advantage of nullable types to assign 'no values' or 'null values' to value types when there is no value available
Take advantage of Hangfire, an open source job scheduling framework, to schedule fire-and-forget, recurring tasks in Web applications sans the need of a Windows Service
Take advantage of ASP.Net Web Hooks to send HTTP POST notifications within the context of the ASP.Net runtime
Take advantage of this popular AOP framework to seamlessly manage common functionalities like exception handling, logging, security, and transactions in your application
Take advantage of the various ways to version your Web API to make it more flexible and adaptable to changes while keeping the functionality intact
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 sessions to store and manage information pertaining to a logged user's session.
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.
Take advantage of Windows services to build applications that you want to run in the background or execute automatically at predefined intervals of time.
Sponsored Links