skip to Main Content

VSIX cannot find referenced assembly from included package, VS 2017 – Asp.net

I have written a VSIX that fails in VS 2017 System.IO.FileNotFoundException: Could not load file or assembly 'System.Numerics.Vectors, Version=4.1.4.0 Yet the csproj includes the package for that assembly <PackageReference Include="System.Numerics.Vectors"> <Version>4.5.0</Version> </PackageReference> and I have verified that System.Numerics.Vectors, Version=4.1.4.0 lands…

VIEW QUESTION

Should I use async with the ASP.NET QueueBackgroundWorkItem method for an async method?

When using QueueBackgroundWorkItem, is there any difference in the below two ways of calling a method that performs async operations like api calls? HostingEnvironment.QueueBackgroundWorkItem(async cancellationToken => { var result = await LongRunningMethodAsync(); }); Or the following: HostingEnvironment.QueueBackgroundWorkItem(cancellationToken => LongRunningMethodAsync()); I'm…

VIEW QUESTION

.NET 6 Razor Pages SEO Friendly URL

I'm trying to create SEO friendly URL's using .NET 6 and Razor Pages (not MVC). From a razor page view: <a asp-page="/Post" asp-route-id="9">Test Link</a> I link to a corresponding page handler: [BindProperty] public PostViewModel? Post { get; set; } public…

VIEW QUESTION
Back To Top
Search