Faulting module name: KERNELBASE.dll

My application crashes without any application error logging, when I checked Event viewer I found below info. Can some explain and it? > Faulting application name: MyApplication.exe, version: 1.0.0...

20 Jul at 05:38

Add links in description to other operations in Swagger (through Swashbuckle)

According to the [documentation for Swashbuckle][1], only a few XML comments are supported in the latest version. It seems like XML comments such as `` or `` are not currently supported [but will be i...

17 Jul at 08:43

How do I update Anaconda?

I have Anaconda installed on my computer and I'd like to update it. In Navigator I can see that there are several individual packages that can be updated, but also an `anaconda` package that sometime...

19 Jul at 17:55

Specify a format for "asp-for" HTML Tag (ASP.NET Core)

In an ASP.NET Core project I have to display a (readonly) date in a specific format (say "dd/mm/yyyy HH:MM") ``` <div class="form-group"> <label asp-for="Date" class="col-md-2 control-label"></la...

using process.env in TypeScript

How do I read node environment variables in TypeScript? If i use `process.env.NODE_ENV` I have this error : ``` Property 'NODE_ENV' does not exist on type 'ProcessEnv' ``` I have installed `@type...

19 Jul at 15:11

SonarQube analysis could not be completed because the analysis configuration file could not be found

SonarQube is giving me below error when i integrate the xamarin app with jenkins on windows sever ``` SonarQube Scanner for MSBuild 3.0 Default properties file was found at C:\SonarQube\bin\SonarQube...

How to assign a value from application.properties to a static variable?

I am using Spring MVC. I have a `UserService` class annotated with `@Service` that has a lot of static variables. I would like to instantiate them with values from the application.properties file. Fo...

19 Jul at 13:40

How do you add a swagger comment to the "Request and Response Model"?

You can add a comment on the methods like the example below but what about adding comments to the request and response model? ``` /// <summary> /// my summary /// </summary> /// <remarks> /// remark ...

19 Jul at 14:0

Get current url in Angular

How can I get the current url in Angular 4? I've searched the web for it a lot, but am unable to find solution. ``` import { BrowserModule } from '@angular/platform-browser'; import { NgModule } fr...

28 Jan at 12:28

How to pass parameters by POST to an Azure function?

I'm trying to do a simple Azure Function to learn about it. There will be 3 functions: - - - I've been able to do the first and the third ones. But I can't pass the parameter by POST. I've looked ...

element not interactable exception in selenium web automation

In the below code i cannot send password keys in the password field, i tried clicking the field, clearing the field and sending the keys. But now working in any of the method. But its working if i deb...

AWS S3 ListMultipartUploads : access denied

I have followed [this blog](https://aws.amazon.com/blogs/developer/web-identity-federation-using-the-aws-sdk-for-net/) in order to setup my AWS IAM and S3 accounts with Web Identity Federation. I am a...

BeginInvoke not supported on .NET core? (PlatformNotSupported exception)

I've ported a library FluentFTP to .NET standard/.NET core but the async methods use BeginInvoke within an async/await block. So its something like this: ``` async ConnectAsync(){ BeginConnect(); ...

JAVA_HOME is set to an invalid directory:

I have set `JAVA_HOME` in my system `C:\Program Files\Java\jdk1.8.0_ 131\bin;` and I am trying to run cordova command( cordova build ) on command prompt, but I'm getting the error bellow. I have tried...

22 Apr at 21:18

Swashbuckle - swagger documentation of returned response?

Swashbuckle would not generate swagger.json with an output of "UserCreateResponse", how do you fix this? ``` [HttpPost] public async Task<IActionResult> Update([FromBody]UserCreate Request) {...

How to open file:///private/var/mobile/Containers/Shared/AppGroup/ folder on Mac?

I'm trying to use `fileProvider` in iOS 11 and have a database at `file:///private/var/mobile/Containers/Shared/AppGroup/xxxx/xxx.db`. I would like to open this folder to open this database in SQLite ...

23 Sep at 17:38

ImportError: No module named IPython

When i try to use , then i show the error: ![Error Image](https://i.stack.imgur.com/1latQ.png) (ImportError: No module named IPython) I am using Python 2.7.13, and im trying to make the game of life...

19 Jul at 02:20

subscribe to valueChanges from input FormControl in FormGroup

In Angular 4, I'm trying to subscribe to the valueChanges of a FormControl. Neither of the versions below is working. I'm not seeing any errors. The form.value JSON is updating as I type, but the subs...

19 Jul at 01:6

C# Performance on Small Functions

One of my co-workers has been reading Clean Code by Robert C Martin and got to the section about using many small functions as opposed to fewer large functions. This led to a debate about the performa...

8 Nov at 15:12

System.IO.InvalidDataException : ServiceStackHost.Instance has already been set (BasicAppHost)

I'm getting an error when i try to run some tests on my servicestack web service. I'm using ServiceStack 4.5.8 and Nunit 3.5. The solution was created initially from a ServiceStackVS template. The e...

18 Jul at 13:48

Azure functions - should functions be written inside static classes

I'm starting to try out Azure functions. I'm using Visual Studio 2017 Preview version 15.3. When I right click on the Azure Functions project I created, and select Add>New Item...>Azure Function, the ...

3 Sep at 13:51

C# - Calculating time difference in minutes

I have got the following code: ``` DateTime start = DateTime.Now; Thread.Sleep(60000); DateTime end = DateTime.Now; ``` and I would like to calculate the difference in minutes between start and end...

25 Aug at 10:27

How is Roslyn related to MsBuild?

I'm wondering: How exactly is Roslyn related to MsBuild? My understanding was that 1. Roslyn is a compilation engine 2. MsBuild is is mostly a set of specifications of how a project is set up - i.e...

18 Jul at 13:17

Localization in external class libraries in ASP.NET Core

I have two projects: - - How can I add localization with `IStringLocalizer` to ? Where must be `.resx` files located?

How to import Angular Material in project?

I have installed Angular Material Design. Now I try to add this in `app.module.ts` file: ``` import { MaterialModule } from '@angular/material'; ``` What I should decify in section: `imports: []`? ...

23 Jul at 21:45