This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Script that Scaffolds .NET Projects | |
| param([string] $Name, [string] $ProjectFolder) | |
| $originalLocation = Get-Location | |
| if ([string]::IsNullOrWhiteSpace($ProjectFolder) -ne $true) | |
| { | |
| New-Item -Path $ProjectFolder -ItemType Directory | |
| Set-Location $ProjectFolder |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Remove the line below if you want to inherit .editorconfig settings from higher directories | |
| root = true | |
| # C# files | |
| [*.cs] | |
| #### Core EditorConfig Options #### | |
| # Indentation and spacing | |
| indent_size = 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| HttpPostBodyReader.cs | |
| By: Adam Renaud | |
| Created: 2018-12-12 | |
| For use in ASP.NET Core applications | |
| A piece of code that I always forget and sometimes | |
| need when building a web API. Thought I would create | |
| A GIST out of it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Note that additional assemblies are also required | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using Autodesk.AutoCAD.ApplicationServices.Core; | |
| using Autodesk.AutoCAD.DatabaseServices; | |
| using Autodesk.AutoCAD.EditorInput; | |
| using Autodesk.AutoCAD.Runtime; | |
| namespace AutoListAC |