Home Tags Privacy About
Peter Daugaard Rasmussen's Picture

Peter Daugaard Rasmussen

Programmer, Developer, Consultant.

Randers - Denmark https://peterdaugaardrasmussen.com 403 posts
← Newer Posts Page 8 of 41 Older Posts →

C# ASP.NET - How to download a file from an endpoint, with PDF, JPG and CSV example

I have previously written a post on how to return HTML from an ASP.NET controller endpoint. In this post I will take a more general »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C#, ASP.NET 06 September 2022

Blog "after summer" status and search performance - Sept 2022

I thought I would give an update on how it is going with the blog. I know this is far over mid-year as we are in »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Blogging 04 September 2022

C# - How to make HTTP / REST calls using the HttpClient

C# has great built-in support for making HTTP requests using the HttpClient. Using this client you can Put, Post, Get, Delete and much more using your »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C#, HttpClient 29 August 2022

C# Dapper - How to use transactions with Dapper

Dapper is a micro ORM or a simple object mapper and it integrates smoothly with C# and its SqlConnection. The same applies to Dapper and transactions »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C#, Dapper 28 August 2022

C# Dapper - How to call a stored procedure with a parameter

This post shows you how to call a stored procedure with a parameter using Dapper. If we have the following table with an Id (int) and »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C#, Dapper, MSSQL 28 August 2022

MSSQL - How to drop and create a stored procedure with parameters

This post describes how to create and drop a stored procedure with a parameter in MSSQL. If we have the following MyEntities table with an Id »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on MSSQL 28 August 2022

C# HttpClient - How to send a Delete request with or without a body

Using the HttpRequestMessage together with the HttpClient you can easily send a HTTP Delete request in C#. Below we have a delete endpoint on https://localhost: »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C#, HttpClient 27 August 2022

ASP.NET - How to make a controller endpoint for a HTTP Delete request

Like with HttpGet HttpPut or HttpPost attributes there is a respective attribute for the HTTP Delete Method - HttpDelete. You can add this attribute to get »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C#, ASP.NET 25 August 2022

C# - How to return a completed Task with or without a result

When using tasks you at some point come across having to return a Task without actually having a Task to return. The usual case is in »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C#, Tasks and threads 24 August 2022

Ghost blog - How to make a tag list page for your theme

I recently made a tags page on my blog. This contains the top nine categories that I blog about, below is an image of the top »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Blogging, Ghostblog 14 August 2022
← Newer Posts Page 8 of 41 Older Posts →
  • Rss
  • Twitter
  • LinkedIn
  • profile for Peter Rasmussen at Stack Overflow, Q&A for professional and enthusiast programmers
Peter Daugaard Rasmussen - developer, Consultant, Blogger © 2025 Privacy policy