Posts tagged with ".net"

Code

Adding some Swagger to your Web APIs

March 1, 2017 16:22

In a Web API project I recently started working on I found that testing it using a tool like Postman works pretty well, but having to type out all your test requests can become quite tedious. That’s about the time Swagger and Swashbuckle came along to play!

Code

Packaging your legacy dlls with NuGet

August 8, 2016 21:25

When developing applications you inevitably encounter a piece of legacy code. In our case this code was put into DLL files that were being used by quite a lot projects.

Code

Getting route data in ASP.NET Razor

January 26, 2016 23:11

When developing a web app using ASP.NET MVC you sometimes come across to make decisions based on the current page. A good example of this is when you’re using Bootstrap and you want to add “active” classes to certain menu elements. You can find out where you are using the RouteData dictionary object. This contains the current area, action, controller among others.

Code

NuG(g)et: MiniProfiler

March 24, 2015 19:22

When using Entity Framework (or any other ORM for that matter) you always have to be aware of the queries you send to the database. When using a feature like lazy loading it’s fairly easy to create an N+1 query problem which makes you send more queries to the database than you should. MiniProfiler could help you out in this situation.

Code

Uninstalling a stubborn Windows 8.1 app

March 19, 2015 17:14

Today we came across the issue that one of our customers’ IT specialists received a strange message while trying to install a new build of one of our apps.

Code

Entity Framework performance tips

March 10, 2015 21:41

To honor the name of this blog I will also be writing posts about software development. The software developer that hasn’t turned to Google for some advice once in a while hasn’t been born yet. As a software developer you cannot know all the ins and outs of your trade. It might sound harsh but some people are probably smarter than you.