Modernize the example and add a .NET Framework sample#10
Closed
bartes wants to merge 1 commit into
Closed
Conversation
- Upgrade the ASP.NET Core sample to net8.0 and migrate from Startup.cs to minimal hosting in Program.cs; switch to AddDefaultIdentity. - Drop the Microsoft.VisualStudio.Threading dependency; fire-and-forget Castle calls now use a discard. Remove unused scaffolding and the SQL Server migrations (the app uses the in-memory provider). - Add a demo catalog (Demos/DemoCatalog.cs) surfaced on the home page. - Add a Dockerfile for the ASP.NET Core sample and refresh the README and appsettings. - Add a minimal net48 (System.Web) console sample exercising Context.FromHttpRequest(HttpRequestBase). - Add GitHub Actions: an Ubuntu job builds the ASP.NET Core sample and a Windows job builds the .NET Framework sample.
Author
|
Folded into #11, which now targets |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings the example up to current .NET and broadens platform coverage with a second sample app.
src/CastleDemo) tonet8.0, migrate fromStartup.csto minimal hosting inProgram.cs, and switch toAddDefaultIdentity.Microsoft.VisualStudio.Threadingdependency; fire-and-forget Castle calls now use a discard (_ = client.Track(...)). Remove unused scaffolding (ScaffoldingReadme.txt) and the SQL Server migrations, since the app uses the in-memory provider.Demos/DemoCatalog.cs) surfaced on the home page, listing the Login, Risk, Filter, and Log demos.Dockerfilefor the ASP.NET Core sample and refresh the README andappsettings.net48(System.Web) console sample (src/CastleDemo.Framework) that adapts aSystem.Webrequest toContext.FromHttpRequest(HttpRequestBase)and sends a Risk request. It requiresCastle.Sdk2.4.0+ (the first version with anet48target).