How to implement drag and drop in Blazor?
I know Blazor is a new technology. Its current release states v0.5.1 However I'm currently implementing a PoC for a new web application. We'd like to have the feature drag&drop in the app. I tried ...
what is this ASP.NET Core log message: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager
I have this at every app start. Does anyone know where this comes from? > info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0] User profile is available. Using '/Users/...
- Modified
- 9 Apr at 13:6
Xcode 10: A valid provisioning profile for this executable was not found
Since yesterday I've been getting the following error when trying run an app on my device: > A valid provisioning profile for this executable was not found." This is after updating to Xcode 10. Buildi...
What is "not assignable to parameter of type never" error in TypeScript?
Code is: ``` const foo = (foo: string) => { const result = [] result.push(foo) } ``` I get the following TS error: > [ts] Argument of type 'string' is not assignable to parameter of type 'neve...
- Modified
- 25 Dec at 14:41
Xcode 10, Command CodeSign failed with a nonzero exit code
Every time I build a console is showing this message. > CodeSign /Users/admin/Desktop/AppStoreBuild/Project201/build/Debug-iphonesimulator/Project.app (in target: Desker) cd /Users/admin/Desktop/AppSt...
ServiceStack: Logout does not remove session thus requesting authenticated services still works
I have implemented a custom CredentialsAuthProvider. Logging in works fine. Before I log in, I cannot call any services that require authentication. But after I log in, I do have permission to call th...
- Modified
- 20 Sep at 12:48
ServiceStack.Text's CSVSerializer can't read umlauts
I have CSV files with German language values. So umlaut symbols etc like: . These can be seen in notepad and here on stackoverflow! I'm using ServiceStack.Text's DeserializeFromString() method in...
- Modified
- 20 Sep at 06:39
Generic Repository pattern for .net core with Dapper
I followed a tutorial on Generic Repository Pattern with ASP.NET core with EF CORE, [here][1] For example: Since this is using EF Core we can just use it pre defined methods for insert data through `...
- Modified
- 22 May at 04:18
Return multiple values from a C# asynchronous method
I have worked with asynchronous methods and the methods which return multiple values, separately. In this specific situation, following "GetTaskTypeAndId()" method should be asynchronous and should re...
- Modified
- 29 Nov at 21:50
How to return/throw ServiceStack's HttpError using scoped JsConfig?
I have multiple API versions that uses the same AppHost, which is why I don't want to modify the static JsConfig--I only want the HttpError response to be serialized using a scoped JsConfig. I tried u...
- Modified
- 20 Sep at 01:51
What causes "unrecognized selector sent to class" error on Xamarin Forms build?
A few things about my system first: - - - I'm completely new to Xamarin forms and want to play around and learn. All I'm trying to do is simply create a new xamarin forms solution and get it to bui...
- Modified
- 8 Oct at 08:51
What's the difference between these ways to start/run a Generic Host in ASP.NET Core?
The hosting design in the ASP.NET Core have a new Generic Host now (.NET Core 2.1+) that will replace the Web Host in the future. There are a lot of ways to start the application using the `Microsoft...
- Modified
- 20 Sep at 22:19
FluentMigrator - Check if Foreign Key exists before deleting it
I am using FluentMigrator to migrate one database schema to another. I have a case in which I want to check if a foreign key exists before deleting it. Previously, I just delete the foreign key by ...
- Modified
- 19 Sep at 14:57
.net core 'Response.Cookies.Append' not working as some station
I am using 'Response.Cookies.Append' for setting the culture as suggested in ASP.NET Core 2.1 docs ([https://learn.microsoft.com/en-us/aspnet/core/fundamentals/localization?view=aspnetcore-2.1#impleme...
- Modified
- 19 Sep at 13:58
Override App.config value with an environment variable
I have a C# console program that prints an App.config value. Can I override this value from an environment variable? Example App.config: ``` <appSettings> <add key="TestKey" value="Foo"/> </appS...
- Modified
- 29 Apr at 13:29
How to resolve "NuGet package restore failed" in Visual Studio?
I got an error > NuGet package restore failed. Please see Error List window for detailed warnings and errors. while building my solution. Package manager can't restore my 2 projects: > Unable to fi...
- Modified
- 31 May at 15:4
Error: Schema validation failed with the following errors: Data path "" should NOT have additional properties(project)
After migrating application from angular 5 to 6, on running ng serve the following errors pop up. > Schema validation failed with the following errors: Data path "" should NOT have additional pro...
- Modified
- 4 Oct at 16:29
Why does adding httpRuntime targetFramework in Web.config file in a WCF application resolving TLS related connectivity issue?
We have a few ASP.NET and WCF applications that are continuously being migrated to latest .net framework version as it is being released. This migration was working fine until we reached .NET Framewor...
Downloading a directory using SSH.NET SFTP in C#
I am using Renci.SSH and C# to connect to my Unix server from a Windows machine. My code works as expected when the directory contents are only files, but if the directory contains a folder, I get thi...
C# - VS Code - launch:program ... does not exist
I am trying to debug a simple "Hello world" application in VS Code, however, when I press Ctrl + F5, it gives me the following error: [](https://i.stack.imgur.com/8d4eo.jpg) If I manually change the...
- Modified
- 9 Jan at 16:56
How to reload current page?
I have a page for editing user, it has some children components inside. Each children components can change or doing some effect to its parent component. So instead of emitting the changes to parent...
- Modified
- 21 Jan at 11:7
Cannot find module 'rxjs-compat/Observable'
I am currently upgrading angular 4 to angular 6 code. I have installed "rxjs": "^6.3.2" and un-installed rxjs-compact as I have migrated the code to use the new rxjs operators. I am still getting the ...
Command CompileSwift failed with a nonzero exit code in Xcode 10
After updating to the latest version of Xcode at the moment (version 10.0) the project is unable to build because it found some errors regarding some "Command CompileSwift failed with a nonzero exit c...
Add data using migration Entity Framework Core without specifying the id
I would like to use EF migrations to add some data inside my DB. The fact is that all Id are auto-generated. I found the standard way to achieve it with EF Core, which is the following ``` modelBuild...
- Modified
- 18 Sep at 11:27
How to deal with ValueTask<T> in F#?
So apparently .NET's brand new `ValueTask<T>` is the version of `Task<T>`. That's cool, but if before I had to use `Async.AwaitTask` to integrate my F# Async workflows with Task, what should I do wit...
- Modified
- 18 Sep at 07:23