ServiceStack.OrmLite 5.1.1: "host... does not support SSL connections"
I upgraded to version 5.1.1 of ServiceStack OrmLite (via MyGet), and when I try to open a connection to the db, I suddenly get this error: > MySql.Data.MySqlClient.MySqlException: 'The host 127.0.0.1...
- Modified
- 27 Jun at 14:6
ServiceStack.Client Server Sent Events are not processed
I have a basic Hello World console program connecting to a web server but none of my callbacks are invoked (nothing gets printed to the console). ``` using ServiceStack; using System; using System.Co...
- Modified
- 27 Jun at 13:45
ASP.net MVC core RedirectToPage error - specify root relative path error
I want to redirect to a razor page from a normal controller action like this: ``` return RedirectToPage("Edit", new { id = blogId }); ``` I have already a razor page named "Edit" which is working w...
- Modified
- 27 Jun at 10:48
SignalR Core with Redis Pub\Sub and console application
I am having Asp.Net Core 2.1 with SignalR Core 1.0.1. I have created chat application that is described here: [https://learn.microsoft.com/en-us/aspnet/core/tutorials/signalr?view=aspnetcore-2.1&tabs...
- Modified
- 27 Jun at 08:44
ASP.Net Core 2.0 mixed authentication of JWT and Windows Authentication doesn't accept credentials
I've API created in asp.net core 2.0 where I am using mixed mode authentication. For some controllers JWT and for some using windows authentication. I've no problem with the controllers which authori...
- Modified
- 20 Feb at 20:31
ServiceStack: Update<T>(...) produces 'duplicate entry'
I have tried reading the docs, but I don't get why the Update method produces a "Duplicate entry" MySQL error. The docs says > In its most simple form, updating any model without any filters will up...
- Modified
- 3 Nov at 03:18
Http Utils, Dotnet Core/Linux
I have a quick question -- it seems that the responseFilter function doesn't get called under Linux/.net core. for example: `"some-valid-url".GetJsonFromUrl( requestFilter: req => Console.WriteLine(...
- Modified
- 26 Jun at 20:18
How to get current user from ServiceStack.Logging
I am using ASP.NET MVC and [servicestack.logging](https://github.com/ServiceStack/ServiceStack/wiki/Logging) I used log4net. I need to get current user who has been authenticated by servicestack-jwt....
- Modified
- 27 Jun at 13:10
How to use FreeText in EF core 2.1
I see that Entity Framework core 2.1 has a new feature to use `FREETEXT`, but I am not sure how to use it as there are no examples that I can find online. [https://github.com/aspnet/EntityFrameworkCo...
- Modified
- 27 Jun at 00:38
Graceful shutdown with Generic Host in .NET Core 2.1
.NET Core 2.1 introduced new Generic Host, which allows to host non-HTTP workloads with all benefits of Web Host. Currently, there is no much information and recipes with it, but I used following arti...
- Modified
- 26 Jun at 14:0
How to install svcutil.exe under Windows 10
I am desperately searching for a way to install `svcutil.exe` because I read [here](https://stackoverflow.com/questions/7973819/converting-wsdl-to-c-sharp-classes) and elsewhere that this was the way ...
- Modified
- 26 Jun at 12:36
TypeLoadException: Could not load type IHttpResponseStreamWriterFactory from assembly
I'm building aspnet core app. I wanted to keep one of my MVC Controllers in Class Library (so outside main project). In order to do that, I've created new class extending Controller in Class Library p...
- Modified
- 6 Aug at 15:46
How to download image and save it in local storage using Xamarin-Forms.?
I want to download an image and store it in specific folder in local storage. I am using this to download image: ``` var imageData = await AzureStorage.GetFileAsync(ContainerType.Image, uploadedFile...
- Modified
- 26 Jun at 09:24
ServiceStack.OrmLite: Slow write/reads?
This question made a more clean benchmarking, and Mythz found an issue and resolved it: [ServiceStack benchmark continued: why does persisting a simple (complex) to JSON slow down SELECTs?](https://s...
- Modified
- 30 Jun at 11:37
Routing to an ApiController in a razor page app?
I created a ASP.NET Core Razor page app (asp.net version 2.1.1). It works just fine with the normal Pages but I also want an ApiController as in this tutorial: [https://learn.microsoft.com/en-us/aspne...
- Modified
- 25 Jun at 20:46
A Way to Automate the "Compile" Function of MS Office's VBA Code
Typically when I make a change to a VBA file I like to compile it to ensure my changes didn't break anything: [](https://i.stack.imgur.com/e3FKY.png) But compiling on different machines with differe...
- Modified
- 30 Mar at 22:3
With C#, is querying YAML possible without defining lots of types?
I need to work with YAML generated by Kubernetes and I'd like to be able to read specific properties with an XPath-like or `jq`-like DSL notation in C#. The structure and nature of the YAML that Kube...
Full Text Search in EF Core 2.1?
I am looking at using Full Text Search but not 100% clear on how to get it up with EF Core 2.1. It seems that EF Core 2.1 might have implemented partial support for Full Text Search but I am not fin...
- Modified
- 20 Feb at 16:1
The provider for the source IQueryable doesn't implement IAsyncQueryProvider
I have some codes like below, I want to write unit tests my method. But I'm stuck in async methods. Can you help me please ? ``` public class Panel { public int Id { get; set; } [Required] p...
- Modified
- 25 Jun at 14:3
'HttpPostedFileBase' in Asp.Net Core 2.0
I'm recently working on a ReactJS app that's calling an API (developed with .NET Core 2.0). My question is how to use `HttpPostedFileBase` in an .NET Core 2.0 API in order to get file content and s...
- Modified
- 26 Apr at 23:23
Error CS1061: 'DbSet<T>' does not contain a definition for 'FromSql' and no extension method 'FromSql' accepting a first argument of type 'DbSet<T>'
I am trying to call view or store procedure using on mac os webapi. ``` using System; using System.Linq; using Auth.Database; using Microsoft.EntityFrameworkCore; public virtual IQueryable<T> Execu...
- Modified
- 25 Jun at 06:55
.NET Core 2.1 Identity get all users with their associated roles
I'm trying to pull out all my Identity users and their associated roles for a user management admin page. I thought this would be reasonably easy but apparently not. I've tried following the following...
- Modified
- 23 Jun at 22:9
Trouble signing a JWT token with an x509 Certificate
I'm having trouble signing a JWT token with a certificate that I created. I understand the fundamentals of how signing (public/private key) works, but the classes and toolsets are very confusing. I'...
- Modified
- 28 Jun at 06:36
How do I properly work with calling methods on related but different classes in C#
To be honest I wasn't sure how to word this question so forgive me if the actual question isn't what you were expecting based on the title. C# is the first statically typed language I've ever programm...
- Modified
- 23 Jun at 02:39
How to pass dependencies to a custom .NET Core ILoggerProvider
I am creating a custom .NET Core `ILoggerProvider` that requires some dependencies to be passed into its constructor. I believe I am using a fairly common pattern to initialize my logging implementat...
- Modified
- 23 Jun at 19:20