Skip to content

Instantly share code, notes, and snippets.

OOP Concepts in C#
Explain encapsulation, inheritance, and polymorphism with examples in C#.
What is method overloading and method overriding in C#? How are they different?
Explain the concept of SOLID principles and how each one applies in C# application design.
What are generics in C#? How do they improve code reusability?
.NET Framework Overview
Understand what the .NET framework is and its purpose in building applications.
Familiarize yourself with its components such as the Common Language Runtime (CLR), .NET Class Library, and Application Domains12.
Common Terminologies
MSIL (Microsoft Intermediate Language): Know how .NET compiles code into MSIL and its role in execution23.
JIT (Just-In-Time Compiler): Understand how JIT compiles MSIL to native code during execution12.
Managed vs. Unmanaged Code
Be able to explain the difference between managed code (executed by CLR) and unmanaged code (executed directly by the operating system) 12.
WITH CTE_SportAttributes AS (
SELECT
st.*,
str."SportId"
FROM "dbo"."SportAttributes" AS st
INNER JOIN "dbo"."SportAttributesRelation" AS str
ON st."Id" = str."AttributeId"
),
CTE_SportAttributeGroups AS (
SELECT
@using Dogan.HR.Academy.Data
@using Dogan.HR.Academy.Models
@using Dogan.HR.Models
@using Dogan.HR.Models.HelperModels
@using exampleapp.Models
@using System.Text.Json
@using System.Security.Cryptography
@using System.Text
@using FluentValidation
@using FluentValidation.Results
Choosing between a hybrid framework (like Capacitor.js, Flutter, or React Native) and a native solution
(like Kotlin for Android and Swift/Objective-C for iOS) depends on your project’s requirements, performance
needs, team expertise, and budget. Hybrid frameworks are ideal for cross-platform development, allowing you
to use a single codebase to target multiple platforms (iOS, Android, web, and desktop). This can significantly
reduce development time and cost, making it an excellent choice if you need to release on multiple platforms quickly.
Capacitor.js is particularly useful for transforming web apps into mobile and desktop apps, leveraging web technologies
that developers are already familiar with. Flutter and React Native also offer near-native performance with customizable
UIs across platforms. These frameworks are well-suited for business apps, e-commerce apps, and simpler use cases that
don’t require deep platform integration or heavy performance optimizations.
Choosing between a hybrid framework (like Capacitor.js, Flutter, or React Native) and a native solution (like Kotlin for Android and Swift/Objective-C for iOS) depends on your project’s requirements, performance needs, team expertise, and budget. Hybrid frameworks are ideal for cross-platform development, allowing you to use a single codebase to target multiple platforms (iOS, Android, web, and desktop). This can significantly reduce development time and cost, making it an excellent choice if you need to release on multiple platforms quickly. Capacitor.js is particularly useful for transforming web apps into mobile and desktop apps, leveraging web technologies that developers are already familiar with. Flutter and React Native also offer near-native performance with customizable UIs across platforms. These frameworks are well-suited for business apps, e-commerce apps, and simpler use cases that don’t require deep platform integration or heavy performance optimizations.
However, if your app requires high-perf
Deciding between a hybrid framework (like Capacitor.js, Flutter, or React Native) and a native solution (Kotlin for Android, Swift/Objective-C for iOS) depends on various project requirements, team resources, performance needs, and long-term goals. Below are scenarios where each approach would be more suitable:
1. Cross-Platform Requirements
Hybrid Framework (Capacitor.js, Flutter, React Native)
Scenario: You want to release your app on multiple platforms (iOS, Android, Web, and even Desktop) without duplicating development effort.
Rationale:
builder.WebHost.ConfigureKestrel(options =>
{
options.ListenAnyIP(5000);
});
app.Use(async (context, next) =>
{
// Check if Kestrel is being used
var isKestrel = context.Request.Host.Host == "localhost" && context.Request.Host.Port == 5000;
if (isKestrel)
{
Console.WriteLine("Running on Kestrel");
}
else
{
"$schema": "http://json.schemastore.org/launchsettings.json",
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": ....,
"sslPort": ....
}
},