Kenneth Truyers
user

Kenneth Truyers

.NET developer at Appyparking, Pluralsight Author and Microsoft MVP


Tagasp.net
Featured

.NET asp.net c# patterns

Vertical slices in ASP.NET MVC

Posted on .

Why? In ASP.NET MVC, applications are divided into horizontal layers, which is reflected in the project structure: Controllers Views Models Scripts Style It’s a good idea to divide you application into logical parts. While the idea of horizontal slices might l…

Featured

asp.net javascript jQuery

Elegant web forms: wrap up and example

Posted on .

To conclude the series on elegant web forms, I will walk you through a full example of a simple company and contact management tool. The app in itself doesn’t do much, but it serves to illustrate the points mentioned in the previous posts. [![elegant_web_forms…

Featured

asp.net javascript jQuery templates

jQuery Templates and ASP.NET User Controls

Posted on .

After my previous article, where I showed you how to use user controls as views, in this post I will show you how to mix in some jQuery templating. The jQuery templates plugin is basically a way to make views in JavaScript, much like we did with the user contr…

Featured

asp.net repeater

The Repeater – User Control Pattern

Posted on .

In my previous post in this series I showed you how a repeater is a very clean ASP.NET server control. It has a few problems though: You cannot bind to a strongly-typed object. If you want alternating items you have to write the markup twice. You cannot reuse…

Featured

asp.net repeater

The coolest ASP.NET server control

Posted on .

My favorite control, hands down, in the ASP.NET toolbox is the Repeater. Why? Because is it’s the cleanest of them all. The repeater does what it says, nothing less, nothing more: it repeats. Just to show you the difference between a simple Repeater control an…

Featured

asp.net javascript jQuery JSON Web Services

AJAX with jQuery and web services

Posted on .

In this post I will show you how you can use jQuery to call ASP.NET web services (.asmx). Some people prefer to use page methods, but I find it nicer to group all my AJAX-related calls in one web service. That service then serves as a façade to the inner worki…

Featured

asp.net javascript jQuery

Useful Javascript extensions

Posted on .

In my previous post I added the extensions.js-file to my JavaScript library. I did this because I feel there are some things that I often do and I abstracted them out to a kind of library on top of jQuery. I will walk you through the different functions it off…

Featured

asp.net jQuery

Setup and tools

Posted on .

In this post I will talk you through the basic setup of our web application and all the tools you need. Don’t worry, you don’t have to do all these steps manually, I will provide you with a new project template later on so you can always start with the basic t…

Featured

asp.net jQuery

Preface

Posted on .

In this series of posts I will be talking about and demonstrating some concepts on how to make web forms programming more elegant. With ASP.NET web forms, sometimes things can get quite messy. This is mostly because ASP.NET wants to hide that you are programmi…