icon icon

Copilot in creating and automating applications – from generating C# code to compiling and deploying the solution

icon

Training process

Training needs analysis

If you have specific requirements regarding the training programme, we will carry out a training needs analysis for you. This will guide us on which aspects of the programme should receive greater emphasis, so that the training programme meets your specific needs.

What will you gain?

icon

Effective Copilot prompting - You will learn how to turn business requirements into clear Copilot prompts, so you can get more accurate C# code faster and reduce rework during later iterations.

icon

Generating usable C# code - You will practice creating classes, methods, data structures, and business logic from functional descriptions, so you can build applications faster and expand them step by step.

icon

Setting up the .NET environment - You will organize your work with source files, libraries, and namespaces, and learn how to run applications and solve common environment issues with more confidence.

icon

Compiling and running on your own - You will master practical use of csc.exe, code preparation for compilation, reference handling, and compiler messages, so you can build EXE and DLL files independently.

icon

Automating the delivery flow - You will see how to connect Copilot instructions, code generation, compilation, and application startup into one consistent flow that shortens the path from idea to working tool.

icon

Useful tools for daily operations - You will learn to design applications that automate work with files, folders, and text data, helping you create practical tools that support everyday operational tasks.

icon

Faster debugging with Copilot - You will practice analyzing syntax, compilation, and runtime errors, and use Copilot to suggest fixes, so you can diagnose issues faster and verify corrected versions more efficiently.

icon

Refactoring and extending apps - You will learn how to review existing .NET code, remove duplication, improve readability, and add new features, making it easier to adapt applications to changing requirements.

Training programme

1. Introduction to the use of Microsoft Copilot as a tool supporting the creation and automation of applications in the .NET environment

Microsoft Copilot is presented as a development aid for generating, explaining, and extending code in the .NET environment. The material covers its role in application work, prompt formulation, creation of C# snippets, support for repetitive programming tasks, and development of existing solutions based on user instructions.

  • the role of Copilot in the application development process,
  • generation of code based on user instructions,
  • use of Copilot for developing existing solutions,
  • automation of repetitive programming activities,
  • creation of code snippets in C# code,
  • analysis and explanation of the generated code,
  • good practices for formulating prompts for Copilot.

2. Preparation of the .NET environment and tools necessary for creating, compiling and running applications generated with Copilot support

A working .NET setup is the foundation for generating, compiling, and running applications created with Copilot support. Participants organize source files, review the structure of a C# application, use libraries and namespaces correctly, launch programs from the system level, and diagnose basic environment issues.

  • basic elements of the .NET environment,
  • structure of the application written in C#,
  • preparation of source files,
  • organization of the code of the application,
  • use of libraries and namespaces,
  • running the application from the system level,
  • diagnosis of basic environmental problems.

3. Generating C# code using Copilot based on a business process description and the expected application functionality

Turning a business process description into working C# code requires precise prompts and iterative validation of results. This section covers generating classes, methods, data structures, business logic, and input-output handling, then developing the code further while checking alignment with functional requirements.

  • translating business requirements into instructions for Copilot,
  • generating classes, methods and data structures,
  • creating business logic,
  • generating handling of input data and output data,
  • creating simple mechanisms for automation,
  • developing code in subsequent terations,
  • verifying compliance of the generated solution with requirements.

4. Compiling C# code using csc.exe and the practical use of the .NET compiler in the process of automatic application creation

csc.exe is used here as the practical entry point to compiling C# solutions outside a full IDE-based workflow. The section explains command syntax, preparing code for compilation, producing executables and DLL libraries, defining references, interpreting compiler output, and correcting build errors with Copilot support.

  • the role of the csc.exe compiler,
  • preparation of code for compilation,
  • basic syntax of compiler commands,
  • generating executable files,
  • creating DLL libraries,
  • indicating libraries and references,
  • interpreting compiler messages,
  • correcting compilation errors in compilation with the help of Copilot.

5. Automation of the process of generating, compiling and running applications using Copilot, C# and system tools

