Converting Razor views into Pdf

This post talks about how you can convert Razor views into PDF. There is couple of NuGet packages which we can use to achieve that. I will try to describe couple of them. This library allows us to create documents in Portable Document Format (PDF). Some of the features: - generate documents and reports based on either provided HTML or by manually adding PDF elements such as tex…

By Dawid on (tags: convert, generate, pdf, razor, categories: tools, code)

WiX based Installer– Boilerplate

WiX Toolset is a technology to create Windows installers for your software. It is open source and free for use, but as many of free things is not super user friendly. The creation of the installer is XML based. In this post I will try to present a kind of boilerplate template which you can use to quickly create most of the need installer. Once you have the Wix Toolset installed…

By Mirek on (tags: Installer, WiX, categories: tools)

Learning SQL Server Reporting Services

If you are looking for a good starting point to learn SQL Server reporting services I have two links for you. I can recommend those two tutorial which I found in the web. First is this 22 lessons text tutorial with many screenshots. And the second is a video tutorial which consists of 26 video lessons and is available here. Cheers…

By Mirek on (tags: SSRS, categories: tools)

InitialCreate migration and why is it important

Entity Framework migrations is indeed a great feature. It makes you don’t need to worry about the database schema updates almost at all. There are however few things you must know to properly understand and use EF migrations. This post describes few of those things. Usually when you start a new project which makes use of Entity Framework and you starts developing it with a defa…

By Mirek on (tags: Entity Framework, migrations, categories: architecture, tools, code)

The TFSings you do

Short story on a case which tfs does not handle well In our tfs repo we have a structure – a dev folder which keeps dev branches in it. For one of our products, turns out we don’t need that structure, cause for the past 2 years, there were 2 cases in which this actually helped. In order to keep things simple I wanted to perform an easy (one would assume) task. Instead of having…

By on (tags: tfs, categories: tools)

Mock your database with no effort

This is a tool I was looking for for a very long time. The Effort is a library that allows you to mock your database with basically no effort. This is simply a database provider for Entity Framework which uses an in memory database (NMemory). Although it is still in beta version it is fully functional for most cases. I found it very usefull in unit and functional testing. Ok so…

By Mirek on (tags: Effort, Entity Framework, testing, categories: tools)

Like that? really?

So I found this. Please don’t do that. Do something better, it’s easy and less complicated. I’ll show you how. I doubt that OWIN components have been designed to be used as a DI container and in this post – they certainly seem to be used that way, unless I’m not seeing something. The idea behind the article IS GOOD. One manager per request – good, one DbContext per request – al…

By on (tags: ASP.NET, dependency injection, categories: tools, web)

Testing the web - a new hope

There are plenty of ways to test web apps, but most of them require a cumbersome setup and a lot of tools installed and I’m just too lazy to do that. But I just found something that may work in my favour. The fact that I will need something more than unit tests for web apps is obvious – I just didn’t have the time/urge/heart to set up ‘the whole machine’. I’ve had some experien…

By on (tags: fluent, testing, categories: tools, web)

Ridiculously simple http server

There are times when you need to have a small, easy to set up http server. Most of the time, you’ll think – node and yes, if you have it – a great choice. But there’s another option… if you’re running python 3: if you’re running python 2: That spins up a http server in your current directory on port – yes, you guessed it - 8000 Cheers…

By on (tags: python, categories: tools)