Azure Devops Repository ist nicht sichtbar: Project Settings / Overview / Repos ON
06.02.2023 21
Azure
Devops Repository ist nicht sichtbar: Project Settings Overview Repos ON
Beim ersten erstellen eines Azure Projects findet man in dem
Projekt kein Code-Repository
Zum Anzeigen des Code Repositorys ( Git GitHub ) geht man
links unten auf : ⚙ Project Settings
Dann bei General Overviews ->nach unten scrollen -> Azure DevOps services Repos ->On
SQL Entity Unterschied .FindAsync(ID) und .FirstOrDefaultAsync(x= x.IDArticle==id);
06.02.2023 26
SQL Entity Unterschied:
Was ist der Unterschied der beiden Aufrufe eines Datensatzes in C# Entity Framework
Bei der Übersetzung zur Datenbank Abfrage in SQL Server
Abfrage 1: FindAsync(ID)
*get matching Article from Database by ID
var dbArticle = await
Angular ERROR: NG01352: If ngModel is used within a form tag, either the name attribute must be set or the form
06.02.2023 29
Angular ERROR:
NG01352: If ngModel is used within a form tag, either the name attribute must
be set or the form
Problem : Der Wert wird im Feld nicht angezeigt und es kommt eine
Fehlermeldung in Developer Angular
edit-article component ts:117 ERROR Error: NG01352:
If ngModel is used within a form tag, either the name attribute must be set
or the form
control
must be defined as 'standalone' in ngModelOptions
Angular Error: ERROR TypeError: Cannot read properties of undefined (reading title)
04.02.2023 30
Angular Error: ERROR TypeError: Cannot read properties of (reading 'title')
Falscher Code:
read article: {{ idarticle }}
Angular Fehler in Button: Unexpected token {, expected identifier, keyword, or string
04.02.2023 34
Angular Fehler in Button: Unexpected token {, expected identifier, keyword, or string
Fehlermeldung:
Parser Error: Unexpected token {, expected identifier, keyword, or string at column 15 in [edit_article({{idarticle}})] in src app components articles read-article read-article component html@5:26 ngtsc(-995002) v
Property id has no initializer and is not definitely assigned in the constructor.ts(2564)
04.02.2023 39
Property 'id' has no initializer and is not definitely assigned in the constructor ts(2564)
Fehlermeldung
Property 'id' has no initializer and is not definitely assigned in the constructor ts(2564)
Vorkommen: in der Angular compontent ts datei wird eine lokale Variable in Typescript erstellt
Lokale Variable in component ts
Angular Error: Cant bind to ngModel since it isn t a known property of input.ngtsc(-998002)
04.02.2023 48
Angular Input in Formular
Fehlermeldung in Component html
Can't bind to 'ngModel' since it isn't a known property of 'input' ngtsc (-998002)
Cannot declare FormsModule in an NgModule as it s not a part of the current compilation.
04.02.2023 38
Cannot declare 'FormsModule' in an NgModule as it's not a part of the current compilation
Fehlermeldung in Angular Visual Code
"code": "-996001",
"severity": 8,
Error: CS8073: The result of the expression is always false since a value of type ValueTask model is never equal to null
04.02.2023 36
Error: CS8073: The result of the
expression is always false since a value of type ValueTask is
never equal to null
Web api,
Controller
Falscher
Code, C#
Cannot implicitly convert type Microsoft.AspNetCore.Mvc.BadRequestObjectResult
04.02.2023 35
Controller Error: BadRequest Cannot
implicitly convert type 'Microsoft AspNetCore Mvc BadRequestObjectResult'
to 'Models '
Severity
|