Hans-Petter Halvorsen
Microsoft Visual Studio is an integrated development environment (IDE) from Microsoft. It can be used to develop console and graphical user interface applications along with Windows Forms applications, web sites, web applications, and web services in both native code together with managed code for all platforms supported by Microsoft Windows.
Latest version of Visual Studio is Visual Studio 2022.
Download Software:
Download Visual Studio 2022 Community Edition (free)
You can also download Visual Studio Enterprise Edition from Microsoft Azure Dev Tools for Teaching (free for staff and students at the University).
Some software packages and add-ons may still not available for Visual Studio 2022, then you need to use Visual Studio 2019.
C# is a modern Object-oriented programming language. C# is the main programming language in Visual Studio.
Video: Simulation and Control with C# and WinForms: The video below goes through the creation of a basic Visual Studio/C# Application:
PowerPoint (PDF)
Tutorials:
Introduction to Visual Studio and C# (PDF)
See also .NET and C# In-Browser Tutorial
Topics: SQL Server, ADO.NET, C# WinForms, Structured Query Language (SQL), Saving Data to SQL Server and Retrieving Data from SQL Server.
In this tutorial we will create a basic Windows Forms App that saves data to an SQL Server Database. The App will also retrieve Data from the SQL Server Database.
SQL Server with C# Windows Forms App (YouTube)
PowerPoint (PDF)
Download Code Example (ZIP)
In this Tutorial we will create a basic Datalogging System using C# and Windows Forms. Data will then be stored in an SQL Server Database.
Datalogging using SQL Server with C# (YouTube)
PowerPoint (PDF)
In this Tutorial we will use Visual Studio, C# and SQL Server and create a Windows Forms CRUD Application.
PowerPoint (PDF)
What is Data Acquisition? Data Acquisition (DAQ) is the process of collection data from different sensors into a computer.
A DAQ System consists of 4 parts: Physical input/output signals, sensors DAQ device/hardware Driver software Your software application (Application software).
Visual Studio/C# and DAQ Tutorial
Do you need to Plot your Data in your Windows Forms Application? Plotting Data in Windows Forms is something you often want to do. The built-in Chart Control for Windows Forms is no longer supported by Microsoft in the latest .NET versions. So, we need to find and use alternative solutions. Many third-party Chart Tools exist. Most of these are commercial and costs money while others are free.
This Tutorial will use ScottPlot, which is a free and open-source plotting library for .NET.
Video: Introduction to Datalogging and Monitoring:
Video: Cloud-based to Datalogging, Monitoring and Analysis:
ASP.NET is a Web Framework for creating Web Pages. ASP.NET is built on top of the .NET Framework
Video: ASP.NET Core - Create your first Hello World Application:
This video is also available on my Youtube Channel (Industrial IT and Automation).
See my ASP.NET web site for more information and resources
Video: Introduction to Azure DevOps (formerly known as Visual Studio Team Services):
Video: Introduction to Unit Testing with Visual Studio:
Video: OPC DA Communication with C# using Measurement Studio:
OPC UA with Visual Studio and C# + PowerPoint used in the Video
Database Communication in Visual Studio/C# using Web Services + Database Example
Creating 3-tier Architecture in Visual Studio + Database Example
Visual Studio Team Services (VSTS) Resources
Learn Database Systems and Structured Query Language (SQL)
Programming Resources
Lots of Videos within different Applications and Areas