Error handling in ASP.NET 5

There is a lot of changes since MVC5 regarding error handling. I will show you how to catch and handle some basic errors. Here is a nice article by Krzysztof about error handling in MVC5. First of all let me explain what “middleware” is…. or even better – here is the definition of middleware provided by OWIN from here: Middleware is our component which we can plug in to request…

By Piotr on (tags: ASP.NET5, error, mvc6, web, categories: web)

Visual Studio Online and Team Foundation Server 2015 REST APIs

If you’ve been following Microsoft announcements about Visual Studio Online over the last 12 months, you already know that you can easili integrate with VSO from any platform, technology, or device. Everything thanks to a new set of of JSON-based REST APIs. Those APIs enable a lightweight way to work with Team Foundation Server from virtually any device, platform, or technology…

By Dawid on (tags: api, hooks, online, REST, service, studio, tfs, visual, categories: tools, infrastructure, code)

Using TypeScript in ASP.NET 5

As we can read on the TypeScript it lets you write JavaScript the way you really want to. And guess what – you can do it in Visual Studio 2015! Visual Studio TypeScript support two different modes: File Scope: in this mode TypeScript files opened in Visual Studio Code are treated as independent units. As long as a file a.ts doesn't reference a file b.ts explicitly (either using…

By Dawid on (tags: asp.net 5, mvc, TypeScript, visual studio, vs, categories: code, web)