简体   繁体   中英

Can we create a React JS page inside an asp.net web application? (Not Core and MVC) A Basic Asp.net Web Application

I want to use a React page in an Asp.Net web application which is not an MVC nor Core.

I not done this, but from what this states?

http://xabikos.com/2015/03/18/Using-Reactjs-net-in-Web-Forms/

It certainly looks like you can. I mean, it really mostly just a javascript framework, and thus such frameworks can be adopted quite much with any system that supports JavaScript. I have not delved into what server side code and how react code can be written to run server side. However, how to run such code server side js code was never clear to me anyway.

So, in general, you can adopt and inject react into your web forms project.

I not really sure I would want to do this, and I would think just a new fresh up of the webforms say using bootstrap classes would produce nice results, and introduction of react would probably only be a great idea if you starting from scratch anyway.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM