A programming framework for agentic AI
Add .editorconfig & use centralized package management
Reuben Bond27d04bdff5bf
diff --git a/dotnet/.editorconfig b/dotnet/.editorconfigindex 1e3119741..13fe5da6a 100644--- a/dotnet/.editorconfig+++ b/dotnet/.editorconfig@@ -51,15 +51,15 @@ csharp_new_line_before_members_in_object_initializers = truecsharp_new_line_before_members_in_anonymous_types = true# Namespace settings-csharp_style_namespace_declarations = file_scoped+csharp_style_namespace_declarations = file_scoped:silent# Brace settings-csharp_prefer_braces = true # Prefer curly braces even for one line of code+csharp_prefer_braces = true:silent# Prefer curly braces even for one line of code# name all constant fields using PascalCasedotnet_naming_rule.constant_fields_should_be_pascal_case.severity = warningdotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields-dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style+dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_styledotnet_naming_symbols.constant_fields.applicable_kinds = fielddotnet_naming_symbols.constant_fields.required_modifiers = constdotnet_naming_style.pascal_case_style.capitalization = pascal_case@@ -67,7 +67,7 @@ dotnet_naming_style.pascal_case_style.capitalization = pascal_case# static fields should have s_ prefixdotnet_naming_rule.static_fields_should_have_prefix.severity = warningdotnet_naming_rule.static_fields_should_have_prefix.symbols = static_fields-dotnet_naming_rule.static_fields_should_have_prefix.style = static_prefix_style+dotnet_naming_rule.static_fields_should_have_prefix.style = static_prefix_styledotnet_naming_symbols.static_fields.applicable_kinds = fielddotnet_naming_symbols.static_fields.required_modifiers = staticdotnet_naming_symbols.static_fields.applicable_accessibilities = private, internal, private_protected@@ -77,11 +77,25 @@ dotnet_naming_style.static_prefix_style.capitalization = camel_case# internal and private fields should be _camelCasedotnet_naming_rule.camel_case_for_private_internal_fields.severity = warningdotnet_naming_rule.camel_case_for_private_internal_fields.symbols = private_internal_fields-dotnet_naming_rule.camel_case_for_private_internal_fields.style = camel_case_underscore_style+dotnet_naming_rule.camel_case_for_private_internal_fields.style = camel_case_underscore_styledotnet_naming_symbols.private_internal_fields.applicable_kinds = fielddotnet_naming_symbols.private_internal_fields.applicable_accessibilities = private, internaldotnet_naming_style.camel_case_underscore_style.required_prefix = _dotnet_naming_style.camel_case_underscore_style.capitalization = camel_case+csharp_indent_labels = one_less_than_current+csharp_using_directive_placement = outside_namespace:suggestion+csharp_prefer_simple_using_statement = true:suggestion+csharp_style_prefer_method_group_conversion = true:silent+csharp_style_prefer_top_level_statements = true:silent+csharp_style_prefer_primary_constructors = true:suggestion+csharp_style_expression_bodied_methods = false:silent+csharp_style_expression_bodied_constructors = false:silent+csharp_style_expression_bodied_operators = false:silent+csharp_style_expression_bodied_properties = true:silent+csharp_style_expression_bodied_indexers = true:silent+csharp_style_expression_bodied_accessors = true:silent+csharp_style_expression_bodied_lambdas = true:silent+csharp_style_expression_bodied_local_functions = false:silent[*.{xml,config,*proj,nuspec,props,resx,targets,yml,tasks}]indent_size = 2@@ -334,8 +348,8 @@ dotnet_diagnostic.IDE0060.severity = warningdotnet_diagnostic.IDE0062.severity = warning# IDE0073: File header-dotnet_diagnostic.IDE0073.severity = warning-file_header_template = Licensed to the .NET Foundation under one or more agreements.\nThe .NET Foundation licenses this file to you under the MIT license.+dotnet_diagnostic.IDE0073.severity = suggestion+file_header_template = Copyright (c) Microsoft. All rights reserved.# IDE1006: Required naming styledotnet_diagnostic.IDE1006.severity = warning@@ -350,7 +364,7 @@ dotnet_diagnostic.IDE0200.severity = warningdotnet_style_allow_multiple_blank_lines_experimental = falsedotnet_diagnostic.IDE2000.severity = warning-[{eng/tools/**.cs,**/{test,testassets,samples,Samples,perf,benchmarkapps,scripts,stress}/**.cs,src/Hosting/Server.IntegrationTesting/**.cs,src/Servers/IIS/IntegrationTesting.IIS/**.cs,src/Shared/Http2cat/**.cs,src/Testing/**.cs}]+[{**/{test,testassets,samples,Samples,perf,benchmarkapps,scripts,stress}/**.cs}]# CA1018: Mark attributes with AttributeUsageAttributedotnet_diagnostic.CA1018.severity = suggestion# CA1507: Use nameof to express symbol names@@ -453,26 +467,25 @@ dotnet_diagnostic.IDE0200.severity = suggestion# CA2016: Forward the 'CancellationToken' parameter to methods that take onedotnet_diagnostic.CA2016.severity = suggestion-# Defaults for content in the shared src/ and shared runtime dir--[{**/Shared/runtime/**.{cs,vb},src/Shared/test/Shared.Tests/runtime/**.{cs,vb},**/microsoft.extensions.hostfactoryresolver.sources/**.{cs,vb}}]-# CA1822: Make member static-dotnet_diagnostic.CA1822.severity = silent-# IDE0011: Use braces-dotnet_diagnostic.IDE0011.severity = silent-# IDE0055: Fix formatting-dotnet_diagnostic.IDE0055.severity = silent-# IDE0060: Remove unused parameters-dotnet_diagnostic.IDE0060.severity = silent-# IDE0062: Make local function static-dotnet_diagnostic.IDE0062.severity = silent-# IDE0161: Convert to file-scoped namespace-dotnet_diagnostic.IDE0161.severity = silent--[{**/Shared/**.cs,**/microsoft.extensions.hostfactoryresolver.sources/**.{cs,vb}}]-# IDE0005: Remove unused usings. Ignore for shared src files since imports for those depend on the projects in which they are included.-dotnet_diagnostic.IDE0005.severity = silent--[{*.razor.cs,src/Aspire.Dashboard/Components/**.cs}]-# CA2007: Consider calling ConfigureAwait on the awaited task-dotnet_diagnostic.CA2007.severity = silent+# CA2016: Forward the 'CancellationToken' parameter to methods that take one+dotnet_diagnostic.SKEXP00001.severity = silent+dotnet_style_operator_placement_when_wrapping = beginning_of_line+tab_width = 4+indent_size = 4+end_of_line = crlf+dotnet_style_coalesce_expression = true:suggestion+dotnet_style_null_propagation = true:suggestion+dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion+dotnet_style_prefer_auto_properties = true:suggestion+dotnet_style_object_initializer = true:suggestion+dotnet_style_collection_initializer = true:suggestion+dotnet_style_prefer_simplified_boolean_expressions = true:suggestion+dotnet_style_prefer_conditional_expression_over_assignment = false:silent+dotnet_style_prefer_conditional_expression_over_return = false:silent+dotnet_style_explicit_tuple_names = true:suggestion+dotnet_style_prefer_inferred_tuple_names = true:suggestion+dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion+dotnet_style_prefer_compound_assignment = true:suggestion+dotnet_style_prefer_simplified_interpolation = true:suggestion+dotnet_style_prefer_collection_expression = when_types_loosely_match:suggestion+dotnet_style_namespace_match_folder = true:suggestiondiff --git a/dotnet/.gitignore b/dotnet/.gitignoreindex b53c09b66..63fbe5b09 100644--- a/dotnet/.gitignore+++ b/dotnet/.gitignore@@ -1,92 +1,433 @@-syntax: glob--### VisualStudio ###--# Tools directory-.dotnet/-.packages/-.tools/+## Ignore Visual Studio temporary files, build results, and+## files generated by popular Visual Studio add-ons.+##+## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore# User-specific files+*.rsuser*.suo*.user*.userosscache*.sln.docstates-# Build results+# User-specific files (MonoDevelop/Xamarin Studio)+*.userprefs-artifacts/-artifacts_stage_1/+# Mono auto generated files+mono_crash.*++output++# Build results[Dd]ebug/+[Dd]ebugPublic/[Rr]elease/-x64/ !eng/common/cross/x64/-x86/ !eng/common/cross/x86/+[Rr]eleases/+x64/+x86/+[Ww][Ii][Nn]32/+[Aa][Rr][Mm]/+[Aa][Rr][Mm]64/+bld/[Bb]in/[Oo]bj/-msbuild.log-msbuild.err-msbuild.wrn-*.binlog+[Ll]og/+[Ll]ogs/-# Visual Studio 2015+appsettings.json++# Visual Studio 2015/2017 cache/options directory.vs/+# Uncomment if you have tasks that create the project's static files in wwwroot+#wwwroot/-# Visual Studio 2015 Pre-CTP6-*.sln.ide-*.ide/+# Visual Studio 2017 auto generated files+Generated\ Files/# MSTest test Results[Tt]est[Rr]esult*/[Bb]uild[Ll]og.*-#NUNIT+# NUnit*.VisualState.xmlTestResult.xml+nunit-*.xml++# Build Results of an ATL Project+[Dd]ebugPS/+[Rr]eleasePS/+dlldata.c++# Benchmark Results+BenchmarkDotNet.Artifacts/++# .NET+project.lock.json+project.fragment.lock.json+artifacts/++# Tye+.tye/++# ASP.NET Scaffolding+ScaffoldingReadMe.txt++# StyleCop+StyleCopReport.xml++# Files built by Visual Studio+*_i.c+*_p.c+*_h.h+*.ilk+*.meta+*.obj+*.iobj+*.pch+*.pdb+*.ipdb+*.pgc+*.pgd+*.rsp+*.sbr+*.tlb+*.tli+*.tlh+*.tmp+*.tmp_proj+*_wpftmp.csproj+*.log+*.tlog+*.vspscc+*.vssscc+.builds+*.pidb+*.svclog+*.scc++# Chutzpah Test files+_Chutzpah*++# Visual C++ cache files+ipch/+*.aps+*.ncb+*.opendb+*.opensdf+*.sdf+*.cachefile+*.VC.db+*.VC.VC.opendb++# Visual Studio profiler+*.psess+*.vsp+*.vspx+*.sap++# Visual Studio Trace Files+*.e2e++# TFS 2012 Local Workspace+$tf/++# Guidance Automation Toolkit+*.gpState# ReSharper is a .NET coding add-in_ReSharper*/*.[Rr]e[Ss]harper*.DotSettings.user+# TeamCity is a build add-in+_TeamCity*+# DotCover is a Code Coverage Tool*.dotCover+# AxoCover is a Code Coverage Tool+.axoCover/*+!.axoCover/settings.json++# Coverlet is a free, cross platform Code Coverage Tool+coverage*.json+coverage*.xml+coverage*.info++# Visual Studio code coverage results+*.coverage+*.coveragexml++# NCrunch+_NCrunch_*+.*crunch*.local.xml+nCrunchTemp_*++# MightyMoose+*.mm.*+AutoTest.Net/++# Web workbench (sass)+.sass-cache/++# Installshield output folder+[Ee]xpress/++# DocProject is a documentation generator add-in+DocProject/buildhelp/+DocProject/Help/*.HxT+DocProject/Help/*.HxC+DocProject/Help/*.hhc+DocProject/Help/*.hhk+DocProject/Help/*.hhp+DocProject/Help/Html2+DocProject/Help/html++# Click-Once directory+publish/++# Publish Web Output+*.[Pp]ublish.xml+*.azurePubxml+# Note: Comment the next line if you want to checkin your web deploy settings,+# but database connection strings (with potential passwords) will be unencrypted+*.pubxml+*.publishproj++# Microsoft Azure Web App publish settings. Comment the next line if you want to+# checkin your Azure Web App publish settings, but sensitive information contained+# in these scripts will be unencrypted+PublishScripts/+# NuGet Packages+*.nupkg+# NuGet Symbol Packages+*.snupkg+# The packages folder can be ignored because of Package Restore+**/[Pp]ackages/*+# except build/, which is used as an MSBuild target.+!**/[Pp]ackages/build/+# Uncomment if necessary however generally it will be regenerated when needed+#!**/[Pp]ackages/repositories.config+# NuGet v3's project.json files produces more ignorable files*.nuget.props*.nuget.targets-*.nupkg-**/packages/*-### Windows ###+# Microsoft Azure Build Output+csx/+*.build.csdef++# Microsoft Azure Emulator+ecf/+rcf/++# Windows Store app package directories and files+AppPackages/+BundleArtifacts/+Package.StoreAssociation.xml+_pkginfo.txt+*.appx+*.appxbundle+*.appxupload++# Visual Studio cache files+# files ending in .cache can be ignored+*.[Cc]ache+# but keep track of directories ending in .cache+!?*.[Cc]ache/++# Others+ClientBin/+~$*+*~+*.dbmdl+*.dbproj.schemaview+*.jfm+*.pfx+*.publishsettings+orleans.codegen.cs++# Including strong name files can present a security risk+# (https://github.com/github/gitignore/pull/2483#issue-259490424)+#*.snk++# Since there are multiple workflows, uncomment next line to ignore bower_components+# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)+#bower_components/++# RIA/Silverlight projects+Generated_Code/++# Backup & report files from converting an old project file+# to a newer Visual Studio version. Backup files are not needed,+# because we have git ;-)+_UpgradeReport_Files/+Backup*/+UpgradeLog*.XML+UpgradeLog*.htm+ServiceFabricBackup/+*.rptproj.bak++# SQL Server files+*.mdf+*.ldf+*.ndf++# Business Intelligence projects+*.rdl.data+*.bim.layout+*.bim_*.settings+*.rptproj.rsuser+*- [Bb]ackup.rdl+*- [Bb]ackup ([0-9]).rdl+*- [Bb]ackup ([0-9][0-9]).rdl++# Microsoft Fakes+FakesAssemblies/++# GhostDoc plugin setting file+*.GhostDoc.xml++# Node.js Tools for Visual Studio+.ntvs_analysis.dat+node_modules/-# Windows image file caches-Thumbs.db-ehthumbs.db+# Visual Studio 6 build log+*.plg-# Folder config file-Desktop.ini+# Visual Studio 6 workspace options file+*.opt-# Recycle Bin used on file shares-$RECYCLE.BIN/+# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)+*.vbw-# Windows Installer files-*.cab-*.msi-*.msm-*.msp+# Visual Studio 6 auto-generated project file (contains which files were open etc.)+*.vbp-# Windows shortcuts-*.lnk+# Visual Studio 6 workspace and project file (working project files containing files to include in project)+*.dsw+*.dsp-### Linux ###+# Visual Studio 6 technical files+*.ncb+*.aps-*~+# Visual Studio LightSwitch build output+**/*.HTMLClient/GeneratedArtifacts+**/*.DesktopClient/GeneratedArtifacts+**/*.DesktopClient/ModelManifest.xml+**/*.Server/GeneratedArtifacts+**/*.Server/ModelManifest.xml+_Pvt_Extensions++# Paket dependency manager+.paket/paket.exe+paket-files/++# FAKE - F# Make+.fake/++# CodeRush personal settings+.cr/personal++# Python Tools for Visual Studio (PTVS)+__pycache__/+*.pyc++# Cake - Uncomment if you are using it+# tools/**+# !tools/packages.config-# KDE directory preferences-.directory+# Tabs Studio+*.tss-### OSX ###+# Telerik's JustMock configuration file+*.jmconfig+# BizTalk build output+*.btp.cs+*.btm.cs+*.odx.cs+*.xsd.cs++# OpenCover UI analysis results+OpenCover/++# Azure Stream Analytics local run output+ASALocalRun/++# MSBuild Binary and Structured Log+*.binlog++# NVidia Nsight GPU debugger configuration file+*.nvuser++# MFractors (Xamarin productivity tool) working folder+.mfractor/++# Local History for Visual Studio+.localhistory/++# Visual Studio History (VSHistory) files+.vshistory/++# BeatPulse healthcheck temp database+healthchecksdb++# Backup folder for Package Reference Convert tool in Visual Studio 2017+MigrationBackup/++# Ionide (cross platform F# VS Code tools) working folder+.ionide/++# Fody - auto-generated XML schema+FodyWeavers.xsd++# VS Code files for those working on multiple tools+.vscode/*+!.vscode/settings.json+!.vscode/tasks.json+!.vscode/launch.json+!.vscode/extensions.json+*.code-workspace++# Local History for Visual Studio Code+.history/++# Windows Installer files from build outputs+*.cab+*.msi+*.msix+*.msm+*.msp++# JetBrains Rider+*.sln.iml++##+## Visual studio for Mac+##+++# globs+Makefile.in+*.userprefs+*.usertasks+config.make+config.status+aclocal.m4+install-sh+autom4te.cache/+*.tar.gz+tarballs/+test-results/++# Mac bundle stuff+*.dmg+*.app++# content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore+# General.DS_Store.AppleDouble.LSOverride@@ -94,12 +435,18 @@ $RECYCLE.BIN/# Icon must end with two \rIcon+# Thumbnails._*-# Files that might appear on external disk+# Files that might appear in the root of a volume+.DocumentRevisions-V100+.fseventsd.Spotlight-V100+.TemporaryItems.Trashes+.VolumeIcon.icns+.com.apple.timemachine.donotpresent# Directories potentially created on remote AFP share.AppleDB@@ -108,39 +455,46 @@ Network Trash FolderTemporary Items.apdisk-# vim temporary files-[._]*.s[a-w][a-z]-[._]s[a-w][a-z]-*.un~-Session.vim-.netrwhist-*~--# Visual Studio Code-.vscode/+# content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore+# Windows thumbnail cache files+Thumbs.db+ehthumbs.db+ehthumbs_vista.db-# Private test configuration and binaries.-config.ps1-**/IISApplications+# Dump file+*.stackdump+# Folder config file+[Dd]esktop.ini-# Node.js modules-node_modules/+# Recycle Bin used on file shares+$RECYCLE.BIN/-# Python Compile Outputs+# Windows Installer files+*.cab+*.msi+*.msix+*.msm+*.msp-*.pyc+# Windows shortcuts+*.lnk-# IntelliJ-.idea/+# Vim temporary swap files+*.swp+__azurite**+__blob**+__queue**+# SQLite workflows DB+elsa.sqlite.*-# vscode python env files+# env files.env-# Storage emulator storage files-**/.azurite/*--# Azure Developer CLI files-/playground/**/.gitignore-/playground/**/azure.yaml-/playground/**/next-steps.md+# ignore local elsa-core src+elsa-core/+sk-azfunc-server/local.settings.json+.azure+temp+.mono/**+**/values.xml\ No newline at end of filediff --git a/dotnet/AGNext.sln b/dotnet/AGNext.slnindex f43a8caf4..316c78ea6 100644--- a/dotnet/AGNext.sln+++ b/dotnet/AGNext.sln@@ -1,32 +1,42 @@-Microsoft Visual Studio Solution File, Format Version 12.00++Microsoft Visual Studio Solution File, Format Version 12.00# Visual Studio Version 17VisualStudioVersion = 17.0.31903.59MinimumVisualStudioVersion = 10.0.40219.1-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "csharp\src", "{290F9824-BAD3-4703-B9B7-FE9C4BE3A1CF}"+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{290F9824-BAD3-4703-B9B7-FE9C4BE3A1CF}"EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AI.Agents", "csharp\src\Microsoft.AI.Agents\Microsoft.AI.Agents.csproj", "{B0BF1CD6-34E3-4ED4-9B2A-9B8781E9BE20}"+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AI.Agents", "src\Microsoft.AI.Agents\Microsoft.AI.Agents.csproj", "{B0BF1CD6-34E3-4ED4-9B2A-9B8781E9BE20}"EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AI.Agents.Dapr", "csharp\src\Microsoft.AI.Agents.Dapr\Microsoft.AI.Agents.Dapr.csproj", "{1972846E-4C21-4E40-B448-D78B73806BD9}"+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AI.Agents.Dapr", "src\Microsoft.AI.Agents.Dapr\Microsoft.AI.Agents.Dapr.csproj", "{1972846E-4C21-4E40-B448-D78B73806BD9}"EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AI.Agents.Orleans", "csharp\src\Microsoft.AI.Agents.Orleans\Microsoft.AI.Agents.Orleans.csproj", "{A4AE4656-4919-45E2-9680-C317FBCF7693}"+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AI.Agents.Orleans", "src\Microsoft.AI.Agents.Orleans\Microsoft.AI.Agents.Orleans.csproj", "{A4AE4656-4919-45E2-9680-C317FBCF7693}"EndProject-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "examples", "examples\csharp", "{943853E7-513D-45EA-870F-549CFC0AF8E8}"+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{943853E7-513D-45EA-870F-549CFC0AF8E8}"EndProjectProject("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "gh-flow", "gh-flow", "{E0E93575-7187-4975-8D72-6F285CD01767}"EndProject-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "csharp\src", "{50809508-F830-4553-9C4E-C802E0A0F690}"+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{50809508-F830-4553-9C4E-C802E0A0F690}"EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AI.DevTeam", "examples\csharp\gh-flow\src\Microsoft.AI.DevTeam\Microsoft.AI.DevTeam.csproj", "{79981945-61F7-4E1A-8949-7808FD75471B}"+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AI.DevTeam", "samples\gh-flow\src\Microsoft.AI.DevTeam\Microsoft.AI.DevTeam.csproj", "{79981945-61F7-4E1A-8949-7808FD75471B}"EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AI.DevTeam.Dapr", "examples\csharp\gh-flow\src\Microsoft.AI.DevTeam.Dapr\Microsoft.AI.DevTeam.Dapr.csproj", "{A7677950-18F1-42FF-8018-870395417465}"+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AI.DevTeam.Dapr", "samples\gh-flow\src\Microsoft.AI.DevTeam.Dapr\Microsoft.AI.DevTeam.Dapr.csproj", "{A7677950-18F1-42FF-8018-870395417465}"EndProjectProject("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "marketing", "marketing", "{1FF691E4-E27D-4A7E-861C-4D6291B6EE35}"EndProject-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "csharp\src", "{4225F3BA-A39D-4680-945E-F2869E98AEA2}"+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{4225F3BA-A39D-4680-945E-F2869E98AEA2}"EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Marketing", "examples\csharp\marketing\src\backend\Marketing.csproj", "{62F276F3-9184-4908-A7FB-065B4E491BE2}"+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Marketing", "samples\marketing\src\backend\Marketing.csproj", "{62F276F3-9184-4908-A7FB-065B4E491BE2}"EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "seed-memory", "examples\csharp\gh-flow\src\seed-memory\seed-memory.csproj", "{EF5DF177-F4F2-49D5-9E1C-2E37869238D8}"+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "seed-memory", "samples\gh-flow\src\seed-memory\seed-memory.csproj", "{EF5DF177-F4F2-49D5-9E1C-2E37869238D8}"+EndProject+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WorkflowsApp", "samples\WorkflowsApp\WorkflowsApp.csproj", "{92CAAA29-8633-4984-B169-29BB89E0EA23}"+EndProject+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflowsapp", "workflowsapp", "{65CF8F20-D740-46AC-A869-FA609D960A09}"+EndProject+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{E6A25E68-EA75-4294-9B45-3CF2BB3B4ACD}"+ ProjectSection(SolutionItems) = preProject+ .editorconfig = .editorconfig+ EndProjectSectionEndProjectGlobalGlobalSection(SolutionConfigurationPlatforms) = preSolution@@ -62,6 +72,10 @@ Global{EF5DF177-F4F2-49D5-9E1C-2E37869238D8}.Debug|Any CPU.Build.0 = Debug|Any CPU{EF5DF177-F4F2-49D5-9E1C-2E37869238D8}.Release|Any CPU.ActiveCfg = Release|Any CPU{EF5DF177-F4F2-49D5-9E1C-2E37869238D8}.Release|Any CPU.Build.0 = Release|Any CPU+ {92CAAA29-8633-4984-B169-29BB89E0EA23}.Debug|Any CPU.ActiveCfg = Debug|Any CPU+ {92CAAA29-8633-4984-B169-29BB89E0EA23}.Debug|Any CPU.Build.0 = Debug|Any CPU+ {92CAAA29-8633-4984-B169-29BB89E0EA23}.Release|Any CPU.ActiveCfg = Release|Any CPU+ {92CAAA29-8633-4984-B169-29BB89E0EA23}.Release|Any CPU.Build.0 = Release|Any CPUEndGlobalSectionGlobalSection(SolutionProperties) = preSolutionHideSolutionNode = FALSE@@ -78,5 +92,10 @@ Global{4225F3BA-A39D-4680-945E-F2869E98AEA2} = {1FF691E4-E27D-4A7E-861C-4D6291B6EE35}{62F276F3-9184-4908-A7FB-065B4E491BE2} = {4225F3BA-A39D-4680-945E-F2869E98AEA2}{EF5DF177-F4F2-49D5-9E1C-2E37869238D8} = {943853E7-513D-45EA-870F-549CFC0AF8E8}+ {92CAAA29-8633-4984-B169-29BB89E0EA23} = {65CF8F20-D740-46AC-A869-FA609D960A09}+ {65CF8F20-D740-46AC-A869-FA609D960A09} = {943853E7-513D-45EA-870F-549CFC0AF8E8}+ EndGlobalSection+ GlobalSection(ExtensibilityGlobals) = postSolution+ SolutionGuid = {C9250809-2B94-4552-99DE-333E4646A16F}EndGlobalSectionEndGlobaldiff --git a/dotnet/Directory.Build.props b/dotnet/Directory.Build.propsnew file mode 100644index 000000000..658f80bc3--- /dev/null+++ b/dotnet/Directory.Build.props@@ -0,0 +1,27 @@+<Project>++ <PropertyGroup>+ <LangVersion>latest</LangVersion>+ <PackageLicenseExpression>MIT</PackageLicenseExpression>+ <!-- Capture PackageIconFullPath into DefaultDotnetIconFullPath before we overwrite PackageIconFullPath. -->+ <!-- DefaultDotnetIconFullPath is only needed for the ServiceDisovery packages. The property can be removed when these libraries move. See https://github.com/dotnet/aspire/issues/170 -->+ <DefaultDotnetIconFullPath>$(PackageIconFullPath)</DefaultDotnetIconFullPath>+ <PackageIconFullPath>$(SharedDir)Aspire_icon_256.png</PackageIconFullPath>+ <PackageProjectUrl>https://github.com/dotnet/aspire</PackageProjectUrl>+ <WarnOnPackingNonPackableProject>false</WarnOnPackingNonPackableProject>+ <TreatWarningsAsErrors>true</TreatWarningsAsErrors>+ <EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>+ <GenerateDocumentationFile>true</GenerateDocumentationFile>+ <SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>+ <DebugType>embedded</DebugType>+ <DebugSymbols>true</DebugSymbols>+ <StrongNameKeyId>Open</StrongNameKeyId>+ <Nullable>enable</Nullable>+ <ImplicitUsings>enable</ImplicitUsings>+ <!-- Set RunSettingsFilePath property which is read by VSTest. -->+ <RunSettingsFilePath Condition="'$(RunSettingsFilePath)' == ''">$(RepositoryEngineeringDir).runsettings</RunSettingsFilePath>+ <!-- Redirect test logs into a subfolder -->+ <TestResultsLogDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsLogDir)', 'TestLogs'))</TestResultsLogDir>+ </PropertyGroup>++</Project>diff --git a/dotnet/Directory.Build.targets b/dotnet/Directory.Build.targetsnew file mode 100644index 000000000..5a7247c31--- /dev/null+++ b/dotnet/Directory.Build.targets@@ -0,0 +1,13 @@+<Project>++ <PropertyGroup>+ <ReadMePath>$(MSBuildProjectDirectory)\README.md</ReadMePath>+ <ReadMeExists Condition="Exists('$(ReadMePath)')">true</ReadMeExists>+ <PackageReadmeFile Condition="'$(PackageReadmeFile)' == '' And '$(ReadMeExists)' == 'true'">README.md</PackageReadmeFile>+ </PropertyGroup>++ <ItemGroup Condition="'$(ReadMeExists)' == 'true'">+ <None Include="$(ReadMePath)" Pack="true" PackagePath="\" />+ </ItemGroup>++</Project>diff --git a/dotnet/Directory.Packages.props b/dotnet/Directory.Packages.propsnew file mode 100644index 000000000..2fe425b4f--- /dev/null+++ b/dotnet/Directory.Packages.props@@ -0,0 +1,59 @@+<Project>+ <PropertyGroup>+ <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>+ </PropertyGroup>++ <ItemGroup>+ <PackageVersion Include="AspNetCore.Authentication.ApiKey" Version="8.0.0" />+ <PackageVersion Include="Azure.Data.Tables" Version="12.8.1" />+ <PackageVersion Include="Azure.Identity" Version="1.12.0" />+ <PackageVersion Include="Azure.ResourceManager.ContainerInstance" Version="1.2.0" />+ <PackageVersion Include="Azure.Storage.Files.Shares" Version="12.18.0" />+ <PackageVersion Include="CloudNative.CloudEvents.SystemTextJson" Version="2.7.1" />+ <PackageVersion Include="Dapr.Actors" Version="1.13.0" />+ <PackageVersion Include="Dapr.Actors.AspNetCore" Version="1.13.0" />+ <PackageVersion Include="Dapr.AspNetCore" Version="1.13.0" />+ <PackageVersion Include="Dapr.Client" Version="1.13.0" />+ <PackageVersion Include="Elsa" Version="3.0.6" />+ <PackageVersion Include="Elsa.EntityFrameworkCore" Version="3.0.6" />+ <PackageVersion Include="Elsa.EntityFrameworkCore.Sqlite" Version="3.0.6" />+ <PackageVersion Include="Elsa.Http" Version="3.0.6" />+ <PackageVersion Include="Elsa.Identity" Version="3.0.6" />+ <PackageVersion Include="Elsa.Workflows.Api" Version="3.0.6" />+ <PackageVersion Include="Elsa.Workflows.Core" Version="3.0.6" />+ <PackageVersion Include="Elsa.Workflows.Designer" Version="3.0.0-preview.727" />+ <PackageVersion Include="Elsa.Workflows.Management" Version="3.0.6" />+ <PackageVersion Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.21.0" />+ <PackageVersion Include="Microsoft.Extensions.Azure" Version="1.7.2" />+ <PackageVersion Include="Microsoft.Extensions.Caching.Abstractions" Version="8.0.0" />+ <PackageVersion Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="8.0.0" />+ <PackageVersion Include="Microsoft.Extensions.Configuration.FileExtensions" Version="8.0.0" />+ <PackageVersion Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />+ <PackageVersion Include="Microsoft.Extensions.Configuration.UserSecrets" Version="8.0.0" />+ <PackageVersion Include="Microsoft.Extensions.Hosting" Version="8.0.0" />+ <PackageVersion Include="Microsoft.Extensions.Http.Resilience" Version="8.6.0" />+ <PackageVersion Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" />+ <PackageVersion Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />+ <PackageVersion Include="Microsoft.Orleans.Clustering.Cosmos" Version="8.1.0" />+ <PackageVersion Include="Microsoft.Orleans.Persistence.Cosmos" Version="8.1.0" />+ <PackageVersion Include="Microsoft.Orleans.Reminders" Version="8.1.0" />+ <PackageVersion Include="Microsoft.Orleans.Reminders.Cosmos" Version="8.1.0" />+ <PackageVersion Include="Microsoft.Orleans.Runtime" Version="8.1.0" />+ <PackageVersion Include="Microsoft.Orleans.Sdk" Version="8.1.0" />+ <PackageVersion Include="Microsoft.Orleans.Server" Version="8.1.0" />+ <PackageVersion Include="Microsoft.Orleans.Streaming" Version="8.1.0" />+ <PackageVersion Include="Microsoft.Orleans.Streaming.EventHubs" Version="8.1.0" />+ <PackageVersion Include="Microsoft.SemanticKernel" Version="1.15.0" />+ <PackageVersion Include="Microsoft.SemanticKernel.Connectors.Qdrant" Version="1.10.0-alpha" />+ <PackageVersion Include="Microsoft.SemanticKernel.Plugins.Memory" Version="1.10.0-alpha" />+ <PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />+ <PackageVersion Include="Octokit" Version="10.0.0" />+ <PackageVersion Include="Octokit.Webhooks.AspNetCore" Version="2.0.3" />+ <PackageVersion Include="OrleansDashboard" Version="8.0.0" />+ <PackageVersion Include="PdfPig" Version="0.1.9-alpha-20240324-e7896" />+ <PackageVersion Include="Swashbuckle.AspNetCore" Version="6.5.0" />+ <PackageVersion Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />+ <PackageVersion Include="System.IdentityModel.Tokens.Jwt" Version="7.4.1" />+ </ItemGroup>++</Project>diff --git a/dotnet/samples/WorkflowsApp/WorkflowsApp.csproj b/dotnet/samples/WorkflowsApp/WorkflowsApp.csprojindex d0f32f3fe..6b2c045da 100644--- a/dotnet/samples/WorkflowsApp/WorkflowsApp.csproj+++ b/dotnet/samples/WorkflowsApp/WorkflowsApp.csproj@@ -7,23 +7,23 @@</PropertyGroup><ItemGroup>- <PackageReference Include="Elsa.EntityFrameworkCore" Version="3.0.6" />- <PackageReference Include="Elsa.EntityFrameworkCore.Sqlite" Version="3.0.6" />- <PackageReference Include="Elsa.Identity" Version="3.0.6" />- <PackageReference Include="Elsa" Version="3.0.6" />- <PackageReference Include="Elsa.Http" Version="3.0.6" />- <PackageReference Include="Elsa.Workflows.Api" Version="3.0.6" />- <PackageReference Include="Elsa.Workflows.Core" Version="3.0.6" />- <PackageReference Include="Elsa.Workflows.Management" Version="3.0.6" />- <PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="8.0.0" />- <PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" />- <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />- <PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />- <PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="8.0.0" />- <PackageReference Include="AspNetCore.Authentication.ApiKey" Version="8.0.0" />- <PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="8.0.0" />- <PackageReference Include="Elsa.Workflows.Designer" Version="3.0.0-preview.727" />- <PackageReference Include="Microsoft.SemanticKernel" Version="1.6.2" />+ <PackageReference Include="Elsa.EntityFrameworkCore" />+ <PackageReference Include="Elsa.EntityFrameworkCore.Sqlite" />+ <PackageReference Include="Elsa.Identity" />+ <PackageReference Include="Elsa" />+ <PackageReference Include="Elsa.Http" />+ <PackageReference Include="Elsa.Workflows.Api" />+ <PackageReference Include="Elsa.Workflows.Core" />+ <PackageReference Include="Elsa.Workflows.Management" />+ <PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" />+ <PackageReference Include="Microsoft.Extensions.Logging.Console" />+ <PackageReference Include="Microsoft.Extensions.Logging.Debug" />+ <PackageReference Include="Microsoft.Extensions.Hosting" />+ <PackageReference Include="Microsoft.Extensions.Caching.Abstractions" />+ <PackageReference Include="AspNetCore.Authentication.ApiKey" />+ <PackageReference Include="Microsoft.Extensions.Http.Resilience" />+ <PackageReference Include="Elsa.Workflows.Designer" />+ <PackageReference Include="Microsoft.SemanticKernel" /></ItemGroup></Project>diff --git a/dotnet/samples/gh-flow/src/Microsoft.AI.DevTeam.Dapr/Microsoft.AI.DevTeam.Dapr.csproj b/dotnet/samples/gh-flow/src/Microsoft.AI.DevTeam.Dapr/Microsoft.AI.DevTeam.Dapr.csprojindex fb26c2709..fb8eed851 100644--- a/dotnet/samples/gh-flow/src/Microsoft.AI.DevTeam.Dapr/Microsoft.AI.DevTeam.Dapr.csproj+++ b/dotnet/samples/gh-flow/src/Microsoft.AI.DevTeam.Dapr/Microsoft.AI.DevTeam.Dapr.csproj@@ -1,4 +1,4 @@-<Project Sdk="Microsoft.NET.Sdk.Web">+<Project Sdk="Microsoft.NET.Sdk.Web"><PropertyGroup><TargetFramework>net8.0</TargetFramework>@@ -11,33 +11,33 @@</PropertyGroup><ItemGroup>- <PackageReference Include="Octokit.Webhooks.AspNetCore" Version="2.0.3" />- <PackageReference Include="Octokit" Version="10.0.0" />+ <PackageReference Include="Octokit.Webhooks.AspNetCore" />+ <PackageReference Include="Octokit" />- <PackageReference Include="Microsoft.SemanticKernel" Version="1.10.0" />- <PackageReference Include="Microsoft.SemanticKernel.Connectors.Qdrant" Version="1.10.0-alpha" />- <PackageReference Include="Microsoft.SemanticKernel.Plugins.Memory" Version="1.10.0-alpha" />+ <PackageReference Include="Microsoft.SemanticKernel" />+ <PackageReference Include="Microsoft.SemanticKernel.Connectors.Qdrant" />+ <PackageReference Include="Microsoft.SemanticKernel.Plugins.Memory" />- <PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.21.0" />- <PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />+ <PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" />+ <PackageReference Include="Swashbuckle.AspNetCore" />- <PackageReference Include="Microsoft.Extensions.Azure" Version="1.7.2" />- <PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="8.0.0" />- <PackageReference Include="Azure.ResourceManager.ContainerInstance" Version="1.2.0" />- <PackageReference Include="Azure.Storage.Files.Shares" Version="12.16.0-beta.1" />- <PackageReference Include="Azure.Data.Tables" Version="12.8.1" />- <PackageReference Include="Azure.Identity" Version="1.11.0-beta.1" />+ <PackageReference Include="Microsoft.Extensions.Azure" />+ <PackageReference Include="Microsoft.Extensions.Http.Resilience" />+ <PackageReference Include="Azure.ResourceManager.ContainerInstance" />+ <PackageReference Include="Azure.Storage.Files.Shares" />+ <PackageReference Include="Azure.Data.Tables" />+ <PackageReference Include="Azure.Identity" />- <PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="7.4.1" />- <PackageReference Include="Newtonsoft.Json" Version="13.0.3" />+ <PackageReference Include="System.IdentityModel.Tokens.Jwt" />+ <PackageReference Include="Newtonsoft.Json" />- <PackageReference Include="Dapr.Actors.AspNetCore" Version="1.13.0" />- <PackageReference Include="Dapr.AspNetCore" Version="1.13.0" />- <PackageReference Include="CloudNative.CloudEvents.SystemTextJson" Version="2.7.1" />+ <PackageReference Include="Dapr.Actors.AspNetCore" />+ <PackageReference Include="Dapr.AspNetCore" />+ <PackageReference Include="CloudNative.CloudEvents.SystemTextJson" /></ItemGroup><ItemGroup>- <ProjectReference Include="..\..\..\..\..\csharp\src\Microsoft.AI.Agents.Dapr\Microsoft.AI.Agents.Dapr.csproj" />+ <ProjectReference Include="..\..\..\..\src\Microsoft.AI.Agents.Dapr\Microsoft.AI.Agents.Dapr.csproj" /></ItemGroup></Project>diff --git a/dotnet/samples/gh-flow/src/Microsoft.AI.DevTeam/Microsoft.AI.DevTeam.csproj b/dotnet/samples/gh-flow/src/Microsoft.AI.DevTeam/Microsoft.AI.DevTeam.csprojindex d299007ee..5defc7480 100644--- a/dotnet/samples/gh-flow/src/Microsoft.AI.DevTeam/Microsoft.AI.DevTeam.csproj+++ b/dotnet/samples/gh-flow/src/Microsoft.AI.DevTeam/Microsoft.AI.DevTeam.csproj@@ -1,4 +1,4 @@-<Project Sdk="Microsoft.NET.Sdk.Web">+<Project Sdk="Microsoft.NET.Sdk.Web"><PropertyGroup><TargetFramework>net8.0</TargetFramework>@@ -11,39 +11,39 @@</PropertyGroup><ItemGroup>- <PackageReference Include="Octokit.Webhooks.AspNetCore" Version="2.0.3" />- <PackageReference Include="Octokit" Version="10.0.0" />- <PackageReference Include="Microsoft.SemanticKernel" Version="1.10.0" />- <PackageReference Include="Microsoft.SemanticKernel.Connectors.Qdrant" Version="1.10.0-alpha" />- <PackageReference Include="Microsoft.SemanticKernel.Plugins.Memory" Version="1.10.0-alpha" />+ <PackageReference Include="Octokit.Webhooks.AspNetCore" />+ <PackageReference Include="Octokit" />+ <PackageReference Include="Microsoft.SemanticKernel" />+ <PackageReference Include="Microsoft.SemanticKernel.Connectors.Qdrant" />+ <PackageReference Include="Microsoft.SemanticKernel.Plugins.Memory" />- <PackageReference Include="Microsoft.Orleans.Server" Version="8.1.0" />- <PackageReference Include="Microsoft.Orleans.Sdk" Version="8.1.0" />- <PackageReference Include="Microsoft.Orleans.Runtime" Version="8.1.0" />- <PackageReference Include="Microsoft.Orleans.Persistence.Cosmos" Version="8.1.0" />- <PackageReference Include="Microsoft.Orleans.Clustering.Cosmos" Version="8.1.0" />- <PackageReference Include="Microsoft.Orleans.Reminders.Cosmos" Version="8.1.0" />- <PackageReference Include="Microsoft.Orleans.Streaming.EventHubs" Version="8.1.0" />- <PackageReference Include="Microsoft.Orleans.Reminders" Version="8.1.0" />- <PackageReference Include="Microsoft.Orleans.Streaming" Version="8.1.0" />- <PackageReference Include="OrleansDashboard" Version="8.0.0" />+ <PackageReference Include="Microsoft.Orleans.Server" />+ <PackageReference Include="Microsoft.Orleans.Sdk" />+ <PackageReference Include="Microsoft.Orleans.Runtime" />+ <PackageReference Include="Microsoft.Orleans.Persistence.Cosmos" />+ <PackageReference Include="Microsoft.Orleans.Clustering.Cosmos" />+ <PackageReference Include="Microsoft.Orleans.Reminders.Cosmos" />+ <PackageReference Include="Microsoft.Orleans.Streaming.EventHubs" />+ <PackageReference Include="Microsoft.Orleans.Reminders" />+ <PackageReference Include="Microsoft.Orleans.Streaming" />+ <PackageReference Include="OrleansDashboard" />- <PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.21.0" />- <PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />+ <PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" />+ <PackageReference Include="Swashbuckle.AspNetCore" />- <PackageReference Include="Microsoft.Extensions.Azure" Version="1.7.2" />- <PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="8.0.0" />- <PackageReference Include="Azure.ResourceManager.ContainerInstance" Version="1.2.0" />- <PackageReference Include="Azure.Storage.Files.Shares" Version="12.16.0-beta.1" />- <PackageReference Include="Azure.Data.Tables" Version="12.8.1" />- <PackageReference Include="Azure.Identity" Version="1.11.0-beta.1" />+ <PackageReference Include="Microsoft.Extensions.Azure" />+ <PackageReference Include="Microsoft.Extensions.Http.Resilience" />+ <PackageReference Include="Azure.ResourceManager.ContainerInstance" />+ <PackageReference Include="Azure.Storage.Files.Shares" />+ <PackageReference Include="Azure.Data.Tables" />+ <PackageReference Include="Azure.Identity" />- <PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="7.4.1" />+ <PackageReference Include="System.IdentityModel.Tokens.Jwt" /></ItemGroup><ItemGroup>- <ProjectReference Include="..\..\..\..\..\csharp\src\Microsoft.AI.Agents.Orleans\Microsoft.AI.Agents.Orleans.csproj" />+ <ProjectReference Include="..\..\..\..\src\Microsoft.AI.Agents.Orleans\Microsoft.AI.Agents.Orleans.csproj" /></ItemGroup></Project>diff --git a/dotnet/samples/gh-flow/src/seed-memory/seed-memory.csproj b/dotnet/samples/gh-flow/src/seed-memory/seed-memory.csprojindex 0b4a7046b..ea801275d 100644--- a/dotnet/samples/gh-flow/src/seed-memory/seed-memory.csproj+++ b/dotnet/samples/gh-flow/src/seed-memory/seed-memory.csproj@@ -9,17 +9,17 @@</PropertyGroup><ItemGroup>- <PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />- <PackageReference Include="Microsoft.SemanticKernel" Version="1.10.0" />- <PackageReference Include="Microsoft.SemanticKernel.Connectors.Qdrant" Version="1.10.0-alpha" />- <PackageReference Include="Microsoft.SemanticKernel.Plugins.Memory" Version="1.10.0-alpha" />- <PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" />- <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />- <PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="8.0.0" />- <PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />- <PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="8.0.0" />- <PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="8.0.0" />- <PackageReference Include="PdfPig" Version="0.1.9-alpha-20240324-e7896" />+ <PackageReference Include="System.CommandLine" />+ <PackageReference Include="Microsoft.SemanticKernel" />+ <PackageReference Include="Microsoft.SemanticKernel.Connectors.Qdrant" />+ <PackageReference Include="Microsoft.SemanticKernel.Plugins.Memory" />+ <PackageReference Include="Microsoft.Extensions.Logging.Console" />+ <PackageReference Include="Microsoft.Extensions.Logging.Debug" />+ <PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" />+ <PackageReference Include="Microsoft.Extensions.Configuration.Json" />+ <PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" />+ <PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" />+ <PackageReference Include="PdfPig" /></ItemGroup><ItemGroup>diff --git a/dotnet/samples/marketing/src/backend/Marketing.csproj b/dotnet/samples/marketing/src/backend/Marketing.csprojindex e3c1366c1..6d953a8c2 100644--- a/dotnet/samples/marketing/src/backend/Marketing.csproj+++ b/dotnet/samples/marketing/src/backend/Marketing.csproj@@ -1,4 +1,4 @@-<Project Sdk="Microsoft.NET.Sdk.Web">+<Project Sdk="Microsoft.NET.Sdk.Web"><ItemGroup><Compile Remove="Services\**" />@@ -18,42 +18,34 @@</PropertyGroup><ItemGroup>- <PackageReference Include="Octokit.Webhooks.AspNetCore" Version="2.1.1" />- <PackageReference Include="Octokit" Version="11.0.1" />-- <PackageReference Include="Microsoft.SemanticKernel" Version="1.10.0" />- <PackageReference Include="Microsoft.SemanticKernel.Connectors.Qdrant" Version="1.10.0-alpha" />- <PackageReference Include="Microsoft.SemanticKernel.Plugins.Memory" Version="1.10.0-alpha" />-- <PackageReference Include="Microsoft.Orleans.Server" Version="8.1.0" />- <PackageReference Include="Microsoft.Orleans.Sdk" Version="8.1.0" />- <PackageReference Include="Microsoft.Orleans.Runtime" Version="8.1.0" />- <PackageReference Include="Microsoft.Orleans.Persistence.Cosmos" Version="8.1.0" />- <PackageReference Include="Microsoft.Orleans.Clustering.Cosmos" Version="8.1.0" />- <PackageReference Include="Microsoft.Orleans.Reminders.Cosmos" Version="8.1.0" />- <PackageReference Include="Microsoft.Orleans.Streaming.EventHubs" Version="8.1.0" />- <PackageReference Include="Microsoft.Orleans.Reminders" Version="8.1.0" />- <PackageReference Include="Microsoft.Orleans.Streaming" Version="8.1.0" />- <PackageReference Include="OrleansDashboard" Version="8.0.0" />-- <PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.22.0" />- <PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />-- <PackageReference Include="Microsoft.Extensions.Azure" Version="1.7.3" />- <PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="9.0.0-preview.3.24209.3" />- <PackageReference Include="Azure.ResourceManager.ContainerInstance" Version="1.2.1" />- <PackageReference Include="Azure.Storage.Files.Shares" Version="12.18.0-beta.2" />- <PackageReference Include="Azure.Data.Tables" Version="12.8.3" />- <PackageReference Include="Azure.Identity" Version="1.12.0-beta.1" />-- <PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="7.5.1" />--+ <PackageReference Include="Octokit.Webhooks.AspNetCore" />+ <PackageReference Include="Octokit" />+ <PackageReference Include="Microsoft.SemanticKernel" />+ <PackageReference Include="Microsoft.SemanticKernel.Connectors.Qdrant" />+ <PackageReference Include="Microsoft.SemanticKernel.Plugins.Memory" />+ <PackageReference Include="Microsoft.Orleans.Server" />+ <PackageReference Include="Microsoft.Orleans.Sdk" />+ <PackageReference Include="Microsoft.Orleans.Runtime" />+ <PackageReference Include="Microsoft.Orleans.Persistence.Cosmos" />+ <PackageReference Include="Microsoft.Orleans.Clustering.Cosmos" />+ <PackageReference Include="Microsoft.Orleans.Reminders.Cosmos" />+ <PackageReference Include="Microsoft.Orleans.Streaming.EventHubs" />+ <PackageReference Include="Microsoft.Orleans.Reminders" />+ <PackageReference Include="Microsoft.Orleans.Streaming" />+ <PackageReference Include="OrleansDashboard" />+ <PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" />+ <PackageReference Include="Swashbuckle.AspNetCore" />+ <PackageReference Include="Microsoft.Extensions.Azure" />+ <PackageReference Include="Microsoft.Extensions.Http.Resilience" />+ <PackageReference Include="Azure.ResourceManager.ContainerInstance" />+ <PackageReference Include="Azure.Storage.Files.Shares" />+ <PackageReference Include="Azure.Data.Tables" />+ <PackageReference Include="Azure.Identity" />+ <PackageReference Include="System.IdentityModel.Tokens.Jwt" /></ItemGroup><ItemGroup>- <ProjectReference Include="..\..\..\..\..\csharp\src\Microsoft.AI.Agents.Orleans\Microsoft.AI.Agents.Orleans.csproj" />+ <ProjectReference Include="..\..\..\..\src\Microsoft.AI.Agents.Orleans\Microsoft.AI.Agents.Orleans.csproj" /></ItemGroup>-</Project>diff --git a/dotnet/spelling.dic b/dotnet/spelling.dicnew file mode 100644index 000000000..e69de29bbdiff --git a/dotnet/src/Microsoft.AI.Agents.Dapr/Microsoft.AI.Agents.Dapr.csproj b/dotnet/src/Microsoft.AI.Agents.Dapr/Microsoft.AI.Agents.Dapr.csprojindex 6e1d44f47..9d18259d7 100644--- a/dotnet/src/Microsoft.AI.Agents.Dapr/Microsoft.AI.Agents.Dapr.csproj+++ b/dotnet/src/Microsoft.AI.Agents.Dapr/Microsoft.AI.Agents.Dapr.csproj@@ -1,4 +1,4 @@-<Project Sdk="Microsoft.NET.Sdk">+<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup><TargetFramework>net8.0</TargetFramework>@@ -7,8 +7,8 @@</PropertyGroup><ItemGroup>- <PackageReference Include="Dapr.Client" Version="1.13.0" />- <PackageReference Include="Dapr.Actors" Version="1.13.0" />+ <PackageReference Include="Dapr.Client" />+ <PackageReference Include="Dapr.Actors" /></ItemGroup><ItemGroup>diff --git a/dotnet/src/Microsoft.AI.Agents.Orleans/AiAgent.cs b/dotnet/src/Microsoft.AI.Agents.Orleans/AiAgent.csindex 6d7294c60..7128d85a1 100644--- a/dotnet/src/Microsoft.AI.Agents.Orleans/AiAgent.cs+++ b/dotnet/src/Microsoft.AI.Agents.Orleans/AiAgent.cs@@ -1,3 +1,4 @@+using System.Globalization;using System.Text;using Microsoft.AI.Agents.Abstractions;using Microsoft.SemanticKernel;@@ -48,9 +49,9 @@ public abstract class AiAgent<T> : Agent, IAiAgent where T : class, new()// TODO: extract this to be configurablevar propmptSettings = settings ?? new OpenAIPromptExecutionSettings { MaxTokens = 4096, Temperature = 0.8, TopP = 1 };var function = _kernel.CreateFunctionFromPrompt(template, propmptSettings);- var result = (await _kernel.InvokeAsync(function, arguments)).ToString();+ var result = (await _kernel.InvokeAsync(function, arguments).ConfigureAwait(true)).ToString();AddToHistory(result, ChatUserType.Agent);- await _state.WriteStateAsync();+ await _state.WriteStateAsync().ConfigureAwait(true);return result;}@@ -63,11 +64,11 @@ public abstract class AiAgent<T> : Agent, IAiAgent where T : class, new()/// <returns></returns>public async Task<KernelArguments> AddKnowledge(string instruction, string index, KernelArguments arguments){- var documents = _memory.SearchAsync(index, arguments["input"].ToString(), 5);+ var documents = _memory.SearchAsync(index, arguments["input"]?.ToString()!, 5);var kbStringBuilder = new StringBuilder();await foreach (var doc in documents){- kbStringBuilder.AppendLine($"{doc.Metadata.Text}");+ kbStringBuilder.AppendLine(CultureInfo.InvariantCulture, $"{doc.Metadata.Text}");}arguments[index] = instruction.Replace($"!{index}!", $"{kbStringBuilder}");return arguments;diff --git a/dotnet/src/Microsoft.AI.Agents.Orleans/EventSurrogate.cs b/dotnet/src/Microsoft.AI.Agents.Orleans/EventSurrogate.csindex 451cd3391..50ef08a44 100644--- a/dotnet/src/Microsoft.AI.Agents.Orleans/EventSurrogate.cs+++ b/dotnet/src/Microsoft.AI.Agents.Orleans/EventSurrogate.cs@@ -3,7 +3,7 @@ using Microsoft.AI.Agents.Abstractions;namespace Microsoft.AI.Agents.Orleans;[GenerateSerializer]-public struct EventSurrogate+internal struct EventSurrogate{[Id(0)]public Dictionary<string, string> Data { get; set; }@@ -14,7 +14,7 @@ public struct EventSurrogate}[RegisterConverter]-public sealed class EventSurrogateConverter :+internal sealed class EventSurrogateConverter :IConverter<Event, EventSurrogate>{public Event ConvertFromSurrogate(diff --git a/dotnet/src/Microsoft.AI.Agents.Orleans/Microsoft.AI.Agents.Orleans.csproj b/dotnet/src/Microsoft.AI.Agents.Orleans/Microsoft.AI.Agents.Orleans.csprojindex ce6deabf4..d0999ebd1 100644--- a/dotnet/src/Microsoft.AI.Agents.Orleans/Microsoft.AI.Agents.Orleans.csproj+++ b/dotnet/src/Microsoft.AI.Agents.Orleans/Microsoft.AI.Agents.Orleans.csproj@@ -1,4 +1,4 @@-<Project Sdk="Microsoft.NET.Sdk">+<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup><TargetFramework>net8.0</TargetFramework>@@ -7,8 +7,8 @@</PropertyGroup><ItemGroup>- <PackageReference Include="Microsoft.Orleans.Sdk" Version="8.1.0" />- <PackageReference Include="Microsoft.Orleans.Streaming" Version="8.1.0" />+ <PackageReference Include="Microsoft.Orleans.Sdk" />+ <PackageReference Include="Microsoft.Orleans.Streaming" /><ProjectReference Include="..\Microsoft.AI.Agents\Microsoft.AI.Agents.csproj" /></ItemGroup>diff --git a/dotnet/src/Microsoft.AI.Agents/Abstractions/Event.cs b/dotnet/src/Microsoft.AI.Agents/Abstractions/Event.csindex 95b64ba2b..18e5e5535 100644--- a/dotnet/src/Microsoft.AI.Agents/Abstractions/Event.cs+++ b/dotnet/src/Microsoft.AI.Agents/Abstractions/Event.cs@@ -1,12 +1,11 @@using System.Runtime.Serialization;-namespace Microsoft.AI.Agents.Abstractions+namespace Microsoft.AI.Agents.Abstractions;++[DataContract]+public class Event{- [DataContract]- public class Event- {- public Dictionary<string, string> Data { get; set; }- public string Type { get; set; }- public string Subject { get; set; }- }+ public Dictionary<string, string> Data { get; set; }+ public string Type { get; set; }+ public string Subject { get; set; }}\ No newline at end of filediff --git a/dotnet/src/Microsoft.AI.Agents/Microsoft.AI.Agents.csproj b/dotnet/src/Microsoft.AI.Agents/Microsoft.AI.Agents.csprojindex be26f7a58..3ef31b17b 100644--- a/dotnet/src/Microsoft.AI.Agents/Microsoft.AI.Agents.csproj+++ b/dotnet/src/Microsoft.AI.Agents/Microsoft.AI.Agents.csproj@@ -1,4 +1,4 @@-<Project Sdk="Microsoft.NET.Sdk">+<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup><TargetFramework>net8.0</TargetFramework>@@ -7,7 +7,7 @@</PropertyGroup><ItemGroup>- <PackageReference Include="Microsoft.SemanticKernel" Version="1.10.0" />+ <PackageReference Include="Microsoft.SemanticKernel" /></ItemGroup></Project>\ No newline at end of file