Quantcast
Channel: Warehouse Discounts
Browsing all 199 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

How to work with MongoDB in .Net

MongoDB is a popular, open source, scale-out NoSQL database that provides high throughput for your data-driven applications. Unlike relational databases such as SQL Server, Oracle, and MySQL, which...

View Article



Image may be NSFW.
Clik here to view.

How to perform lazy initialization in C#

Lazy initialization is a technique that defers the creation of an object until the first time it is needed. In other words, initialization of the object happens only on demand. Note that the terms lazy...

View Article

Image may be NSFW.
Clik here to view.

When to use the volatile keyword in C#

The optimization techniques used by the JIT (just-in-time) compiler in the Common Language Runtime might lead to unpredictable results when your .Net program is trying to perform non-volatile reads of...

View Article

Image may be NSFW.
Clik here to view.

How to use in-memory caching in ASP.Net Core

ASP.Net Core is a lean and modular framework that can be used to build high-performance, modern web applications on Windows, Linux, or MacOS. Unlike legacy ASP.Net, ASP.Net Core doesn’t have a Cache...

View Article

Image may be NSFW.
Clik here to view.

How to use the Dapper ORM in C#

Object relational mappers (ORMs) have been in use for a long time to eliminate the impedance mismatch that exists between the object models of programming languages and the data models in relational...

View Article


Image may be NSFW.
Clik here to view.

How to use dependency injection in ASP.Net Core

Support for dependency injection is built into ASP.Net Core, Microsoft’s open source, cross platform, lean, and modular framework for building high performance, scalable web applications. In ASP.Net...

View Article

Image may be NSFW.
Clik here to view.

How to work with logging in ASP.Net Core

Logging is an essential feature in applications for detecting or investigating issues. ASP.Net Core is an open source, cross-platform, lean, and modular framework for building high-performance web...

View Article

Image may be NSFW.
Clik here to view.

How to secure ASP.Net Web APIs using authorization filters

Security is a major concern in web-based enterprise applications. When you need to transmit data over the wire, you should be aware of the various tools you can use to secure that data. ASP.Net Web API...

View Article


Image may be NSFW.
Clik here to view.

How to avoid memory leaks in .Net applications

If you have developed C or C++ applications, then you are no doubt aware of memory leaks and their pitfalls. Although the .Net CLR abstracts memory management from the developer, memory leaks can...

View Article


Image may be NSFW.
Clik here to view.

How to implement a custom exception class in C#

An exception is an error that occurs at runtime and terminates the normal flow of execution of a program if not handled properly. When exceptions occur, you may not want to reveal the actual stack...

View Article

Image may be NSFW.
Clik here to view.

When to use an abstract class vs. interface in C#

When designing applications, it is important to know when to use an abstract class and when to use an interface. Although abstract classes and interfaces seem similar in some ways, there are key...

View Article

Image may be NSFW.
Clik here to view.

How to build custom middleware in ASP.Net Core

ASP.Net Core is an open source, cross-platform, lean, and modular framework for building high-performance web applications. It is also extensible. When building an ASP.Net Core application, you can...

View Article

Image may be NSFW.
Clik here to view.

How to use response compression in ASP.Net Core

ASP.Net Core is an open source, cross-platform, lean, and modular framework for building high-performance web applications. You can run ASP.Net Core applications on Windows, Linux, and even MacOS. A...

View Article


How to do integration testing in ASP.Net Core

Testing is an essential part of developing any application. There are various types of tests. Unit tests are used to check if the output of blocks or units of code conforms to the desired results....

View Article

Image may be NSFW.
Clik here to view.

How to implement background processing in ASP.Net Core

When developing web applications, you will often need to schedule and run background tasks. The IHostedService interface in ASP.Net Core provides a simple way to implement services that execute in the...

View Article


Image may be NSFW.
Clik here to view.

How to implement a distributed cache in ASP.Net Core

ASP.Net Core provides support for various types of caching. In addition to in-memory caching and response caching, it provides built-in support for distributed caching. In one of my previous articles...

View Article

Image may be NSFW.
Clik here to view.

How to use Moq to ease unit testing in C#

We often need to write unit tests for code that accesses an external resource such as a database or a file file system. If such resources are not available, the only way to ensure that the tests can...

View Article


Image may be NSFW.
Clik here to view.

How to use SignalR in ASP.Net Core

SignalR for ASP.Net Core is a new version of the SignalR library that enables you to implement real-time communications in ASP.Net Core applications. Here the term “real-time” means that the server...

View Article

Image may be NSFW.
Clik here to view.

How to use Azure Redis Cache in C#

Redis is an open source, feature rich, in-memory database and caching engine that can be used to store and retrieve data in your applications. Azure Redis Cache is based on this popular database,...

View Article

Image may be NSFW.
Clik here to view.

How to use response caching middleware in ASP.Net Core

Microsoft’s ASP.Net Core has already become a popular way to build high-performance, modern web applications that can run on Windows, Linux, or MacOS. One way it supports high performance of course is...

View Article
Browsing all 199 articles
Browse latest View live




Latest Images