diff --git a/samples/StandaloneApp/Pages/About.cshtml b/samples/StandaloneApp/Pages/About.cshtml deleted file mode 100644 index 3863c7d149..0000000000 --- a/samples/StandaloneApp/Pages/About.cshtml +++ /dev/null @@ -1,5 +0,0 @@ -

About

- -Some content goes here. - -Home diff --git a/samples/StandaloneApp/Pages/Counter.cshtml b/samples/StandaloneApp/Pages/Counter.cshtml new file mode 100644 index 0000000000..88367f46fa --- /dev/null +++ b/samples/StandaloneApp/Pages/Counter.cshtml @@ -0,0 +1,14 @@ +

Counter

+ +

Current count: @currentCount

+ + + +@functions { + int currentCount = 0; + + void IncrementCount() + { + currentCount++; + } +} diff --git a/samples/StandaloneApp/Pages/Index.cshtml b/samples/StandaloneApp/Pages/Index.cshtml index e5b93bf62a..f75a462181 100644 --- a/samples/StandaloneApp/Pages/Index.cshtml +++ b/samples/StandaloneApp/Pages/Index.cshtml @@ -1,5 +1,3 @@ 

Hello, world!

Welcome to your new app. - -About diff --git a/samples/StandaloneApp/Shared/NavMenu.cshtml b/samples/StandaloneApp/Shared/NavMenu.cshtml index 3ca758e03f..859a93e924 100644 --- a/samples/StandaloneApp/Shared/NavMenu.cshtml +++ b/samples/StandaloneApp/Shared/NavMenu.cshtml @@ -13,10 +13,15 @@