code

New feature of .NET Core 2 – Razor Pages

By Dawid on (tags: .NET Core 2.0, Pages, razor, categories: code)

If you are looking for another way of building web applications then Razor Pages are for you! Razor Pages are page based programming model for ASP.NET Core MVC and they makes page focused scenarios easier and more productive.

code

Usage of response compression in ASP.NET Core 1.1

By Dawid on (tags: compression, middleware, .NET Core 1.1, response, categories: code)

When you’ve limited network bandwidth or you are unable to use the Dynamic Compression module in IIS then ASP.NET Core 1.1 comes with rescue. ASP.NET Core team provides a middleware to handle response compression. All modern browsers support multiple compression schemes such as deflate and gzip. Using this feature in your web application can improve overall user experience. Pac…

infrastructure

TFS 2017 copy build definition template between team projects

By Mirek on (tags: build definition, Powershell, tfs, vNext, VSO, categories: tools, infrastructure)

Over a year ago I’ve presented a solution to copy build definitions between team projects in new Team Foundation Server 2015. That was a workaround for missing functionality in TFS, so there was no standard way to save the build definition as a template and reuse it outside the scope of current team project. Well, in TFS 2017 it hasn’t change yet…

architecture

Does it make sense to NGen – compile your ASP.NET MVC application ?

By Mirek on (tags: NGen CIL JIT-compilation, categories: architecture, tools)

In .Net world every line of code has to be compiled before it can be executed obviously. However the compilation process occurs twice. First the Common Intermediate Language (CIL) is produced out of human readable code and it occurs just after the development process. Then the CIL is compiled into the native code specifically to be interpreted  by the target machine. The letter step occurs on the fly, on client machine and is called the JIT (Just In Time) compilation.

code

ASP.NET Core and IIS

By Dawid on (tags: ASP.NET, core, iis, categories: code)

What does it means to host you application in IIS? To help with that there is new module called ASP.NET Core Module.