Support for ASP.NET Core 3.0
See original GitHub issueWhat is the recommended way to use Castle Windsor with asp.net core 3.0? One place where it can integrated would be the generic host towards which asp.net core 3.0 migrated, probably using UseServiceProviderFactory
Using Castle.AspnetCore.Facility
is no longer possible (or at least I didn’t found out how) because Startup.ConfigureServices returning IServiceProvider is no longer supported by the framework and AddWindsor cannot be used anymore. Before I used to write something like this in Startup class
public IServiceProvider ConfigureServices(IServiceCollection services)
{
container.AddFacility<AspNetCoreFacility>(f => f.CrossWiresInto(services));
[...]
return services.AddWindsor(container,
opts =>
{
opts.RegisterControllers(typeof(MyController).Assembly, LifestyleType.Transient);
});
}
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:84 (60 by maintainers)
Top Results From Across the Web
.NET and .NET Core official support policy - Dot.net
Long Term Support (LTS). LTS releases are supported for three years after the initial release. · Standard Term Support (STS). STS releases are...
Read more >Microsoft .NET - endoflife.date
NET Core 3.1, these releases will happen every November and every other release will be LTS. LTS releases are supported for three years ......
Read more >Exploring .NET Core 3.0. What's New?
TL;DR: Take a look at the new features available in NET Core 3.0. This post will provide you ... NET Standard 2.1 in...
Read more >ASP.NET Core
The ASP.NET Core framework supported side-by-side versioning so that different applications being developed on a single machine can target different versions of ...
Read more >NET Core 3.0 supported OS versions
NET Core 3.0 - Supported OS versions. The tables below provide OS version information supported by .NET Core 3.0. Keys used in the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@generik0 We upgraded our application the day the beta came out, and have been cleared in QA and UAT after several months of testing. In fact, this beta resolved some issues we had faced with the workarounds we had introduced with the earlier solutions before the beta
We are running on asp.netcore 3.0 web api with the following:
We are also upgrading another product to use this beta with similar dependencies, and early signs are positive
@generik0 It is best to create new issues to track things since this is already closed and released (as a beta).