Explore .NET on Experts Exchange

Expert Solutions for Your Tech Problems

.NET.NET Programming

The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly bu...

Read more
  • 136K Content
  • 15K Contributors

Expert Spotlight
Digital marketing (Hospitality)

Focus on what matters and Let Go OFF what doesn't.

Article

Using Azure Service Bus To Send and Receive Messages

In today’s article we will look at how we can use Azure’s Service Bus to send messages from one application to another. One application sends a message to the service bus using some identifier and that message is then picked up by the other application. In this way we do not need to couple the two.
Article

Overview of New Features In .NET 8

Today, we will look at the main features introduced with .NET 8, the latest .NET framework for development on the Microsoft platform.
Article

Load, Compile, Run, and Interact With C# Code Dynamically

Today, we will look into how we can dynamically load C# code into our solution, compile this code, run it, and then interact with it to call methods etc. This might be useful when we want to add plugin code etc.
Article

New features in .NET 8

Today, we will look into some new features that are expected in .NET 8. .NET 8 will be the next version of the .NET framework after .NET 7. It will be an LTS (Long-term support) release.
Article

Ahead Of Time (AOT) compilation to native code using C#

Microsoft has just released .NET 7 on 14th November 2022. One of the cool feature introduced with .NET 7/C# 11 is the Ahead of Time (AOT) compilation to native code feature. It allows us to directly compile and publish our code in the native version. Hence, no Just in Time (JIT) compilation.
Article

The pattern matching feature in .NET 7

1
Microsoft has just released .NET 7 on 14th November 2022. In the previous articles we looked at some of the new features. Today, we will look at another feature introduced with .NET 7 and that is the generics pattern matching. Let us begin.
Article

The new number interface in .NET 7

Microsoft has just released .NET 7 on 14th November 2022. In the previous articles we looked at some of the new features. Today, we will look at another feature introduced with .NET 7 and that is the generic number interface. Let us begin.
Article

Using the file scope feature in .NET 7

Microsoft has just released .NET 7 on 14th November 2022. Today, we will look at a feature introduced with .NET 7 and that is the file access modifier.
Article

How to create custom attributes in .NET

1
Today we will look at creating custom attributes in .NET. Attributes provide metadata for our elements in our code. These can then be read via reflection and used to handle different conditional logic. The process to create and use them is simple and we will work through an example.
Article
If Else

Logical Expressions in .NET

For many programmers something like: if (someState != someOtherState && someState == someOtherOtherState || someState == someOtherOtherOtherState) { .... } Is a common pattern. I am here to discuss alternatives to this pattern which will reduce *code smells* within code analyzers.
Article

Now you know to call a Web API and it's easy to do so

Calling Web API to grab data is pretty common for system integration. In fact, this is the current system development trend where we can see complex systems are tend to be developed in a small scale and distributed into smaller systems.
Article

Async and Multi-Threading in C# in Plain English

8
A lot of developers have the wrong ideas about async code and multi-threading and how it all works, or how to use it. Here, you'll learn the differences between the two concepts and implement each one in C#.
Article

Sending styled HTML email from Powershell (Using a .NET DLL in Powershell)

Via various tools, systems and automated alerts I generate thousands of emails per day. Using a common method to send these emails makes it easier to standardize these messages. One key feature of these email methods is stylized emails. This article shows how to use this library with Powershell.
Article

.NET Windows Service Template using Timer, Topshelf and Log4Net

I have personally never liked the standard Windows Service template that comes with Visual Studio. This article describes how I created a Visual Studio template build on the Topshelf library that I use to develop stable Windows Services.
Article

Automatic logoff at schedule

6
Over time I have seen a number of questions asking how to logoff users at a specific time. I personally haven't required this but decided to develop a little Windows service that manages this via schedule and not a legacy scheduled task running shutdown /l or via AD logon hours
Article

Pre Server 2016 Group Membership Expiration Tool

4
Group membership expiration is a superb new feature included with Active Directory 2016 functional level. But what if you want this functionality but you haven't upgraded yet? Since I have many clients that cannot yet leverage this new feature, I have developed a custom tool.
Article
Google Elevation API

How Google Elevation works and how to create a simple C# App?

The article's main focus is , to create a C# console application using Google's Elevation API. For more detailed information about this topic, use the attached links.
Article
GEOCODING / REVERSE GEOCODING

What is GeoCoding, Reverse GeoCoding and how to create a simple C# App?

The article's main focus is , to create the application using Google's GeoCoding/Reverse Geocoding. This article will teach you what GeoCoding and Reverse Geocoding is and how to write a simple C# console application. I also added some links, for more detailed information for this topic.
Article

A helper class to perform CRUD on Microsoft Office documents Custom Properties - without headache

How many times have you tried using Office InterOp to manage various custom properties? If you have ever tried it then you will see the article image very appropriate. After spending hours trying to solve a question I finally gave up on Office InterOp and took an easier way out - OpenXML SDK.
Article

Active Directory Shadow Groups

This is my take on Shadow Groups, the principle of maintaining group membership based on objects within an organizational unit within the Active Directory.

Do more with Experts Exchange.


Get Answers

Join a Group Discussion

Collaborate

Monitor your Site

Explore solutions and more