Paging Made Easy with ASP.NET MVC 5, Entity Framework 6 and PageList.Mvc

Preface In former days, implementing paging sometimes took a little bit of time. That was independent from the used platform, native Windows Client or Web or whatever. Fortunately, that was then and this is now. Implementing paging in an ASP.NET MVC 5 Entity Framework 6 application really became simple. Just …

Handle Deactivated JavaScript in ASP.NET MVC Web Application

Preface Depending on what your ASP.NET MVC Web application is supposed to do, it might be necessary that the client’s browser has JavaScript support enabled. If this is not the case, maybe you want to make sure the user will be informed and cannot use the application. And because there …

Create a 1:1 Table Relationship using Entity Framework

Preface My database roots are pure SQL. When I create a database, I use an Excel sheet for documentation purposes, which creates SQL statements to build up the tables. Table relationships (parent / child) with foreign keys I do define by hand, like the good old craftsmen do. It’s simple …

Using Membership and Authorization in ASP.NET MVC 4

With the introduction of .NET 4.5 and MVC 4, some changes to Membership and Authorization came along. To keep this posting as short as possible, I will just list the findings and refer to some postings I read. 1. Web Site Administration Tool is gone, and there is no replacement …

ASP.NET MVC 4, VS 2012 and the Usage of jQuery UI

It took really some time to get the ASP.NET MVC jQuery sample on ASP.NET running. At the time of writing, the sample was based on MVC 3, while I was working with MVC 4. Well, not a big deal, just change the name of some .css and .js files. But …

ASP.NET MVC 4 jQuery Validation Globalization

Going thru the ASP.NET MVC 4 intro on www.asp.net/mvc/tutorials/mvc-4/getting-started-with-aspnet-mvc4/adding-a-model, I thought that I couldn’t believe what I saw. In this intro, a MVC Web application is built, having a page to enter movie data, including a date and a price. The price is a decimal value. Now on my machine, …