Home About

Peter Daugaard Rasmussen

A blog on thoughts, ideas and solutions in the world of software development, programming, web development and software architecture.

← Newer Posts Page 2 of 30 Older Posts →

Error - CS0579 Duplicate 'global::System.Runtime.Versioning.TargetFrameworkAttribute'

I got the following errors today while working on a new project: Error CS0579 Duplicate 'System.Reflection.AssemblyVersionAttribute' attribute MyAzureFunction C:\Repos\Test\MyAzureFunction\obj\Debug\ »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C#, Error 23 April 2022

Markdown - How to escape Backtick ` in a code block

In order to escape the backtick ``` in a codeblock you can wrap it in more backticks. For example the following: ``` var k = 0; ``` In the above »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on markdown, Blogging, Ghostblog 13 April 2022

How to do word wrap for markdown code using ```

Earlier I wrote a post where I had a long code block like below: =IMPORTRANGE("https://docs.google.com/spreadsheets/d/1J5_E0G5GqYQYTSngWxXwpR1wSR1T6hkSFdv1YEoGOSo"," »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on markdown, Blogging, Ghostblog 13 April 2022

Google sheets - How to reference a cell in another sheet

You can easily reference a cell from another sheet in the same file using the following formula: ='<Sheet name>'!<Cell> »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Google, Spreadsheet 12 April 2022

Google sheets - How to get stock price in local currency

In this post I show you how I convert the value of my stocks to local currency. This is DKK for me, but it could be »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Spreadsheet, finance, Google 11 April 2022

Google sheets - How to add a variable to a formula using concatenation

In this post I will use the example of getting currency rates from the Google finance API. For this we will do a conversion between two »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Google, Spreadsheet 11 April 2022

Google sheets - How to get the price of a currency (exchange rate)

What you are looking for is likely the following: =GOOGLEFINANCE("CURRENCY:<firstCurrency><secondCurrency>") You simply supply the two currencies you »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Google, Spreadsheet, finance 10 April 2022

Entity framework - How to add static data using data seeding

I am not sure that the correct term is "static" data - it seems to be known as seeding, which is the term I »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Entity Framework, C#, .Net, MSSQL 10 April 2022

Entity framework - How to set the connection string of the DbContext

It seems that every guide I find on Entity framework, the database connectionString is fetched from the config file magically. I wanted to inject it instead »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Entity Framework, MSSQL, Dependency injection 09 April 2022

Entity framework - Unable to create an object of type <type>. For the different patterns supported at design time see <link>

Today I was trying to make an initial migration using Entity framework. I encountered an error when calling dotnet ef migrations add InitialCreate: C:\Users\peter\ »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Entity Framework, C#, MSSQL 05 April 2022
← Newer Posts Page 2 of 30 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 © 2022 Cookie policy