-
Building Microservices Architecture Using CQRS and ASP.NET Core
Last updated: Thursday, December 19, 2024
Published in: CODE Magazine: 2025 - Jan/Feb
Joydip Kanjilal explores the Command Query Responsibility Segregation (CQRS) design pattern and its application in microservices architectures built with ASP.NET Core. You'll learn the benefits of using CQRS, including scalability, performance optimization, and maintainability, by isolating read and write operations. Kanjilal provides a comprehensive guide on implementing CQRS with code examples, focusing on creating, updating, and deleting operations using ASP.NET Core Web API, MediatR for mediation, and Entity Framework Core.
-
Store Application Performance Metadata in a Database Using AOP in ASP.NET Core
Last updated: Thursday, June 27, 2024
Published in: CODE Magazine: 2024 - July/August
Joydip explores programming paradigms (object-oriented, procedural, and aspect-oriented programming) and looks at how AOP (aspect-oriented programming) can help you optimize performance and store performance metadata in a database.
-
Distributed Caching: Enhancing Scalability and Performance in ASP.NET 8 Core
Last updated: Thursday, February 22, 2024
Published in: CODE Magazine: 2024 - March/April
Joydip covers the pros and cons of distributed caching and describes in-memory caching, distributed caching, and client-side caching. The article also covers various caching strategies, challenges, and best practices, and Joydip teaches you how to implement caching in ASP.NET Core using frameworks like NCache and MemCached.
-
Building Microservices Architecture Using GraphQL and ASP.NET 7 Core
Last updated: Wednesday, November 13, 2024
Published in: CODE Magazine: 2023 - July/August
This article provides an overview of GraphQL, its features and benefits, and how it compares and contrasts with REST and gRPC. It also explains how to take advantage of GraphQL to build microservices-based real-time applications in ASP.NET Core 7 and provides an overview of GraphQL schemas and their components.
-
Minimal APIS: Stuck in the Middleware Again
Last updated: Monday, October 24, 2022
Published in: CODE Focus Magazine: 2022 - Vol. 19 - Issue 1 - .NET 7.0
ASP.NET Core lets you use middleware to interact with Minimal APIs and Shawn shows you how it’s done.
-
A Deep Dive into the Back-End for Front-End Pattern
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2022 - March/April
In the current climate of using thin-client applications, you might hit a bump with your user interface integration. Joydip looks at the BFF (back-end for front-end) pattern in ASP.NET 6 Core to solve this problem.
-
Working with Apache Kafka in ASP.NET 6 Core
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2022 - January/February
Kafka is an open-source high throughput, low latency messaging system for distributed applications. Joydip shows you how it’s what you’ve been waiting for.
-
What’s New in ASP.NET Core in .NET 6
Last updated: Wednesday, August 31, 2022
Published in: CODE Focus Magazine: 2021 - Vol. 18 - Issue 1 - .NET 6.0
You already know that ASP.NET Core provides everything you need to build great Web UIs and powerful back-end services. Daniel shows how you can build rich interactive client Web UIs using all your favorite interactivity tools, standards-based HTTP APIs, real-time services, and back-end services.
-
Implementing JWT Authentication in ASP.NET Core 5
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2021 - May/June
Learn to use JSON Web Tokens (commonly known as JWT) to secure the data that's transmitted over the wire between APIs and the clients that consume the APIs.
-
Using Ajax and REST APIs in.NET 5
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2021 - March/April
In this article, create a .NET 5 Web server to service Web API calls coming from any Ajax front-end. You also learn to create an MVC Web application and a Node server to serve up Web pages from which you make Ajax calls to the .NET 5 Web server.
-
Building Multi-Tenant Applications Using ASP.NET 5
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2021 - January/February
This overview of multi-tenant architecture describes the challenges and solutions to using them. Ultimately, multi-tenant gets cheaper over time. Follow along to implement a multi-tenant application in ASP.NET 5
-
From .NET Standard to .NET 5
Last updated: Wednesday, August 31, 2022
Published in: CODE Focus Magazine: 2020 - Vol. 17 - Issue 1 - .NET 5.0
Microsoft's release of .NET 5 will be a shared code base for .NET Core, Mono, Xamarin, and future .NET implementations. So which target framework names (TFMs) should you use? This article explains when you should target .NET Standard 2.0 or when you should go straight to .NET 5.
-
A Deep Dive into ASP.NET Core Localization
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2020 - September/October
Joydip shows you how to build multilingual applications in ASP.NET Core using Visual Studio 2019 to enable a broader reach for your applications.
-
When Open Source Came to Microsoft
Last updated: Wednesday, June 9, 2021
Published in: CODE Magazine: 2020 - September/October
Why did Microsoft join the open source movement? Richard Campbell tells us the history of how Microsoft became an open source software company.
-
Transform Your ASP.NET Core API into AWS Lambda Functions
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2020 - July/August
Learn how to move an Existing ASP.NET Core API to a Serverless Application Model (SAM) application which is a form of AWS Lambda Functions.
-
Use the MVVM Design Pattern in MVC Core: Part 2
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2020 - July/August
In a MVC Core application using an MVVM design pattern, learn to sort data when a user clicks on a column header in an HTML table. Learn to add a pager to limit the number of rows displayed on a page. Learn to cache data in the Session object to improve performance.
-
Discovering AWS for .NET Developers
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2020 - May/June
Learn a bit about how Amazon Web Services (AWS) supports .NET platforms including hosting ASP.NET Core apps.
-
Use the MVVM Design Pattern in MVC Core: Part 1
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2020 - May/June
Learn to use the Model-View-View-Model (MVVM) design pattern, long used in WPF applications, in MVC Core applications. Using MVVM in MVC makes your applications even more reusable, testable, and maintainable.
-
Visual Studio for Mac 8.3: It’s Not Just for Xamarin Anymore!
Last updated: Wednesday, September 23, 2020
Published in: CODE Focus Magazine: 2019 - Vol. 16 - Issue 1 - .NET Core 3.0
If you’ve been putting off using VS on the Mac, you’ll be excited by Ben’s experience with the new release. It’s got all the whistles and bells you know and love and it makes some tasks even easier than you’d expect.
-
What’s New in ASP.NET Core 3.0
Last updated: Wednesday, September 23, 2020
Published in: CODE Focus Magazine: 2019 - Vol. 16 - Issue 1 - .NET Core 3.0
Get ready for an exciting list (and examples) as Shawn explores the new tools in ASP.NET Core 3.0.
-
Intro to GraphQL for .NET Developers: Schema, Resolver, and Query Language
Last updated: Thursday, March 18, 2021
Published in: CODE Magazine: 2019 - September/October
Peter introduces you to GraphQL so your REST API client list can grow and change without a lot of pain. You can use strongly typed schema, eliminated over- and under-fetching, and you can get analytics about how clients are really using your API.
-
Using JetBrains Rider to Develop ASP.NET Core Applications on Docker
Last updated: Friday, April 2, 2021
Published in: CODE Magazine: 2019 - May/June
Maarten explores containers, especially in regard to an ASP.NET Core application, and uses JetBrains Rider as an IDE to build and debug apps in a Docker container.
-
Marking up the Web with ASP.NET Core and Markdown
Last updated: Friday, April 15, 2022
Published in: CODE Magazine: 2018 - November/December
You’re probably already using Markdown for HTML text entry and formatting your README.md files. But Markdown is good for so much more—Rick shows you parsing, stable content in a website, embedding converted HTML into a Razor output, and more.
-
Build Real-time Applications with ASP.NET Core SignalR
Last updated: Thursday, April 22, 2021
Published in: CODE Magazine: 2018 - July/August
You may have already heard about SignalR and that the new version makes it easier to build fast Web apps and provide great user experiences. Anthony explores this tool and shows you how to take advantage of it.
-
Entity Framework Core 2.1: Heck Yes, It’s Production Ready!
Last updated: Thursday, April 22, 2021
Published in: CODE Magazine: 2018 - July/August
With this release, EF Core has really matured. Julie takes you on a tour and points out some of the highlights of this labor-simplifying tool.
-
Introducing .NET Core 2.1 Flagship Types
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2018 - July/August
If you’re looking to improve your app’s performance, you’re probably already cross-platform and open source, and you already know that .NET Core is a great tool for that goal. Ahson lets us in on what’s new in .NET Core 2.1 with a focus on Span<T> and Memory<T>.
-
Ready for Prime Time: .NET Core 2.0 and ASP.NET Core 2.0 Have Arrived
Last updated: Thursday, April 29, 2021
Published in: CODE Magazine: 2018 - March/April
Rick explores the new features in .NET Core and ASP.NET Core and shows you that the wait was worth it.
-
What’s New in ASP.NET Core 2.1
Last updated: Friday, April 30, 2021
Published in: CODE Magazine: 2018 - March/April
Daniel takes you on a tour of the new features in the new release of ASP.NET. He thinks you’ll find it exciting, especially regarding its SignalR capabilities.
-
Getting Down to Business Building an ASP.NET Core API Service
Last updated: Friday, May 28, 2021
Published in: CODE Magazine: 2017 - January/February
Building an API-based app doesn’t have to be daunting. Rick shows you how to use Angular 2.0 to build a small app that breaks out business logic, uses a repository class to consolidate data access code, and deals with complex relationships and data updates.
-
Getting to the ASP.NET Core
Last updated: Wednesday, June 9, 2021
Published in: CODE Magazine: 2016 - September/October
New releases ASP.NET Core and .NET Core have come up with some interesting high-level architecture that you’ll want to read about. You’ll definitely want to play with these tools after Rick shows you some cool new tricks.