How to install and use obfuscar?

I just finished my C# project(WPF), but now I meet problems on using "obfuscar" (another applicaion would be welcome, if easier to use). Of course I looked already on internet for it, but didn't find...

12 May at 11:49

Difference between Buffer & Stream in C#

I read that Buffer is a sequence of bytes. But I also read that Stream is also a sequence of bytes. So what is the difference between Stream & Buffer?

13 Aug at 05:18

How to get return values and output values from a stored procedure with EF Core?

``` ALTER PROCEDURE [dbo].[SearchMovies] --@Year int = null, @CategoryIds varchar(50) = null, @Keywords nvarchar(4000) = null, @PageIndex int = 1, @PageSize int = 2147483644, ...

How to use jQuery Plugin with Angular 4?

I want to use a range slider in an angular project and I tried using one available module for angular 4. It works fine during compilation but when I try to build it for deployment, it throws the below...

19 Dec at 19:52

How to upgrade Angular CLI to the latest version

Using `ng --version` I got: > @angular/cli: 1.0.0 which is not the latest release available. Since I have Angular CLI globally installed on my system, in order to upgrade it I tried: `npm update a...

12 May at 07:35

The origin server did not find a current representation for the target resource or is not willing to disclose that one exists

[](https://i.stack.imgur.com/WB1Uv.png) ``` <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi...

12 May at 07:4

Export private/public keys from X509 certificate to PEM

is there any convenient way to export private/public keys from .p12 certificate in PEM format using .NET ? Without manipulating with bytes at low level? I googled for hours and almost nothing is usabl...

11 Feb at 19:20

How can I set the user-agent in the http header

I'm trying to set the user-agent in my http header in our override function GetWebRequest in C# My request is being returned with an error and I was told they are not seeing the user-agent. I've tried...

30 Aug at 07:11

com.fasterxml.jackson.databind.exc.MismatchedInputException: Can not deserialize instance of object out of START_ARRAY token

Getting the MismatchedInputException. Searched a lot of questions here but found JSONMappingException mostly. I don't understand if they are same or different. Following is the entity: ``` @Entity @...

Transforming a ZPL string into a JPG image and PDF

Good Afternoon, I am currently working on a project that dynamically generates a ZPL string. Below you can see an example and you can use [http://labelary.com/viewer.html](http://labelary.com/viewer....

11 May at 18:6

Unexpected outcome of node.js vs ASP.NET Core performance test

I am doing a quick stress test on two (kinda) hello world projects written in [node.js](/questions/tagged/node.js) and [asp.net-core](/questions/tagged/asp.net-core). Both of them are running in produ...

C# value tuple/deconstruction asymmetry

[Fiddle here][fiddle]. Given a function `(string a, string b) F()`, you can deconstruct the tuple it returns: var (a, b) = F(); (string c, string d) = F(); Or you can just assign it: var (a, b) ...

6 May at 07:22

Where are Entity Framework Tools in EF6 and Visual Studio 2017?

I'm using Visual Studio 2017 and Entity Framework 6, and for the life of me, I cannot find the EDMX file, Entity Data Tools, Model Browser, or Entity Designer... Am I losing my mind here? I've create...

How to fix ServiceStack incompatibility with .NETCoreApp,Version=v1.1?

I tried to add ServiceStack to my ASP.NET MVC Web App project, by going in Project > Add NuGet Packages and installing de ServiceStack Package, but I get this error: I'am using Visual Studio Commun...

Async Await in Lambda expression where clause

I would want to call an async method inside lambda expression. Please help me doing the below eg - ``` return xyz.Where(async x=> await AsyncMethodCall(x.val)); ``` And the Async method looks lik...

11 May at 13:45

HttpRuntime.AppDomainAppPath equivalent in ASP.NET Core

What is the equivalent of `HttpRuntime.AppDomainAppPath` in .NET Core? I moved a project from ASP.NET to core, and a few Libraries are not included (Such as `System.Web`). Here is a small example: ``...

11 May at 13:17

Rabbitmq server drops connection when client takes more than 60 seconds to acknowledge a message

I am currently using EventingBasicConsumer from RabbitMQClient.dll C# client, we spawn a different thread to handle each message that is delivered to the consumer. We encountered a strange behavior,...

16 May at 12:32

Get Last non empty column and row index from excel using Interop

I am trying to remove all extra blank rows and columns from an excel file using Interop Library. I followed this question [Fastest method to remove Empty rows and Columns From Excel Files using Inter...

21 Jun at 10:48

Disable auto-indent of comments with Visual Studio 2015

I have looked and searched for ways to disable indentation of comments when I save C# files in Visual Studio 2015 with Resharper 9.0.0.0 installed. I'd like to pseudocode before I start writing actu...

High thread count stuck in GCFrame causes high CPU usage

We have an application that uses Kestrel to serve HTTP requests. We've had some problems in the past where high load caused the thread pool to spawn thousands of threads, at which point we would get l...

How to join unknown number of lists in LINQ

I have three lists of different types : ``` List<Customer> customerList = new List<Customer>(); List<Product> productList = new List<Product>(); List<Vehicle> vehicleList = new List<Vehicle>(); ``` ...

10 May at 16:5

Required query string parameter in ASP.NET Core

Using ASP.NET Core 1.1 with VS2015 (sdk 1.0.0-preview2-003131), I have the following controller: ``` public class QueryParameters { public int A { get; set; } public int B { get; set; } } [R...

Cast object to interface in TypeScript

I'm trying to make a cast in my code from the body of a request in express (using body-parser middleware) to an interface, but it's not enforcing type safety. This is my interface: ``` export interf...

18 May at 17:33

C# ServiceStack.Redis SetAll with expire

First, a link to the library: [ServiceStack.Redis](https://github.com/ServiceStack/ServiceStack.Redis) now, Im working on some generic cache mechanism which supports, for now, in 4 methods: Put, Ge...

Understanding inplace=True in pandas

In the `pandas` library many times there is an option to change the object inplace such as with the following statement... ``` df.dropna(axis='index', how='all', inplace=True) ``` I am curious what i...

18 Aug at 01:51