Skip to content

albinronnkvist/Course_DT071G_ProgrammingInCSharpDotNET

Repository files navigation

DT071G - Programming in C# .NET

The basics of programming with C# .NET.

In this course, I explored programming with C#, covering everything from fundamental OOP principles to more advanced design patterns like Dependency Injection. I then applied this knowledge by developing various applications using C# and .NET (5+). I built console applications with .NET 5 in a Linux environment, a mobile application using Xamarin.Forms, and an API with ASP.NET Core. Additionally, I worked with databases, utilizing SQLite, SQL Server, and EF Core for data management.

Development environment

  • VS Code with the following extensions:
    • ms-dotnettools.csharp
    • jchannon.csharpextensions
  • .NET 6.0 SDK
  • ASP.NET Core Web API
  • EF Core
  • SQL Server
  • SQL Server Management Studio (SSMS)

Setup

  • Configure EF Core and add a database connection:
    • Create a database connection using SSMS.
    • Add the database connection string to appsettings.json or in a user-secret:
    "ConnectionStrings": {
      "DefaultConnection": "Data Source=(localdb)\\MSSQLLocalDB; Initial Catalog={db_name}; User ID={db_username}; Password={db_password};"
    }
    
    • Install EF tools: dotnet tool install --global dotnet-ef
    • Run the EF Core migrations: dotnet ef database update
  • Add a signing key to appsettings.json or in a user-secret:
"TokenSettings": {
  "SigningKey": "{your_secure_signing_key_with_atleast_16_characters}"
}

Demo and essay

About

Computer Engineering BA (A), Programming in C#.NET, 7.5 Credits

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy