Skip to content

Releases: dotnet/samples

MEF Sample: Simple Calculator (Visual Basic)

21 Sep 13:52
9fc9b44
Compare
Choose a tag to compare
197709

Upgrade projects using EOL version (#3910)

Out-of-process COM Server Demo

18 Sep 15:22
01234ae
Compare
Choose a tag to compare
196735

Add out-of-process COM server demo (#3908)

P/Invoke Marshaling Sample

15 Sep 20:24
3bbeef4
Compare
Choose a tag to compare
Update P/Invoke sample to find MSVC compiler as part of build (#3749)

* Update P/Invoke sample: metadata and CI build

* PR feedback

* readme -> README

* OSX -> macOS

Diagnostic scenarios sample debug target

15 Sep 19:52
e3f2579
Compare
Choose a tag to compare
Bump Microsoft.AspNetCore.Mvc.NewtonsoftJson (#3894)

Bumps [Microsoft.AspNetCore.Mvc.NewtonsoftJson](https://github.com/aspnet/AspNetCore) from 3.1.7 to 3.1.8.
- [Release notes](https://github.com/aspnet/AspNetCore/releases)
- [Commits](https://github.com/aspnet/AspNetCore/compare/v3.1.7...v3.1.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

.NET Core unit testing code coverage

15 Sep 19:52
e3f2579
Compare
Choose a tag to compare
Bump Microsoft.AspNetCore.Mvc.NewtonsoftJson (#3894)

Bumps [Microsoft.AspNetCore.Mvc.NewtonsoftJson](https://github.com/aspnet/AspNetCore) from 3.1.7 to 3.1.8.
- [Release notes](https://github.com/aspnet/AspNetCore/releases)
- [Commits](https://github.com/aspnet/AspNetCore/compare/v3.1.7...v3.1.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Azure Identity, Resource Management, and Storage sample

15 Sep 19:37
63c397d
Compare
Choose a tag to compare
Bump Azure.Identity in /azure/sdk-identity-resources-storage (#3904)

Bumps [Azure.Identity](https://github.com/Azure/azure-sdk-for-net) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Identity_1.2.2...Azure.Identity_1.2.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

.NET Core unit testing code coverage

08 Sep 15:44
9d56dc2
Compare
Choose a tag to compare
Bump Azure.Storage.Blobs in /azure/sdk-identity-resources-storage (#3…

…880)

Bumps [Azure.Storage.Blobs](https://github.com/Azure/azure-sdk-for-net) from 12.5.1 to 12.6.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Storage.Blobs_12.5.1...Azure.Storage.Blobs_12.6.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Azure Identity, Resource Management, and Storage sample

08 Sep 15:44
9d56dc2
Compare
Choose a tag to compare
Bump Azure.Storage.Blobs in /azure/sdk-identity-resources-storage (#3…

…880)

Bumps [Azure.Storage.Blobs](https://github.com/Azure/azure-sdk-for-net) from 12.5.1 to 12.6.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Storage.Blobs_12.5.1...Azure.Storage.Blobs_12.6.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Windows Forms Sample: FlexGrid Showcase (C#)

04 Sep 23:28
85bfc5a
Compare
Choose a tag to compare
Added GrapeCity FlexGrid Showcase sample (#3869)

* Added GrapeCity FlexGrid Showcase sample

* Removed "Unnecessary blank line"

* Renamed variable "title" to "columnTitles"

* Removed array allocation.

* Renamed "bs" vaiable to "bindingSource", wrapped IC1FlexGridRowDetail.Setup() method body with "using" block to dispose bindingSource.

* Renamed "srSz" variable to "scrollableRectangleSize" and "sz" variable to "labelSize"

* Removed "FlexGridShowcaseDemo.sln"

* Refactored MainForm.cs, fixed typos, changed screenshots

* Used var instead of explicit type "Bitmap"

* Changed "Countries" enum name to "Country"

* Changed "DrawColors" enum name to "DrawColor"

* Used string interpolation instead of "string.Format" method

* Formatted dataSizes list initialization

* Formatted rulesDict dictionary initialization

* Used PascalCase for constants

* Use type pattern matching with decimal value

* Use type pattern matching with int value

* Check "columnName" firstly for change value

* Check "columnName" firstly for rating value

* Added a blank line

* Renamed "_rnd" static field to "s_rnd"

* Overrided OnLoad method instead of using event handler

* Used "_rnd.NextDouble() >= 0.5" for generate random boolean

* Used count of descriptions as maxValue for s_rnd.Next(int) method

* Fixed parent and child columns in relation, changed custom detail control to obtain data from child row of relation

* Optimized linq queries to obtain details data

* Renamed "_flex_GridChanged" to "_flexGrid_GridChanged", "_flex_OwnerDrawCell" to "_flexGrid_OwnerDrawCell" methods according control field name

* Refactored LoadImage method and creation of C1BitmapIcon

* Removed "Products" column from FlexGrid

* Removed EnableDefaultCompileItems, EnableDefaultEmbeddedResourceItems, EnableDefaultNoneItems properties and explicit listing of files

* Replaced using of linq methods with condition for adding themes into combobox

* Replaced checking for null and length with null-conditional operator

* Used readonly modifier for _dataSet, _rulesManager, s_rnd fields, removed initialization for _rules field

* Use constant pattern matching with null values

* Used object initializers for aggregate definitions

* Used type pattern matching instead of "as" operator

* Used explicit types instead of "var" keyword where the type is not apparent from the right side, cleared and organized usings

* Updated screenshots

* Added information about used GrapeCity packages and license to README.md

Assembly Loading Extension Points

03 Sep 17:04
be8bd4d
Compare
Choose a tag to compare
Demo for assembly loading extension points (#3875)

* Demo for assembly loading extension points

* Apply suggestions from code review

Co-authored-by: Vitek Karas <vitek.karas@microsoft.com>

* PR feedback

Co-authored-by: Vitek Karas <vitek.karas@microsoft.com>