Skip to content
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

Recreates examples with latest packages #277

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

rossgrambo
Copy link
Contributor

No description provided.

@@ -1,12 +1,7 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
//
using Consoto.Banking.AccountService.FeatureFilters;

namespace Consoto.Banking.AccountService
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why'd the namespace go away?

Copy link
Contributor Author

@rossgrambo rossgrambo Oct 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ConsoleApp and other VS templates now defaults to https://aka.ms/new-console-template

Namespace automatically matches the project name. I left the namespace, "class Program", "Main" scaffolding in some of the Examples, but wanted to use the new console template in at least a few places to better match the new template. ConsoleApp makes the most sense to be minimalistic to me.

@rossgrambo rossgrambo force-pushed the rossgrambo/example-dependency-update branch from d6720ea to 651ed76 Compare October 12, 2023 18:15
@rossgrambo rossgrambo merged commit f189d9f into main Oct 12, 2023
2 checks passed
@@ -17,7 +17,7 @@ public Task HandleDisabledFeatures(IEnumerable<string> features, ActionExecuting
{
var result = new ViewResult()
{
ViewName = "Views/Shared/FeatureNotEnabled.cshtml",
ViewName = "Pages/Shared/FeatureNotEnabled.cshtml",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no "Pages" folder.

@rossgrambo rossgrambo deleted the rossgrambo/example-dependency-update branch January 16, 2024 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants