All Questions
6 questions
2
votes
4
answers
7k
views
Web API - How to prevent the POST-ing of entities with custom Id values
Let's say I have the following model:
public class Product
{
public string Id { get; set; }
public string Name { get; set; }
public string Category { get; set; }
public ...
2
votes
2
answers
4k
views
ASP.NET Web API and MVC Architecture for Web Application
We have a single solution Visual Studio web application with multiple projects.
One of the projects (Services project) has APIs for our App clients (Android/iOS). There's separate project for MVC ...
1
vote
2
answers
2k
views
Should an ASP.NET Web API application use Entity Framework in the API controllers?
Im a bit confused about what is best practice when working with Entity Framework and ASP.NET Web API.
I am working on a project that contains a iOS/Android app and an API the app will use to ...
2
votes
2
answers
5k
views
Asp.net mvc web api model validation best practice
I have an annoying code smell in my asp.net core api that I am passing around, and I can't come up with a way to fix.
In an MVC controller action, usually there is a very straight forward logic, at ...
2
votes
2
answers
6k
views
A CLR SQL Server Stored Procedure calling an ASP.NET Web API
We are developing a big system with SQL Server database, ASP.NET Web API 2.2 services and another external services.
We need to load more data on a table while we process the current data on it. To ...
0
votes
1
answer
713
views
What's the most straightforward way to integrate my company's custom authentication with ASP.NET SSO?
My company has a series of WinForms applications that pretty crudely provides authentication by checking usernames and passwords directly against the database (with a little hashing).
I have a fair ...