This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 🔹 1. C# / .NET Technical Questions | |
| What is the difference between .NET Framework and .NET Core? When would you choose one over the other? | |
| How do you implement dependency injection in .NET Core? Why is it useful? | |
| Explain the difference between Task, Thread, and async/await in C#. Provide a small code example. | |
| How would you design a REST API in .NET Core for high availability? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <CascadingAuthenticationState> | |
| <Router AppAssembly="@typeof(App).Assembly"> | |
| <Found Context="routeData"> | |
| <CascadingValue Value="routeData"> | |
| <AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" /> | |
| <FocusOnNavigate RouteData="@routeData" Selector="h1" /> | |
| </CascadingValue> | |
| </Found> | |
| <NotFound> | |
| <PageTitle>Not found</PageTitle> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Azure.Communication.Email; | |
| using Azure.Storage.Blobs; | |
| using Invio.Extensions.Authentication.JwtBearer; | |
| using Markdig; | |
| using Microsoft.AspNetCore.Authentication; | |
| using Microsoft.AspNetCore.Authentication.JwtBearer; | |
| using Microsoft.AspNetCore.Authentication.OpenIdConnect; | |
| using Microsoft.AspNetCore.Authorization; | |
| using Microsoft.AspNetCore.Components; | |
| using Microsoft.AspNetCore.Components.Web; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| \documentclass[10pt, letterpaper]{article} | |
| % Packages: | |
| \usepackage[ | |
| ignoreheadfoot, % set margins without considering header and footer | |
| top=2 cm, % seperation between body and page edge from the top | |
| bottom=2 cm, % seperation between body and page edge from the bottom | |
| left=2 cm, % seperation between body and page edge from the left | |
| right=2 cm, % seperation between body and page edge from the right | |
| footskip=1.0 cm, % seperation between body and footer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using DynamicData; | |
| using DynamicData.Binding; | |
| using Microsoft.EntityFrameworkCore; | |
| using Microsoft.Extensions.DependencyInjection; | |
| using Microsoft.Extensions.Logging; | |
| using Programming.Team.AI.Core; | |
| using Programming.Team.Business.Core; | |
| using Programming.Team.Core; | |
| using ReactiveUI; | |
| using System; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="panels"> | |
| @{ | |
| int index = 0; | |
| } | |
| <MudExpansionPanels MultiExpansion="true" > | |
| @foreach (var position in ViewModel.Entities) | |
| { | |
| @if (index == 0) | |
| { | |
| <MudCard Class="thin-panel"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <spinningCat> Arc1, can you give me information about scriban? | |
| <Arc1> 👾 Scriban is a powerful templating language for .NET. It uses a familiar liquid-like syntax, offering features like object access, control flow, and extensibility via custom functions. It's commonly used for code generation and text transformations. | |
| <spinningCat> Arc1, you write code that generates latex with scriban? | |
| <Arc1> 👾 Yes, I can generate LaTeX code using Scriban. I can define templates with placeholders for dynamic content and then populate them with data to produce the desired LaTeX output. | |
| * pingu3 (~vm0@user/pingu) has joined | |
| <spinningCat> Arc1, can you give me an example? | |
| <Arc1> 👾 ``scriban 👾 \documentclass{article} 👾 \title{Generated Document} 👾 \date{ { date | date '%Y-%m-%d' } } 👾 \begin{document} 👾 \maketitle 👾 Content: {{ content }} 👾 \end{document} 👾 ` 👾 Data: { content: "Hello World!" }` | |
| <spinningCat> Arc1, | |
| <spinningCat> Arc1, is it similar to template string? | |
| <Arc1> 👾 Yes, Scriban is similar to template strings in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @*@inherits ReactiveComponentBase<AddCertificateViewModel> | |
| @if (ViewModel != null) | |
| { | |
| <AlertView Alert="ViewModel.Alert" /> | |
| <MudOverlay ZIndex="5" Visible="@ViewModel.IsOpen" | |
| Style="background-color: rgba(255,255,255,.3); padding: 20px" | |
| AutoClose="false" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM dhcf:debian AS markdownworker | |
| WORKDIR /worker/markdown | |
| # Install system dependencies | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| python3-venv bash \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Copy the requirements file into the container |
NewerOlder