is it possible to use MVC6 without using EF?. Wanted to confirm as we have a huge application in .NET 4.0 WebForms which uses a custom BL layer and DB Layer to talk to multiple databases ( SQL Server & PostgreSQL) seamlessly.
Thanks in advance.
yes it's possible. EF is just help you to call database
Related
I have a .net core project where i am using entity framework db first connecting to sql server which is working fine, now i have similar set of tables in oracle can i just run the project by changing connection string and provider to oracle? Or any major rework is needed to make this work?
You need to regenerate the DbContext mappings using reverse engineering
We are using .Net Core template of ASPNET BoilerPlate framework. It works fine with SQL Server, but now we need to use Oracle 11g instead. Is it possible? If yes, how can we implement it for our project? Thanks and sorry for my English.
How to use ADO.NET with the multi tenant application. I would like to to use ado.net with SQL server. please advise if there are any samples.
Just create a custom repository and use SQL inside it.
Check this article for more: http://www.aspnetboilerplate.com/Pages/Documents/Articles/Using-Stored-Procedures,-User-Defined-Functions-and-Views/index.html
It also uses SP and views.
Your choices are:
EF Core
EF
Dapper
NHibernate
If performance is top priority for you Dapper may be of interest.
Soon i will be starting to work on a small to medium web project. I will be the only developer to work on this project. So i am looking for pointers towards some design decisions/tools/technology. I would like to use asp.net MVC for this web project (the reason being this project has got good chance to grow a lot, therefore thinking more maintainable).
We use oracle as our backend and configured enterprise application data access block to use with odp.net and seems to have worked well. But all of our previous projects were typically asp.net web forms/windows forms.
So with mvc, is it better to use ORM like nhibernate than DAAB?
I have gone through this article, but still confused.. Thanks
I'm starting work on a Custom Membership provider and I was wondering which option would be the best to develop this application in Linq or Entity Framework?
Also I have a need to link two table from different database via a common ID and I was wondering does anyone know of any good tutorials about creating a MVC 3 Web Application that uses either Linq or Entity Framework to do this.
From my research Entity Framework seems to be the best method suited to my situation but I would appreciate some advice / confirmation that this correct and a little direction to a tutorial is possible?
By Linq, you mean Linq to SQL vs. Entity framework? If so, then I would recommend using Entity Framework. Microsoft's development on Linq to SQL has virtually stopped so EF has a better future.
NerdDinner is one of the more popular tutorial applications that uses ASP MVC 2 and entity framework. ASP MVC 2 is similar enough to get started with the basic concepts. Here is a good walk through tutorial:
http://nerddinnerbook.s3.amazonaws.com/Intro.htm
The code itself is freely available:
http://nerddinner.codeplex.com/