.NET dotnet new templates Where is the dotnet new templates folder on my drive? How do I update the dotnet new templates?
.NET Why Remove and Add ExtensionlessUrlHandler? I was starting a new ASP.NET MVC 5 project today, and like always was copy/pasting some code from a previous project. No need to reinvent anything if the work has been done... right? In the web.config I saw the following under
.NET System.IO.InvalidDataException: End of Central Directory record could not be found. When using System.IO.Compression.ZipFile.Open on a rar file I got theInvalidDataException. System.IO.InvalidDataException: End of Central Directory record could not be found. I started recreating the rar files, but no luck. Instead of digging further I got on nuget.
.NET HttpResponseMessage with custom http code like 429 The HttpResponseMessage has a constructor that takes in a value of the HttpStatusCode enum. Most of the http status codes you need are available in that enum. But what if you need to set the status code to a value that hasn’t been
.NET I installed ReSharper, now what? The most important shortcuts Alt+Enter: Quick fix menu when you are close to the squiggly lines. Ctrl+Shift+R: The “Refactor This” menu Ctrl+T: Go to functionality – just start typing (in CamelHumps you’ve got skills) Docs Official docs page can be
.NET Include .pdb files in Web Application Publish for Release mode (VS2012) While most people want to get rid of the pdb files in release mode, I want to keep them. They don’t impact the performance of the application. They offer very useful information when exceptions occur. Etc.. In Visual Studio 2012, the .pdb files
.NET Solving MSBuild failure on platform HPD I cloned DataAnnotationExtension from github and tried to run build.cmd that comes with it. What do I get… a lot of red: Build FAILED. Never good. The specified solution configuration "release|HPD" is invalid. It turns out that MSBuild.exe looks
.NET Uploading a file using SFTP in C# SSH.NET is a new library, inspired by the discontinued SshSharp, that can be used to upload files using the sftp protocol. The documentation is very limited, just some API listing, so here is a sample for file upload with SFTP and .NET/C#
.NET The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine. - On 64-bit Windows 7 I’ve got a console application that reads plain old txt files into datasets. My new machine (Dell Studio XPS 16) has got Windows 7 64-bit on it. Running the app I got this error: System.InvalidOperationException: The 'Microsoft.Jet.OLEDB.4.0' provider