URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs) in applicationContext.xml

I created an application Context.xml at the `WEB-INF/classes` directory. and I have added the `<!DOCTYPE>` in the xml. I am getting the below error: > URI is not registered (Settings | Languages & Fr...

27 Apr at 10:39

warning: Kotlin runtime JAR files in the classpath should have the same version

I get the following warning, but I'm not sure where v1.0.6 resides. Is it possible this error comes from a Kotlin library somehow including an old Kotlin version? Any ideas how to fix it or at least...

3 Mar at 02:15

ServiceStack Javascript JsonServiceClient missing properties

I am trying to connect to a JWT authenticated service using the Servicestack JsonServiceClient, however the Docs only describe how to do this using the C# client: [http://docs.servicestack.net/jwt-au...

3 Mar at 01:33

Docker-compose check if mysql connection is ready

I am trying to make sure that my app container does not run migrations / start until the db container is started and READY TO accept connections. So I decided to use the healthcheck and depends on op...

Aurelia-Authentication using Self Hosted Servicestack

Perhaps I'm using the wrong search terms but I can't find any information about how to get Aurelia-Authentication to play nice with ServiceStack. I am very unfamiliar with the super complicated authe...

23 May at 12:9

What is a console application naming convention for Visual Studio?

When I develop Visual Studio solutions I like to use naming conventions for the projects based on the project type. For example: MyProject.UI.Windows, MyProject.UI.Mobile, MyProject.Library I am...

6 May at 06:13

Google API authentication: Not valid origin for the client

When making an auth request to the Google API (gapi), it's returning false on the checkOrigin. I have removed any client id's or anything that would link directly to my account and replaced it with a...

Return JSON object (ASP.NET WebAPI)

I have ASP.NET Web API It returns me JSON like this `[{"CompanyID":1,"CompanyName":"Тест"},{"CompanyID":5,"CompanyName":"Фокстрот"}]` As I understood this is Json array, but I need to return JSOn O...

2 Mar at 21:26

How to remove a default service from the .net core IoC container?

One of the beautiful things about .NET Core is that it is very modular and configurable. A key aspect of that flexibility is that it leverages an IoC for registering services, often via interfaces. Th...

conda update CondaHTTPError: HTTP None

Midway through running `Conda Update --all`, the update stalled. Multiple packages had been updated. Now, when I run `conda update --all` or `conda update conda`, I get this response: ``` (C:\Users\*...

12 Jun at 19:58

Read JSON post data in ASP.Net Core MVC

I've tried to find a solution for this, but all the ones coming up are for previous versions of ASP.Net. I'm working with the JWT authentication middleware and have the following method: ``` private...

ServiceStack AutoQuery and Field Term Or

I am trying to change a few fields on an autoquery to query using or (it is a search box that is searching many fields). This doesn't seem to work although according to the documentation it should. ...

ServiceStack OrmLite AutoQuery Filter

Should the following work: `?OpensContains=Something` by querying the Name column on the db? It doesn't and I'm not sure why not? ``` [QueryDbField(Field = "Name")] public string OpensContains { g...

Laravel: PDOException: could not find driver

I am developing a website on a server I only have access to MySQL and FTP, so all commands I run are through the b374k php shell . I am experiencing a Laravel problem with SQL driver. I tried switchin...

2 Mar at 14:11

Show values on top of bars in chart.js

Please refer this Fiddle : [https://jsfiddle.net/4mxhogmd/1/](https://jsfiddle.net/4mxhogmd/1/) I am working on chart.js If you see in fiddle, you will notice that value which is top on bar is not p...

23 May at 12:2

Unity C# : Camera.main returns null?

There is a free sample of C# code to move an object to a mouse click position in Unity 3D as shown below: ``` public GameObject cube; Vector3 targetPosition; void Start () { targetPosition = tr...

4 Mar at 04:26

If (false == true) executes block when throwing exception is inside

I have a rather strange problem that is occurring. This is my code: ``` private async Task BreakExpectedLogic() { bool test = false; if (test == true) { Console.WriteLine("Hello!...

12 Jul at 04:10

How do I convert encoding of a large file (>1 GB) in size - to Windows 1252 without an out-of-memory exception?

Consider: ``` public static void ConvertFileToUnicode1252(string filePath, Encoding srcEncoding) { try { StreamReader fileStream = new StreamReader(filePath); Encoding targetE...

3 Mar at 05:26

How can I make Bootstrap 4 columns all the same height?

This question was asked [many](https://stackoverflow.com/questions/19695784/how-can-i-make-bootstrap-columns-all-the-same-height) times before. But since time has passed and now we are close to Boots...

2 Mar at 10:5

C# Sort List by Enum

I have got a list of Entity, which has got an enum. ``` public class Car { public int CarId { get; set; } public string CarName { get; set; } public CarCategory CarCategory { get; set;...

22 Nov at 09:10

Deconstruction in foreach over Dictionary

Is it possible in C#7 to use deconstruction in a foreach-loop over a Dictionary? Something like this: ``` var dic = new Dictionary<string, int>{ ["Bob"] = 32, ["Alice"] = 17 }; foreach (var (name, ag...

2 Mar at 07:44

How to access current absolute Uri from any ASP .Net Core class?

I am trying to figure out how to access the absolute Uri -- i.e. the absolute url of the view that is currently being rendered -- from a user class in .Net Core 1.1 I found this link but it seems to...

14 Aug at 11:6

How do I encode angle brackets in servicestack json response

I have a customer who wants to ensure that responses from our JSON web service do not contain HTML. So instead of returning a string containing angle brackets they want encoded angle brackets. Two...

2 Mar at 05:30

ESLint with React gives `no-unused-vars` errors

I've setup `eslint` & `eslint-plugin-react`. When I run ESLint, the linter returns `no-unused-vars` errors for each React component. I'm assuming it's not recognizing that I'm using JSX or React sy...

1 Mar at 20:36

.tfignore is not ignoring files

I have a .tfIgnore file like below whihc is already checked-in ``` \xx.Phoenix.Web\bower_components \xx.Phoenix.Web\node_modules *.autogen.cs ``` I would expect that everyfile which is match with ...

1 Mar at 16:43