1e03034dd3
* Replaced stub.txt with the samples from git@github.com:logiclrd/ASPNetCoreStreamingExample.git. * Reformatted to match .editorconfig. * Added an exclusion for Properties folder in .gitignore, since this is where launchSettings.json lives. Added launchSettings.json files. * Added root menus to AsynchronousWithSystemTextJson and SynchronousWithNewtonsoftJson. Updated launchSettings.json in each project correspondingly. Updated Startup.cs to output instructions for the user, since it appears `dotnet run` doesn't actually start a browser. * Added sample DynamicBinaryStream. * Added RootNamespace properties to AsynchronousWithSystemTextJson.csproj and SynchronousWithNewtonsoftJson.csproj. * Corrected folder structure. Removed LICENSE file imported from external repository. * Added comment explaining why we create a separate JsonTextWriter for each line in SongLyricsMiddleware.cs. * Removed unnecessary .gitignore files. * Apparently, Visual Studio was still doing implicit using statements even though it was turned off in the project file. Now it's not doing them, so this commit adds the using statements that were implicit. * Converted projects to use so-called "minimal hosting" with all initialization inside Program.cs instead of using a Startup class. * Updated Microsoft.AspNetCore.Mvc.NewtonsoftJson reference to the latest 7.0.0 prerelease version. * Delete .gitignore * Enabled implicit usings in all projects. Removed unnecessary using statements. Converted all C# source files to file-scoped namespaces. Corrected cases where namespaces including the solution file name (not committed to the repository) were accidentally used. Enabled Nullable annotation in SynchronousWithNewtonsoftJson.csproj. * Lumped all using statements into single blocks. Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com> |
||
---|---|---|
.. | ||
Controllers | ||
Model | ||
Properties | ||
AsynchronousWithSystemTextJson.csproj | ||
Program.cs | ||
appsettings.Development.json | ||
appsettings.json |