restful api entity framework with repository pattern
hello there i wanna study about to create RESTful api services using .net core and entity framework core by Repository design pattern OR any other design pattern, could you please share some links with step by step guide.
Reset (Back to full list) in ASP.Net MVC
Hy Friends, I'm newbie in ASP.Net MVC I need some help with search and reset (fill back list) in ASP.Net MVC This is my index. cshtml, when I click search, it works normally as what I want but when I push button Reset, it should will…
Why can't the entity be created?
# Datenbank * tools -> options -> uncheck prevent saving changes that require ... * table id -> properties -> identity spec -> yes * Realtionships # Backend ## ASP Framework Web API * ASP .NET Web Application (.NET…
ASP.NET Core 6 Server authorization - Having trouble with authorization
Hi, I have an ASP.NET Core 6 application that serves as both a server and a client (aggregates data from various machines and serves data to a client). It needs Windows authentication for certain functionality so I have set that up. It also uses…
Net Core 2.2 Web App - Cookie of browser too large on specific server
I have a web application running on .Net Core 2.2 and so far it has been deployed on various servers on IIS screenshot of web.config (https://i.stack.imgur.com/9nVUr.png) The cookies created on all the servers so far are around 2.7kb screenshot of…
Verify Passwords with BCrypt.net
Hi all, I'm having difficulties using the BCrypt-Offical NuGet package. On my registration form the code I have to hash passwords is: string Emailadres = txtEmail.Text; string hashedPassword =…
Customizing the Tag Helper element.
I am following below Microsoft link to change the Tag Helper element font. https://learn.microsoft.com/en-us/aspnet/core/mvc/views/tag-helpers/intro?view=aspnetcore-6.0 I am using ImageTagHelper: <img src="~/images/image1.jpg"…
NullReferenceException from Exchange.WebServices.Managed.Net5
Triggering mail from ASP.net Core MVC application, using Exchange.WebServices.Managed.Net5(https://www.nuget.org/packages/Exchange.WebServices.Managed.Net5/2.2.0).Intermittently getting the System.NullReferenceException: Object reference not set to an…
Building Offline capabilites inside .NET web application
We are building a project management web application using those main technologies:- ASP.NET core MVC SQL Server + Entity framework HTML,CSS & Bootstrap now the application mainly allows to create project >> create tasks under the…
Post JSON Object RestSharp v107
I have to post this json data (data is generated in javascript and must be post to the enpoint from backend): JSON.stringify(dataRest) is:…
SingalR Angular Error 404
I am trying to install SignalR on Angular. I have achived this before with ReactJs Looking at several Forum topics and articles I cant really get it to work: Error Code that i get: Utils.js:149 [2022-04-24T03:47:55.451Z] Error: Failed to start…
Process.start() in Asp.net core app : Failed to create an ipc port, Access denied :(
Hello everybody, I wrote a little web api using ASP.net core, running on IIS. In this API i have to launch an EXE, wait for execution, then push an answer to the client who invoke my API. After a few use of this API, my process.start() fail and i…
JSonConverter Write Method writing to Utf8JsonWriter object terminates application
I am creating a pass through application, which receives a json object, does some processing and passes the data to a remote system, my issue is: devenv.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled…
WebApi - ApiKey plus JWT
I completed a couple of projects that are implemented in C# .Net 6.0 MVC, and now I'm trying to do my first web API project. This WebApi is implemented in .Net 6.0, with JWT authorization. Everything is working smoothly so far, the token is generated…
Redsys InSite mode with independent elements
I am doing a development with ASP.Net Core (Razor pages) and I am in the last step of the integration of the redsys gateway with the InSite mode with integration of independent elements; working in the test environment. In the InSite integration guide,…
Making APIs available publicly
I have a .NET6 Blazor wasm application https://invoicis.com. The app was built using standard Blazor wasm template with individual accounts authentication and hosted options turned on. The Client application uses http calls to get and send data to the…
How do I Remove Specific Character from a Field in a C# List?
I got a C# List that it's the result of a LINQ query. I had no issues removing zero records like this. myList.RemoveAll(x => x.Amount ==0); How do I remove character "TH" from a column in myList? Data example: "48…
Knockout JS and Razor - How to assign data to Razor variables?
I am working with a multi layer web application that uses various web technologies. It interacts with a WebAPI to get the data via Knockout JS. I will try to narrow the scope of my question to this: I have a span tag <span…
Need help in LINQ: Contains clause
Hi. This is my table I've successfully getting all data using below var _SFAProject = _context2.SFAProject.ToList(); Now I want to filter using Contains. Let say, I've have ClientsId variable parameter as following, ('8', '6', '1',…
How to redirect to /Home from server side after logged in?
How to redirect to /Home from server side after logged in? startup.cs app.UseMvc(routes => { routes.MapRoute( name: "default", template:…