All Questions
Tagged with asp.net-mvc-web-api entity-framework
6 questions
1
vote
2
answers
1k
views
Connect to different database based on URL
I am developing a SAAS application where :
A single web application is hosted in IIS which will serve to multiple companies and each company will have its own database. The web application and ...
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 ...
0
votes
2
answers
4k
views
Entity framework vs pure ado .net in calling stored procedure in an enterprise project
There is an enterprise project, which all the business implemented in databases and in the stored procedures, and web API is just like a light wrapper which get the request and deliver it to proper ...
2
votes
1
answer
3k
views
What is a good technique for supporting sorting and filtering with a REST WebAPI
I'm in the process of developing an ASP.NET Core WebAPI that uses EntityFramework to access the datastore. One of the things we need to support is sorting and filtering.
I'm assuming that the HTTP ...
3
votes
1
answer
793
views
Which is more secure for the DB, Web API or MVC with repository pattern & EF?
I am 1 of 3 developers. The other 2 use Web API and angular to build web apps. I prefer ASP MVC with a repository and EF. The stated argument is that a service is more secure when accessing the ...
1
vote
1
answer
651
views
Is it feasible to change model relationship mappings and properties in Entity Framework CodeFirst at runtime?
Here's the situation. I have an enterprise application that uses EF Codefirst to map POCOs to an existing database. This has been working fine so far. In fact I would say that it's been working really ...