-
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.
-
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.
-
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.
-
Responsible Package Management in Visual Studio
Last updated: Thursday, November 30, 2023
Published in: CODE Magazine: 2019 - September/October
If you use a package management tool, like NuGet, Node Package Manager (NPM) for JavaScript, or Maven for Java, you already know how they simplify and automate library consumption. John shows you how to make sure that the packages you download don’t cause more troubles than they solve.
-
Building a .NET IDE with JetBrains Rider
Last updated: Friday, April 16, 2021
Published in: CODE Magazine: 2018 - November/December
If you’ve been developing IDEs in .NET, you’ve probably heard about JetBrains’ Rider. Chris and Maarten show you that the time is right to dive in.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
A First Look at ASP.NET vNext
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2015 - January/February
In this article, Rick plays with the beta version of ASP.NET vNext. You’ll get to see what’s (probably) coming so you can start making plans.
-
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.
-
Tasks and Parallelism: The New Wave of Multithreading
Last updated: Saturday, September 26, 2020
Published in: CODE Magazine: 2012 - November/December
Since the beginning of .NET, developers have been able to take advantage of multithreading when developing applications. In fact we’ve been given more than one programming model to accommodate just about any requirement that might come across. There’s the Thread class, the Thread Pool, the Async Pattern, and the Background Worker. Well, as if that isn’t enough, we now have a couple of more patterns that bring with them another genre - parallel programming.
-
Inside Visual Studio LightSwitch
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2011 - March/April
Microsoft Visual Studio LightSwitch uses a model-centric architecture for defining, building, and executing a 3-tier LightSwitch application.
-
Chapter 2: Creating Versatile Types
Last updated: Wednesday, February 20, 2019
Published in: Book Excerpts
Whenever you create your own classes, you need to consider the circumstances under which they could be used. For example, will two instances of your Item struct ever be compared for equality? Will your Person class need to be serializable, or sortable?
-
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.
-
Reengineering .NET: Injecting Quality, Testability, and Architecture into Existing Systems - Chapter 3: Unit Testing
Last updated: Saturday, February 23, 2019
Published in: Book Excerpts
This excerpt is from Reengineering .NET: Injecting Quality, Testability, and Architecture into Existing Systems, by Bradley Irby, Published Oct 24, 2012 by Addison-Wesley Professional. Part of the Microsoft Windows Development Series series. Copyright 2013, ISBN-10: 0-321-82145-9. To Purchase this book go to: http://www.informit.com/store/reengineering-.net-injecting-quality-testability-and-9780321821454 .
-
LINQx
Last updated: Monday, May 8, 2023
Published in: CODE Magazine: 2005 - November/December, VFP Conversion Papers
Microsoft demonstrated a new technology at PDC called LINQ (Language Integrated Query). The following note from Alan Griver, a member of the LINQ team at Microsoft, offers some details related to the LINQ project. In future issues of CoDe Magazine we will have more details on LINQ.Microsoft demonstrated a new technology at PDC called LINQ (Language Integrated Query). The following note from Alan Griver, a member of the LINQ team at Microsoft, offers some details related to the LINQ project. In future issues of CoDe Magazine we will have more details on LINQ.
-
What's New in .NET 2.0 for Assemblies and Versioning?
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2005 - July/August
The third release of the .NET Framework (version 2.0) introduces many changes and innovations not just in the application frameworks, but also in the essential mechanics of assemblies themselves.Microsoft strived to improve on a few limitations of the original assemblies model, as well as provide new features and capabilities in assemblies and in the tools used to build and manage them, predominantly Visual Studio 2005. These include application assembly reference, reference aliasing, friend assembly, better strong name protection, specific versioning, and targeting specific CPU architectures, and more. This article describes each such new feature, and when applicable, recommends best practices and guidelines.
-
How Many Threads Do You Need?
Last updated: Tuesday, February 19, 2019
Published in: Publisher's Point, Markus Egger Talks Tech, VFP Conversion Papers
Markus Egger discusses the need to create multi-threaded applications.
-
Modern Application Development: Visual FoxPro and .NET
Last updated: Tuesday, February 19, 2019
Published in: VFP Conversion Papers, Markus Egger Talks Tech
Markus Egger discusses the current state of development (2004) and how Visual Studio .NET and Visual FoxPro fit in.
-
The Importance of the Managed Platform
Last updated: Tuesday, February 19, 2019
Published in: Publisher's Point, VFP Conversion Papers, Markus Egger Talks Tech
.Net is a maturing platform. The first .NET alphas and betas went to a selected group of people years and years ago. At this point, we are approaching the third major installment of Visual Studio .NET (now called "Visual Studio 2005"). Surely at this point, nobody has to explain what .NET and the Managed Platform is. Or do we?
-
Managing Processes in .NET
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2004 - March/April
The Process class allows you to gain full control over system processes.You can start and stop processes and retrieve information about running processes such as the list of loaded modules and the characteristics of the memory occupied. The class also features handy methods to know whether a process is responding or has just exited and with which return code. Programmers also have full control over the style of the window the process runs in. After an overview of the capabilities of the Process class, this article demonstrates how to hide running console processes, monitor their execution, and capture any output. I'll use this strategy to create a sample Compression class to use with WinZip and gzip (popular tools for compressing data).
-
An Introduction to Visual Studio .NET Whidbey
Last updated: Tuesday, August 9, 2022
Published in: CODE Magazine: 2004 - January/February, CODE Focus Magazine: 2003 - Vol. 1 - Issue 3 - Whidbey and Yukon PDC Special
When I was asked to write a few pages on what's coming in the next version of Microsoft Visual Studio .NET (code named Whidbey), the biggest issue I had was how to limit this article to a few pages.I opted to list a few categories and drill down into each. I'm not going to cover everything, just some key items in each area. Please note that not all of these changes are implemented in the PDC build that attendees are receiving, and that some of these features are still in the planning stages. That said, here are the categories that I'd like to discuss:
-
Touring Base Class Library Enhancements
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2004 - January/February, CODE Focus Magazine: 2003 - Vol. 1 - Issue 3 - Whidbey and Yukon PDC Special
As the core API set underpinning managed application development in .NET, the Base Class Libraries, receive several long-awaited and notable additions in the Whidbey release.The Base Class Libraries (BCL) provide a standardized set of managed APIs to accomplish all of the common and most widely executed application tasks. BCL enhancements surface in as performance-based improvements, class-oriented feature additions, and the introduction of previously missing functionality through entirely new classes.
-
Pest Control
Last updated: Tuesday, February 19, 2019
Published in: Publisher's Point, Markus Egger Talks Tech
Brian Kernighan [1] once said, "Debugging is twice as hard as writing code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." This quote gets a little giggle out of most developers, but on the serious side, there is a lot of truth in it. Writing code that does cool or useful things certainly is much easier than writing code that does cool or useful things reliably.
-
Threading Support in the .NET Framework
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2002 - November/December, Markus Egger Talks Tech
This article explains in depth how to implement multi-threading in your .NET applications.
-
Auto-Deploying Windows Forms .NET Applications: The Revenge of the Fat Client
Last updated: Wednesday, February 20, 2019
Published in: CODE Magazine: 2003 - July/August
.NET provides new tools to make deployment of fat client .NET applications easier.This article describes the basics of .NET Auto-Deployment technology and the security mechanism that prevents users from inadvertently running code distributed by hackers and virus writers.
-
Defining and Using Custom Attribute Classes in C#
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2003 - July/August
The complex, component-style development that businesses expect out of modern software developers requires greater design flexibility than the design methodologies of the past. Microsoft's .NET Framework makes extensive use of attributes to provide added functionality through what is known as "declarative" programming. Attributes enhance flexibility in software systems because they promote loose coupling of functionality. Because you can create your own custom attribute classes and then act upon them, you can leverage the loose coupling power of attributes for your own purposes.
-
Reflection Part 2: Emit
Last updated: Wednesday, February 20, 2019
Published in: CODE Magazine: 2003 - January/February
In our previous article, Reflection Part 1: Discovery and Execution, we introduced the System.Reflection namespace and its classes which allow developers to view assembly metadata, query for and discover types, and invoke code?all at run-time. In this article we will examine reflection emit?the ability to dynamically generate code at run-time.
-
Working with Extender Classes
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2003 - January/February
Extender classes do just that; they allow you to extend the functionality of a .NET control class. The Error Provider and Tooltip classes are two examples of extender classes in the .NET Framework. The Tooltip class represents a significant departure from how tooltips were implemented in earlier versions of Visual Studio. The Error Provider class provides a new way to inform users about invalid input. Although each class serves a different purpose, their implementation is quite similar. This article introduces these two classes and gives a brief, yet comprehensive primer on how to use them
-
Dynamically Executing Code in .NET
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2002 - November/December
This article demonstrates the techniques for compiling dynamic code in your .NET applications.
-
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.
-
Reflection Part 1: Discovery and Execution
Last updated: Wednesday, February 20, 2019
Published in: CODE Magazine: 2002 - November/December
One feature of the .NET environment is the ability to read meta-data from classes and namespaces created in .NET. This article demonstrates accessing this data.
-
Stateful Network-Deployable .NET Components Use Isolated Storage
Last updated: Thursday, February 21, 2019
Published in: CODE Magazine: 2002 - November/December
Sometimes an application needs to keep its data in its own secure "sandbox". This article demonstrates creating these isolated applications in .NET.
-
End DLL Hell with .NET Version Control and Code Sharing
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2002 - July/August
Component-oriented programming must allow for clients and components to evolve separately.Component developers should be able to deploy new versions (or just defect fixes) of existing components without affecting existing client applications. Client developers should be able to deploy new versions of the client application and expect it to work with older component versions. As a component technology, .NET must enforce version control, allowing for separate evolution paths and for side-by-side deployment of different versions of the same component. .NET should also detect incompatibility as soon as possible and alert the client.