CODE Magazine / Articles

.NET 6

Articles filed under .NET 6

Articles

Showing 1–20 of 20

  1. CODE Magazine: 2024 - January/February cover

    XML Serialization and Validation in .NET 6/7

    Paul shows you how to use XML serialization to store C# objects on disk or in tables. It covers topics such as XML serialization, rules for XML serialization, serialization of C# objects to XML, controlling XML serialization process, working with XML attributes, handling nested objects and lists, working with namespaces, using XML schemas to validate XML documents, and handling schema errors.

  2. CODE Magazine: 2023 - November/December cover

    Process XML Files Easily Using .NET 6/7

    Paul shows you how storing data in XML files can save a lot of time and network traffic. Learn how to create XML documents in memory, and to save and load XML files from disk. You'll also see how to use LINQ to XML for processing XML nodes including sorting, filtering, and aggregation.

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

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

  5. CODE Magazine: 2023 - January/February cover

    The Rich Set of Data Annotation and Validation Attributes in .NET

    Paul teachs how to use many of the data annotations available in .NET; likely the ones you will use most often. Plus he shows you how to build custom validation attributes using the [CustomValidation] attribute. Finally, learn to localize error messages using resource files.

  6. CODE Magazine: 2022 - November/December cover

    Simplifying ADO.NET Code in .NET 6: Part 3

    In the first two articles, you learned how to retrieve data using a set of wrapper classes. This time, Paul’s going to show you how to modify tables, perform transactions, validate data annotations, and add exception handling.

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

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

  9. CODE Magazine: 2022 - September/October cover

    Simplifying ADO.NET Code in .NET 6: Part 2

    The second installment in Paul’s new series refactors the code you built in Part 1 to make it more reusable. You’ll also learn to get data from a view, handle multiple result sets, get a scalar value, and call stored procedures.

  10. CODE Magazine: 2022 - July/August cover

    Simplifying ADO.NET Code in .NET 6: Part 1

    Paul starts a new series about creating reusable wrappers that limit the amount of code you need to write when you’re working with ADO.NET in .NET 6.

  11. CODE Magazine: 2022 - March/April cover

    .NET 6: Date and Time

    Every day, you need to know the date and the time for a myriad of reasons. Mike walks through the current state for using Data and Time types from SQL Server in .NET code.

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

  13. CODE Magazine: 2022 - January/February cover

    Minimal APIs in .NET 6

    Controller-based APIs have been around for a long time, but .NET 6 changes everything with a new option. Shawn shows you how it works.

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

    .NET Focus Features Fabulous Features

    Rod reflects on this being the third CODE Focus issue he has managed and highlights some of the great articles about .NET 6 in this issue.

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

    Bring Your .NET Apps Forward with the .NET Upgrade Assistant

    Now that you’re using all the shiny new tools in .NET 6, you need to make sure that the rest of your .NET Framework is keeping up. Mike shows you how the new Upgrade Assistant does some of that work for you; but you'll have some work to do yourself.

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

    Essential C# 10.0: Making it Simpler

    Mark Michaelis argues that C# 10.0 is chiefly about removing ceremony and simplifying everyday code: file-scoped namespaces and global using directives reduce boilerplate, constant interpolated strings and richer lambdas improve expressiveness, CallerArgumentExpression enhances diagnostics for logging/assertions, and record structs and parameterless struct constructors close gaps for value types—small, non-revolutionary changes that are nonetheless practical and likely to become the new C# norms.

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

    Power Up Your Power Apps with .NET 6 and Azure

    Power Apps help design and specify how a mobile app will function without having to know all those troublesome details of being a professional coder. Come along as Brady walks you through .NET 6’s new ASP.NET Core Minimal APIs, then publishes the app to Azure App Service, imports it into Azure API Managements, and secures it with Microsoft Identity Platform.

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

    The Unified .NET 6

    There were many lessons learned as the .NET team released .NET 5 during the lockdown with an all-remote team. Rich shows how those lessons carried into .NET 6 with major performance improvements, multiple operating system scenarios for building client apps, support for Apple Silicon chips, and faster and more responsive development tools.

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

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