samples
samples copied to clipboard
Sample code referenced by the .NET documentation
Bumps [xunit](https://github.com/xunit/xunit) from 2.4.1 to 2.4.2. Commits f110e5b v2.4.2 848d94d Update dependencies 42307e8 Fixes #2556: Xunit.Sdk.MultipleException Empty 7eba502 Port test changes from 1dd43ce684cc6d50bf726042173956e6bda2fa3b 211aa27 Make sure we use msbuild.exe (from...
Hi, I'm calling dotnet framework 4.8 built dll from native c++, using the .net core implementation but my application is failing when I'm making init_fptr funtion call during loading of...
I have successfully built and executed the core/extensions/COMServerDemo project. The "regsvr32 COMServer.comhost.dll" executed successfully and COMClient.exe ran successfully. However, "tlbimp COMServer.comhost.dll" produces error: TlbImp : error TI1002 : The input...
In .NET 6 and upcoming .NET 7, new source generators were added in runtime libraries. Given the other useful runtime related samples in this repo (https://github.com/dotnet/samples/tree/main/core), it would be nice...
## Please update .Net 4.0 samples to .Net 6.0 (LTS) Presently, .Net is at v5.0 (current) and will move to v6.0 after February 2022. So, this code is outdated and...
## Improve the code for ShowAutoClosingTaskDialog in TaskDialogDemo Form1 (vb & c#) In the example of ShowAutoClosingTaskDialog it only works well with 5 seconds or less, to make that example...
Since Blazor offers such a modularity, why not have a good sample showing how components can be loaded/unloaded as plugins into a host application. Yes, there's some projects that offer...
I see this code is using the discard pattern for unused variable here: https://github.com/dotnet/samples/blob/a3b15f60fe28de2f798bcf6b657238cbf2c04f62/core/extensions/OutOfProcCOM/COMRegistration/TypeLib.cs#L18 Will discard pattern automatically call `Release()` method on a COM interface pointer?
This is what I am thinking about with regards to me working with customers and them asking for what I am about to try to describe - I have also...
## [Predict value in TaxiFare example not changing] [Brief description of the change] changing the parameters in TaxiTrip yield the same predicted fare. [Describe the outdated practice and what would...