CODE Magazine / Articles

ASP.NET Core

Articles filed under ASP.NET Core

Articles

Showing 1–33 of 33

  1. CODE Magazine: 2025 - July/August cover

    Sending Email with SendGrid

    Matthew explores the advantages of using SendGrid for sending bulk emails, specifically in C# programming. He highlights the limitations of traditional methods, like SMTPClient and Mailkit, when dealing with a high volume of messages. Hess demonstrates the setup and utilization of SendGrid's REST API, focusing on its C# utility classes and personalizations feature, enabling efficient customization of emails for individual recipients. Additionally, he delves into template creation and management, showcasing SendGrid’s tools for crafting professional-quality email templates. Hess underscores SendGrid’s functionality in simplifying bulk email processes while avoiding issues related to SPAM filters and message limits.

  2. CODE Magazine: 2025 - May/June cover

    Securing ASP.NET Core Blazor Applications

    Joydip delves into strategies and practices for enhancing the security of web applications built with Blazor, a modern framework from Microsoft combining C# and .NET. The article highlights the necessity of robust security measures due to rising cybersecurity threats and provides comprehensive insights into securing Blazor applications using ASP.NET Core’s authentication mechanisms. Kanjilal offers practical guidance on implementing HTTPS, anti-forgery tokens, input validation, and token-based authentication in Blazor Server and WebAssembly applications. The article further elaborates on utilizing ASP.NET Core Identity Framework, data protection, and emphasizes ongoing security maintenance as crucial for safeguarding applications against vulnerabilities and breaches.

  3. CODE Magazine: 2025 - March/April cover

    Building Modern Web Applications Using Blazor ASP.NET Core

    Joydip Kanjilal explores the features and advantages of using Blazor, a modern web framework from Microsoft, to create interactive web applications using C# and .NET. The framework allows developers to build full-stack applications encompassing both client- and server-side components, effectively using C# in lieu of JavaScript. The article delves into Blazor's functionalities, including its component-based architecture, integration with .NET, and support for various hosting models such as Blazor WebAssembly and Server. Joydip further demonstrates the application of Blazor in developing a Supply Chain Management System, illustrating its practical implementation through code examples and best practices for optimizing development performance. The article presents Blazor as a flexible and efficient framework that simplifies the development process while offering robust performance, security, and scalability for web applications.

  4. CODE Magazine: 2025 - January/February cover

    Building Microservices Architecture Using CQRS and ASP.NET Core

    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.

  5. CODE Magazine: 2024 - July/August cover

    Store Application Performance Metadata in a Database Using AOP in ASP.NET Core

    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.

  6. CODE Magazine: 2024 - March/April cover

    Distributed Caching: Enhancing Scalability and Performance in ASP.NET 8 Core

    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.

  7. CODE Magazine: 2023 - July/August cover

    Building Microservices Architecture Using GraphQL and ASP.NET 7 Core

    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.

  8. CODE Focus Magazine: 2022 - Vol. 19 - Issue 1 - .NET 7.0 cover

    Minimal APIS: Stuck in the Middleware Again

    Shawn Wildermuth argues that middleware—long a core of ASP.NET Core—can and should be leveraged with Minimal APIs, not just controllers. He explains how middleware works, how Minimal APIs opt into it via fluent extension methods (e.g., RequireAuthorization, AllowAnonymous, RequireCors, Produces, WithName), and demonstrates common patterns for CORS, Swagger/OpenAPI metadata, and caching. When a middleware doesn’t natively support Minimal APIs, attributes remain a fallback. Wildermuth’s goal is to show how to compose middleware with Minimal APIs to enrich functionality while preserving simplicity.

  9. CODE Magazine: 2022 - March/April cover

    A Deep Dive into the Back-End for Front-End Pattern

    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.

  10. CODE Magazine: 2022 - January/February cover

    Working with Apache Kafka in ASP.NET 6 Core

    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.

  11. CODE Focus Magazine: 2021 - Vol. 18 - Issue 1 - .NET 6.0 cover

    What’s New in ASP.NET Core in .NET 6

    In this article, Daniel Roth highlights the major new features and improvements in ASP.NET Core with the release of .NET 6, emphasizing its comprehensive, high-performance web development capabilities. He showcases innovations such as minimal APIs for simplified coding, enhanced developer productivity tools like Hot Reload, and improvements to MVC, Razor Pages, and Blazor components. Roth also details better JavaScript integration, runtime performance gains, and new support for HTTP/3 and .NET MAUI Blazor apps, illustrating how ASP.NET Core in .NET 6 empowers developers to build modern, efficient, and versatile web and native applications with greater ease.

  12. CODE Magazine: 2021 - May/June cover

    Implementing JWT Authentication in ASP.NET Core 5

    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.

  13. CODE Magazine: 2021 - March/April cover

    Using Ajax and REST APIs in.NET 5

    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.

  14. CODE Magazine: 2021 - January/February cover

    Building Multi-Tenant Applications Using ASP.NET 5

    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

  15. CODE Focus Magazine: 2020 - Vol. 17 - Issue 1 - .NET 5.0 cover

    From .NET Standard to .NET 5

    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.

  16. CODE Magazine: 2020 - September/October cover

    A Deep Dive into ASP.NET Core Localization

    Joydip shows you how to build multilingual applications in ASP.NET Core using Visual Studio 2019 to enable a broader reach for your applications.

  17. CODE Magazine: 2020 - September/October cover

    When Open Source Came to Microsoft

    In "When Open Source Came to Microsoft," Richard Campbell traces Microsoft's transformation from a proprietary software giant to a leading open-source contributor. He highlights key milestones, including early shared source efforts, the rise of .NET and ASP.NET MVC, and the pivotal shift under CEO Satya Nadella in 2014 embracing true open-source principles with projects like .NET Core and Roslyn on GitHub. Campbell emphasizes how Microsoft evolved by adopting community collaboration, contributing to and integrating open-source technologies, and reshaping its business and culture to thrive in a cloud-centric, open-source-driven software landscape.

  18. CODE Magazine: 2020 - July/August cover

    Transform Your ASP.NET Core API into AWS Lambda Functions

    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.

  19. CODE Magazine: 2020 - July/August cover

    Use the MVVM Design Pattern in MVC Core: Part 2

    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.

  20. CODE Magazine: 2020 - May/June cover

    Discovering AWS for .NET Developers

    Learn a bit about how Amazon Web Services (AWS) supports .NET platforms including hosting ASP.NET Core apps.

  21. CODE Magazine: 2020 - May/June cover

    Use the MVVM Design Pattern in MVC Core: Part 1

    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.

  22. CODE Focus Magazine: 2019 - Vol. 16 - Issue 1 - .NET Core 3.0 cover

    Visual Studio for Mac 8.3: It’s Not Just for Xamarin Anymore!

    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.

  23. CODE Focus Magazine: 2019 - Vol. 16 - Issue 1 - .NET Core 3.0 cover

    What’s New in ASP.NET Core 3.0

    Get ready for an exciting list (and examples) as Shawn explores the new tools in ASP.NET Core 3.0.

  24. CODE Magazine: 2019 - September/October cover

    Intro to GraphQL for .NET Developers: Schema, Resolver, and Query Language

    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.

  25. CODE Magazine: 2019 - May/June cover

    Using JetBrains Rider to Develop ASP.NET Core Applications on Docker

    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.

  26. CODE Magazine: 2018 - November/December cover

    Marking up the Web with ASP.NET Core and Markdown

    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.

  27. CODE Magazine: 2018 - July/August cover

    Build Real-time Applications with ASP.NET Core SignalR

    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.

  28. CODE Magazine: 2018 - July/August cover

    Entity Framework Core 2.1: Heck Yes, It’s Production Ready!

    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.

  29. CODE Magazine: 2018 - July/August cover

    Introducing .NET Core 2.1 Flagship Types

    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>.

  30. CODE Magazine: 2018 - March/April cover

    Ready for Prime Time: .NET Core 2.0 and ASP.NET Core 2.0 Have Arrived

    Rick explores the new features in .NET Core and ASP.NET Core and shows you that the wait was worth it.

  31. CODE Magazine: 2018 - March/April cover

    What’s New in ASP.NET Core 2.1

    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.

  32. CODE Magazine: 2017 - January/February cover

    Getting Down to Business Building an ASP.NET Core API Service

    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.

  33. CODE Magazine: 2016 - September/October cover

    Getting to the ASP.NET Core

    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.