Can someone format the code below so that I can set srcript variables with c# code using razor?  The below does not work, i've got it that way to make is easy for someone to help.  @{int proID = 123; int nonProID = 456;}  <script type="t...
I am trying to understand the difference between regular expressions that are used in JavaScript and .NET. I have read couple of articles on it,  Differences between C# and JavaScript Regular Expressions? https://www.codeproject.com/Questions/626385/...
Following the guide I arrived at the point where I need to create an instance of Vue (which seems to work). However, I also need to provide an instance of Vuew Router into the constructor of Vue, as shown below.  const router = new VueRouter({ routes...
Before the final release of signalR core. I was able to send the transport when defining a new HubConnection (JavaScript)  var cnn = new signalR.HubConnection("/myhub",                                           {transport : signalrR.Transport...
I am using signalR core with angular6 and I am receiving messages but in console I alwazs get this error.  What does it mean?  System.IO.InvalidDataException: Invocation provides 1 argument(s) but target expects 0.    at Microsoft.AspNetCore.SignalR....
I am building an ASP.NET Core web application and would like to style certain text in my result table a different color than the rest of the table. For example:    I am trying to do this in JavaScript but seem to be running into issues because the da...
I am using .net core 2.2 Razor Pages to build my current project. I want to be able to have 2 multi-select lists in which I pass values from one list to the other and vice versa. I am able to load the left side list with the values required using bin...
I am working with .NET Core 2.0 MVC. If I wanted to have different js files for different pages, how would I inject this js reference from the Login page, for example, into the bottom of the Shared/_Layout page under the other scripts when the Login...
Net Core MVC and trying to get my application to read a text file however when I click my get button it doesn't activate the corresponding IActionResult, I'm probably doing something obviously wrong so any help would be much appreciated. Here...
I might be overlooking something but my JSON payload isn't being binded at all for my controller. I have tried making a class where it has a List<Models.UpdateChatRequestModel> Chats but that hasn't worked for me either. I have tried us...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.