Go to file
David Fowler 113805aba8
Add support for instantiating the startup class (#24144)
* Add support for instantiating the startup class
- Adds an overload of UseStartup that takes a factory so users can control the instance creation. The factory is given the WebHostBuilderContext to expose access to configuration and IWebHostEnvironment.
- Make sure only one startup delegate runs, the last one registered.

* Update src/Hosting/Hosting/src/GenericHost/GenericWebHostBuilder.cs

Co-authored-by: Chris Ross <Tratcher@Outlook.com>

* PR feedback and bug fixes
- Use actual throw expressions...
- Added null checks

Co-authored-by: Chris Ross <Tratcher@Outlook.com>
2020-07-22 08:58:44 -07:00
.azure/pipelines Enable builds of internal branches (#24161) 2020-07-21 12:36:59 -07:00
.config
.github
.vscode
docs Merge remote-tracking branch 'origin/release/5.0-preview8' into 'master' 2020-07-17 15:03:15 -07:00
eng [master] Update dependencies from dotnet/efcore dotnet/arcade dotnet/runtime dotnet/roslyn (#23978) 2020-07-22 01:54:09 +00:00
src Add support for instantiating the startup class (#24144) 2020-07-22 08:58:44 -07:00
.editorconfig
.gitattributes
.gitignore
.gitmodules
.vsconfig
AspNetCore.sln Added ObjectPool to the solution so I could run in VS (#24141) 2020-07-21 11:22:31 -07:00
CODE-OF-CONDUCT.md
CONTRIBUTING.md
Directory.Build.props Simplify ref/ assembly generation (#24136) 2020-07-21 15:21:30 -07:00
Directory.Build.targets Use Roslyn to create ref/ assemblies (#23403) 2020-07-17 13:35:17 -07:00
LICENSE.txt
NuGet.config
README.md
SECURITY.md
THIRD-PARTY-NOTICES.txt
activate.ps1
activate.sh
build.cmd
build.ps1
build.sh
clean.cmd
clean.ps1
clean.sh
dockerbuild.sh
global.json [master] Update dependencies from dotnet/efcore dotnet/arcade dotnet/runtime dotnet/roslyn (#23978) 2020-07-22 01:54:09 +00:00
restore.cmd
restore.sh
startvs.cmd

README.md

ASP.NET Core

ASP.NET Core is an open-source and cross-platform framework for building modern cloud based internet connected applications, such as web apps, IoT apps and mobile backends. ASP.NET Core apps run on .NET Core, a free, cross-platform and open-source application runtime. It was architected to provide an optimized development framework for apps that are deployed to the cloud or run on-premises. It consists of modular components with minimal overhead, so you retain flexibility while constructing your solutions. You can develop and run your ASP.NET Core apps cross-platform on Windows, Mac and Linux. Learn more about ASP.NET Core.

Get Started

Follow the Getting Started instructions in the ASP.NET Core docs.

Also check out the .NET Homepage for released versions of .NET, getting started guides, and learning resources.

See the Issue Management Policies document for more information on how we handle incoming issues.

How to Engage, Contribute, and Give Feedback

Some of the best ways to contribute are to try things out, file issues, join in design conversations, and make pull-requests.

Reporting security issues and bugs

Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) secure@microsoft.com. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter.

These are some other repos for related projects:

Code of conduct

See CODE-OF-CONDUCT