How to get a react element on a ASP.NET MVC Core (2.N)?How do you create a dropdownlist from an enum in ASP.NET MVC?How do I get a consistent byte representation of strings in C# without manually specifying an encoding?File Upload ASP.NET MVC 3.0Show or hide element in ReactUnexpected outcome of node.js vs ASP.NET Core performance testReact Component not foundWhy is componentDidMount method not being called in reactjs.net when I write on JSXASP.NET Core SPA Vue Template vs Vue CLIHow to set routes in Reactjs on top of asp.net coreShould I use the ASP.NET Core 2.2 MVC React.js and Redux template?

When is one 'Ready' to make Original Contributions to Mathematics?

Why does this function pointer assignment work when assigned directly but not with the conditional operator?

What is the highest level of accuracy in motion control a Victorian society could achieve?

Soda water first stored in refrigerator and then at room temperature

Bringing coumarin-containing liquor into the USA

What's the big deal about the Nazgûl losing their horses?

Computer name naming convention for security

Shipped package arrived - didn't order, possible scam?

How to get the speed of my spaceship?

comparing two addresses

Why do people prefer metropolitan areas, considering monsters and villains?

Any way to meet code with 40.7% or 40.44% conduit fill?

Can the Four Elements monk's Shape the Flowing River elemental discipline create stairs by expending a single ki point?

Possibility to correct pitch from digital versions of records with the hole not centered

Gory anime with pink haired girl escaping an asylum

Why do Klingons use cloaking devices?

Implicit conversion between decimals with different precisions

What was the significance of Spider-Man: Far From Home being an MCU Phase 3 film instead of a Phase 4 film?

Array or vector? Two dimensional array or matrix?

Is it acceptable that I plot a time-series figure with years increasing from right to left?

Wouldn't putting an electronic key inside a small Faraday cage render it completely useless?

What is this airplane with small wings at different angles seen at Paphos Airport?

How would a sea turtle end up on its back?

What is the fundamental difference between catching whales and hunting other animals?



How to get a react element on a ASP.NET MVC Core (2.N)?


How do you create a dropdownlist from an enum in ASP.NET MVC?How do I get a consistent byte representation of strings in C# without manually specifying an encoding?File Upload ASP.NET MVC 3.0Show or hide element in ReactUnexpected outcome of node.js vs ASP.NET Core performance testReact Component not foundWhy is componentDidMount method not being called in reactjs.net when I write on JSXASP.NET Core SPA Vue Template vs Vue CLIHow to set routes in Reactjs on top of asp.net coreShould I use the ASP.NET Core 2.2 MVC React.js and Redux template?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I'm a creating a web app using ASP.NET Core MVC. The version I'm using is 2.2 (not really married to it though). I need to put a react component in some pages of my web app.



I've gone through several tutorials and have never managed to get my react element to be shown on my page.
https://reactjs.net/tutorials/aspnetcore.html
is the page I found most informing about the matter but even it hadn't covered the issue well enough.
To be specific: my problem is that when in the tutorial suggests that I should be seeing the "Hello World! I am a comment box", I'm seeing a blank page.
No errors. I have checked typos and other similar probable mistakes.



I need my pages to render one react component.



P.S: I'm not sure even if what I want is currently covered in the 2.2 version of .NET Core. so if changing the the version would be the only way for now, I would appreciate confirmation. also I might be able to use vue or angular for the same component. would using them instead of react help?










share|improve this question




























    0















    I'm a creating a web app using ASP.NET Core MVC. The version I'm using is 2.2 (not really married to it though). I need to put a react component in some pages of my web app.



    I've gone through several tutorials and have never managed to get my react element to be shown on my page.
    https://reactjs.net/tutorials/aspnetcore.html
    is the page I found most informing about the matter but even it hadn't covered the issue well enough.
    To be specific: my problem is that when in the tutorial suggests that I should be seeing the "Hello World! I am a comment box", I'm seeing a blank page.
    No errors. I have checked typos and other similar probable mistakes.



    I need my pages to render one react component.



    P.S: I'm not sure even if what I want is currently covered in the 2.2 version of .NET Core. so if changing the the version would be the only way for now, I would appreciate confirmation. also I might be able to use vue or angular for the same component. would using them instead of react help?










    share|improve this question
























      0












      0








      0








      I'm a creating a web app using ASP.NET Core MVC. The version I'm using is 2.2 (not really married to it though). I need to put a react component in some pages of my web app.



      I've gone through several tutorials and have never managed to get my react element to be shown on my page.
      https://reactjs.net/tutorials/aspnetcore.html
      is the page I found most informing about the matter but even it hadn't covered the issue well enough.
      To be specific: my problem is that when in the tutorial suggests that I should be seeing the "Hello World! I am a comment box", I'm seeing a blank page.
      No errors. I have checked typos and other similar probable mistakes.



      I need my pages to render one react component.



      P.S: I'm not sure even if what I want is currently covered in the 2.2 version of .NET Core. so if changing the the version would be the only way for now, I would appreciate confirmation. also I might be able to use vue or angular for the same component. would using them instead of react help?










      share|improve this question














      I'm a creating a web app using ASP.NET Core MVC. The version I'm using is 2.2 (not really married to it though). I need to put a react component in some pages of my web app.



      I've gone through several tutorials and have never managed to get my react element to be shown on my page.
      https://reactjs.net/tutorials/aspnetcore.html
      is the page I found most informing about the matter but even it hadn't covered the issue well enough.
      To be specific: my problem is that when in the tutorial suggests that I should be seeing the "Hello World! I am a comment box", I'm seeing a blank page.
      No errors. I have checked typos and other similar probable mistakes.



      I need my pages to render one react component.



      P.S: I'm not sure even if what I want is currently covered in the 2.2 version of .NET Core. so if changing the the version would be the only way for now, I would appreciate confirmation. also I might be able to use vue or angular for the same component. would using them instead of react help?







      c# reactjs asp.net-core






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 25 at 20:53









      H.R FallahH.R Fallah

      43 bronze badges




      43 bronze badges






















          0






          active

          oldest

          votes










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55346249%2fhow-to-get-a-react-element-on-a-asp-net-mvc-core-2-n%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes




          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55346249%2fhow-to-get-a-react-element-on-a-asp-net-mvc-core-2-n%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript