Category Archives: Development

Dotnet development

Manage windows service with asp.net core webapi

We’re building a webapi for our administrators. One of the features is stopping and starting a windows service on the webserver the webapi is hosted on. We needed to allow our application pool user to manage the windows service. For … Continue reading

Posted in Development, Security | Tagged , , , , | Leave a comment

Seq

Seq creates the visibility you need to quickly identify and diagnose problems in complex applications and microservices. Empower your team to build better software by centralizing, searching, and alerting on structured application logs. https://getseq.net Image source https://getseq.net Every project we … Continue reading

Posted in Development, Tooling | Tagged , , | Leave a comment

Serilog

Image courtesy of Ricardo Gomez Angel / unsplash.com https://www.nuget.org/packages/serilog With Serilog we can log with named properties. The advantage is that processing of the log(file) is no longer needed as it is already structured. You can stil output plain text … Continue reading

Posted in Development, Tooling | Tagged , , | Leave a comment

Cannot upload task attachment file

We run Pester tests during our tfs release. The output is published as test results and saved to the log files. To save the output.xml to the log file we use task.uploadfile from azure pipeline tasks. This task failed because … Continue reading

Posted in Development | Tagged , , , , | Leave a comment

TFS tips #4 – Visual Studio Pricing

đź’ˇ This post is part of my TFS tips where I write about how we make the most of TFS (on premise) We have a Visual Studio Enterprise subscription for all our developers. Microsoft has created an overview of everything … Continue reading

Posted in Development | Tagged , , , , | Leave a comment

TFS tips #3 – Multiple release pipelines queue

đź’ˇ This post is part of my TFS tips where I write about how we make the most of TFS (on premise) We have multiple applications being released to the same server. For every application we have a CI/CD release … Continue reading

Posted in Development, Tooling | Tagged , , , | Leave a comment

Log levels explained

I’m always struggling with the method/level to use when logging from my application. In his Modern Structured Logging With Serilog and Seq pluralsight course Jason Roberts explains it this way: Level Explain Example Verbose how technical “calculated hash {hash} for … Continue reading

Posted in Development | Tagged , | Leave a comment