---
title: "#moq articles | Hashnode"
description: "Explore 16 articles tagged #moq on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/moq"
---

Tag

# #moq

16 posts · 0 followers

[Coding Droplets](https://hashnode.com/@codingdroplets) · [Jul 14](https://hashnode.com/posts/unit-testing-aspnet-core-controllers/6a5624caf2ad5a2b4f04a1e8)

### [7 Common Mistakes Unit Testing ASP.NET Core Controllers (And How to Fix Them)](https://codingdroplets.hashnode.dev/unit-testing-aspnet-core-controllers?utm_source=hashnode&utm_medium=feed)

Seven common ASP.NET Core controller unit testing mistakes with xUnit and Moq, plus the exact fixes for asserting IActionResult results.

10 min read · [codingdroplets.hashnode.dev](https://codingdroplets.hashnode.dev/unit-testing-aspnet-core-controllers?utm_source=hashnode&utm_medium=feed)

[Red5](https://hashnode.com/@red5) · [May 1](https://hashnode.com/posts/consensus-on-a-moq-media-layer-player-framework-should-speed-market-adoption/69f4a6b3ec32cba9e5110b5c)

### [Consensus on a MOQ Media Layer Player Framework Should Speed Market Adoption](https://red5.hashnode.dev/consensus-on-a-moq-media-layer-player-framework-should-speed-market-adoption?utm_source=hashnode&utm_medium=feed)

Modular Red5 Template Is Open-Source Path to Multiple Streaming Formats Introduction Amid intensifying demand for the interoperable approach to next-generation streaming specified by the emerging MOQ

19 min read · [red5.hashnode.dev](https://red5.hashnode.dev/consensus-on-a-moq-media-layer-player-framework-should-speed-market-adoption?utm_source=hashnode&utm_medium=feed)

[Ashifur Rahaman](https://hashnode.com/@ashif-arsb) · [Dec 27, 2025](https://hashnode.com/posts/entity-framework-core-unit-testing/694faa7953a3fbbfbdb8b1b3)

### [Entity Framework Core - Unit Testing](https://eform.hashnode.dev/entity-framework-core-unit-testing?utm_source=hashnode&utm_medium=feed)

1\. Introduction and Strategy Testing data access layers requires balancing execution speed with behavioral accuracy. This documentation outlines strategies for unit testing Entity Framework (EF) Core, ranging from in-memory unit tests to high-fidelit...

7 min read · [eform.hashnode.dev](https://eform.hashnode.dev/entity-framework-core-unit-testing?utm_source=hashnode&utm_medium=feed)

[Red5](https://hashnode.com/@red5) · [Dec 12, 2025](https://hashnode.com/posts/moq-vs-webrtc-why-both-protocols-can-and-should-exist-in-live-streaming-space-in-2025/693c44d11441416c135d9eaa)

### [MOQ vs WebRTC: Why Both Protocols Can And Should Exist In Live Streaming Space In 2025](https://red5.hashnode.dev/moq-vs-webrtc-why-both-protocols-can-and-should-exist-in-live-streaming-space-in-2025?utm_source=hashnode&utm_medium=feed)

MOQ vs WebRTC has become one of the most talked-about topics in the live streaming space over the past few months. I’ll share a more detailed blog about this new live streaming technology soon, but first, I’d like to address the latest buzz happening...

6 min read · [red5.hashnode.dev](https://red5.hashnode.dev/moq-vs-webrtc-why-both-protocols-can-and-should-exist-in-live-streaming-space-in-2025?utm_source=hashnode&utm_medium=feed)

[Morteza Jangjoo](https://hashnode.com/@Jangjoo) · [Oct 21, 2025](https://hashnode.com/posts/a-complete-guide-to-writing-unit-tests-in-net-core-with-xunit-moq/68f6f355a5a69aadea4560b2)

### [A Complete Guide to Writing Unit Tests in .NET Core (with xUnit + Moq)](https://jangjoo.hashnode.dev/a-complete-guide-to-writing-unit-tests-in-net-core-with-xunit-moq?utm_source=hashnode&utm_medium=feed)

A Complete Guide to Writing Unit Tests in .NET Core (with xUnit + Moq)

3 min read · [jangjoo.hashnode.dev](https://jangjoo.hashnode.dev/a-complete-guide-to-writing-unit-tests-in-net-core-with-xunit-moq?utm_source=hashnode&utm_medium=feed)

[John](https://hashnode.com/@unstacked) · [Aug 19, 2025](https://hashnode.com/posts/how-to-mock-httprequestdata-for-unit-testing-in-azure-functions/68a493b20de5ad09e4a63c65)

### [How to Mock HttpRequestData for Unit Testing in Azure Functions](https://unstacked.hashnode.dev/how-to-mock-httprequestdata-for-unit-testing-in-azure-functions?utm_source=hashnode&utm_medium=feed)

Learn how to mock HttpRequestData for unit testing Azure Functions with Moq, enabling effective and clean testing of isolated HTTP triggers

3 min read · [unstacked.hashnode.dev](https://unstacked.hashnode.dev/how-to-mock-httprequestdata-for-unit-testing-in-azure-functions?utm_source=hashnode&utm_medium=feed)

[Gilles TOURREAU](https://hashnode.com/@gillestourreau) · [Aug 20, 2024](https://hashnode.com/posts/simplifying-data-conversion-a-testable-approach-for-entity-models-and-dtos/66c489478e20812befd8c58d)

### [Simplifying Data Conversion: A Testable Approach for Entity Models and DTOs](https://gilles.tourreau.fr/simplifying-data-conversion-a-testable-approach-for-entity-models-and-dtos?utm_source=hashnode&utm_medium=feed)

In many applications, converting data from one format to another is a common task. For instance, you might need to convert a business entity object into JSON or vice versa. Many developers use extension methods like ToJson() or ToModel() for this con...

5 min read · [gilles.tourreau.fr](https://gilles.tourreau.fr/simplifying-data-conversion-a-testable-approach-for-entity-models-and-dtos?utm_source=hashnode&utm_medium=feed)

[Tadit Dash](https://hashnode.com/@taditdash) · [Feb 20, 2024](https://hashnode.com/posts/understanding-method-invocation-verification-with-moqs-verifiable-constructs/65d442e75b68645e96f4f41a)

### [Understanding Method Invocation Verification with Moq's Verifiable Constructs](https://blog.taditdash.com/understanding-method-invocation-verification-with-moqs-verifiable-constructs?utm_source=hashnode&utm_medium=feed)

Ensuring Method Calls in Unit Tests with Moq's Verifiable Constructs

2 min read · [blog.taditdash.com](https://blog.taditdash.com/understanding-method-invocation-verification-with-moqs-verifiable-constructs?utm_source=hashnode&utm_medium=feed)

[Gilles TOURREAU](https://hashnode.com/@gillestourreau) · [Dec 5, 2023](https://hashnode.com/posts/strengthening-moq-based-unit-tests-with-posinformatiquemoqanalyzers/656f88d89508143ec7d91064)

### [Strengthening Moq based unit tests with PosInformatique.Moq.Analyzers](https://gilles.tourreau.fr/strengthening-moq-based-unit-tests-with-posinformatiquemoqanalyzers?utm_source=hashnode&utm_medium=feed)

As a passionate advocate for robust unit testing and code quality, I've invested heavily in leveraging the Moq library within my .NET projects. To ensure reliability and catch potential errors early, I developed a .NET analyzer tool specifically tail...

3 min read · [gilles.tourreau.fr](https://gilles.tourreau.fr/strengthening-moq-based-unit-tests-with-posinformatiquemoqanalyzers?utm_source=hashnode&utm_medium=feed)

[Billy Mumby](https://hashnode.com/@mumby0168) · [Aug 22, 2023](https://hashnode.com/posts/nsubstitute-from-moq/64e469270d10315abcf0c632)

### [NSubstitute from Moq](https://billy-mumby-dev.com/nsubstitute-from-moq?utm_source=hashnode&utm_medium=feed)

Transition from Moq to NSubstitute: concise guide with examples for mocking, returning values, and verifying method calls in both libraries

8 min read · [billy-mumby-dev.com](https://billy-mumby-dev.com/nsubstitute-from-moq?utm_source=hashnode&utm_medium=feed)