From prompt to running program, the focus here is on linking code generation, command-line compilation, and execution into one repeatable flow. Participants automate source preparation, handle compilation parameters, run applications, analyze program output, and streamline further iterations of the solution.

  • creating a complete process from instructions to application,
  • automatic preparation of source code,
  • running compilation from the command level,
  • handling parametóers of the compilation process,
  • running prepared applications,
  • analysis of resultóes of the program's operation,
  • automation of subsequent iterations of the solution.

6. Designing applications automating user tasks and processes performed in the system and business environment

Application design begins with selecting tasks and processes that are suitable for automation in system and business environments. The scope includes utility tools for file and directory operations, text processing, document and output generation, batch execution, and solutions that support routine user work.

  • identification of processes possible to automation,
  • designing simple utility tools,
  • automation of operations on files and directories,
  • processing text data,
  • generating documents and output files,
  • performing batch operations,
  • building tools supporting everyday work.

7. Using Copilot to modify, extend and refactor existing applications written in .NET technology

Existing .NET code can be changed more efficiently when modifications are guided by a structured review of classes, methods, and repetitive fragments. Participants work on adding functionality, refactoring code, improving readability and project layout, and adapting applications to updated requirements with Copilot assistance.

  • analysis of existing code,
  • identifying places requiring changes,
  • generating new functionalities,
  • extending existing classes and methods,
  • refactoring code,
  • improving readability and project organization,
  • eliminating repetitive fragmentów,
  • adapting applications to new requirements.

8. Error handling, debugging and the use of Copilot to diagnose problems occurring during the running and compiling of the application

When an application fails to compile or behaves incorrectly at runtime, effective diagnosis becomes part of the development process. The section covers syntax and compilation errors, reading csc.exe messages, handling exceptions in C#, protecting against invalid input, and testing fixes proposed with Copilot support.

  • analysis of syntax errors,
  • analysis of compilation errors ,
  • interpreting csc.exe messages,
  • diagnosing runtime errors ,
  • generating proposed fixes by Copilot,
  • handling exceptions in C#,
  • protecting applications against invalid data,
  • testing corrected versions of the solution.

9. Creating more advanced automation workflows combining .NET code, system operations and logic generated with the help of Copilot

More complex automation requires structuring work into stages that exchange data and react to intermediate outcomes. This part focuses on modular workflow design, conditional logic, combining several functions in one application, generating execution reports, and evolving the flow through successive Copilot instructions.

  • designing multi-stage processes,
  • dividing automation into modules,
  • passing data between stages,
  • performing conditional operations,
  • creating sequences dependent on results,
  • integrating several functions into one application,
  • automatically generating reports from the execution of the process,
  • developing workflow with the help of subsequent instructions for Copilot.

10. Practical workshop covering the design, generation, compilation, and launch of your own application automating a selected process

Participants build a complete application that automates a selected process, starting with process analysis and a clear definition of required functionality. The work includes preparing Copilot instructions, generating and refining C# code, compiling with csc.exe, testing results, and extending the solution for further organizational use.

  • analysis of the process intended for automation,
  • definition of the application's functionality,
  • preparation of instructions for Copilot,
  • generation of code C#,
  • verification i and modification of code,
  • compilation using csc.exe,
  • removal of compilation errors compilation,
  • launch of the prepared application,
  • testing of results,
  • expansion of the solution with additional functionalities,
  • discussion of the possibilities for further use of the application in the organization.

What are the prerequisites for participating in the training?

icon

Programming basics - You should understand core programming concepts such as variables, conditions, loops, and functions, so you can work comfortably with the generated code.

icon

Basic C# or .NET knowledge - You should have introductory experience with C# or the .NET environment, so you can follow project structure, source files, and the behavior of simple applications.

icon

Command line basics - You should be able to perform basic system and command line tasks, such as running programs, working with files, and moving through folders and directories.

icon

Reading technical messages - You should be able to read simple error messages and development tool hints, so you can efficiently analyze compilation results and application behavior.