dependabot[bot] on npm_and_yarn
Bump shell-quote from 1.7.2 to … (compare)
dependabot[bot] on nuget
Bump Newtonsoft.Json from 9.0.1… (compare)
Program.cs
.// This is calling your real web service's configuration
var hostBuilder = WebAppSecuredWithJwt.Program
.CreateHostBuilder(Array.Empty<string>());
AlbaHost
. My aspnet 6 project only has Program
class and no Startup
class. I am using underlying WebApplicationFactory to create the host. How do i specify to use the Testing
specific appSettings
json file when building the host?AlbaHost = await Alba.AlbaHost.For<Program>(builder =>
{
builder.ConfigureServices(services =>
{
});
});
builder.UserEnvironment("test");
before the ConfigureServices
. That works as well.
Hi, as anyone successfully used the FormData
to upload file to an endpoint. I am trying the following but doesnt seem to work.
_.Post.FormData(form).ToUrl(_basePath);
where form is MultipartFormDataContent
containing the file.
Came across this issue which has been closed JasperFx/alba#77.
I tried the same setting custom context as in the link above it does not work. Any ideas what could be wrong?