skip to Main Content

Visual Studio 22 Multiple Startup Projects – Asp.net

I`m using VS 2022 Professional 2022 (17.2.0). I wanted to create a ASP.Net Core app with Angular in VS and used the Microsoft Tutorial for it. https://learn.microsoft.com/en-us/visualstudio/javascript/tutorial-asp-net-core-with-angular?view=vs-2022 When I want to start Multiple Project as once, only Angular CLI will…

VIEW QUESTION

Angular: I keep on getting error 400: bad request "One or more validation error occured" when using httpPost – Asp.net

Service.ts addTankValues(data:any) { return this.http.post(this.TankApiUrl + "...", data).pipe( tap(()=>{ this.RefreshRequired.next(); }) ); } Subscribing to the httpPost: SaveTV(){ if(this.TVForm.valid){ console.log(this.TVForm.value); this.service.addTankValues(this.TVForm.value).subscribe(result=>{ this.TVFormresp=result; console.log(this.TVFormresp); this.alert = true; this.TVForm.reset(); }); }else{ console.log("form not valid"); } I keep on getting 400 error: bad…

VIEW QUESTION
Back To Top
Search