-
XML Serialization and Validation in .NET 6/7
Last updated: Thursday, December 21, 2023
Published in: CODE Magazine: 2024 - January/February
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.
-
Process XML Files Easily Using .NET 6/7
Last updated: Thursday, November 30, 2023
Published in: CODE Magazine: 2023 - November/December
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.
-
Clean Shave: Razor Pages for Web Forms Developers
Last updated: Friday, June 28, 2024
Published in: CODE Magazine: 2023 - March/April
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.
-
Some Overlooked EF Core 7 Changes and Improvements
Last updated: Friday, February 24, 2023
Published in: CODE Magazine: 2023 - March/April
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 article.
-
The Rich Set of Data Annotation and Validation Attributes in .NET
Last updated: Wednesday, January 18, 2023
Published in: CODE Magazine: 2023 - January/February
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.
-
Simplifying ADO.NET Code in .NET 6: Part 3
Last updated: Wednesday, January 4, 2023
Published in: CODE Magazine: 2022 - November/December
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.
-
Benchmarking .NET 6 Applications Using BenchmarkDotNet: A Deep Dive
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2022 - September/October
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.
-
Customized Object-Oriented and Client-Server Scripting in C#
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2022 - September/October
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.
-
Simplifying ADO.NET Code in .NET 6: Part 2
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2022 - September/October
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.
-
Simplifying ADO.NET Code in .NET 6: Part 1
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2022 - July/August
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.
-
.NET 6: Date and Time
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2022 - March/April
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.
-
Docker Development Environment for .NET Devs
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2022 - March/April
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.
-
Minimal APIs in .NET 6
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2022 - January/February
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.
-
.NET Focus Features Fabulous Features
Last updated: Friday, October 29, 2021
Published in: CODE Focus Magazine: 2021 - Vol. 18 - Issue 1 - .NET 6.0
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.
-
Bring Your .NET Apps Forward with the .NET Upgrade Assistant
Last updated: Wednesday, August 31, 2022
Published in: CODE Focus Magazine: 2021 - Vol. 18 - Issue 1 - .NET 6.0
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.
-
Essential C# 10.0: Making it Simpler
Last updated: Wednesday, August 31, 2022
Published in: CODE Focus Magazine: 2021 - Vol. 18 - Issue 1 - .NET 6.0
It’s time for the annual release of C# vNext. Mark shows you how it’s streamlined in some ways and tightened in others. In fact, he thinks it will mark a sea change in how C# devs write code.
-
Power Up Your Power Apps with .NET 6 and Azure
Last updated: Wednesday, August 31, 2022
Published in: CODE Focus Magazine: 2021 - Vol. 18 - Issue 1 - .NET 6.0
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.
-
The Unified .NET 6
Last updated: Friday, October 29, 2021
Published in: CODE Focus Magazine: 2021 - Vol. 18 - Issue 1 - .NET 6.0
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.
-
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.
-
Inversion of Control with Lamar
Last updated: Wednesday, February 23, 2022
Published in: CODE Magazine: 2021 - September/October
If you liked StructureMap for your IoC, you’re going to love Lamar. Jeremy shows you how to take advantage of this nifty tool.