-
Using a Scripting Language to Develop Native Windows WPF GUI Apps
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2020 - July/August
Vassili Kaplan describes how using CSCS (Customized Scripting in C#) can save time creating WPF applications.
-
A WPF Security System
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2020 - March/April
Discover a data-driven approach to make changes to a database table without updating security in your WPF application.
-
CSLA .NET: A Home for Your Business Logic
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2020 - March/April
Rocky Lhotka describes CSLA .NET, the MIT-licensed open-source framework to organize your business logic, similar in concept to separating the presentation and data layers of an application. Learn to use CSLA in a simple Blazor app.
-
A Design Pattern for Building WPF Business Applications: Part 3
Last updated: Wednesday, March 17, 2021
Published in: CODE Magazine: 2019 - September/October
In the third installment of his WPF series, Paul shows you how to get feedback using an Entity Framework entity class. He also shows you how to start expanding user activities, like adding, editing, or deleting screens.
-
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.
-
.NET Core 3.0 for the Desktop
Last updated: Monday, March 29, 2021
Published in: CODE Magazine: 2019 - July/August
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.
-
A Design Pattern for Building WPF Business Applications: Part 2
Last updated: Monday, March 29, 2021
Published in: CODE Magazine: 2019 - July/August
In the second installment of his new series, Paul explores sending a message from a View Model class to the main window, setting up a timer, and creating a log in screen.
-
Using PowerShell Operators
Last updated: Monday, March 29, 2021
Published in: CODE Magazine: 2019 - July/August
You need PowerShell operators if you’re writing a script or module, and there are quite a variety to choose from. Dan takes us on a tour of some of the ones you’ll use the most.
-
A Design Pattern for Building WPF Business Applications: Part 1
Last updated: Wednesday, March 31, 2021
Published in: CODE Magazine: 2019 - May/June
Paul begins a new series of articles on how to create a WPF business application. This first one teaches how to use a message broker to eliminate strong coupling between classes, how to display status and information to the user while resources are loading, and how to load user controls onto a single window while aggregating controls and building a large screen.
-
Create a Title Bar for User Controls
Last updated: Friday, April 2, 2021
Published in: CODE Magazine: 2019 - March/April
Those helpful buttons for minimize, maximize, and close functions need to be added to your WPF pages if you don’t want to crowd your user’s screen. Paul shows you how.
-
Writing Your Own Debugger and Language Extensions with Visual Studio Code
Last updated: Wednesday, April 21, 2021
Published in: CODE Magazine: 2018 - September/October
Visual Studio Code is the hot new thing these days. Vassili tells you how to take advantage of some of its features, including CSCS, Rich Language Services, REPL language interpretation, and debugging.
-
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>.
-
Learn Python with Visual Studio
Last updated: Thursday, April 22, 2021
Published in: CODE Magazine: 2018 - July/August
Python has long been the favorite language of open-source developers. Nicola shows Windows and iOS developers how to take advantage of Python’s many qualities using Visual Studio.
-
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.
-
SharePoint Framework Extension
Last updated: Thursday, May 6, 2021
Published in: CODE Magazine: 2018 - January/February
Sahil teaches you how to organize and automate your work using one of the new features in SharePoint: Extensions.
-
Developing Cross-Platform Native Apps with a Functional Scripting Language
Last updated: Tuesday, May 11, 2021
Published in: CODE Magazine: 2017 - November/December
Vassili extends his own custom scripting language for mobile development and makes creating and placing widgets fast and easy.
-
Does Anybody Really Know What Time It Is: Dates and Times across Time Zones
Last updated: Tuesday, May 11, 2021
Published in: CODE Magazine: 2017 - November/December
Since cloud computing came to town, you can’t count on your system’s software and appliances all being in the same time zone. Mike addresses some thorny issues and helps you keep your data up to date.
-
Accessing Platform-Specific Functionalities Using DependencyService in Xamarin.Forms
Last updated: Tuesday, May 18, 2021
Published in: CODE Magazine: 2017 - July/August
You can avoid all that pesky overhead when dealing with multiple platforms by using Microsoft’s library of APIs, Xamarin.Forms. Wei-Meng shows you how to efficiently map to the various platforms’ respective native UI elements at run time.
-
Office 365 Connectors and WebHooks: Part 2
Last updated: Friday, May 14, 2021
Published in: CODE Magazine: 2017 - July/August
Just when it seems like Office 365 is everywhere, you’ll learn something that makes you glad it’s so ubiquitous. Sahil continues his new series with an interesting look at Office 365’s WebHooks.
-
Writing Concurrent Programs Using F# Mailbox Processors
Last updated: Monday, May 17, 2021
Published in: CODE Magazine: 2017 - July/August
Rachel takes a close look at F# mailbox processors to help you efficiently process messages. She covers replying, scanning (for a particular message or subject), and coordinating multiple agents, and makes it easy once you know which connections to make.
-
Building an Angular Front End for an ASP.NET Web API
Last updated: Friday, May 21, 2021
Published in: CODE Magazine: 2017 - May/June
Rick follows up on his server-side Angular back end for ASP.NET Core with this interesting look at the matching front end.
-
What’s New in C# 7.0
Last updated: Thursday, May 20, 2021
Published in: CODE Magazine: 2017 - May/June
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.
-
What’s New in Visual Studio 2017
Last updated: Wednesday, May 19, 2021
Published in: CODE Magazine: 2017 - May/June
It’s so new that the dust is still settling, and VS2017 was worth the wait. Markus explores the ins and outs of his favorite new features.
-
Accessing Your Data with F# Type Providers
Last updated: Monday, May 24, 2021
Published in: CODE Magazine: 2017 - March/April
You can access just about any data with type providers, whether in XML, JSON, or APIs. Rachel shows us how, plus a nifty new Swagger type provider.
-
Data-Driven Testing with Visual Studio
Last updated: Friday, May 21, 2021
Published in: CODE Magazine: 2017 - March/April
Does the idea of using an app that’s never been tested give you the willies? It should, and Paul talks about finding the sticking points so you can be confident that your code works as intended before someone fires it up.
-
Processing Large Datasets Using C# and SQL Server Table Data Types
Last updated: Friday, May 28, 2021
Published in: CODE Magazine: 2017 - January/February
If you’ve got large datasets, you don’t want to slow the system down every time you save them to your SQL Server database. Rod shows you an uncomplicated way to keep your records zipping along.
-
Case Study: Writing Microservices with F#
Last updated: Wednesday, June 2, 2021
Published in: CODE Magazine: 2016 - November/December
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.
-
Simplest Thing Possible: Dynamic Lambda Expressions—Part 3
Last updated: Wednesday, June 2, 2021
Published in: CODE Magazine: 2016 - November/December
If you want to re-use some of the concepts John introduced in the last two issues, you’ll want to learn all about Dynamic Lambda Expressions work in .NET.
-
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.
-
Simplest Thing Possible: Leveraging and Querying String, Object Dictionaries (Lambda Expressions - Part 2)
Last updated: Monday, June 7, 2021
Published in: CODE Magazine: 2016 - September/October
John explores the flexibility of dynamic queries and multiple data types within the same dictionary. You’ll be amazed at how simple it really is!
-
What’s New in CODE Framework in 2016
Last updated: Thursday, June 10, 2021
Published in: CODE Magazine: 2016 - September/October, ZZZ-Old: Addison Wesley Books: Smart Client Deployment with ClickOnce
If you’d like a neat summary of the many interesting and useful changes in CODE Magazine’s free development framework, you’ve come to the right place. Markus talks about themes, input validation, security, and binding, Web API service hosting, calling REST services, and interacting with the community and GitHub.
-
How to Write Your Own Programming Language in C#
Last updated: Monday, June 14, 2021
Published in: CODE Magazine: 2016 - July/August
Have you ever thought that the language you were coding in lacked some important tools? Vassili shows you how to write your own language without building a compiler.
-
Simplest Thing Possible: Dynamic Lambda Expressions
Last updated: Friday, June 11, 2021
Published in: CODE Magazine: 2016 - July/August
Lambda expressions have been around for a while, but they seem poorly understood and generally underused. You can juice up your code with these dynamic types from .NET, according to John. Find out how!
-
Why F#
Last updated: Saturday, April 22, 2023
Published in: CODE Magazine: 2016 - May/June
Functional programming is all the rage and Microsoft's foray into the functional world is called F#. Rachel introduces you to this first-class functional language with the ability to harness the rich .NET ecosystem.
-
CRUD in HTML, JavaScript, and jQuery Using the Web API
Last updated: Thursday, June 24, 2021
Published in: CODE Magazine: 2016 - January/February
In this second installment of his new series on working within HTML and the Web API, Paul looks at the four standard HTTP verbs GET, POST, PUT, and DELETE. By creating a product information page with mock data, you’ll get a good idea of the power of these tools.
-
Visual Studio 2015: Ushering in a New Paradigm
Last updated: Wednesday, June 30, 2021
Published in: CODE Magazine: 2015 - November/December
You’re going to have to hold onto your hat! Jeffrey looks at what’s new in VS 2015, and it’s all good.
-
More about Xamarin Pages
Last updated: Thursday, July 1, 2021
Published in: CODE Magazine: 2015 - September/October
Walt continues his series of articles on Xamarin, this time, exploring the nature of pages. You’ll learn what a page is, how to navigate among them, how to create sub-pages, and strategies for loading data onto pages.
-
Z-Wave Powered Build Status Lights
Last updated: Monday, July 12, 2021
Published in: CODE Magazine: 2015 - July/August
Everyone’s familiar with the status lights that movie-makers think indicate that a computer (or bank of computers) is thinking. Eric tells us how to use real status lights to indicate failure and success—and progress—of your apps using Z-Wave.
-
Asynchronous Pattern Redux for XAML Developers
Last updated: Monday, July 26, 2021
Published in: CODE Magazine: 2015 - May/June
By providing the history of asynchronous and await patterns, Bill examines the benefits of using these techniques in developing new apps and when it comes to the maintenance or revision of legacy code.
-
ASP.NET vNext: The Next Generation
Last updated: Thursday, July 29, 2021
Published in: CODE Magazine: 2015 - January/February
ASP.NET has been Microsoft’s hallmark product for more than a dozen years. In vNext, it’s getting more readily adaptable to the way users—especially mobile users—interact with their data, and Rick shows us how to take advantage of these radical changes.
-
Mobile Apps for SharePoint and Office 365: Part 2
Last updated: Thursday, July 29, 2021
Published in: CODE Magazine: 2015 - January/February
Sahil continues his interesting series by writing a fronted to the Mobile app he wrote the backend for in the November/December 2014 issue.
-
XAML Anti-Patterns: Resource Overuse
Last updated: Monday, August 2, 2021
Published in: CODE Magazine: 2015 - January/February, Markus Egger Talks Tech
In the second article of the series, Markus talks about keeping your code readable and maintainable by controlling how often and where you reuse objects.
-
Rich Messaging Endpoints with BizTalk Services
Last updated: Tuesday, December 28, 2021
Published in: CODE Magazine: 2014 - March/April
Rick Garibay takes you on a tour of cloud-based messaging services including Windows Azure BizTalk Services (WABS), Enterprise Application Integration (EAI), and Windows Azure.
-
Visual Studio 2013
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2014 - March/April
Keeping up with Visual Studio’s frequent and often simultaneous releases from multiple sources can be nearly impossible. In another of his edifying series, John Petersen gives us the scoop.
-
Windows Azure Active Directory
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2014 - March/April
Michiel van Otegem explains Software-as-a-Service by comparing various online products and shows you how to store information about users whether you use Active Directory or Windows Azure Active Directory in the cloud.
-
Getting to Know the Identity of .NET 4.5
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2013 - September/October
Since the release of .NET 1.0 more than ten years ago, the classes governing identity have remained unchanged. That’s a good thing, because identity and security is at the core of most applications, so you don’t want that to change very often. However, with the release of .NET 4.5, the identity model has changed significantly.
-
Listing Processes Running on a Computer
Last updated: Monday, April 25, 2022
Published in: CODE Magazine: 2013 - September/October
I have a client that has a few Windows Services and some EXEs that run on a computer to perform various business functions. Every once in a while, the processes fail and need to be restarted. I helped the client write a Windows Service to monitor their running processes and ensure that they are up and running and to notify them and to attempt to restart those processes. As part of this process, I had to write a class to get a list of all of the processes running on the current computer or on another computer on their network.
-
A Windows 8 Look and Feel for WPF, Part 2
Last updated: Thursday, June 9, 2022
Published in: CODE Magazine: 2013 - January/February
In part 1 of this article, you learned how to create a Windows 8 look and feel for your WPF applications. You were shown a high-level overview of the various components that made up the shell for navigating. In part 2 of this article you will learn to create a WPF Button user control, a Message Box you can style, and a simple Message Broker System. All of these components are used to create the “Windows 8 Style” WPF shell you learned about in part 1.
-
Log Users in to Your Web Application with OpenID or OAuth
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2013 - January/February
Users already have many usernames and passwords for different popular online services, and with OpenID and OAuth, you can leverage those. Why burden users with yet another set of credentials for your site if they can use their Google or Facebook account, or any other OpenID or OAuth account? In this article, I will show you how to do this with ASP.NET 4.5, but more importantly help you understand what’s going on behind the scenes.
-
What’s New in ASP.NET 4.5 and Visual Studio 2012
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2012 - November/December
Microsoft has added an abundance of new features and functionality to ASP.NET 4.5 and Visual Studio 2012. This article provides an overview of many of those new features and enhancements ranging from improved editors for HTML, CSS and JavaScript all the way through to publishing your work to the web.
-
Localization for .NET; Chapter 3: Week Numbers
Last updated: Wednesday, February 20, 2019
Published in: Book Excerpts, Newsletters
Learn to write applications that support different languages and cultures, with an emphasis on .NET development.
-
My Windows 8 - Chapter 1 - Wow! Getting Around in Windows 8
Last updated: Friday, February 22, 2019
Published in: Book Excerpts
My Windows 8 By Katherine Murray Published Sep 11, 2012 by Que. Part of the My... series. Sample Chapter is provided courtesy of Que Publishing.
-
Red Gate: Understanding and Troubleshooting Unmanaged Memory Usage in .NET
Last updated: Wednesday, February 20, 2019
Published in: Book Excerpts
Got memory problems? Use Red Gate's ANTS Memory Profile to track down the slow parts!
-
Red Gate: The 5 Stages of Solving Real-Life .NET Memory Problems
Last updated: Thursday, February 21, 2019
Published in: Book Excerpts, Newsletters
This series introduces five steps for solving memory problems in .NET. We start with understanding symptoms and getting set up, then walk through the four main types of memory issue we hear about from the community and our customers. We'll present some of the theory behind fixing the issues, as well as details of how people have solved them in practice. In this article, we're giving an introduction to the types of problem you might encounter, and the general troubleshooting workflow that will help.
-
The overhead of async/await in NET 4.5
Last updated: Wednesday, February 20, 2019
Published in: Book Excerpts
The support for asynchronous operations in .NET 4.5 has made it much easier to create easily-intelligible asynchronous methods that avoid blocking. However, async/await isn't cost-free in terms of CPU overhead. How best to judge when to use it? Chris Hurley explains.