Paul Sheriff
CODE Author
Paul has been in the IT industry since 1984. In that time he has successfully assisted hundreds of companies architect software applications to solve their toughest business problems. Paul has been a teacher and mentor through various mediums such as video courses, blogs, articles and speaking engagements at user groups and conferences around the world. Paul has multiple courses in the www.pluralsight.com library (https://bit.ly/3gvXgvj) and on Udemy (https://bit.ly/3WOK8kX) on topics ranging from C#, LINQ, JavaScript, Angular, MVC, WPF, XML, jQuery and Bootstrap. Contact Paul at psheriff@pdsa.com.
Detailed Bio
Paul has been in the IT industry over 35 years. In that time, he has successfully assisted hundreds of companies architect software applications to solve their toughest business problems. Paul has been a teacher and mentor through various mediums such as video courses, blogs, articles and speaking engagements at user groups and conferences around the world. Paul has multiple courses in the www.pluralsight.com library (https://bit.ly/3gvXgvj) and on Udemy.com (https://bit.ly/3WOK8kX) on topics ranging from C#, LINQ, JavaScript, Angular, MVC, WPF, XML, jQuery, and Bootstrap. Contact Paul at psheriff@pdsa.com.Paul has been in the IT industry since 1985. In that time, he has successfully assisted hundreds of companies architect software applications to solve their toughest business problems. Paul has been a teacher and mentor through various media such as video courses, blogs, articles, and speaking engagements at user groups, and at conferences around the world. Paul has multiple courses in the www.pluralsight.com library (https://bit.ly/3gvXgvj) and on Udemy.com (https://bit.ly/3WOK8kX) on topics ranging from C#, LINQ, JavaScript, Angular, MVC, WPF, XML, jQuery, and Bootstrap.
Articles Authored
-
A Data-Driven Menu System for Bootstrap
Last updated: Thursday, July 1, 2021
Published in: CODE Magazine: 2015 - September/October
Did you know that you can create a simple one-line menu system using two C# classes and a little bit of Razor code in an MVC page to create a hierarchical menu structure for drop-down menus? Paul shows you how.
-
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.
-
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 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.
-
A Design Pattern for Building WPF Business Applications: Part 4
Last updated: Friday, March 12, 2021
Published in: CODE Magazine: 2020 - January/February
Learn to move between states in a WPF in business application.
-
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.
-
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 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.
-
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.
-
ASP.NET: Creating an Application Configuration Class
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2002 - September/October
Most of you are probably aware that the web.config file in an ASP.NET project controls the behavior of your Web site. If you make a change to one of the built-in settings in this file, ASP.NET automatically detects those changes and applies them immediately. Wouldn't it be nice if you could have your own settings in this file applied immediately as well? In this article you will learn how to do just that. You will also learn the difference between the Application object and creating your own Configuration class.
-
Building a CRUD Page Using JavaScript and the XML HttpRequest Object
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2021 - May/June
In this next installment of Paul’s series on JavaScript and Ajax, Paul creates a data-filled page using JavaScript and the XML HttpRequest Object and shows you how to make the activities on that page efficient and clear.
-
Building Web APIs Using Node.js and Express: Part 1
Last updated: Wednesday, May 3, 2023
Published in: CODE Magazine: 2023 - May/Jun
Paul Sheriff starts a series on using JavaScript to create server-side web pages and web APIs. He'll demonsrate through examples how to use Node.js and Express to do this. Learn to build a Node.js and Express project for hosting Web API calls, create a set of routes to do CRUD operations on product data in a JSON file, and more.
-
Building Web APIs Using Node.js and Express: Part 2
Last updated: Wednesday, December 13, 2023
Published in: CODE Magazine: 2023 - July/August
In this second article of his new series, Paul's article is about moving hard-coded values from the code into a configuration file and reading those settings into a Node.js and Express application. It also covers adding middleware functions to handle exceptions, writing different types of errors to different locations, and retrieving data from a SQL Server table. It uses the `config` package to read configuration data from a JSON file and demonstrates how to replace hard-coded strings with values from the configuration file.
-
Building Web APIs Using Node.js and Express: Part 3
Last updated: Monday, August 21, 2023
Published in: CODE Magazine: 2023 - September/October
In the third article of this series, Paul shows you how to build a website using Node.js and Express to serve web pages, how to use a templating engine called Mustache to create dynamic web pages from the data retrieved from API calls, and how to configure cross-domain resource sharing (CORS).
-
Business Web Page Layout Ideas for HTML5 Applications
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2012 - May/June
In most business applications, you create a common look and feel, data entry pages, and a method for navigating through the application. As you begin to work with HTML5, you will want to build these features and take advantage of the features of HTML5 that can make your applications stand out from the crowd. In this article, you will be presented with several common business Web pages that give you an idea of the power of HTML5 and CSS 3.
-
Calling Stored Procedures with the Entity Framework in .NET 5
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2021 - January/February
Paul shows you how to avoid the frustration of having to determine a stored procedure’s function before you call it by using Entity Framework in .NET 5. Learn how to make calls to stored procedures using Entity Framework in .NET 5.x.
-
Centering Text on a WPF Shape Using a User Control
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2010 - July/August
WPF excels at creating great looking applications.
-
Configuration Settings for Angular Applications
Last updated: Thursday, May 6, 2021
Published in: CODE Magazine: 2018 - January/February
In another of his articles on Angular, Paul dives into global configurations and shows you how to access your Angular applications from any component or service class.
-
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.
-
Create Maintainable Minimal Web APIs
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2022 - May/June
Paul shows you the benefits of a Router class to maintain minimal Web APIs.
-
Create Your Own SQL Compare Utility Using GetSchema()
Last updated: Friday, February 24, 2023
Published in: CODE Magazine: 2023 - March/April
Learn how to use the GetSchema() method on the DbConnection class to retrieve tables, views, columns, index, stored procedures, and more from any database system. Create an instance of the SqlConnection or OracleConnection, or your own provider's implementation of the DbConnection class, and pass a valid connection string to the constructor to use the GetSchema() method.
-
Creating an Action CheckBox with Web Forms, Bootstrap, and jQuery
Last updated: Thursday, September 2, 2021
Published in: CODE Magazine: 2014 - September/October
Building mobile apps is a wave you need to catch! Paul shows you that you won’t be left behind just because you use Web Forms.
-
Creating Collections of Entity Objects
Last updated: Thursday, May 26, 2022
Published in: CODE Magazine: 2013 - May/June
Almost every programmer knows (unless you have been living under a rock for the last five years or so) that you should be using classes for all of your programming. You should also be using collections of objects instead of using a Data Reader, a DataSet, or a DataTable in your applications. The reasons for using collections are many and are explored in this article.
-
Creating Web Sites with ASP.NET Whidbey
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2004 - January/February, CODE Focus Magazine: 2003 - Vol. 1 - Issue 3 - Whidbey and Yukon PDC Special
ASP.NET Whidbey adds a huge number of productivity features and enhancements.Although it's still early in the development process, Paul and Ken dig in and start playing with some of the new features, passing along what they've found.
-
CRUD in HTML, JavaScript, and jQuery
Last updated: Monday, June 28, 2021
Published in: CODE Magazine: 2015 - November/December
Paul begins a new series on working within HTML and the Web API with this close-up look at JavaScript and jQuery. You’ll learn some of the juicy details, but you’ll also get a good overview of what these technologies can do for you.
-
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.
-
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.
-
Display a Progress Message on an MVC Page
Last updated: Monday, July 12, 2021
Published in: CODE Magazine: 2015 - July/August
Have you ever watched someone impatiently click again and again on a button? Paul explains how that can slow the server down and how to prevent the delay. He also looks at glyphs that tell users that their device got the message and is working on it.
-
Eliminate HTML Tables for Better Mobile Web Apps
Last updated: Tuesday, April 27, 2021
Published in: CODE Magazine: 2018 - March/April
At this point, you’re clear that your app has to work on all platforms, especially on smartphones. Paul gets tables to adjust their sizes based on which platform is being used to view it.
-
Enhance Your MVC Applications Using JavaScript and jQuery: Part 1
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2021 - September/October
Paul kicks off his new series with improving the user’s experience by making his MVC application run more smoothly using JavaScript and jQuery, along with a spinner from Font Awesome and Bootstrap events.
-
Enhance Your MVC Applications Using JavaScript and jQuery: Part 2
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2021 - November/December
Paul continues his series on how to make your MVC applications more fun to build and more comfortable for your users.
-
Enhance Your MVC Applications Using JavaScript and jQuery: Part 3
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2022 - January/February
Paul continues his series on how to make your MVC applications more fun to build and more comfortable for your users. Learn to write Web API calls that you can call from the application to avoid post-backs.
-
Enhance Your MVC Applications Using JavaScript and jQuery: Part 4
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2022 - March/April
Paul completes this series on how to make your MVC applications more fun to build and more comfortable for your users. This time, he’ll speed up your MVC applications with Ajax.
-
Ensuring Quality Code
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2010 - March/April
Every developer needs to test their code, or have it tested by someone.I don’t know about you, but I am horrible at testing my own code. Does this mean that I do not need to test my code? Heck, no! It is always best if you do not rely on your end user to test your code. This can end up with a very frustrated user, and your user can lose faith in your ability to get their project done.
-
Exploring .NET MAUI: Getting Started
Last updated: Thursday, June 27, 2024
Published in: CODE Magazine: 2024 - July/August
This is Paul D. Sheriff's first article in a series on .NET MAUI, which provides a single framework for building the UIs and business logic and create applications for either mobile or desktop. Paul shows you how to develop apps that run across all platforms.
-
Exploring .NET MAUI: Styles, Navigation, and Reusable UI
Last updated: Wednesday, August 28, 2024
Published in: CODE Magazine: 2024 - September/October
In the second part of his series on developing applications with .NET MAUI, Paul delves into advanced techniques for ensuring consistency and reusability across application pages. This article covers the application of styles to controls, enabling a uniform look by centralizing style definitions. Paul demonstrates how to create and navigate multiple pages using .NET MAUI's built-in navigation system, and introduces the concept of reusable UI components with `ContentView` controls. Additionally, he explores the use of `ResourceDictionary` for managing resources like styles, colors, and data templates, and emphasizes the importance of data binding for efficient UI updates.
-
Extending Bootstrap: A Product Selection System
Last updated: Wednesday, July 14, 2021
Published in: CODE Magazine: 2015 - May/June
Paul continues his series on Bootstrap by creating a custom product selection system that keeps a running total of a user’s purchases.
-
Extending the Bootstrap Accordion
Last updated: Thursday, July 29, 2021
Published in: CODE Magazine: 2015 - January/February
Paul teaches us how to use Bootstrap’s accordion features to make easily mobile-adaptable navigation panels.
-
Extending the Bootstrap Accordion: Part 2
Last updated: Tuesday, July 27, 2021
Published in: CODE Magazine: 2015 - March/April
In his second article on the Bootstrap accordion, Paul works with glyphs, jQuery, and using data- attributes.
-
From Zero to CRUD in Angular: Part 1
Last updated: Wednesday, May 19, 2021
Published in: CODE Magazine: 2017 - May/June
CRUD’s a part of everyday life for a lot of devs. If you’re one of them, you’ll be interested in this first installation of Paul’s new series on using Angular.
-
From Zero to CRUD in Angular: Part 2
Last updated: Thursday, May 13, 2021
Published in: CODE Magazine: 2017 - July/August
Building on his article in the last issue, Paul adds HTML, Angular code, and Web API methods so that the user can add, edit, and delete product data.
-
From Zero to CRUD in Angular: Part 3
Last updated: Wednesday, May 12, 2021
Published in: CODE Magazine: 2017 - September/October
In the third and final segment of his series on using CRUD in Angular, Paul adds additional server-side validation to the generated Entity Framework classes. He also shows us the client-side validation and validates data in Angular.
-
Getting Back to Basics
Last updated: Wednesday, February 20, 2019
Published in: CODE Magazine: 2009 - September/October
Our industry is constantly changing. So much so, that it is difficult to keep up sometimes.
-
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.
-
Handling Exceptions Returned from the Web API
Last updated: Wednesday, June 23, 2021
Published in: CODE Magazine: 2016 - March/April
Learn how to use the IHttpActionResult methods in the .NET Controller class to deal with exceptions when Paul explores the messages that no one likes to receive.
-
How to Use the Fetch API (Correctly)
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2021 - July/August
Paul continues looking at the XMLHttpRequest object in this exploration of the Fetch API. It’s not all sunshine and unicorns, but it’s pretty useful nonetheless.
-
Improve Your “Soft-Skills” and Keep Your Job!
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2011 - May/June
What can you do to improve your job prospects in a weak economy? Paul has some thoughts on that.
-
Introduction to Angular Routing
Last updated: Wednesday, January 10, 2024
Published in: CODE Magazine: 2017 - January/February
If you need to navigate around your Single-Page Application (SPA), you’ll want to know about routing in Angular. Paul shows you how.
-
Jumpstart Your Project Management Skills
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2010 - May/June
Your manager just dropped into your office and said, “We have a very important, new assignment with a limited budget and tight schedule. I am assigning you to be the project manager. Good luck.”Your manager turns and leaves your office. After your heart rate subsides, you start to think about your new assignment. How shall I proceed? What tools will I use? What are my deliverables? One of the most challenging roles in the Information Technology industry is that of Project Manager (PM). PMs are delegated a great deal of responsibility but with often little authority. In this article, you will learn valuable skills and tools that you can apply to become a good project manager and add value to your company.
-
Keep Software Simple
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2009 - May/June
A lot of programmers tend to over engineer their software solutions.In the course of my consulting, I have reviewed many applications from many companies. In many cases I find a lot of areas where the software was just too complex. The reasons for this are varied, but seem to be centered around a few main areas: inappropriate use of design patterns, the “not invented here” syndrome, and building a Cadillac when a Chevy would do the job. You can solve these issues in many ways. All it takes is a little bit of re-thinking on how you build software. This article offers guidance on some things you can do to simplify your software development process
-
Licensing and Obfuscation
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2010 - November/December
Software piracy runs rampant these days! You need to protect your code using a good licensing scheme and obfuscation. If you develop software for a living (and since you are reading this magazine, I assume you are), at some point you will most likely figure out how to protect your investment in that software. Two things you will need to do to accomplish this are to add licensing to your software, and to obfuscate your code so others cannot reverse engineer your hard work. These two tools are absolutely essential in your efforts to protect your software. This article will provide you with an overview on how you can use these tools to protect yourself from piracy.
-
LINQ to XML Instead of a Database
Last updated: Wednesday, February 20, 2019
Published in: CODE Magazine: 2012 - September/October
When people think of having to store data for their applications, a database such as SQL Server immediately comes to mind. However, XML files are very handy for storing data without the overhead of a database. Using XML files to cache often-used, but seldom changed data such as US state codes, employee types and other validation tables can avoid network roundtrips and speed up your application. In addition, XML files are great for off-line applications where a user needs to add, edit and delete data when they can’t connect to a database.
-
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.
-
Logging in Angular Applications
Last updated: Friday, May 7, 2021
Published in: CODE Magazine: 2017 - November/December
Continuing his series on Angular, Paul looks at logging as a reporting tool for debugging, warnings, errors, and other types of messages, as well as calling classes to log to the console, local storage, and Web API.
-
Manipulating JSON Documents in .NET 8
Last updated: Tuesday, April 23, 2024
Published in: CODE Magazine: 2024 - May/June
Paul D. Sheriff discusses various ways to manipulate and serialize JSON documents in .NET. He explains the structure of JSON objects and arrays, as well as provide insights into the classes and namespaces in .NET that can be used to work with JSON. The article demonstrates how to create and manipulate JSON documents using classes such as JsonObject and JsonArray, and also explains how to serialize and deserialize C# objects to and from JSON. The author also covers topics like nested objects, working with JSON files, and controlling serialization using JSON attributes and options.
-
Microsoft Exception Management Application Blocks
Last updated: Wednesday, February 20, 2019
Published in: CODE Magazine: 2002 - November/December
A new feature of .NET is its ability to handle exceptions. This article demonstrates implementing Microsoft's Exception Management Application Blocks.
-
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!
-
PostMortem: A Large Mission-Critical Educational System
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2010 - September/October
When you read about history, the stories are mostly about the people involved, and not as often about the tools and technologies people used. In software engineering, the stories about the people involved are known as “human factors” - and it is often the human factors in the life of a software project that make life interesting for software developers.
-
Prepare Visual Basic for Conversion to C#
Last updated: Friday, April 8, 2022
Published in: CODE Magazine: 2018 - May/June
There’s nothing wrong with coding in VB, but to stay contemporary, you need to get coding in C#. Paul shows you how to convert legacy VB files to C# without re-inventing the wheel.
-
Prepare Visual Basic for Conversion to C#
Last updated: Friday, April 23, 2021
Published in: CODE Magazine: 2018 - July/August
There’s nothing wrong with coding in VB, but to stay contemporary, you need to get coding in C#. Paul shows you how to convert legacy VB files to C# without re-inventing the wheel.
-
Privacy and the Application Developer
Last updated: Wednesday, February 20, 2019
Published in: CODE Magazine: 2010 - September/October
Do you store information about your customers, clients, suppliers, vendors, and your employees on a computer system? If so, you need to be aware of the many different movements that are happening, at least in the United States, about keeping that data secure. Many states are enacting or have enacted legislation requiring businesses to not only safeguard that information, but also force those businesses to notify customers if such information becomes compromised
-
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.
-
Reuse Your WCF Services from jQuery
Last updated: Monday, May 16, 2022
Published in: CODE Magazine: 2013 - July/August
If you are like many developers, you are using Windows Communication Foundation (WCF) to provide services to Windows Forms, WPF, Silverlight, ASP.NET and possibly Windows 8 Store applications. Now your boss is asking you to develop some mobile applications using HTML 5 and jQuery. You know you can reuse many of your WCF services, but you are having trouble calling them from jQuery without breaking your existing applications. In this article, I will walk you through the steps for taking a sample WCF service from working just for .NET applications to working with jQuery as well. Don’t worry, your existing applications will still work with the changes you are going to make.
-
Security in Angular: Part 1
Last updated: Friday, April 23, 2021
Published in: CODE Magazine: 2018 - May/June
In the first installment of his new series, Paul addresses who needs access to what in Angular, and how to make sure that nothing unpleasant happens on the client-side.
-
Security in Angular: Part 2
Last updated: Saturday, April 17, 2021
Published in: CODE Magazine: 2018 - September/October
In this second installment of his Angular security series, Paul authenticates a user against a SQL Server table and secures Web API methods with the JSON Web Token standard.
-
Security in Angular: Part 3
Last updated: Monday, April 12, 2021
Published in: CODE Magazine: 2018 - November/December
In this third installment of his Angular security series, Paul addresses the Angular 6 release and shows you how to build an array of claims without single properties for security.
-
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.
-
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 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.
-
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.
-
Software Configuration and Management Using Visual SourceSafe and VS .NET
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2004 - May/June
Every company has some form of Software Development Lifecycle (SDLC) process?whether it is formal or informal. An SDLC includes people, processes, and tools that span the design, build, and support of your information systems.
-
Spice Up Your Silverlight and WPF Application Images
Last updated: Wednesday, February 20, 2019
Published in: CODE Magazine: 2011 - November/December
Most programmers have a hard time making applications that look interesting and fun. We are great at creating functionality that makes the application do exactly what the user wants, but many applications often look very utilitarian. However, with just a few little XAML tricks, you can make your Silverlight or WPF applications look like an artist had a hand in their creation. In this article I will provide you with a couple of very easy XAML tips that you can use right away to spice up the images in your Silverlight and WPF applications.
-
Successful Software Development
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2009 - March/April
Software development is a lot more than just writing lines of code.You need to think about project management, prototyping, database design, software architecture, framework usage and a whole host of other factors. In this article you will learn one approach to developing software applications from start to finish.This approach has been used successfully to develop hundreds of applications by a software development company that has been around since 1991.
-
The Journey to Angular: Part 1
Last updated: Monday, June 21, 2021
Published in: CODE Magazine: 2016 - May/June
When you wrap your JavaScript code into a closure, you won’t have bugs caused by unnecessary variables. Paul shows you how to do this using a templating tool called Mustache, which will help you get closer to coding in Angular.
-
The Journey to Angular: Part 2
Last updated: Thursday, June 10, 2021
Published in: CODE Magazine: 2016 - July/August
You’ve been hearing a lot about Angular and it’s time to see what it can do for you. Paul continues his excellent series on Angular, the tool you need to create solid, reusable, and extensible code.
-
The Journey to Angular: Part 3
Last updated: Friday, June 4, 2021
Published in: CODE Magazine: 2016 - September/October
Paul continues his deep dive into AngularJS. This time, he uses this important tool to insert, update, and delete data by building some Web API calls.
-
The Journey to Angular: Part 4
Last updated: Tuesday, June 1, 2021
Published in: CODE Magazine: 2016 - November/December
Paul continues his deep dive into AngularJS. This time, he adds validation to the page so you can spot input errors.
-
The Provider Model
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2007 - November/December
In this article you will learn how to isolate yourself from change by taking advantage of the Provider Model.Designing your applications using the Provider Model will allow you to swap components out at runtime, thus allowing you to upgrade them easily.
-
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.
-
Time to Clean Up!
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2009 - July/August
Why is it that over time, any machine you buy just seems to get slower and slower?Why is it that over time, any machine you buy just seems to get slower and slower?
-
Tips and Tricks for Flexible Code
Last updated: Monday, September 20, 2021
Published in: CODE Magazine: 2014 - May/June
If you want to develop code that’s flexible, extensible, maintainable, and testable, you’ll want to read Paul’s article about some basic things to keep in mind before you start.
-
Transitioning from Employee to Self-Employed
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2010 - January/February
An invaluable self-starter kit from Paul, who has gone through this himself. Paul breaks it down into categories and other useful information you should know.If you are considering making a jump from being an employee to being self-employed, the following article will help you make the transition.
-
Upload Small Files to a Web API Using Angular
Last updated: Thursday, April 8, 2021
Published in: CODE Magazine: 2019 - January/February
If you have some small files to upload to a Web API, there’s no reason to use the same cumbersome process that works for larger files. Paul shows you how to save a lot of time and effort using Angular.
-
Use HTML 5 and jQuery in WebForms
Last updated: Tuesday, August 31, 2021
Published in: CODE Magazine: 2014 - November/December
Web Forms aren’t going anywhere. Paul shows us how to use HTML 5 and jQuery to keep ASP.NET Web Forms working smoothly.
-
Use the MVVM Design Pattern in MVC Core: Part 1
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2020 - May/June
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.
-
Use the MVVM Design Pattern in MVC Core: Part 2
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2020 - July/August
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.
-
Use the MVVM Design Pattern in MVC Core: Part 3
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2020 - September/October
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.
-
Using Active Directory in .NET
Last updated: Monday, January 3, 2022
Published in: CODE Magazine: 2013 - November/December
Sometimes your .NET applications need to interact with Microsoft Active Directory (AD) to authenticate users, get a list of users, retrieve groups, or determine which users are within which AD groups. There are a few different approaches you can use to retrieve information from your AD database within your domain.
-
Using Ajax and REST APIs in.NET 5
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2021 - March/April
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.
-
Using Geolocation and Google Maps
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2020 - November/December
Learn to use the mobile browser's navigator.geolocation object to provide latitude and longitude and then embed a Google map on your web page to help people find your business, home or a meeting place.
-
Using the WPF TreeView with Multiple Levels
Last updated: Thursday, December 30, 2021
Published in: CODE Magazine: 2014 - January/February
When your WPT TreeView needs to go deeper than two levels, you might run into a snag. Paul shows us how to use the HierarchicalDataTemplate to get around this problem.
-
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.
-
Windows Phone Is Here. Learn It!
Last updated: Saturday, January 18, 2020
Published in: CODE Magazine: 2011 - January/February
-
Working with Windows Phone User Interfaces, Part 1
Last updated: Thursday, February 21, 2019
Published in: CODE Magazine: 2012 - January/February
Developing for Windows Phone is easy if you have been doing any XAML at all. That’s because you use Silverlight for Windows Phone development.
-
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.
-
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.