[英]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.我想在既不是 MVC 也不是核心的 Asp.Net web 应用程序中使用 React 页面。
I not done this, but from what this states?我没有这样做,但从这说明什么?
http://xabikos.com/2015/03/18/Using-Reactjs-net-in-Web-Forms/ 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.
我的意思是,它实际上主要只是一个 javascript 框架,因此此类框架可以在任何支持 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.
但是,无论如何,我从来都不清楚如何运行这样的代码服务器端 js 代码。
So, in general, you can adopt and inject react into your web forms project.因此,通常情况下,您可以采用并注入 react 到您的 web forms 项目中。
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.我不太确定我是否愿意这样做,而且我认为只是一个新的 webforms 说使用引导类会产生很好的结果,并且如果你从头开始,引入 react 可能只是一个好主意。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.