Home > Net >  Asp.net and ef.net core, the core what?
Asp.net and ef.net core, the core what?

Time:05-14

Know asp.net core are also a number of years, but I haven't had the time to touch, until recently seen. Net5 came out and said that this is the next generation of asp.net, may be the same as in the asp asp.net that year, think don't contact is backward, and then think about it, or put a smaller company internal web applications to the core asp.net write what (using. Net5)

With a few days, write their own feelings, purely primary experience of experience for a few days,
First of all, my personal feeling, a platform technology updates, or is to improve the operation efficiency, either by project team collaborative and maintainability, but my experience down these days, no such feeling, online said the core framework with high efficiency than the 2 or 3 times, maybe, but these small projects, we also see the don't come,

Then, the main meaning is the core? Is a cross-platform,
But I wrote more than a decade. Net, also no need cross-platform requirements, most of the projects don't need cross-platform, use. Net project, you listen to our customers with a Windows server, mount used database, suddenly there is no need to say to want to switch to another server system?

Look at those CSHTML, web app project, the core of MVC project, are not really separated before and after the end,
Yes, the page is no longer the & lt; % % & gt; Changed the various @, but, it is not in the kind of writing? A CSHTML inside of the @ symbol, the feeling came back to the era of asp,

Since a few years ago to carry out app development business actually, from your app development of inspiration:
Write the app (including android, apple, WeChat small programs, etc., in the same way) who is responsible for writing the app interface and logic,
Write server-side people responsible for the back-end code,
Both json format of data interaction through agreement,
So, web page project can also write, writing HTML is responsible for writing HTML, then through ajax with json data to the server, his back page with js,
Write on the server side person can give the app with a set of code, also can use to a web page,
Feel very good, each division of labor is clear, especially write the back-end code, don't need to know HTML 5 and CSS 3, he only responsible for providing and receiving data, written to the database,,,

Moreover, the core ef.net?
In addition to in a writing, or what?
Heard that he is the meaning of if in database service, need not change the code, it will automatically generate the corresponding SQL statements (such as change MSSQL mysql), but I'm sorry, I feel a project with the possibility of the need to change with the database is really very low, at least I am not met for more than ten years, probably for those who need to change all the database system of teams, this is a big advantage,
Then say efficiency, it is said that based on ado.net, and ef.net that efficiency is certainly as ado.net, the direct use ado.net it is not sweet? Sometimes a more complex queries, use the SQL statement for a few minutes debugging through, use ef, make half a day do not know how to write ha

CodePudding user response:

I also use for more than a year, as well as the building Lord feel all finished
What you said is very right, Microsoft, has always been thunder, little rain.
Online said the core framework with high efficiency than the first two or three times, this score
In my opinion the.net core than framework is the only advantage is all the links can be opened, and even write their own, is to break the buckets of
Even write my own, how many people can write efficient than Microsoft developers, finally do not have to Microsoft's own
As for cross-platform, really is not very important, I use Windows can solve everything, at most a few more server

Recommend ef. Core many friends, but I didn't see where is good, is don't write any Sql statements bai,
I wrote that you can go bad? What can change the database, this misled many people, which company every day to play in the database, even if a large project,
In a different database, the points of different project is finished.
Thought ef. The core and database interactions and agreement of ado.net, perhaps can hurry up, the final agreement is to use the ado.net can be
Now use the.net core is because the market need, the. Net core job good search points, wages than. Net fromwork slightly high,
The rest of the really nothing

CodePudding user response:

What is not? So don't need to entanglements

You are entangled with, it is mainly a garden to play some bloggers are not technology, they play, play is flow, play is a fan of play is a little meat, play is IQ tax, (the circle recently in the last few outside for humanitarian events is that several big "star bloggers" with his fans in a "hostile bloggers group" to attack each other, trample)

And also don't take a reason they pure play technology, we can neither tell when someone that go directly to your site on, also won't say in the group of what things, whatever you make, know is know, don't know have to hand in IQ tax we also stop (always can't block a person.)

