Atomic increment of 64 bit variable on 32 bit environment
Writing an answer for [another question](https://stackoverflow.com/q/37549166/1207195) some interesting things came out and now I can't understand how `Interlocked.Increment(ref long value)` works on ...
- Modified
- 23 May at 12:33
How to use Identity Server 3 for Servicestack service Authentication?
I am using Service stack version `3.9.71` for service creation. Now we have requirement to authentication this service. how we can authenticate servicestack service using Identity Server 3? I have r...
- Modified
- 1 Jun at 07:19
How to change date format in hive?
My table in hive has a filed of date in the format of '2016/06/01'. but i find that it is not in harmory with the format of '2016-06-01'. They can not compare for instance. Both of them are string ....
ModelState.IsValid always true when testing Controller in Asp.Net MVC Web Api
I have tried to make this work and made many google/stackoverflow searches with no luck at all. I have a simple Model: ``` public class MovieModel { public string Id { get; set; } [Required...
- Modified
- 7 Dec at 10:17
m2e error in MavenArchiver.getManifest()
I am seeing an error in my STS and am not sure how to debug it. Searching around I only see vague references to the error and no solutions. The error is: > `org.apache.maven.archiver.MavenArchiver.g...
- Modified
- 29 Jun at 11:57
error CS2012: Cannot open <executable path> access to <executable path denied>
I was working on a WPF application in Visual Studio 2015 and all went well until unexpectedly the build dropped me the CS2012 error inform me that it cannot access/update the executable in the /Debug ...
Application Insights not logging custom events
I have setup Application Insights in my ASP.NET Core application in the C# Controller and it is logging basic data like Page Views, Response Time, etc. But I want to create some custom events and log ...
- Modified
- 16 May at 18:43
How to make a phone call in Xamarin.Forms by clicking on a label?
Hello I have an app i'm working on in Xamarin.Forms that gets contact info from a web service and then displays that info in labels however I want to make the label that lists the phone number to make...
- Modified
- 31 May at 16:56
Executing Command line .exe with parameters in C#
I'm trying to execute a command line program with parameters from C#. I would have imagined that standing this up and making this happen would be trivial in C# but its proving challenging even with al...
tsc throws `TS2307: Cannot find module` for a local file
I've got a simple example project using TypeScript: [https://github.com/unindented/ts-webpack-example](https://github.com/unindented/ts-webpack-example) Running `tsc -p .` (with `tsc` version 1.8.10)...
- Modified
- 31 May at 14:40
Simple Injector initialize for both MVC and Web API controllers
I have a Web API controller that has some resources DI'd. Out of later necessity I have added an MVC controller, now I need same resources DI'd there as well. Here is my original configuration: ``` ...
- Modified
- 31 May at 15:15
Xamarin deploying not working with Android
I've set up a Xamarin.Forms Project. I want to build and deploy it to an emulator or an Android device, but it is not working. In the Outputwindow of Visual Studio, the following error is displayed: ...
- Modified
- 7 Oct at 16:46
Get role/s of current logged in user in ASP.NET Core MVC
How can I get the logged in user's role/s in ASP.NET Core MVC? I want to get role details as soon as user logs in into the application, but by using following code I am not able to retrieve the role d...
- Modified
- 30 Apr at 15:31
Running background tasks periodically in an ASP.NET Core RC2 application
I'm working on an ASP.NET Core RC2 application. There is a requirement for this application to periodically invoke certain tasks, such as sending emails or invoking specific business logic. I'm awa...
- Modified
- 31 May at 11:22
Angular2 *ngIf check object array length in template
Refered to [https://angular.io/docs/ts/latest/guide/displaying-data.html](https://angular.io/docs/ts/latest/guide/displaying-data.html) and stack [How to check empty object in angular 2 template using...
- Modified
- 21 Jun at 04:30
How to manually deploy artifacts in Nexus Repository Manager OSS 3
After installing Nexus Repository Manager OSS 3 I do not see option `Artifact Upload` to upload artifacts through web page. In Nexus Repository Manager OSS 2.13 there is option to do that operation. ...
- Modified
- 24 Mar at 17:36
Autofac - Make sure that the controller has a parameterless public constructor
I know it's been asked and answered before - the reason I'm asking is because (I think) I tried all suggested solutions to this problem but still can't resolve it. I have an ASP.NET Web API 2.0 proje...
- Modified
- 27 Dec at 10:39
How to create informative toast notification in UWP App
In my app, I want to inform user when particular action had performed, like record updated successfully or new record added, but there's not inbuilt control to that can display such information. Is th...
- Modified
- 31 May at 09:30
How to show an informative real time progress data during long server process
I have a so long process may take 1 hour . This process consists of many steps run from year to year .My main problem is : How to provide an informative real time progress to the end user during the...
- Modified
- 31 May at 09:9
How can I convert Mat to Bitmap using OpenCVSharp?
First, I tried this, ``` public static Bitmap MatToBitmap(Mat mat) { return OpenCvSharp.Extensions.BitmapConverter.ToBitmap(mat); } ``` [](https://i.stack.imgur.com/xbY1M.png) So, ...
- Modified
- 5 Sep at 11:45
How is yield an enumerable?
I was toying around with `yield` and `IEnumerable` and I'm now curious why or how the following snippet works: ``` public class FakeList : IEnumerable<int> { private int one; private int two;...
- Modified
- 13 Jun at 08:47
OrmLite-named in memory database throwing exception
I am trying to use in memory database for unit test. following is set up for resolving apphost dependency of database ``` OrmLiteConfig.DialectProvider = SqliteDialect.Provider; var ...
- Modified
- 31 May at 16:27
Is there a programmatic way to identify .Net reserved words?
I am looking for reading .Net, C# reserved key words programmatically in VS 2015. I got the answer to read C# reserved words in the [link][1]. ``` CSharpCodeProvider cs = new CSharpCodeProvider(); v...
- Modified
- 13 Oct at 17:52