CODE Magazine / Articles

.NET Core

Articles filed under .NET Core

Articles

Showing 1–64 of 64

  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: 2024 - January/February cover

    Automatic Resource Management in .NET 7 Core

    Joydip covers the core concepts of resource management in .NET Core and then helps you build something with it.

  3. CODE Magazine: 2023 - March/April cover

    Building an Event-Driven .NET Core App with Dapr in .NET 7 Core

    If you need to be able to create event-driven applications quickly and efficiently, Joydip suggests exploring Distributed Application Runtime (Dapr).

  4. CODE Magazine: 2023 - March/April cover

    Clean Shave: Razor Pages for Web Forms Developers

    If you’re already familiar with ASP.NET Web Forms, you can apply your existing skillset to use Razor Pages instead. Shawn's overview of Razor Pages provides a straightforward migration path for Web Forms developers.

  5. CODE Magazine: 2023 - March/April cover

    Introduction to Snowflake

    In this article, author Rod Paddock introduces Snowflake, a cloud-based SQL database that offers a range of capabilities for developers. Paddock discusses the features of Snowflake, such as its cloud-agnostic nature, support for querying JSON data, and secure data sharing capabilities. He explains how Snowflake's unique architecture allows for "infinite" computing through its warehouse concept and provides insights into using Snowsight, the web-based application for managing Snowflake infrastructure. Rod also discusses building a data loading pipeline, securing data with masking, and sharing data with other Snowflake users. He concludes by highlighting the power and user-friendly nature of Snowflake as a game-changing product.

  6. CODE Magazine: 2023 - March/April cover

    Some Overlooked EF Core 7 Changes and Improvements

    Great updates for EF Core 7 include explicit methods FromSqlRaw and FromSqlInterpolated. The SqlQuery method lets you pass in a raw SQL query to get scalar data directly from the database. And many more cool features. Read about them in Julie's article.

  7. CODE Magazine: 2023 - January/February cover

    An Introduction to Distributed Tracing with OpenTelemetry in .NET 7

    OpenTelemetry is an open-source distributed tracing framework. Companies that use it can make more informed decisions about their operations. Learn to use it through an example ASP.NET 7 project.

  8. CODE Magazine: 2022 - September/October cover

    Benchmarking .NET 6 Applications Using BenchmarkDotNet: A Deep Dive

    In his story about how to set up benchmarks in Visual Studio 2022, Joydip teaches you how to create baselines, and then execute many types of benchmarks and interpret the results.

  9. CODE Magazine: 2022 - September/October cover

    Customized Object-Oriented and Client-Server Scripting in C#

    You need full control of how your functionality is implemented. Vassili tells you how to use classes and objects for great control, and how to implement them in C# in this article about object-oriented and client-server scripting.

  10. CODE Magazine: 2022 - May/June cover

    Using Cosmos DB in .NET Core Projects

    Cosmos is a document storage tool for database developers. You’ll want to consider what Shawn reveals about this spiffy tool before you build your next app.

  11. CODE Magazine: 2022 - March/April cover

    Docker Development Environment for .NET Devs

    You already love Docker, but you probably aren’t familiar with Docker Desktop. Julie learned how useful this tool is by doing it the hard way.

  12. CODE Magazine: 2021 - September/October cover

    Inversion of Control with Lamar

    If you liked StructureMap for your IoC, you’re going to love Lamar. Jeremy shows you how to take advantage of this nifty tool.

  13. CODE Magazine: 2021 - July/August cover

    Building Command Line Utilities in C# and Python

    Rod whips up a quick app to help a friend and ends up discovering some pretty cool multi-platform features that are part of command line utilities.

  14. CODE Magazine: 2021 - March/April cover

    Migrating Monolithic Apps to Multi-Platform Product Lines with .NET 5

    Learn to migrate older applications to .NET 5. Learn to use "ports-and-adapters" (hexogonal architecture) along with design patterns and principles from domain-driven design (DDD) to help you modify your old software so you can split the business logic into independent assemblies.

  15. CODE Magazine: 2021 - March/April cover

    Tapping into EF Core’s Pipeline

    Julie describes new EF Core 5 metadata features and how to use them, including ToQueryString, DbCloggerCategory, DbContext.SavingChanges, DbContext.SavedChanges, DbContext.SaveChangesFailed, Dotnet-counters, ChangeTracker.DebugView and Model.DebugView.

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

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

    .NET 5.0 Runtime Highlights

    Learn about new .NET 5.0 projects: single file apps and ARM64. Single file apps enable you to create standalone, true xcopy, single-file executables. ARM64 projects let you build applications that will run faster on hardware that uses ARM chips (phones, Surface Pro X, the Samsung Galaxy Book S and the Apple Silicon-based Mac line).

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

    Azure Tools for .NET in Visual Studio 2019

    Overview of how to use Visual Studio 2019 to consume Azure services from a .NET app and deploy your app to Azure using the revamped Connected Services experience. Get started using Connected Services to add service dependencies to your application.

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

    Blazor Updates in .NET 5

    Learn about new features available in Blazor using .NET 5 including the Blazor WebAssembly SDK, new built-in support for virtualization, CSS isolation, lazy loading and built-in features that reduce or eliminate JavaScript interop code required.

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

    EF Core 5: Building on the Foundation

    Julie’s pretty excited about the new features in EF Core 5. You will be too when you read about the bugs fixed, over 200 new features (including many-to-many support and the ability to filter when eager loading with the Include method) and minor enhancements and support for previous versions.

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

    F# 5: A New Era of Functional Programming with .NET

    Microsoft has updated F# 5 with new features that include FSI in .NET Core and support for packages in NuGet. Plus F# 5 now supports Jupyter Notebooks as well as Visual Studio Code Notebooks, and more.

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

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

    Introducing C# 9.0

    In this overview, Bill Wagner presents C# 9.0—shipped with .NET 5—as a set of language enhancements aimed at modern workloads and cloud-native, concise, and more robust code; he highlights major additions (top-level statements, records and init-only setters, richer pattern matching), performance/interop tools (native ints, function pointers, SkipLocalsInit), fit-and-finish improvements, and source-generator support, explaining how each reduces boilerplate, improves safety, or boosts performance.

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

    Project Tye: Creating Microservices in a .NET Way

    Learn to use Project Tye, an experimental developer's tool that makes the experience of creating, testing and deploying microservices easier in .NET. Note that Tye's deployment target is only to Kubernetes.

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

    Windows Desktop Apps and .NET 5

    This article describes the differences between .NET 5 and .NET Core 3.x and describes breaking changes from the upgrade. Overview of how to upgrade existing WinForms and WPF applications to .NET 5.

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

    Xamarin.Forms 5: Dual Screens, Dark Modes, Designing with Shapes, and More

    Learn about new enhancements to Xamarin.Forms 5 to support new screen sizes, orientatonss and postures supported in the Surface Duo.

  27. CODE Magazine: 2020 - November/December cover

    Using .NET Core Tools to Create Reusable and Shareable Tools and Apps

    Overview of .NET Core tools. Why use them? Where do you get them? Step-by-step walkthrough to build, publish and consume a .NET Core Tool package.

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

  29. CODE Magazine: 2020 - September/October cover

    En Route to Full-Stack .NET Development with Client-Side Blazor

    Learn how to use Blazor on the client-side using Blazor WebAssembly feauting a real world application that makes service calls to REST APIs for data. Blazor allows C# developers to finally create performant web applications as fast, or faster, than websites built using JavaScript. Otto shows you how to use Blazor on the client-side.

  30. CODE Magazine: 2020 - September/October cover

    Use the MVVM Design Pattern in MVC Core: Part 3

    Paul shows you how to use the MVVM design pattern in MVC Core to build a product detail page for adding and editing data, and validating product data and display validation.

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

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

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

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

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

  36. CODE Magazine: 2020 - March/April cover

    Introduction to GraphQL for .NET Developers: Mutation

    Peter uses the Hot Chocolate Library to teach you about GraphQL. Learn how to use the Entity Framework to access and store data and explore mutations using GraphQL.

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

    A New Era of Productivity with Blazor

    Blazor is a new Web framework that uses .NET Core’s architecture, essentially combining the simplicity of Razor with .NET Core concepts. Ed shows you how to get the most from this great tool.

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

    Be More Productive in Visual Studio 2019

    If you thought Visual Studio was a great tool before, you’re going to go nuts about the latest release. Mika and Kendra talk about the changes that they’re most excited about.

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

    Entity Framework Core 3.0: A Foundation for the Future

    The latest release of Entity Framework gets it geared up for some big future changes. Julie shows you that the changes are nothing to sneeze at.

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

    Essential C# 8.0

    Mark Michaelis surveys the key additions in C# 8.0—most notably nullable reference types, async streams, and enhanced pattern matching—explaining their semantics, compiler behavior, and practical impact; he argues nullable reference types are the most consequential change (and recommends enabling them incrementally), shows how IAsyncEnumerable and await foreach enable asynchronous iteration, and highlights new pattern forms (property, tuple, positional, recursive) while advising prudent use and migration strategies for existing code.

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

    From Xamarin Native to Xamarin.Forms: Reaping the Rewards without the Risk

    If you need access to native platforms, you’re going to want to see what Ryan has to say about Xamarin.Forms. He’ll show you that migration isn’t the pain you thought it might be.

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

    gRPC as a Replacement for WCF

    You’ve been programming in C# for a while now, and you know that you need bidirectional streaming with low latency and high throughput. Google’s remote procedure call offering (gRPC) has what you need, and Magnus shows you why.

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

    ML.NET: Machine Learning for .NET Developers

    Machine Learning doesn’t have to be the big scary monster lurking in the dark. Bri and Cesar show you how Microsoft’s ML.NET lets you design your own models specific to your deployment context and needs even if you’ve never played with ML before.

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

    Upgrading Windows Desktop Applications with .NET Core 3

    In her article, Olia Gavrysh explains the significant advancements brought by .NET Core 3 for Windows desktop applications, highlighting the ability to build Windows Forms and WPF apps on .NET Core with new features like XAML Islands, MSIX packaging, and enhanced deployment options. She guides developers through migrating existing .NET Framework apps to .NET Core, addressing compatibility challenges and showcasing tools like Portability Analyzer and Try Convert. Additionally, Olia emphasizes the benefits of .NET Core’s modularity, improved app size, single-file executables, and integration with Windows 10 APIs and App Center for continuous release and monitoring, positioning .NET Core as the future of .NET development.

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

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

  47. CODE Magazine: 2019 - November/December cover

    Get Started with Serverless Azure Functions

    Azure Functions take care of most of the server-related problems tied to hosting. Julie shows you how to integrate them with your own app and then monitor the results.

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

  49. CODE Magazine: 2019 - July/August cover

    .NET Core 3.0 for the Desktop

    Rick examines what is—and isn’t—coming in .NET Core Runtime. You’ll get to put this knowledge to good use as you build a small app, too.

  50. CODE Magazine: 2019 - March/April cover

    .NET Core for the Desktop

    Software vendors and conferences would tell you that the desktop is dead, but if you’re a working consultant, you know that’s not true. Mike dives into a great tool using WinForms to show you what you’ve been missing.

  51. CODE Magazine: 2018 - November/December cover

    Building a .NET IDE with JetBrains Rider

    If you’ve been developing IDEs in .NET, you’ve probably heard about JetBrains’ Rider. Chris and Maarten show you that the time is right to dive in.

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

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

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

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

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

  57. CODE Magazine: 2017 - May/June cover

    Building an Angular Front End for an ASP.NET Web API

    Rick follows up on his server-side Angular back end for ASP.NET Core with this interesting look at the matching front end.

  58. CODE Magazine: 2017 - May/June cover

    Tooling for Your .NET Projects

    You’ve been plodding along, nose to the grindstone, and you might not have realized that there are some useful tools out there that can make your .NET projects a little more fun to build. Rachel explores Paket, F# Formatting, and FAKE.

  59. CODE Magazine: 2017 - May/June cover

    What’s New in C# 7.0

    Just when you think you know what’s up in C#, they release a new version. This one’s got pattern matching, tuples, and local functions along with improvements to existing features. Chris shows you where to dive in.

  60. CODE Magazine: 2017 - March/April cover

    Azure Skyline: Building and Deploying Services to Azure with .NET Core and Docker

    Today’s devs have to be nimble. Your app has to work on a multitude of platforms and meet any number of platform-specific demands. Mike explains how a new tool called Docker can help you deploy your apps on everything from Linux to .NET and leave you hardly breaking a sweat.

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

  62. CODE Magazine: 2016 - November/December cover

    Case Study: Writing Microservices with F#

    If you’re lucky enough to be involved in building a new enterprise system, you’ll want to check this out. Rachel takes a look at how the company where she works made some interesting—and forward-looking—decisions, and she shows us the benefits of microservices while she’s at it.

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

  64. .NET Standard 2.0 - Making Sense of .NET Again

    In this post I look at what .NET Standard is, how it works and what some of the surrounding issues and impacts are for the .NET eco system.