Your question, we first need to say:
.net 1. core is not the core asp.net, a garden some bloggers will deliberately confused this, because they want to tax IQ
Asp.net 2. core also not Razor, some bloggers will also deliberately confused this a garden, because they want to tax IQ
3. EF is a kind of data access provider, with the trend of the now is not at issue also is not at all what particular thing, they emphasized that the (including dDappe, what PDF. XXX, what freesql battle), also because they want to IQ tax -- -- -- -- -- -- -- we say access to data, as for? Then we visit redis, rabbitmq, visit the spark, access clickhouse, access to the secondary, it is not access to the data, you zha does not dispute, because they can't, so no, of course, there are deliberately hiding ready to accept a wave of the intelligence quotient (IQ) tax

CodePudding user response:

These are the eight kinds of aniseed Hui word writing

CodePudding user response:

As to the meaning of the netcore, as a pure technical person, I think
1 NF series difference ever, NF is grammar, language the basic framework, while providing a variety of grammar, tool library, but does not provide the basic framework of application, this also is at that time, a garden framework, pushing in the XXX XXX reason of DDD frameworks,
And netcore itself is actually the application level framework, he is covering the global context, transverse aop, log, configuration, object lifetime each application level such as general treatment, compare the Microsoft enterprise library, you will know the difference between the -- -- -- -- -- -- -- the Microsoft enterprise library with a library way exist, how to use your own choice, and netcore, these things are already there, how to do?? Your system to run the first set of code is

Xxxhostbuild appbuilder, service, add, and service. Use the

So how to use the problem has been solved, because all these things have been unified into application framework use
So you will find that, in the garden the wave push framework, XXX XXX DDD blogger, collective disappear, because they have lost there is soil

2. The deployment will let programmers gave way to operations, so we tend to not entangled with what Windows, MSSQL, our tendency is to docker, we don't care you are windiows or MSSQL

CodePudding user response:

- "noun is very much, too many confusing, not easy to distinguish the concept, I should belongs to the understanding of the core asp.net. Net part of the core platform, asp.net core webapi, razor both are based on the MVC structure, but there is a core asp.net MVC, this used to create the MVC project with a view, a view is a web project, without a view as a webapi project, I use of time is very easy to create the wrong project structure,,,,,,, if see blazor, more can feel what thing, can access server side interface, the whole to the front page, so maybe you don't have to write js code, what also do not need to view engine to generate HTML response, further but front-end code is a mess, it's not someone who's in charge of the front, the specialist is responsible for the server, of course, each page can be used as a separate component, is also good,
- "performance on their introduction is to improve a lot, but have no experience in practical work,
- "ef core can know about the several kinds of mode, when reading a book, or ado.net, fastest ef don't want to allow developers to write SQL statements, may result due to incorrect grammar writing debugging trouble, encapsulates all sorts of function method, function with good words are ok, with poor efficiency was also a pit,
Seemingly,.net 4.6 4.6.1 framework4.5.2 until next stop updating the
https://devblogs.microsoft.com/dotnet/net-framework-4-5-2-4-6-4-6-1-will-reach-end-of-support-on-april-26-2022/

CodePudding user response:

Since 15 integrates filling a heap of simple SQL statement, I found that can write SQL stored procedures less and less,
Now with more EF, many have forgotten how to write the SQL, I prefer to write their own SQL statements,

As for the webform MVC HTML + ajax + webapi is in order to complete the project, if you are ill, can meet project, even if you do and how to use ASP,

Wheel is much, the chance of brain less, degradation of serious, a lot of development server SQL, incredibly don't have to write in with a special of the stored procedure,

May also be a social division of labor is more and more clear, in 2008, I write programs to write at the front desk, backstage, database, it is the front desk CSS + JS, service end points to write logic code and write the database,

I wrote one universal, also didn't give me four money,

CodePudding user response:

.net core is much better than before, but the ef core worthy of ridicule, does not support direct call a stored procedure, but we all need a lot of time is very complex queries, write not to come out in linq (don't know is my dish or do some queries to write not to come out), and then extend ef yourself to the stored procedure, I guess with Microsoft's logic is that you can write their own SQL, why still use ef

CodePudding user response:

The.net core, basic it back upstairs.
Is the migration, which are frequently used ef, finished the entity directly call instruction generation structure, also leaves out the simple curd, including the join, of course, it also said the complex queries and reports, more or extension to call a stored procedure, although very don't like to write a stored procedure (this kind of database programming,), or sweet, after but write good,
As for the other, just as # 6, the scheme selection, this is in order to complete the project, instead of struggling with XXXX,
In my opinion, as the old saying goes, a cat, can catch mice is good cat,
  • Related