{"componentChunkName":"component---src-templates-blog-js","path":"/blog/2014/04/04/reactnet.html","result":{"data":{"markdownRemark":{"html":"<div class=\"scary\">\n<blockquote>\n<p>This blog site has been archived. Go to <a href=\"https://es.react.dev/blog\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">react.dev/blog</a> to see the recent posts.</p>\n</blockquote>\n</div>\n<p>Today we’re happy to announce the initial release of\n<a href=\"http://reactjs.net/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">ReactJS.NET</a>, which makes it easier to use React and JSX\nin .NET applications, focusing specifically on ASP.NET MVC web applications.\nIt has several purposes:</p>\n<ul>\n<li>\n<p>On-the-fly JSX to JavaScript compilation. Simply reference JSX files and they\nwill be compiled and cached server-side.</p>\n<div class=\"gatsby-highlight\" data-language=\"html\"><pre class=\"gatsby-code-html\"><code class=\"gatsby-code-html\">&lt;script src=\"@Url.Content(\"/Scripts/HelloWorld.jsx\")\"><span class=\"token script\"></span><span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;/</span>script</span><span class=\"token punctuation\">></span></span></code></pre></div>\n</li>\n<li>JSX to JavaScript compilation via popular minification/combination libraries\n(Cassette and ASP.NET Bundling and Minification). This is suggested for\nproduction websites.</li>\n<li>Server-side component rendering to make your initial render super fast.</li>\n</ul>\n<p>Even though we are focusing on ASP.NET MVC, ReactJS.NET can also be used in\nWeb Forms applications as well as non-web applications (for example, in build\nscripts). ReactJS.NET currently only works on Microsoft .NET but we are working\non support for Linux and Mac OS X via Mono as well.</p>\n<h2 id=\"installation\"><a href=\"#installation\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Installation</h2>\n<p>ReactJS.NET is packaged in NuGet. Simply run <code class=\"gatsby-code-text\">Install-Package React.Mvc4</code> in the\npackage manager console or search NuGet for “React” to install it.\n<a href=\"http://reactjs.net/docs\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">See the documentation</a> for more information. The\nGitHub project contains\n<a href=\"https://github.com/reactjs/React.NET/tree/master/src/React.Sample.Mvc4\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">a sample website</a>\ndemonstrating all of the features.</p>\n<p>Let us know what you think, and feel free to send through any feedback and\nreport bugs <a href=\"https://github.com/reactjs/React.NET\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">on GitHub</a>.</p>","excerpt":"This blog site has been archived. Go to react.dev/blog to see the recent posts. Today we’re happy to announce the initial release of\nReactJS.NET, which makes it easier to use React and JSX\nin .NET applications, focusing specifically on ASP.NET MVC web applications.\nIt has several purposes: On-the-fly JSX to JavaScript compilation. Simply reference JSX files and they\nwill be compiled and cached server-side. JSX to JavaScript compilation via popular minification/combination libraries\n(Cassette and…","frontmatter":{"title":"Use React and JSX in ASP.NET MVC","next":null,"prev":null,"author":[{"frontmatter":{"name":"Daniel Lo Nigro","url":"https://d.sb/"}}]},"fields":{"date":"April 04, 2014","path":"content/blog/2014-04-04-reactnet.md","slug":"/blog/2014/04/04/reactnet.html"}},"allMarkdownRemark":{"edges":[{"node":{"frontmatter":{"title":"React Labs: What We've Been Working On – June 2022"},"fields":{"slug":"/blog/2022/06/15/react-labs-what-we-have-been-working-on-june-2022.html"}}},{"node":{"frontmatter":{"title":"React v18.0"},"fields":{"slug":"/blog/2022/03/29/react-v18.html"}}},{"node":{"frontmatter":{"title":"How to Upgrade to React 18"},"fields":{"slug":"/blog/2022/03/08/react-18-upgrade-guide.html"}}},{"node":{"frontmatter":{"title":"React Conf 2021 Recap"},"fields":{"slug":"/blog/2021/12/17/react-conf-2021-recap.html"}}},{"node":{"frontmatter":{"title":"El plan para React 18"},"fields":{"slug":"/blog/2021/06/08/the-plan-for-react-18.html"}}},{"node":{"frontmatter":{"title":"Introduciendo componentes de React en servidor con paquetes de tamaño cero"},"fields":{"slug":"/blog/2020/12/21/data-fetching-with-react-server-components.html"}}},{"node":{"frontmatter":{"title":"React v17.0"},"fields":{"slug":"/blog/2020/10/20/react-v17.html"}}},{"node":{"frontmatter":{"title":"Introducción a la nueva transformación de JSX"},"fields":{"slug":"/blog/2020/09/22/introducing-the-new-jsx-transform.html"}}},{"node":{"frontmatter":{"title":"React v17.0 Release Candidate: No New Features"},"fields":{"slug":"/blog/2020/08/10/react-v17-rc.html"}}},{"node":{"frontmatter":{"title":"React v16.13.0"},"fields":{"slug":"/blog/2020/02/26/react-v16.13.0.html"}}}]}},"pageContext":{"slug":"/blog/2014/04/04/reactnet.html"}},"staticQueryHashes":[]}