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
Rue25b
π3106426
π£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 (π14698 )
Rue25b
π3106426
π£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 (π16268 )
Rue25b
π3106426
π£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 (π4053 )
Rue25b
π3106426
π£0
Angular Fehler in Button: Unexpected token {, expected identifier, keyword, or string
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 art
04.02.2023 (π3069 )
Rue25b
π3106426
π£0
Gelöst: API Controller wird bei React nicht erreicht OK 304
Gelöst API Controller wird bei React nicht erreicht Problem bei einer neu erstellen React Anwendung mit ASP Net Controller unter Visual Studio 2022 und Net6 wird der Daten Controller nie erreicht Die Anwendung meldet OK 305 zurück Lösung man muss unter d
28.12.2022 (π15792 )
CodeDocu_com
π5303841
π£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 (π39970 )
CodeDocu_com
π5303841
π£0
Installation oidc-client nach Can't resolve 'oidc-client'
Fehlermeldung Error src api authorization authorize service ts Module not found Error Can t resolve oidc client in CLIENTAPP src api authorization In Asp Core Angular Anwendung Was ist der oidc client Library to provide OpenID Connect OIDC and OAuth2 pr
05.04.2021 (π12084 )
CodeDocu_com
π5303841
π£0
Angular: InnerHTML Text-String to HTML Output
Angular InnerHTML Wie erzeugt man in Angular HTML von Text String zu HTML Lösung div innerHTML article htmlcontent div Error if wrong compiler js 2175 Uncaught Error Template parse errors Parser Error Unexpected token is at column 6 in this is innerhtml
01.04.2021 (π5842 )
CodeDocu_com
π5303841
π£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 (π66029 )
CodeDocu_com
π5303841
π£0
✅ Solved: Asp.Net Core Controller does not trigger ID auf
Problem With Asp Net corein the controller on an HttpPut and HttpPost method never the id ID of the calling URL const response await fetch api articles 33 requestOptions SEND DATA const data await response json In the Asp Net core controller ma n
26.02.2021 (π20422 )
CodeDocu_com
π5303841
π£0
Gelöst: Asp.Net Core Controller löst ID nicht auf
Problem Bei Asp Net Core kommt im Controller bei einer HttpPut und HttpPost Methode nie die id ID der aufrufenden URL an const response await fetch api articles 33 requestOptions SEND DATA const data await response json Im Asp Net Core Controller
26.02.2021 (π16863 )
CodeDocu_com
π5303841
π£0
Hinzufügen eines Microsoft Identity Frameworks zu einer bestehenden Datenbank
Wenn man eine bestehende Asp Net Core Anwendung besitzt und eine gesichertes User Verwaltungssystem einbinden möchte dann kann man eine Asp Net Core Angular React Anwendung mit Authentication Identity erstellen Danach muss man nur noch die Datenbank p
16.02.2021 (π26114 )
CodeDocu_com
π5303841
π£0
Angular Error: NullInjectorError: No provider for AngularFireDatabase! Code core.js: 5967
Angular Error NullInjectorError No provider for AngularFireDatabase Code core js 5967 Error Code core js 5967 Fehler beim Anbinden von Angular Module Firebase Fehlermeldung core js 5967 ERROR NullInjectorError R3InjectorError AppModule AngularFireData
07.01.2021 (π6779 )
CodeDocu_com
π5303841
π£0
NET: FolderPicker zum Auswählen eines Verzeichnisses
NET FolderPicker zum Auswählen eines Verzeichnisses In C einen Ordner auswählen Wie kann man in Windows 10 einen Verzeichnis Dialog erstellen zum Auswählen eines Ordner Windows FolderPicker Folder Dialog Notiz leider werden angeschlossene USB Laufwerke v
04.12.2020 (π9491 )
CodeDodu.de
π5294065
π£0
Offen WPF: Datenbank Connection ändern zur Laufzeit
WPF Datenbank Connection ändern zur Laufzeit Aufgabe Ändern der Datenbank Verbindung zu Laufzeit in einer WPF Datenbank Anwendung Lösung offen Betrifft WPF Connection SQLString SQL anbindung Den Standard Connectionstring findet man in der App config xm
03.02.2019 (π11833 )
CodeDocu_com
π5303841
π£0
Asp.Net Core 2.1 Error: Publish prints too many files
Problem If you output an Asp Net Core 2 1 Web application with Publish project files and all library runtime files will be output Subject Upgrade Windows 10 update and Visual Studio 2017 to 2018 Q3 Description Since last week the Windows 10 Update 2018
07.11.2018 (π36866 )
CodeDodu.de
π5294065
π£0
Asp.Net Core 2.1 Fehler: Publish gibt zuviele Dateien aus. Windows 10 Update Problem
Asp Net Core 2 1 Fehler Publish gibt zuviele Dateien aus Problem Wenn man ein Asp Net Core 2 1 Web Anwendung mit Publish ausgibt werden nun Projekt Dateien und auch alle Library Runtime Dateien ausgegeben Betrifft Umstellung Update Windows 10 und Visual
07.11.2018 (π34009 )
CodeDocu_com
π5303841
π£0
Word Addin: Adds customer data from Excel file to Word file
Function The article describes how a Word Excel Data Addin works and contains the download of the word addin as a zip file At runtime the add in exchanges data fields in a Word file with data in an Excel file So it works like a data selector for Word fo
26.10.2018 (π21731 )
CodeDodu.de
π5294065
π£0
Word Addin: Setzt Kunden Daten aus Excel Datei in Word Datei ein
Funktion Der Beitrag beschreibt die Funktionsweise eines Word Excel Daten Addins und enthält den Download des word Addin als zip Datei Das Add In tauscht zur Laufzeit Datenfelder in einer Word Datei ein mit Daten in einer Excel Datei Somit funktioniert
26.10.2018 (π22018 )
CodeDocu_com
π5303841
π£0
Set upload of very large files in Asp.Net MVC Core 2.
Problem If you want to upload large files or videos with 200 MB or 1 5 GB in asp net core 2 1 mvc then you quickly realize that the upload of the form or the ajax webapi is answered with the error 404 13 or 502 3 That s because with Asp net Core you h
24.08.2018 (π71585 )
CodeDodu.de
π5294065
π£0
Upload von sehr großen Dateien in Asp.Net MVC Core 2 einstellen.
Problem Wenn man in asp net core 2 1 mvc große Dateien oder Videos mit 200 MB oder 1 5 GB hochladen möchte dann stellt man schnell fest dass der Upload des Formulars oder der ajax webapi mit dem Fehler 404 13 oder 502 3 beantwortetet wird Das liegt daran
24.08.2018 (π52005 )
CodeDocu_com
π5303841
π£0
Expand Asp.Net Core Startup.cs with Environment Development
Task How can you build a case distinction between development state and runtime publish state in the Startup cs file in Asp Net Core projects Solution A In the initialization the environment variable is included as a parameter and then queried in Configu
17.08.2018 (π26885 )
CodeDodu.de
π5294065
π£0
Asp.Net Core Startup.cs mit Environment Development erweitern
Aufgabe Wie kann man in der Startup cs Datei in Asp Net Core Projekten eine Fallunterscheidung auf Entwicklungszustand und Runtime Publish Zustand einbauen Lösung A Man bindet in der Initialisierung die Environment Variable als Parameter ein und frägt di
17.08.2018 (π25834 )
CodeDocu_com
π5303841
π£0
Linq: Output to a variable list
How to pass the query results of a Linq query to a free list Solution with list and elements of type Object List Object dataList query ToList Object Complete C Linq code GET api index public async Task List Object Index Index get UserClaim Info g
16.08.2018 (π6669 )
CodeDodu.de
π5294065
π£0
Linq: Ausgabe in eine variable Liste
Wie kann man die Query Ergebnisse einer Linq Abfrage in eine freie Liste übergeben Lösung mit List und Elementen vom Typ Object List Object dataList query ToList Object Kompletter C Linq Code GET api index public async Task List Object Index Index g
16.08.2018 (π6573 )
CodeDocu_com
π5303841
π£0
Json error: A method was called at an unexpected time
Problem When evaluating an Api interface which returns a pure value list the error comes that the method was called at an unexpected time Solution When evaluating Json returns the return values are evaluated using JsonObjects built in data models If t
09.08.2018 (π14229 )
CodeDodu.de
π5294065
π£0
Json Fehler: Eine Methode wurde zu einem unerwarteten Zeitpunkt aufgerufen
Problem Bei Auswerten einer Api Schnittstelle welche eine reine Werte Liste zurückgibt kommt der Fehler dass die Methode zu eine unerwarteten Zeitpunkt aufgerufen wurde Lösung Beim Auswerten von Json Rückgaben werden die Rückgabewerte mit integrierten Da
09.08.2018 (π12272 )
CodeDocu_com
π5303841
π£0
StatusCode: 405, ReasonPhrase: "Method Not Allowed"
Problem when accessing an Api Delete interface from WPF on Asp Net Core MVC the response StatusCode 405 Method not allowed is returned Call from the client side wpf string sURL Api Delete app settings Api Server api projects sID on Server HttpRespons
09.08.2018 (π12891 )
CodeDodu.de
π5294065
π£0
StatusCode: 405, ReasonPhrase: "Method Not Allowed"
Problem beim Zugriff auf eine Api Delete Schnittstelle von WPF auf Asp Net Core MVC wird die antwort StatusCode 405 Method not allowed zurückgegeben Aufruf aus der Client Seite wpf string sURL Api Delete app settings Api Server api projects sID on Serve
09.08.2018 (π11912 )
CodeDodu.de
π5294065
π£0
Asp Net Core: Login wird nicht erkannt wegen JWT Authentity
Problem der User wird beim Aufruf einer Webseite nicht erkannt obwohl das Login erfolgreich war Betrifft Asp Net Core MVC Anwendung mit WebApi JWT JavaWebToken Ursache Wenn man in einer Asp Net Core 2 MVC Anwendung einen REST Web api Controller einbaut
27.07.2018 (π19529 )
CodeDodu.de
π5294065
π£0
Asp Net Core Login: Email wird nicht erkannt
Problem beim Login über ein Asp Net Login Formular wird die Email nicht erkannt Betrifft Asp Net Core 2 MVC Identiy Ursache In der Standard Software Vorgabe von Asp Net Core MVC Anwendungen wird beim Einbinden der Microsoft Identity der AccountControler
27.07.2018 (π10298 )
CodeDodu.de
π5294065
π£0
Asp Core: You need to confirm your email.
Fehlermeldung You need to confirm your email Logik Problem Wenn man unter der Standard Vorgabe des Asp Net Core MVC Identiy Controllers sich in einer Webseite anmeldet und dann aber die Account Anmeldung verpasst dann kommt man in das Problem dass man im
27.07.2018 (π11636 )
CodeDodu.de
π5294065
π£0
Asp.Net Core: Eigenen Email Provider einbinden
Asp Net Core Eigenen Email Provider einbinden Unter Asp net core MVC muss man einen eigenen Email Service einstellen welcher die Emails versendet Hierzu benötigt man nur einen Email Account und die Provider Daten und dann kann man den Email Service einf
26.07.2018 (π21344 )
CodeDocu_com
π5303841
π£0
How to Start an UWP App from .exe File
UWP Universal Windows 10 App To make it easier to start you can use the following link to add a Visual Studio project template as an extension You just have to do that https marketplace visualstudio com items itemName AndrewWhitechapelMSFT CommandLine
20.07.2018 (π24456 )
CodeDodu.de
π5294065
π£0
UWP Apps als .exe im Fileexplorer oder cmd Shell Fenster oder Aufgabenplaner starten
Zum Einfacheren Beginn kann man unter dem folgenden Link eine Visual Studio Projekt Vorlage als Erweiterung einbauen Hierzu muss man nur das https marketplace visualstudio com items itemName AndrewWhitechapelMSFT CommandLine ActivatedWindowsApp overview
20.07.2018 (π10632 )
CodeDocu_com
π5303841
π£0
Solved: Cannot implicitly convert type System.Linq.IQueryable To IEnumerable
Error message Cannot implicitly convert type System Linq IQueryable long to System Collections Generic IEnumerable string Error code Severity Code Description Error CS0266 Cannot implicitly convert type System Linq IQueryable long to System Collections
14.07.2018 (π18098 )
CodeDodu.de
π5294065
π£0
Cannot implicitly convert type System.Linq.IQueryable long to System.Collections.Generic.IEnumerable string
Fehlermeldung Cannot implicitly convert type System Linq IQueryable long to System Collections Generic IEnumerable string Fehlercode Severity Code Description Error CS0266 Cannot implicitly convert type System Linq IQueryable long to System Collectio
14.07.2018 (π13906 )
CodeDodu.de
π5294065
π£0
Web Api Client-Server 20180704: Part 7) Web API Controller
Platform Asp Net Core 2 MVC WebApi Webserver Sprache C ProjectsController cs Web API Controller Der WebApi Controller wird gesichert mit Java Web Tokens JwtToken JwtBearer Beim Aufbau einer Verbindung zur Web API mit mit Authorize AuthenticationSchemes
04.07.2018 (π19400 )
CodeDodu.de
π5294065
π£0
Web Api Client-Server 20180704: Part 6) Webserver Token-Controller
Platform Asp Net Core 2 WebApi Webserver Sprache C api TokenController cs Api Token Controller Der Token Controller vergibt zu Beginn einer Api Client Verbindung einen User Token Der Aufbau beginnt mit einer User Passwort Übertragung und prüft die Ange
04.07.2018 (π11233 )
CodeDodu.de
π5294065
π£0
Web Api Client-Server 20180704: Part1) MainPage.xaml.cs
UWP webRobot 20180704 Part1 MainPage xaml cs Platform UWP Univesal Windows 10 Platform App Sprache C Zeigt 1 Lesen von Webseiten mit HttpClient 2 SQlite Datenbank Interaktion in UWP 3 Api Zugriff Lesen und Schreiben zu Web Api Haupt Programm MainPage x
04.07.2018 (π25433 )
CodeDocu_com
π5303841
π£0
Send data from Windows 10 to Web API.
This code example shows how to attach data from a local Windows 10 client to an Asp Net Core Web Api web server A local Windows 10 UWP application sends data as a json format to the web api interface of the web server There the data is added to the SQL d
03.07.2018 (π25401 )
CodeDodu.de
π5294065
π£0
Daten von Windows 10 an Web-API senden.
Daten von Windows 10 an Web API senden Dieses Code Beispiel zeigt wie man Daten von einem lokalen Windows 10 Client an einen Webserver Asp Net Core Web Api anfügt Dabei sendet eine lokale Windows 10 UWP Anwendung Daten als Json Format an die Web Api Sch
03.07.2018 (π26296 )
CodeDocu_com
π5303841
π£0
UWP WebRequest: Problem reading a webpage
Under Windows you can access a web page in two ways There is the older WebRequest and the newer HttpClient WPF often uses the WebRequest because this access also allows ftp pages Unfortunately when switching from WPF to UWP the WebRequest hangs very of
02.07.2018 (π10852 )
CodeDodu.de
π5294065
π£0
UWP WebRequest: Problem beim lesen einer Webseite bei Weiterleitungen
Unter Windows kann man mit zwei Weisen auf eine Webseite zugreifen Es gibt den älteren WebRequest und das neuere HttpClient Unter WPF verwendet man oft das WebRequest weil dieser Zugriff auch ftp Seiten erlaubt Beim Wechsel von WPF auf UWP hängt sich der
02.07.2018 (π10056 )
CodeDocu_com
π5303841
π£0
How to Get Claim Values from JWT Token
Query JWT Token Claim How can one query the user of an Jwt token in the web server The Java WebToken contains so called claims This claim information can be requested during the exchange The user of a claim can be determined by a request in Asp Controll
28.06.2018 (π11519 )
CodeDodu.de
π5294065
π£0
JWT Token Claim Werte abfragen
JWT Token Claim abfragen Wie kann man im Webserver eine den User eines Jwt Tokens abfragen Der Java WebToken enthält sogenannte Claims Diese Claim Informationen können beim Austausch abgefragt werden Der User eines Claims kann bei einer Anfrage in Asp Co
28.06.2018 (π6727 )
CodeDocu_com
π5303841
π£0
Example Code: Create Asp.Net Core Web API and exchange data with UWP Client App using jwtToken
Description This code example shows how to build a Web API Restful Service into a web page secure access and transfer with jwtToken Java Web Tokens and read and edit the data with a UWP client terms UWP Universal Windows Platform app JWT Java Web Token
28.06.2018 (π35647 )
CodeDodu.de
π5294065
π£0
Code Sample: Asp Core Web Api und UWP Daten-Client
Code Beispiel Asp Net Core Web API erstellen und mit UWP Client App Daten austauschen unter Verwendung von jwtToken Beschreibung Dieses Code Beispiel zeigt wie man in eine Webseite eine Web API Restful Service einbaut mit jwtToken Java Web Tokens den Zug
28.06.2018 (π32662 )
CodeDocu_com
π5303841
π£0
UWP example: App with OAuth login
Shows how to connect to a web application with an OAuth interface The example shows the connection of an app Facebook Twitter Flickr and Google Services To configure Google OAuth connections Auth0 with Google on the API Console Log in to API Console ht
26.06.2018 (π7495 )
CodeDodu.de
π5294065
π£0
UWP Beispiel: App mit OAuth Anmelden
Zeigt wie man sich in einen Webanwendung mit einer OAuth Schnittstelle verbindet Das Beispiel zeigt die Verbindung einer App zu Facebook Twitter Flickr und Google Services To configure Google OAuth connections Google Apps and Google you will need to reg
26.06.2018 (π6598 )