-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Add AOT /1 #34320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add AOT /1 #34320
Conversation
| if (Assembly.GetEntryAssembly()?.GetName().Name != "GetDocument.Insider") | ||
| { | ||
| // 'IServiceCollection' does not contain a definition for 'AddDefaults' | ||
| // builder.Services.AddDefaults(); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mikekistler AddDefaults doesn't compile. Can you explain the naming conventions?
I don't understand how this code restricts code paths. I'd like the sample to restrict a config and a DB code path. I can add DB init code.
tdykstra
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just some nit suggestions.
aspnetcore/fundamentals/openapi/samples/9.x/GetDocument.Insider/Program.cs
Outdated
Show resolved
Hide resolved
…r/Program.cs Co-authored-by: Mike Kistler <[email protected]>
aspnetcore/fundamentals/openapi/samples/9.x/GetDocument.Insider/Program.cs
Show resolved
Hide resolved
| }) | ||
| .WithName("TestKey"); | ||
|
|
||
| app.Run(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mikekistler please approve this code or suggest changes. Once you approve, I'll remove all the other project files.
Fixes #33456
Fixes #34321
Fixes #34342
@mikekistler to reviewInternal previews