Debugging symbols not loading in .NET standard project targeting .NET Framework
I am using Visual Studio 2017. I created a library (let this library be ) project with two Target frameworks, and . Then I have another two projects... one is a "pure" console project (lets call it...
- Modified
- 16 Jul at 14:41
How to configure axios to use SSL certificate?
I'm trying to make a request with axios to an api endpoint and I'm getting the following error: `Error: unable to verify the first certificate` It seems the https module, which axios uses, is unable ...
- Modified
- 16 Jul at 14:12
How do ASP.NET Core's "asp-fallback-*" CDN tag helpers work?
I understand what the `asp-fallback-*` tag helpers do. What I don't understand is how. For example: ``` <link rel="stylesheet" href="//ajax.aspnetcdn.com/ajax/bootstrap/3.3.5/css/bootstrap.min.c...
- Modified
- 4 May at 13:35
What is a watson information/bucket?
I was reading [Microsoft document on ExceptionDispatchInfo Class](https://msdn.microsoft.com/en-us/library/system.runtime.exceptionservices.exceptiondispatchinfo(v=vs.110).aspx) and I came across a wo...
- Modified
- 31 Oct at 23:25
ServiceStack.OrmLite: Selecting POCOs where Type is determined in runtime (inheritance)
How can I properly deserialize POCOs using OrmLite from ServiceStack when I dont know the exact type of the POCO at design-time, but I only get a Type at runtime? So, something like this: ``` // Ret...
- Modified
- 26 Mar at 00:9
Configure HttpClientFactory to use data from the current request context
With the new [HttpClientFactory](https://www.stevejgordon.co.uk/introduction-to-httpclientfactory-aspnetcore) in ASP.NET Core 2.1, it's quite easy to configure custom HTTP clients with things like bas...
- Modified
- 20 May at 22:17
C# Couldn't process file xxx.resx due to its being in the Internet or Restricted zone or having the mark of the web on the file
I have an issue while I try to build project in VS2012. It cannot build due to the error: ``` Couldn't process file xxx.resx due to its being in the Internet or Restricted zone or having the mark of ...
- Modified
- 14 Apr at 05:36
User Configuration Settings in .NET Core
I spent all day yesterday researching this and cannot find any reasonable solution. I'm porting a .NET Framework project to .NET Core 2.0. The project used user settings (`Properties.Settings.Default...
- Modified
- 15 Jul at 19:24
Parallel queued background tasks with hosted services in ASP.NET Core
I'm doing some tests with the new Background tasks with hosted services in ASP.NET Core feature present in version 2.1, more specifically with Queued background tasks, and a question about parallelism...
- Modified
- 15 Jul at 16:19
Couldn't process file resx due to its being in the Internet or Restricted zone or having the mark of the web on the file
I am facing an issue while debugging c# API Coding in Visual studio 2017. Debugging not started and showing a error message like > Couldn't process file resx due to its being in the Internet or Restri...
- Modified
- 2 Feb at 18:16
ASP.NET Core and JWT token lifetime
I utilize `ASP.NET Core 2.1.1` It is interesting that the expiration time is only being taken into account when one provides `ClockSkew` - `JwtSecurityTokenHandler.TokenLifetimeInMinutes` - . For...
- Modified
- 15 Jul at 06:7
Should I take ILogger, ILogger<T>, ILoggerFactory or ILoggerProvider for a library?
This may be somewhat related to [Pass ILogger or ILoggerFactory to constructors in AspNet Core?](https://stackoverflow.com/q/46013762/91), however this is specifically about , not about how the actual...
- Modified
- 15 Jul at 04:13
How to fix "dial unix /var/run/docker.sock: connect: permission denied" when group permissions seem correct?
I'm suddenly having issues after an update of Ubuntu 18.04: previously I've used docker without issue on the system, but suddenly I cannot. As far as I can tell, the permissions look correct: ``` $ d...
- Modified
- 28 Sep at 23:24
Some files in "wwwroot" folder are not published in ASP.NET Core web deploy
I am using ASP.NET Core 2.0 in Visual Studio 2017. My site works fine when I hit debug in [IIS Express](https://en.wikipedia.org/wiki/Internet_Information_Services#IIS_Express). But when deploying th...
- Modified
- 21 Feb at 21:21
The underlying connection was closed. Cannot run Asp.Net core 2.1 web api application using HTTP.sys?
I created a new Asp.net core 2.1 web application and then select "API" template. (I changed the Authentication to "Windows". Then I added the following code to use `Http.Sys` for Windows authenticatio...
- Modified
- 17 Jul at 15:22
Entity Framework Core, deleting items from nested collection
I have two classes ``` public class InvoiceRow { public int Id { get; set; } public int InvoiceId { get; set; } public int ProductId { get; set; } public virtual...
- Modified
- 13 Jul at 19:40
How to access ServiceStack based web service from visual studio webform
I'm having trouble understanding how to consume an existing ServiceStack based web service ([https://cert.web.transaction.transactionexpress.com/TransFirst.Transaction.Web/api/](https://cert.web.trans...
- Modified
- 13 Jul at 17:35
WPF Programmatically Enable TextBox Scrolling/Panning for Tablets
I am working with a WPF application that will be used on Windows tablets. The issue I am having is that I cannot scroll through a large multi-line TextBox on a tablet by pressing and dragging the cont...
Logging in .Net core console application not working
I am following this tutorial: https://andrewlock.net/using-dependency-injection-in-a-net-core-console-application/ and accordingly installed the packages but log is not getting printed anywhere. This ...
Identity Server 4 - Allowed Origins configured and origin is not allowed
I have a SPA and API in the same project and I keep getting the following errors when I make a request to the API. AllowedOrigins configured and origin http://localhost:5000 is not allowed CorsPol...
- Modified
- 17 Jul at 08:36
Flutter Layout Row / Column - share width, expand height
I'm still having a bit of trouble with the layouting in Flutter. Right now I want to have the available space shared between 3 widgets, in a quadrant layout. The width is evenly shared (this works fin...
- Modified
- 13 Jul at 13:23
ASP.NET Core Self Signed Certificate in Firefox not working
I'm using the Self Signed Certificate in ASP.NET Core with is default on as noted in [this article](https://learn.microsoft.com/en-us/aspnet/core/security/enforcing-ssl#trust-ff) I have trusted it wit...
- Modified
- 12 Apr at 00:7
Wnat to send Push notification using APNS via Servicestack apis
I have created an application that uses my apis (created in servicestack). I have .pem file (certificate) and device tokens for sending push notification. Now need to send push notification to the dev...
- Modified
- 13 Jul at 06:33
Supporting multiple custom DateTime formats when deserializing with Json.Net
I want to support deserializing more than one custom DateTime format with the Newtonsoft Json deserializer, so I am using `IsoDateTimeConverter`: ``` var serializeSettings = new JsonSerializerSetting...
More than one DbContext named 'NewProject.Models.DbContext' was found Specify which one to use by providing its fully qualified name using exact case
I was developing a Web-App with Asp.Net Core 2.1 . After I added the new identity with scaffolder it generated me these codes: ``` [assembly:HostingStartup(typeof(ShareAndCare.Areas.Identity.Ident...
- Modified
- 13 Jul at 05:50