Home > Net >  Is the separation of front and rear end technology path (asp.net MVC write restful API backstage pur
Is the separation of front and rear end technology path (asp.net MVC write restful API backstage pur

Time:09-27

Excuse me each great spirit in the BBS, front and back end separation technology implementation path is?

Developers is the background and front-end developer program interface agreement, then the background written in asp.net MVC restful API, front-end VS Code using the front-end development tool to use Vue?

CodePudding user response:

Since the separation of before and after the end,
You don't have tube front with what tools, whether using the vue (of course, it is best to vue, the flow of the react)
In the back-end webapi, are no problem,

CodePudding user response:

reference
since separation before and after the end,
You don't have tube front with what tools, whether using the vue (of course, it is best to vue, the flow of the react)

Thank you very much! On pure front and vue don't understand, if in pure front-end, excuse me how to use the session, how to solve the problem of cross-domain, whether to use node. Js?

CodePudding user response:

refer to the second floor sunny2u07 response:
reference
since separation before and after the end,
You don't have tube front with what tools, whether using the vue (of course, it is best to vue, the flow of the react)

Thank you very much! On pure front and vue don't understand, if in pure front-end, excuse me how to use the session, how to solve the problem of cross-domain, whether to use node. Js?

Cross domain general cors,
Session this kind of, you how to play before, now is how to play,
Nature also just front-end cookie records the sessionid,
He login successfully on the server, you can save it,
Of course, there are many alternatives, such as JWT, token,
It is side key is different,

CodePudding user response:

reference
cross-domain general cors,
Session this kind of, you how to play before, now is how to play,
Nature also just front-end cookie records the sessionid,
He login successfully on the server, you can save it,
Of course, there are many alternatives, such as JWT, token,
Just focus is different,

Thank you moderator! After the success of the login the account sessionid, access information, and so on is pure front end in the cookie?

CodePudding user response:



Your ASP.NET MVC is a front end separation technology

Controller is responsible for the background operation inside, the View can be written in HTML and JS, no embedded c #
  • Related