Page Index - potatoscript/csharp GitHub Wiki
204 page(s) in this GitHub Wiki:
- Home
- POTATO_Csharp
- BASIC:
- 1. Introduction to C# Programming
- 2. Basic Programming Concepts
- 3. Control Flow
- 4. Functions and Methods
- 5. Object-Oriented Programming (OOP)
- 6. Collections
- 7. Exception Handling
- 8. File and Data Handling
- 9. Databases and SQL
- 10. Advanced C# Topics
- 11. GUI Programming
- 12. Final Project
- Framework_Tutorial_List
- Project_List
- Packages_Nuget
- π― Project Structure:
- β Step-by-Step Guide:
- 1. πΌ Create the solution (if not already created):
- 2. π Create the class library project:
- 3. π§ͺ Move your helper code into the library
- 4. πΌ Create the WPF app project:
- 5. π Add both projects to the solution:
- 6. β Add project reference from App β Lib:
- β Final Structure:
- 1. Assess the Current ConvertImageToBase64.csproj Project:
- 2. If It's the WPF App (ConvertImageToBase64.App):
- 3. If It's Not Needed or Unused:
- 4. Final Adjustments:
- A. Create a NuGet Package for ConvertImageToBase64.Lib
- 1. Ensure NuGet is set up in your project:
- 2. Pack the NuGet Package:
- 3. Publish the NuGet Package:
- B. Dockerize Your WPF Application
- 1. Create a Dockerfile:
- 2. Build and Run the Docker Container:
- 3. Add GUI for WPF:
- Next Steps:
- Packages_Docker
- Step 1: Install Docker for Windows
- Step 2: Prepare Your WPF Application for Docker
- 1.1 Make sure your app is built:
- 1.2. Modify the ConvertImageToBase64.Lib:
- Step 3: Create a Dockerfile
- 3.1 Create the Dockerfile:
- Explanation of Dockerfile:
- Step 4: Build the Docker Image
- Step 5: Run the Docker Container
- Step 6: (Optional) Handle GUI for WPF in Docker
- 6.1 Windows Containers and GUI:
- 6.2 (Optional) Convert to Console Application:
- Step 7: Test the Application in the Container
- Step 8: Push Your Docker Image (Optional)
- Docker error : canβt find the Windows base image
- π¨ You're on a Linux Docker Engine (WSL2)
- β Solutions
- π Option 1: Use Linux Base Images (Recommended for Docker)
- π§Ύ Example Dockerfile (for Linux base image)
- β οΈ If Your App Is WPF (GUI) β You Canβt Use Docker (Linux) Easily
- π Option 2: Switch Docker to Windows Containers (Advanced)
- π§ TL;DR Recommendation
- Error Solution
- Restarting Application:
- Unable to locate the .NET SDK: The Reasons:
- Abstraction
- Please reload this page
- Array
- Please reload this page
- Async Await
- Please reload this page
- Break and Continue
- Please reload this page
- Build DLL
- Please reload this page
- Building a Complete Application
- Please reload this page
- Buttons TextBoxes Controls
- Please reload this page
- Chart
- Please reload this page
- Classes and Objects
- Please reload this page
- Close Application
- Please reload this page
- Color
- Please reload this page
- ComboBox
- Please reload this page
- Comments in C
- Please reload this page
- Connect to PostgreSQL
- Please reload this page
- Connecting to Database
- Please reload this page
- Constructors
- Please reload this page
- Creating Forms
- Please reload this page
- CRUD Operations
- Please reload this page
- CSV File Handling
- Please reload this page
- Custom Controls
- Please reload this page
- Custom Exceptions
- Please reload this page
- Date
- Please reload this page
- Debugging and Testing
- Please reload this page
- Defining Functions
- Please reload this page
- Delegates and Events
- Please reload this page
- Dictionaries
- Please reload this page
- Encapsulation
- Please reload this page
- Entity Framework
- Please reload this page
- Enumeration
- Please reload this page
- Exception Handling
- Please reload this page
- Export GridView DataSet To Excel
- Please reload this page
- Export To Excel closedXML
- Please reload this page
- File Handling
- Please reload this page
- File IO with Streams
- Please reload this page
- Form
- Please reload this page
- Function Parameters and Return Types
- Please reload this page
- GridView
- Please reload this page
- Hello World
- Please reload this page
- If Else Statements
- Please reload this page
- Image
- Please reload this page
- Inheritance
- Please reload this page
- LINQ
- Please reload this page
- Lists
- Please reload this page
- ListView
- Please reload this page
- Loading Form
- Please reload this page
- Loops
- Please reload this page
- Multithreading
- Please reload this page
- Number
- Please reload this page
- Passing Value
- Please reload this page
- Polymorphism
- Please reload this page
- Popup Window
- Please reload this page
- Properties and Methods
- Please reload this page
- Queues and Stacks
- Please reload this page
- Reading and Writing Files
- Please reload this page
- Recursion
- Please reload this page
- Send Email
- Please reload this page
- Setting Up
- Please reload this page
- String
- Please reload this page
- Structs
- Please reload this page
- Switch Case
- Please reload this page
- TabPage
- Please reload this page
- TextBox
- Please reload this page
- Try Catch Finally
- Please reload this page
- User Info
- Please reload this page
- Using SQL Queries
- Please reload this page
- Variables and Data Types
- Please reload this page
- What is C
- Please reload this page
- Working with DataGridView
- Please reload this page
- Working with JSON
- Please reload this page