Introduction to Developing COBOL Applications for .NET Core

.NET Core is an open-source development platform that supports multiple operating systems. As such, when you develop a COBOL application and publish it to .NET Core, you can deploy the published application to any operating system for which Micro Focus provides .NET Core support.

Note: Visual COBOL currently supports the deployment of COBOL applications to .NET Core on Windows and Linux. For more information see .NET Core Known Issues and Restrictions.

The general process for developing a COBOL application for .NET Core is as follows:

  1. Use Visual Studio to create a new project, making sure that you use one targeted at .NET Core.
  2. Build and debug the application as you would normally with Visual COBOL.
  3. When the application is finished and ready to be released, publish the deployable files for the platforms that you want your application to run on.
    You can choose between two types of deployment:
    • a self-contained deployment (SCD), where the deployed files include the required .NET Core libraries and runtime files
    • a framework-dependent deployment (FDD), where the system onto which you deploy your application must include the required .NET Core libraries and runtime files
  4. Deploy the published files.

    If you need to debug the deployed application you can use Visual COBOL's standard remote debugging techniques.

For more information on .NET Core, see Microsoft's .NET Core Guide.