Sorry, there's nothing at this address.
9 |Current count: @currentCount
6 | 7 | 8 | 9 | @code { 10 | int currentCount = 0; 11 | 12 | void IncrementCount() 13 | { 14 | currentCount++; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/CSInn.UI/Pages/Error.razor: -------------------------------------------------------------------------------- 1 | @page "/error" 2 | 3 | 4 |9 | Swapping to Development environment will display more detailed information about the error that occurred. 10 |
11 |12 | The Development environment shouldn't be enabled for deployed applications. 13 | It can result in displaying sensitive information from exceptions to end users. 14 | For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development 15 | and restarting the app. 16 |
-------------------------------------------------------------------------------- /src/CSInn.UI/Pages/FetchData.razor: -------------------------------------------------------------------------------- 1 | @page "/fetchdata" 2 | 3 | @using CSInn.Data 4 | @inject WeatherForecastService ForecastService 5 | 6 |This component demonstrates fetching data from a service.
9 | 10 | @if (forecasts == null) 11 | { 12 |Loading...
13 | } 14 | else 15 | { 16 |Date | 20 |Temp. (C) | 21 |Temp. (F) | 22 |Summary | 23 |
---|---|---|---|
@forecast.Date.ToShortDateString() | 30 |@forecast.TemperatureC | 31 |@forecast.TemperatureF | 32 |@forecast.Summary | 33 |
31 | C# inn- a friendly discord community would like to invite you to join! We’re a young and growing community with over 2500 members, with dozens of new members joining daily. Our members help each other out and we try to keep as friendly atmosphere as possible. Your opinion matters to us, our staff listens to your needs and suggestions, so we’re constantly changing and trying to be a bit better than we were yesterday, by adding/removing channels, coming up with ideas, planning the future. As the name implies, we're mostly focused on C#. We have a lot of people who advocate profesionalism and we want not only to help you do stuff, but do it the right way. 32 |
33 | 34 |36 | We want to spread our passion of programming and C# to more people. We don't want to see people being discouraged by being stuck, left alone. We're here for each and everyone who wants to learn. We're here for those who want to help. Our dream is to create a community, where everyone would have fun learning to program, collaborate, feel free to ask any question. A sanctum for all kinds of programmers is what we aim to become. 37 | 38 |
39 |