Logo
Explore Help
Register Sign In
yujunjun/autogen
1
0
Fork 0
You've already forked autogen
mirror of https://github.com/microsoft/autogen.git synced 2025-08-24 08:32:16 +00:00
Code Issues Packages Projects Releases Wiki Activity
autogen/dotnet/samples/HelloAgents/HelloAgents.Web/Components/Pages/Counter.razor

20 lines
344 B
Plaintext
Raw Normal View History

working on scaffolding a new dotnet intro sample for #531 (#536) * interim stash * interim stash * interim checkpoint * broken stash * whoops * merge sln files * fix a bunch of refactoring errors * moving more to core vs samples * interim * fixup the devteam sample * fix ci * fixup soln file * trying to fix ci * trying to fix ci * adding back * still trying * recreate * next step * adding it back * trying to fix * Rename Autogen -> AutoGen (#567) * Add transparency faqs (#566) * remove Autogen * add AutoGen back --------- Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com> --------- Co-authored-by: Xiaoyun Zhang <xiaoyuz@microsoft.com> Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-09-18 18:41:44 -07:00
@page "/counter"
@rendermode InteractiveServer
<PageTitle>Counter</PageTitle>
<h1>Counter</h1>
<p role="status">Current count: @currentCount</p>
<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>
@code {
private int currentCount = 0;
private void IncrementCount()
{
currentCount++;
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 2878ms Template: 434ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API