Dot Net Code Tips
Toggle navigation
Home
Categories
Azure
C#
CSS / Less
Network
Powershell
Razor
Security
SQL
Text Files
Visual Studio
Web.config
About
Contact
Practical .Net Tips and Examples
Azure
Azure OWIN website login gets stuck on a never ending redirect loop
Run multiple scheduled tasks from a single Azure WebJob
Turn off Application Insights for non-release debug build configurations
C#
Add watermark text to an image
Azure OWIN website login gets stuck on a never ending redirect loop
Break a full file name path into its separate components
Find files in a folder by their last modified date
Get local timezone and time instead of UTC time
Make Entity Frameworks read lazy load collections and objects
MVC RedirectToAction passing route parameters
Read a csv file with embedded commas
Read a text file
Reading and writing to the registry
Send an email with the SMTP client
SQL Bulk Upload for Inserts or Updates
Using HttpClient to post JSON to a web api webservice
Write text to a file
Write to the Http Response to download data as a file
CSS / Less
Edit Bootstrap Less or Sass files in a Visual Studio web project
Network
Send an email with the SMTP client
Using HttpClient to post JSON to a web api webservice
Powershell
Create a self-signed certificate with PowerShell New-SelfSignedCertificate or Makecert.exe
Powershell script to run an exe, pass arguments and redirect output
Razor
Disable razor form submit button when clicked
MVC Editor Templates and Display Templates
MVC RedirectToAction passing route parameters
Security
Azure OWIN website login gets stuck on a never ending redirect loop
Create a self-signed certificate with PowerShell New-SelfSignedCertificate or Makecert.exe
SQL
Make Entity Frameworks read lazy load collections and objects
SQL Bulk Upload for Inserts or Updates
Text Files
Break a full file name path into its separate components
Find files in a folder by their last modified date
Markdown Cheat Sheet
Read a csv file with embedded commas
Read a text file
Write text to a file
Visual Studio
Edit Bootstrap Less or Sass files in a Visual Studio web project
Web.config
Redirect www requests to non-www requests using the rewrite module
Trapping 404 and 500 errors in an MVC website web.config
Turn off Application Insights for non-release debug build configurations
Using the rewrite module to redirect part of a website
Most Popular Articles
MVC RedirectToAction passing route parameters
SQL Bulk Upload for Inserts or Updates
Using HttpClient to post JSON to a web api webservice
Disable razor form submit button when clicked
Create a self-signed certificate with PowerShell New-SelfSignedCertificate or Makecert.exe
Show These Tips
Azure
C#
CSS / Less
Network
Powershell
Razor
Security
SQL
Text Files
Visual Studio
Web.config