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....
ServiceStack is a good alternative to popular Microsoft technologies like WCF and WebAPI for building scalable web services because of its simplicity, high performance, true platform independence and less configuration. This article presents an overv....
Reduce coupling and maximize cohesion to build systems that are scalable, manageable and can be extended over time
Representational State Transfer (REST) is an architectural paradigm that is used to create reusable, scalable services. REST divides an application's state and functionality is divided into resources. This article discusses the best practices w....
This post discusses the Single Responsibility Principle and illustrates how one can avoid designs that are fragile and can break over time by following this principle.
This article discusses how routing works in Web API and how it is different from MVC
This article explores the various ways you can improve the application performance of web applications built using ASP.Net
Take advantage of the recommended best practices and tips to build applications using ASP.Net MVC that can scale and are responsive, fast, easier to test and maintain
This article discusses the best practices to optimize LINQ query performance
Take advantage of the best practices to build and host secure WCF services
Understand the factory and abstract factory design patterns to effectively manage object creation in your applications
In this series of articles on WCF best practices, I would like to explore the best practices that can be adopted to build and deploy secure, reliable, scalable, interoperable and responsive WCF services.
A good understanding of the presentation patterns helps you to build applications that are easier to test and maintain
Performance considerations and best practices to improve Entity Framework performance
Concurrency handling enables you to ensure data safety, integrity and consistency when multiple users access the same piece of data concurrently
Microsoft has recently announced the release of its lightweight, super-fast, cross platform development tool for building modern Web and cloud applications
This article discusses Node.js and shows how you can build a TCP Server in Node.js and consume it using C#
Learn how the GC works and the best practices to cleanup resources occupied by your program to build applications that are better in performance
Leverage the ASP.Net MVC 6 framework to design and implement applications that can leverage the Mode View Controller design pattern and promote code re-use, testability and maintenance seamlessly
Take advantage of Object Services Layer to reduce the impedance mismatch between the object and data models in your application and perform CRUD operations against your Entity Data Model
A proper and planned approach towards test driven development can reduce errors in your application considerably
A good knowledge of thread synchronization is needed to build applications that need to take advantage of thread safety and avoid deadlocks
There are many different considerations you need to think over before you decide the right technology for the service layer in your application
Leverage asynchronous programming to eliminate resource intensive blocking operations in your application
Take advantage of WMI to retrieve the hardware details of your computer system
Take advantage of the Singleton design pattern to create classes that can have only one instance throughout the lifetime of the application
Take advantage of memory mapped files to boost application performance and facilitate data sharing data between processes
Take advantage of virtual methods to implement late binding and abstract methods to force the subclasses to have implementations
Leverage caching, asynchronous methods, content compression, and faster media type formatters to improve the responsiveness and overall performance of Web API services
Take advantage of fault exceptions in WCF to send user friendly error messages to the service consumer when an exception has occured
Take advantages of the Dynamic Language Runtime to promote interoperability between statically and dynamically typed languages