Select row on click react-table
I am trying to find the best table to use with my react apps, and for now, the [react-table](https://www.npmjs.com/package/react-table) offers everything I need (pagination, server-side control, filte...
- Modified
- 25 Oct at 14:10
NSubstitute: How to access actual parameters in Returns
I would like to access actual parameter in NSubstitute `Returns` method. For example: ``` var myThing = Substitute.For<IMyThing>() myThing.MyMethod(Arg.Any<int>).Returns(<actual parameter value> + 1)...
- Modified
- 30 Jun at 11:50
Why are the C# and ECMAScript ISO standards freely available, but not C/C++?
Being mostly interested in the ISO C and C++ standards, I wonder why programming language standards for ISO/IEC 23270:2006 C# and ISO/IEC 16262:2011 ECMAScript are publicly available from the [ISO web...
- Modified
- 30 Jun at 10:4
How to upload images to server in Flutter?
I would like to upload a image, I am using http.Client() for making requests, ``` static uploadImage(String id, File file) { var httpClient = createHttpClient(); Map<String, String> headers = ne...
- Modified
- 6 Dec at 05:34
Anaconda Installed but Cannot Launch Navigator
Anaconda (listed as "Python 3.6.0 (Anaconda 4.3.1 64 bit)" ) is in my programs and features list, but there is seeming . Could this be because I have the 32-bit version of Anaconda downloaded and I ha...
- Modified
- 30 Jun at 10:50
Returning JSON object as response in Spring Boot
I have a sample RestController in Spring Boot: ``` @RestController @RequestMapping("/api") class MyRestController { @GetMapping(path = "/hello") public JSONObject sayHello() { ret...
- Modified
- 14 Jun at 20:57
No Application Encryption Key Has Been Specified
I'm trying to use the Artisan command like this: ``` php artisan serve ``` It displays: > Laravel development server started: [http://127.0.0.1:8000](http://127.0.0.1:8000) However, it won't automati...
- Modified
- 29 Dec at 00:44
how to convert IEnumerable<JToken> to JArray
I'm using LINQ over a `JArray` to filter out the items based on a particular condition and want that result in a separate `JArray`. ``` JArray arrSameClass = (JArray) arrPupilEmailDetails.Where(joSam...
How to work with style Index in Open xml?
Can Anyone please explain How Style Index in OpenXml works? I have a business requirement where I need to apply background color to certain cells in an excel sheet. And Some style is already applied t...
- Modified
- 5 Mar at 09:0
Wire and inject NLog into .NET Core console app
I created a consumer/job that I will have running as a process on Linux written in C#. The process will: 1. Read a message from RabbitMQ 2. Make changes to the database 3. Log any errors All the do...
Use VS2017 to publish WebAPI , get stuck in `preparing profile`
Right click project -> publish -> select publish to folder -> publish then got stucked in “preparing profile” . (I'vs waited for 10 mins) [](https://i.stack.imgur.com/e9LAS.gif)
- Modified
- 30 Jun at 02:52
Is there a way to make a console application run using only a single file in .NET Core?
In .NET framework, you can make a single `.EXE` file that will run from the command line without having any extra config files (and if using ILMerge, you can put all `.DLL` references into the 1 `.EXE...
- Modified
- 29 Jun at 21:29
Insert or replace in sqlite or Merge Into in sql server with ServiceStack OrmLite
Is there any possibility to insert new data and update existing records by OrmLite?
- Modified
- 29 Jun at 16:49
Trying to use bash on Windows and got no installed distributions message
I am trying to use on , but I'm getting this message when tried to run bash: > Windows Subsystem for Linux has no installed distributions. Distributions can be installed by visiting the Windows St...
- Modified
- 29 Jun at 15:52
How to store JSON in an entity field with EF Core?
I am creating a reusable library using .NET Core (targeting .NETStandard 1.4) and I am using Entity Framework Core (and new to both). I have an entity class that looks like: ``` public class Campaig...
- Modified
- 4 Apr at 00:26
Component is not part of any NgModule or the module has not been imported into your module
I am building an angular 4 application. I am getting error ``` Error:Component HomeComponent is not part of any NgModule or the module has not been imported into your module. ``` I have created Hom...
- Modified
- 14 Dec at 10:32
List file names in a folder matching a pattern, excluding file content
I am using the below to recursively list all files in a folder that contains the `$pattern` ``` Get-ChildItem $targetDir -recurse | Select-String -pattern "$pattern" | group path | select name ``` ...
- Modified
- 29 Jun at 13:33
Installing extensions on Visual Studio 2017 mac
I am trying to install Visual Studio Market Place extensions on Visual Studio for Mac but.
- Modified
- 19 Mar at 13:2
Multiple conditions in ngClass - Angular 4
How to use multiple conditions for ngClass? Example: ``` <section [ngClass]="[menu1 ? 'class1' : '' || menu2 ? 'class1' : '' || (something && (menu1 || menu2)) ? 'class2' : '']"> ``` something lik...
- Modified
- 29 Jun at 09:54
VS 2017 : The security debugging option is set but it requires the Visual Studio hosting process which is unavailable
My solution (which contains a dozen projects) works perfectly in Visual Studio 2013. In Visual Studio 2017, I can open the solution and compile it. But if I start the debug, I systematically get t...
- Modified
- 21 Dec at 19:11
App throws exception that web.config was modified but it's not
I'm facing strange problem on azure app service with my asp.net web forms site. Got exception: ``` ConfigurationErrorsExceptionSystem.Configuration.BaseConfigurationRecord in EvaluateOne The confi...
- Modified
- 29 Jun at 12:6
Amazon Web Service (AWS) account (trial version) without credit card info
I tried to create account on [aws.amazon.com](http://htttp://aws.amazon.com). But it needs credit card information to complete the login process. As I do not intend to use AWS for any commercial pur...
- Modified
- 29 Jun at 07:28
Path does not exist in current context C# .NET coding?
In my C# code when I used `Path.GetExtension`, It is showing > Path does not exist in current context Seems libraries for Path does not exist in current application. But I searched and found Path clas...
- Modified
- 7 May at 08:25
How do I include a JavaScript script file in Angular and call a function from that script?
I have a JavaScript file called `abc.js` that has a 'public' function called `xyz()`. I want to call that function in my Angular project. How do I do that?
- Modified
- 9 Aug at 17:47
ServiceStack JSON serializing to lower case on dotnet core?
I'm using ServiceStack to run a REST API and am running into issues serializing the response object. More specifically, when I call `JsonSerializer.SerializeToString(.)` on the response object all pro...
- Modified
- 29 Jun at 02:16