-
Windows Desktop Apps and .NET 5
Last updated: Wednesday, August 31, 2022
Published in: CODE Focus Magazine: 2020 - Vol. 17 - Issue 1 - .NET 5.0
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.
-
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.
-
Upgrading Windows Desktop Applications with .NET Core 3
Last updated: Tuesday, September 22, 2020
Published in: CODE Focus Magazine: 2019 - Vol. 16 - Issue 1 - .NET Core 3.0
It’s not enough that creating apps using .NET Core is better than ever before. Now, Olia shows us how with .NET Core 3, upgrading existing apps is easier, too.
-
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.
-
.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.
-
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.
-
.NET Core for the Desktop
Last updated: Monday, April 5, 2021
Published in: CODE Magazine: 2019 - March/April
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.
-
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.
-
Marking up the Web with ASP.NET Core and Markdown
Last updated: Friday, April 15, 2022
Published in: CODE Magazine: 2018 - November/December
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.
-
The Resurgence of XAML
Last updated: Wednesday, June 2, 2021
Published in: CODE Magazine: 2016 - November/December
Microsoft seemed to have put XAML out to pasture for a while, but Billy shows us how it’s back, and why even Microsoft is touting its praises.
-
What’s New in CODE Framework in 2016
Last updated: Thursday, June 10, 2021
Published in: CODE Magazine: 2016 - September/October, 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.
-
Arranging Views with Xamarin.Forms Layout
Last updated: Tuesday, June 22, 2021
Published in: CODE Magazine: 2016 - May/June
There’s no longer a simple answer to what sort of device your page will be viewed upon. Walt examines the options and shows you how to make sure that yours will look great on anything, old or new.
-
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.
-
XAML Anti-Patterns: Layout SNAFUs
Last updated: Tuesday, July 6, 2021
Published in: CODE Magazine: 2015 - September/October, Markus Egger Talks Tech
Just when you think a container is simple, your user resizes the screen and mayhem ensues. If you want to know what happened—or prevent it, better yet—read Markus’ piece about the XAML layout engine.
-
Xamarin Pages: The Screens of an App
Last updated: Tuesday, July 13, 2021
Published in: CODE Magazine: 2015 - July/August
In the next article of his series on Xamarin, Walt takes a look at the all-important UI and how to make it work best for the development process and the user.
-
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.
-
XAML Anti-Patterns: Code-Behind
Last updated: Tuesday, July 27, 2021
Published in: CODE Magazine: 2015 - May/June, Markus Egger Talks Tech
Markus continues his series on anti-patterns with an interesting look at when to take advantage of certain techniques and when to give them a wide berth.
-
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.
-
What’s New in CODE Framework in 2014
Last updated: Thursday, September 9, 2021
Published in: VFP Conversion Papers, CODE Magazine: 2014 - July/August, Markus Egger Talks Tech
There are a bunch of hot new tools in CODE Framework that you’ll want to explore, including a new theme, new View Actions, List improvements, a Flow Form layout, support for new versions of Visual Studio and the .NET Framework, and enhancements to the View Visualizer.
-
XAML Anti-Patterns: Virtualization
Last updated: Thursday, September 9, 2021
Published in: CODE Magazine: 2014 - July/August, Newsletters, Markus Egger Talks Tech
Markus shows us why virtualization gets a bad reputation and how to clean it up.
-
XAML Magic: Attached Properties
Last updated: Thursday, December 23, 2021
Published in: CODE Magazine: 2014 - May/June, Markus Egger Talks Tech
XAML properties don’t always behave as you think they might. Markus explains how they work and shows you some nifty ways to use these powerful tools.
-
A Windows 8 Look and Feel for WPF, Part 3
Last updated: Thursday, June 2, 2022
Published in: CODE Magazine: 2013 - March/April
In Part 1 of this article you learned how to create a Windows 8 look and feel for your WPF applications. In Part 2 of this article you learned to create a few of the user controls that went into making the shell application. In this final article in this series, you will learn how to create the last few user controls that I used to create the Windows 8 Shell application. In this article, you will learn to put together a WPF Image button, an Image button with text and finally the main Tiles used for the primary navigation system.
-
CODE Framework: Documents, Printing, and Interactive Document UIs
Last updated: Monday, June 6, 2022
Published in: VFP Conversion Papers, Markus Egger Talks Tech, CODE Magazine: 2013 - March/April
The CODE Framework WPF features (based on MVVM and MVC concepts) have become very popular amongst .NET developers, thanks to ease of development paired with a high degree of freedom, control and reuse. Another CODE Framework module takes these concepts and extends them into the domain of documents and printing. Many applications use third-party reporting products to create print and report output, and those products certainly have a good reason for existence and aren’t entirely replaced by the CODE Framework Document features. However, the CODE Framework Document features can replace some functionality that would otherwise be handled by reporting packages, and in addition, the CODE Framework Document features add a significant number of new features including the ability to create more naturally flowing documents and printouts and use those not just for print, but also use them as interactive user interfaces.
-
The Easiest Path to Windows 8: HTML + CSS + JavaScript
Last updated: Monday, June 6, 2022
Published in: CODE Magazine: 2013 - March/April
Sometimes it happens that a new version of an operating system introduces a new type of application completely incompatible with older versions of the same system. The last time it happened I think it was with Windows 95. More than 15 years later, Windows 8 comes with support for a completely new segment of applications named Windows Store apps.
-
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.
-
A Windows 8 Look and Feel for WPF, Part 1
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2012 - November/December
Many people will not be able to upgrade to Windows 8 right away for various reasons. However, there is nothing to stop you from designing your WPF applications to have a similar look and feel.
-
Converting XAML-Based Applications to Windows 8
Last updated: Tuesday, February 19, 2019
Published in: VFP Conversion Papers, Markus Egger Talks Tech, CODE Magazine: 2012 - July/August
The big news about Windows 8 is its new mode based on the Metro design language and UI paradigm. Metro apps are based on the new WinRT (Windows Runtime) and can be built in two distinct ways. One utilizes HTML5 and JavaScript, while the other uses XAML for the user interface definition and C#, Visual Basic, or native C++ as the language behind the scenes. Not surprisingly, the later has often been compared to other XAML-based setups, in particular Silverlight, but also WPF. After all, “XAML is XAML,” the reasoning goes, so it should not be difficult to move both WPF/Silverlight skills as well as actual applications into the new world of WinRT. But is that really so?
-
Getting Rid of Your Code Behind
Last updated: Wednesday, February 20, 2019
Published in: CODE Magazine: 2012 - July/August
You know you should be moving code out from behind your forms, windows and web pages and into stand-alone classes. Everyone preaches that this is what to do, everyone shows you examples of ViewModel classes, but no one really shows you a real-world example of how to get rid of the code behind.
-
Intro to Metro
Last updated: Wednesday, February 20, 2019
Published in: CODE Magazine: 2012 - July/August
Ten years after the release of the .NET Framework, Microsoft is stirring the pot again with a new development platform that set’s to focus your talents on what everyone is betting is the next big thing, mobile devices; specifically in this case, tablets. The Windows Runtime, or WinRT, is the foundation for the development of applications designed to target Windows 8-driven touch-enabled devices, but what does that mean for .NET developers and their existing skill sets?
-
CODE Framework: Building Productive, Powerful, and Reusable WPF (XAML) UIs with the CODE Framework
Last updated: Tuesday, February 19, 2019
Published in: VFP Conversion Papers, CODE Magazine: 2012 - May/June, Markus Egger Talks Tech
In a prior installment of this series of articles about CODE Framework (“CODE Framework: Writing MVVM/MVC WPF Applications”, Jan/Feb 2012), I discussed how to use the WPF features of CODE Framework to create rich client applications in a highly productive and structured fashion reminiscent of creating ASP.NET MVC applications, although with WPF MVVM concepts applied. In this article, I will dive deeper into the subject and discuss the unique benefits of the CODE Framework WPF components which enable developers to create the part of the UI that is actually visible in a highly productive and reusable manner.
-
CODE Framework: Building Services and SOA Business Layers
Last updated: Tuesday, February 19, 2019
Published in: VFP Conversion Papers, CODE Magazine: 2012 - March/April, Markus Egger Talks Tech
In the last issue of CODE Magazine, we took a look at CODE Framework’s WPF features. This time, we are going to look at a completely different area of the framework: Creating business logic and middle tiers as SOA services. SOA is the cornerstone of many modern applications, creating systems that are more maintainable, flexible, and suitable for a wide range of scenarios, ranging from Windows to Web and Mobile scenarios using a wide variety of technologies, and outperforming conventional multi-tiered applications in a range of metrics. Using CODE Framework, it also becomes easy and extremely productive to build SOA layers.
-
Working with Windows Phone User Interfaces, Part 2
Last updated: Sunday, December 3, 2023
Published in: CODE Magazine: 2012 - March/April
In Part 1 of this article you learned how to work with orientation changes on the Windows Phone and how to create horizontally scrolling pages using Panorama and Pivot pages. In Part 2 you’ll see how to interact with some of the built-in applications on the phone through the use of the Launcher and Chooser applications.
-
CODE Framework: Writing MVVM/MVC WPF Applications
Last updated: Tuesday, February 19, 2019
Published in: VFP Conversion Papers, CODE Magazine: 2012 - January/February, Markus Egger Talks Tech
The CODE Framework is an open-source application framework by the makers of CODE Magazine. It is entirely free of charge. It covers a wide range of features that can be applied altogether or individually in an À la carte fashion. All of these features revolve around a single concept: Building advanced business applications in a productive and maintainable fashion while maintaining great application architecture. In this article, we are focusing on a subset of the CODE Framework, specifically the components used to build WPF applications using the MVVM and MVC patterns.
-
Seven New Features in Silverlight 5 (Plus a 3D Bonus)
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2012 - January/February
The next version of Silverlight should be available by the time you read this article. The Silverlight team has followed a fast pace during the last few years, producing four versions of their framework in only thirty months. Each new version of Silverlight has been full of surprises and useful features. Version 5 is no different. Let’s look as some of the best features available in SL 5
-
Six Silverlight ListBox Tips
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2011 - July/August
The Silverlight ListBox is much more than you may think. When most people think of a ListBox they typically think of just a simple control that displays rows of text. However, the Silverlight ListBox is one of the most flexible controls you will find. I tend to think of the ListBox as similar to the ASP.NET Repeater control as it too is very flexible. In this article, I will show you six different ways to display data in a Silverlight ListBox.
-
Line-of-Business Applications Consolidation with Silverlight and Windows Communication Foundation
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2011 - March/April
It’s probably one of the most interesting moments to do a post mortem for a Silverlight project. The entire Microsoft ecosystem is boiling around the Silverlight OR HTML 5 debate fueled by the recent PDC and some statements from Microsoft officials. The interesting part about it is that it is a false debate, and like most false debates it will probably lead to nowhere. The simple truth is that Microsoft’s commitment to Silverlight has not changed a bit, and Silverlight is more healthy and strong than ever. And the fact that the same Microsoft places an important bet on HTML 5 too can only make me happy as an architect and a developer. Mostly because it assures me I’ll have my fair share of choices in the future without having to leave the development platform I like. The reality is that neither Silverlight/RIA nor HTML 5 will turn out to be the magic to fly us to the land of perfect web apps and, at least for the foreseeable future, there will always be a need for alternatives. That’s why I think the debate on Silverlight or HTML 5 is nonsense in the Microsoft ecosystem. But I digress… Let me tell you about the latest software project I participated in.
-
MVVM Made Simple
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2010 - November/December
Struggling to grasp the concepts of Model-View-View-Model? Keep it simple!
-
Super Productivity: Using WPF and Silverlight’s Automatic Layout Features in Business Applications
Last updated: Saturday, January 18, 2020
Published in: VFP Conversion Papers, Markus Egger Talks Tech, CODE Magazine: 2010 - November/December
-
Ask the Doc Detective
Last updated: Thursday, May 12, 2022
Published in: CODE Magazine: 2010 - March/April
-
Post Mortem - Office 2010 the Movie
Last updated: Saturday, January 18, 2020
Published in: CODE Magazine: 2010 - March/April
-
Why Use WPF?
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2009 - November/December
If you have not taken a look at Windows Presentation Foundation (WPF) yet, you really should. WPF is a great desktop development platform. Granted, all of the tools are not yet in place, but Microsoft is pouring millions of dollars into developing WPF tools. Microsoft now considers Windows Forms a legacy technology and they won’t update it within Visual Studio. These two reasons alone should be enough to convince you that need to start learning WPF right now.While WPF offers a new set of development tools, you’ll see a lot that looks familiar. You still have the typical desktop controls like text boxes, check boxes, radio buttons, etc. You still write the same C# or Visual Basic code. The major difference is how you layout the screens, control the look and feel of the controls, and some of the properties are a little different. This article will give you a good introduction to what WPF is all about without diving too deep.
-
Flexible and Powerful Data Binding with WPF, Part 2
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2009 - January/February
All applications are dependent on data in some form and most developers find themselves writing reams of data access code.Microsoft has been building databinding frameworks for years. Each one promises to solve our databinding woes forever. We’re still waiting for the perfect one.In the Nov/Dec 2008 issue of CoDe Magazine you were exposed to programmatically controlling data binding mechanisms of WPF. Along with a programmatic interface, WPF also provides a declarative databining interface. This second article will introduce you to using the declarative data binding mechanisms contained in WPF.
-
Unlearn
Last updated: Thursday, December 16, 2021
Published in: CODE Magazine: 2008 - July/August
July/August 2008 Editorial
-
WPF Meets the iPhone
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2008 - March/April
The iPhone is one of the most compelling and exciting user interfaces to appear on any consumer electronic device, with many innovations that make it a pleasure to use. How can you deliver a similar experience with your .NET applications?This article demonstrates how you can implement these features in your .NET applications in a step-by-step format as you recreate the iPhone interface using Windows Presentation Foundation (WPF) technology with both Visual Studio 2008 and Microsoft Expression Blend.
-
101 Windows Phone 7 Apps, Volume I: Developing Apps 1-50- Chapter 2 Flashlight -
Last updated: Wednesday, August 31, 2022
Published in: Book Excerpts
This excerpt is from the new book, ‘101 Windows Phone 7 Apps, Volume I: Developing Apps 1-50’, authored by Adam Nathan, published April 2011, ISBN 0672335522, Copyright 2011. For more info, please visit the publisher site http://www.informit.com/store/product.aspx?isbn=0672335522
-
Building Windows 8 Apps with C# and XAML - Introduction to UI Design Patterns for Windows 8 Apps Chapter Excerpt
Last updated: Wednesday, February 20, 2019
Published in: Book Excerpts
In this excerpt from Building Windows 8 Apps with C# and XAML, learn about the various parts of MVVM and how to apply it with a special focus on testing. By Jeremy Likness, Published Oct 25, 2012 by Addison-Wesley Professional. Part of theMicrosoft Windows Development Series series. Copyright 2013 ISBN-10: 0-321-82216-1 ISBN-13: 978-0-321-82216-1. To Purchase go to: http://www.informit.com/store/building-windows-8-apps-with-c-sharp-and-xaml-9780321822161?w_ptgrevartcl=%20Introduction%20to%20UI%20Design%20Patterns%20for%20Windows%208%20Apps%20_1960915.
-
Chapter 1: Microsoft Expression Blend
Last updated: Wednesday, August 31, 2022
Published in: Book Excerpts
Taking aside the technical aspects of learning how to use Microsoft Expression Blend, there are many areas that are often disregarded within discussions about how Blend is-and should be-used in a real-world project sense. You may be a single person business or employee that needs to fill all the roles that Blend is best used for; or, you may be part of an enterprise size team.
-
Graphics in Silverlight 3
Last updated: Wednesday, August 31, 2022
Published in: Book Excerpts
In this chapter, you will learn how to add rich vector graphics and images to your application.You will also learn how to optimize performance and image quality of those graphics elements.
-
Windows 8.1 Apps with XAML and C#: Arranging UI Elements
Last updated: Thursday, February 21, 2019
Published in: Book Excerpts, Newsletters
The sizing and positioning of elements is called layout. Within the parent/child relationship between elements, this chapter focuses on the children, examining the common ways that you can control layout on a child-by-child basis.