Readdy
Write
0,00 €
Your View Money
Views:
Count
Self
20%
0
Your Content
60%
0
Users by Links
0
u
1
*(Content+Views)
10%
0
Follow-Follower
0
s
2
*(Income)
5%
0
Count
Followers
0
Log in
Register
CodeDodu.de
👁4323879
👣0
Docker Error: failed to solve with frontend dockerfile.v0: failed to create LLB definition: the Dockerfile cannot be empty
Solution first save the file with ctrl s and then run docker build Dockerfile oder myfile docker für Asp Net 7 Web API FROM mcr microsoft com dotnet sdk 7 0 AS build env WORKDIR app COPY csproj RUN dotnet restore COPY RUN dotnet publish c Releas
08.03.2023 (👁957 )
Rue25b
👁2244606
👣0
Docker: An error occurred: Containers feature is disabled. Enable it using the PowerShell script
Containers feature is disabled Enable it using the PowerShell script in an administrative PowerShell and restart your computer before using Docker Desktop Enable WindowsOptionalFeature Online FeatureName Microsoft Hyper V Containers All Dann öffnet man
06.03.2023 (👁1076 )
Rue25b
👁2244606
👣0
ASP Schnell auf Daten Zugreifen ohne das Daten-Model in EntityFrameworkCore
Schneller Datenbank Zugriff in Asp Net Core Net7 mit Entity Framework über ADO ohne Tabellen Model Wie kann man auf eine Datenbank in Asp Net zugreifen wenn man das Datenmodell nicht anbinden möchte und schnelle Operationen ausführen will Hierzu kann man
22.02.2023 (👁3064 )
Rue25b
👁2244606
👣0
Asp Authorize : Zugriff einschränken über Rollen
In Asp Net Core wird über das Attribute Authorize der Zugriff auf Web Api Entpunkte eingeschränkt Somit können nur Admins oder Service Leute auf einen Endpunkt zugreifen oder Personen welche zumindest Eingelogged sind Im Controller wird über das Attribut
22.02.2023 (👁3401 )
CodeDodu.de
👁4323879
👣0
Fehler: Exception Unhandeled System.Data.SqlTypes.SqlNullValuesException: Data is Null
Fehler Exception Unhandeled System Data SqlTypes SqlNullValuesException Data is Null This method or property cannot be called on Null values Bei Anbinden von Daten mit Entity Framework Core von Tabellen Windows App Console App mit Net 5 6 7 Core Ursach
21.02.2023 (👁1040 )
Rue25b
👁2244606
👣0
Windows Console App C# .Net 6 mit EntityFrameworkCore 6+ SQL Server Tabellen bearbeiten
Windows Console App C Net 6 mit EntityFrameworkCore 6 SQL Server Tabellen bearbeiten Mit diesem C Net Code kann man mit einer Konsolen Anwendung Windows App ohne User Interface Daten auf einem angebundenen SQL Server als Service Bearbeiten Wichtig ist
21.02.2023 (👁1996 )
Rue25b
👁2244606
👣0
Inconsistent accessibility: return type xxx is less accessible than method xxx CS0050
In C Asp Net Core Net 4 6 7 8 Fehlermeldung CS0050 Inconsistent accessibility return type Task ActionResult ArticlesController EditItem OutputModel is less accessible than method ArticlesController Save Article ArticlesController EditItem OutputModel CS
16.02.2023 (👁1445 )
Rue25b
👁2244606
👣0
Add Token to webrequests and read User at API
Add Token to webrequests Wenn man mit Authorisierung in webanwendungen arbeitet muss man einen Token in den Header einer Web Anfrage einfügen Dieser enthält die verschlüsselten Informationen zum aktuellen User und ist somit eine Zugriffskontrolle In An
15.02.2023 (👁3750 )
Rue25b
👁2244606
👣0
Solved: Angular Error TypeError: Failed to execute setRequestHeader on XMLHttpRequest: String contains non ISO-8859-1 code point
Solved Angular Error TypeError Failed to execute setRequestHeader on XMLHttpRequest String contains non ISO 8859 1 code point TypeError Failed to execute setRequestHeader on XMLHttpRequest String contains non ISO 8859 1 code point at http localhost 4
14.02.2023 (👁1070 )
Rue25b
👁2244606
👣0
Error: CS8073: The result of the expression is always false since a value of type ValueTask is never equal to null
Error CS8073 The result of the expression is always false since a value of type ValueTask model is never equal to null Web api Controller Falscher Code C HttpDelete id public async Task ActionResult Delete Article int id var dbArticle dbContext tb
04.02.2023 (👁999 )
Rue25b
👁2244606
👣0
BadRequest Cannot implicitly convert type Microsoft.AspNetCore.Mvc.BadRequestObjectResult
Controller Error BadRequest Cannot implicitly convert type Microsoft AspNetCore Mvc BadRequestObjectResult to Models Severity Code Description Error CS0029 Cannot implicitly convert type Microsoft AspNetCore Mvc BadRequestObjectResult to Models ArticleM
04.02.2023 (👁1479 )
Rue25b
👁2244606
👣0
Access to XMLHttpRequest at https://xxx from origin http://yyy has been blocked by CORS policy
Fehlermeldung im Browser Developer Mode Access to XMLHttpRequest at https xxx from origin http yyy has been blocked by CORS policy No Access Control Allow Origin header is present on the requested resource API Angular Error Dann muss man in der Web
03.02.2023 (👁1568 )
Rue25b
👁2244606
👣0
Solved: SqlException: A connection was successfully established with the server, but then an error occurred during the login process
Asp Net Einbinden User Identity Net6 Net 7 Beim Zugriff auf eine SQL sErver Datenbank Fehlermeldung beim Login und beim Register An unhandled exception occurred while processing the request Win32Exception Die Zertifikatkette wurde von einer nicht vertra
28.01.2023 (👁2062 )
Rue25b
👁2244606
👣0
ng is needed to create the project at Create new Project in Visual Studio
Standalone TypeScript Angular Project Error ng is needed to create the project Click the Lean More link to find out how to install ng Solution ng installieren Lösung Node js neu installieren https readdy net Notes Details 2134 s ng 20install Schritt
19.12.2022 (👁1610 )
Rue25b
👁2244606
👣0
Error System.IO.IOException: Error 2. Can not open I2C device file '/dev/i2c-1'.
Bei Ausführen einer Messkarte auf Raspberry Pi 4 In Debug Anwendung fail Microsoft AspNetCore Diagnostics DeveloperExceptionPageMiddleware 1 An unhandled exception has occurred while executing the request System IO IOException Error 2 Can not open I2C de
05.03.2022 (👁4185 )
CodeDocu_com
👁4264916
👣0
Webseite in RaspberryPi mit Blazor ansteuern
Auf Raspberry Pi4 Blazor NET6 Asp Blazor Net6 Program auf Raspberry Pi starten Hierzu wechselt man im Raspberry Pi auf den Ordner wo sich das Blazor Projekt befindet Es ist immer der Ordner indem sich die Datei csproj befindet In RaspberryPi den Commands
29.01.2022 (👁7194 )
CodeDocu_com
👁4264916
👣0
Solved: Json JsonSerializer.Serialize of Data in NET6
Migrating von Newtonsoft Json Serial New Version using System Text Json JsonSerializer Serialize menuItems new JsonSerializerOptions IncludeFields true Important The Serialization for Classes Data Objects with Entity Framework will often be empty by d
03.01.2022 (👁7617 )
CodeDocu_com
👁4264916
👣0
Azure App Service : Debug Fehler anzeigen
Azure App Service Debug Fehler anzeigen Wie kann man für Debug Zwecke den Exception Fehler auf einer Azure Webseite anzeigen Wenn der Fehler wie hier in einer Webseite als Error angezeigt wird aber ohne genaue Daten steht dann kann man in den App Servic
22.12.2021 (👁8011 )
CodeDocu_com
👁4264916
👣0
Linq Query: Mehrfache AND und OR in einer Abfrage erstellen
Dieser C Code zeigt wie man eine SQL Server Tabelle mit LINQ nach mehrfachen AND Bedingungen und nach mehrfachen OR Bedingungen zusammenführt Beispiel Linq EF Code C Code EF Entity Framework API Controller in asp net core MVC SCRIPT ZUM DURCHLAUFEN von P
07.10.2021 (👁17200 )
CodeDocu_com
👁4264916
👣0
LINQ: ForEach Loop in Linq Query zum Erstellen von WHERE oder Unterabfragen
Code Beispiel zum erstellen von mehreren WHERE Bedingungen in einer LINQ Abfrage Dabei wird hier gezeigt wie man eine mehrfache AND Verknüpfung in einen LINQ SQL Text einbindet Es wird dabei verhindrt dass viele einzelne Abfragen an den SQL Server gesend
07.10.2021 (👁15352 )
CodeDocu_com
👁4264916
👣0
Beispiel zum Upload von Daten an eine ASP Core API mit jquery Ajax und Json
Example to upload data on javascript to asp mvc api Das folgende Beispiel zeigt wie man in einer Asp Core MVC Anwendung Daten zu einer API hochlädt Dabei wird in ASP Core im Controller eine API POST erstellt und in der ASP View zur Laufzeit im Client p
06.10.2021 (👁17305 )
CodeDocu_com
👁4264916
👣0
Bestehende Datenbank an ASP Core Projekt anbinden
Wie bindet man eine bestehende Datenbank an ein neues ASP Core MVC Projekt an in Visual Studio Entity Framework SQL Server Schritt 1 in Visual Studio den Datenbank Server anbinden In Menü Views Server Explorer anzeigen Dann Datenverbindungen Verbindung h
05.10.2021 (👁13370 )
RichardMcSackschweiss
👁47084
👣0
Covid-19 Impfstoff verursacht Sackschweiss
Sunday February 9 2020 8 02 PM Coronavirus 2019 nCoV is biological warfare to decouple the US China economies as a prelude to US attacking China in a fighting war This is the biggest and most important issue of our time 我 个 代最大最重要的 们这 时 问题 美国中央情 局犯有 中国 行生
12.08.2021 (👁68478 )
CodeDocu_com
👁4264916
👣0
✅ Cannot found the default FFmpeg directory bei FFMediaTookit
Fehlermeldung Cannot found the default FFmpeg directory On Windows you have to set FFmpegLoader FFmpegPath with full path to the directory containing FFmpeg shared build dll files For more informations please see https github com radek k FFMediaToolkit
28.07.2021 (👁9617 )
CodeDocu_com
👁4264916
👣0
Fehler: CS0103 The name 'CompositingMode' does not exist in the current context
Fehlerbeschreibung Der Fehler tritt auf wenn man C Anwendung hier Asp net Core Net5 Anwendung leer erstellt oder Teile von Code aus einer Anderen Anwendung kopiert und einfügt Video Tutorial Lösung Man muss die fehlende Referenz in der Microsoft Anwen
08.07.2021 (👁7329 )
CodeDocu_com
👁4264916
👣0
Fehler: An unhandled exception occurred while processing the request. HttpRequestException: Failed to proxy the request to http://localhost:4200/,
Fehlermeldung in Asp Angular Anwendung HttpRequestException Failed to proxy the request to http localhost 4200 because the request to the proxy target failed Check that the proxy target server is running and accepting requests to http localhost 4200 V
08.07.2021 (👁30440 )
Rue25b
👁2244606
👣0
Fehlermeldung: Unexpected "{" after "@" character. Once inside the body of a code block (@if {}, @{}, etc.) you do not need to use "@{" to switch to code
Fehlermeldung Unexpected after @ character Once inside the body of a code block @if @ etc you do not need to use @ to switch to code In folgendem Code eines Asp Net Core MVC Projekts wird in Visual Studio der folgende Fehler angezeigt Fehlermeldung U
08.07.2021 (👁9673 )
Rue25b
👁2244606
👣0
The type or namespace name 'ArticleModels' does not exist in the namespace '.Models' are you missing an assembly reference?
Asp Core Fehler The type or namespace name ArticleModels does not exist in the namespace Models are you missing an assembly reference Fehlermeldung in Visual Studio Errors bei Build The type or namespace name ArticleModels does not exist in the namesp
07.07.2021 (👁8146 )
CodeDocu_com
👁4264916
👣0
A network-related or instance-specific error occurred while establishing a connection to SQL Server.
TITLE Connect to Server Cannot connect to sqlexpress ADDITIONAL INFORMATION A network related or instance specific error occurred while establishing a connection to SQL Server The server was not found or was not accessible Verify that the instance na
26.06.2021 (👁3851 )
CodeDocu_com
👁4264916
👣0
OK: IIS Webrequests anzeigen: Command execution failed. Not implemented
Problem Der Befehl oder die Funktion zum Anzeigen alles aktiven Webanfragen auf einem IIS Webserver werden nicht ausgeführt Die Funktion ist im IIS nicht vorhanden Beim Aufrufen der Funktion per Console wird der Befehl als nicht implementiert angezeigt a
12.05.2021 (👁11701 )
CodeDocu_com
👁4264916
👣0
Problem: https ssl auf einer Domain wird nicht erkannt, obwohl Letsencrypt ausgeführt wurde
Problem https ssl auf einer Domain wird nicht erkannt obwohl Letsencrypt ausgeführt wurde Problem Nach dem Wechsel von Letsencrypt 1 auf 2 ist eine Net Domain seither nicht richtig erreichbar Lösung Mit Letsencrypt2 das Zertifikat komplett mit Revoke und
12.04.2021 (👁17272 )
CodeDocu_com
👁4264916
👣0
Gelöst: Client xxx not found. Source=Microsoft.AspNetCore.ApiAuthorization.IdentityServer
Fehlermeldung System InvalidOperationException HResult 0x80131509 Message Client AspAngular Ident11 not found Source Microsoft AspNetCore ApiAuthorization IdentityServer Ursache In Microsoft Asp Core Anwendungen mit Angular oder React als Frontend wird
07.04.2021 (👁13088 )
CodeDocu_com
👁4264916
👣0
ASP Core MVC Trick: Server Cache in Controller Methoden anwenden
Memo ASP Core Trick Notiz für später Server Cache in Asp Core Server nutzen Folgendes Attribut kann man beim Asp API und MVC Controller Anfragen vor einen Endpoint Methode setzen ResponseCache Duration 0 Location ResponseCacheLocation None NoStore true
18.03.2021 (👁7013 )
CodeDocu_com
👁4264916
👣0
Code für Authorize, Antiforgery und Route mit Asp Core 5 mit React: Speichern und Lesen einer Seite
Code Asp Core 5 mit React Speichern in API mit Beispiel Code für Asp Core und React Asp Core Server Code Der Code enthält den Asp Core Code für die Startup cs und den Controller Wichtig ist mir dabei dass der Code für die Authorization und ValitdateAntif
12.03.2021 (👁47631 )
CodeDocu_com
👁4264916
👣0
🔴 Asp.Net Core API : Response status text is no longer available
Unfortunately when switching from MVC to API Asp Net Core no longer has a response statusText when a controller responds to an error Apparently this has been deactivated In Asp Core API Net5 cannot be turned off suppression in the Startup cs services A
26.02.2021 (👁20006 )
CodeDocu_com
👁4264916
👣0
Asp.Net Core API : Response Statustext ist nicht mehr vorhanden
Leider ist in Asp Net Core beim Wechsel von MVC auf API bei den Antworten eines Controllers im Fehlerfall kein response statusText mehr vorhanden Scheinbar wurde dieser deaktiviert In Asp Core API Net5 kann auch in der Startup cs bei Services die Unterdr
26.02.2021 (👁14450 )
CodeDocu_com
👁4264916
👣0
Error CS0815: Cannot assign null to an implicitly-typed variable
Error CS0815 Cannot assign null to an implicitly typed variable Wenn ich versuche in C Asp Net Core Net5 eine var Variable zu erstellen var query null Fehlermeldung Lösung ligt in der Zuweisung welche man möchte In diesem Fall reicht ein Hover über die
19.02.2021 (👁4628 )
CodeDocu_com
👁4264916
👣0
Email einrichten für Asp.Net Core mit React / Angular
Für die Aktivierung von Emails zur Registrierung im Asp Net Core 5 Framework als Vorlage für SPA Angular und React Vue js Frontend Anwendungen mit dem Microsoft Identity Framework benötigt man die Dateien Services EmailSender Services AuthMessageSender
18.02.2021 (👁23395 )
CodeDocu_com
👁4264916
👣0
Angular in ASP.Net Core einbetten
Dabei wird das Routing komplett von Angular übernommen Hier in app module ts imports RouterModule forRoot path component HomeComponent pathMatch full path counter component CounterComponent path fetch data component FetchDataComponent Angular zu Asp
11.02.2021 (👁12134 )
Rue25b
👁2244606
👣0
Daten in Asp.Net Web Api speichern aus Angular Frontend
Angular Client In Angular werden die Daten zum Server gesendet mit einem http post oder http put this http post this url Api Base ID dataset Asp Net Server Web API Im Asp Net Core Server serden die Daten empfangen in einer httpPost Methode HttpPost id p
09.02.2021 (👁21309 )
CodeDocu_com
👁4264916
👣0
Effect: IIS Application Pools : Advanced Settings : Maximum Failures =1
Effect IIS Application Pools Advanced Settings Maximum Failures 1 Wenn man die Einstellung in dem Internet Informations Server auf 1 setzt dann wird bei JEDEM Fehler der Service eingestellt was zur Folge hat dass die Meldung 503 auf der Webseite ersche
09.02.2021 (👁2664 )
CodeDocu_com
👁4264916
👣0
Angular: Datensatz lesen von Web Api und anzeigen in Angular
Angular Datesatz lesen von Web Api lesen und anzeigen Mit Angular als Frontend kann man Daten eines Asp Net Core servers anzeigen und bearbeiten Hier wird ein Datensatz mit einer ID 1 abgeholt vom Web API Frontend des Asp Net Core Servers mittels eines
08.02.2021 (👁15826 )
CodeDocu_com
👁4264916
👣0
IIS Server Error:The Application Host Helper Service encountered an error trying to delete the history directory
IIS Server Error The Application Host Helper Service encountered an error trying to delete the history directory …history CFGHISTORY The directory will be skipped and ignored Note that te directory may still get deleted in the future if te service restar
05.02.2021 (👁4451 )
CodeDocu_com
👁4264916
👣0
Asp.Net Core mit Angular Tabelle mit Angular Material.Table
Backend Asp Net Core Frontend Angular 10 Zeigt die Anbindung von Daten von Asp Net Core Web API und Darstellung als Angular Material Table Asp Net Controller Gibt die Web API als JSon Daten aus Siehe Swagger Json unten using Microsoft AspNetCore Mvc us
27.01.2021 (👁19193 )
CodeDocu_com
👁4264916
👣0
Error: Access to XMLHttpRequest api from origin has been blocked by CORS policy No Access-Control-Allow-Origin header
Error Access to XMLHttpRequest api from origin has been blocked by CORS policy No Access Control Allow Origin header Error in Google Chrome browser in einer Angular application Access to XMLHttpRequest at https localhost 44388 api TimeRecords from orig
22.01.2021 (👁6265 )
CodeDocu_com
👁4264916
👣0
ASP An unhandled exception occurred while processing the request.Unable to resolve service for type context
Asp Net Core Error in API Controller Database SQL Server Fehlermeldung An unhandled exception occurred while processing the request InvalidOperationException Unable to resolve service for type Demo Api02 Models API Database01Context while attempting to
20.01.2021 (👁17072 )
CodeDocu_com
👁4264916
👣0
Angular Firebase Example 2021 AngularFireDatabase AngularFireList
Angular Firebase Example 2021 Hier findet man eine komplettes Beispiel mit Angular und dem Zugriff auf Google Firebase Daten In Angular und Firebase hat sich der Zugriff und die Handhabung seit 2018 drastisch geändert Deshalb findet man im Internet kaum
08.01.2021 (👁9630 )
CodeDodu.de
👁4323879
👣0
Arduino ESP32 Code: Ausgabe-Pulses mit veränderbarer Pulsbreite per Button und Anzeige auf LCD und Digits
Arduino ESP32 Code Erstellen eines Ausgabe Pulses mit veränderbarer Pulsbreite per Button und Anzeige auf LCD und Digits Der folgende Arduino ESP32 nodeMCU Code macht folgendes mit Arduino ESP32 Mikrocontroller Code Über zwei Buttons wird an einem digita
25.04.2020 (👁7641 )
CodeDodu.de
👁4323879
👣0
Gelöst: Mailenable sendet keine EMails. Message delivery has been delayed.
Fehlermeldungen 1 Fail DNS Test Message delivery has been delayed Could not resolve DNS 10054 No Outbound Mail Lösung Die DNS Einträge müssen in den SMTP Properties eingetragen werden und nicht die IP Adresse Domain Naming Server des Web Hosters Proble
21.04.2020 (👁9199 )
CodeDodu.de
👁4323879
👣0
Excel Vorlage zum Versenden von Emails aus einer Tabelle, Version 51
Excel Vorlage zum Versenden von Emails aus einer Tabelle Version 51a Absender Email wird eingestellt Diese Excel Vorlage erstellt Emails in Outlook anhand einer Excel Tabelle Dabei werden die Email Adressen aus der Tabellen Zeile entnommen und die Zeile
18.03.2020 (👁18473 )