Nice HTML5 demos with SAP stock quantity and customer data using ERPConnect

A couple of weeks ago I have implemeted two HTML5 demos in C# using ASP.NET MVC, Web API and jQuery. The demos are displaying SAP customer and stock quantity data. The SAP/.NET connectivity is handled by the ERPConnect library from Theobald Software. The primary goal was to show how easily you can integrate good looking visual effects with jQuery.

ImageImage

The customer demo (CIS) adds hidden table rows with a horizontal silder showing an order quantity diagram. The stock quantity demo (SIS) displays mutliple table rows once the user clicks on the top row. In addition it will add an extra row showing a chart.

YouTube video of the stock quantity demo
YouTube video of the customer information demo

jQuery / CSS libraries or tools used in demos:
– Bootstrap (twitter)
– jQuery.Shadow
– jqBarGraph
– pagePeel
– progressbutton.jQuery
– liteAccordion

The samples are part of the ERPConnect library. You can download a trail version from Theobald Software. ERPConnect is a lean .NET assembly that lets you develop robust SAP interfaces without a great degree of effort and most of all, without an elaborate infrastructure or any additional middleware.

ERPConnect

Advertisements

Version 2.4 of the Validator Toolkit for ASP.NET MVC released

I’ve released a new version (2.4) of the Validator Toolkit for ASP.NET MVC 1.0, that is fixing an issue regarding format changes in the jQuery validation plugin of the minlength, maxlength and rangelength validators.

http://mvcvalidatortoolkit.codeplex.com

Version 2.3 of the Validator Toolkit for ASP.NET MVC released

I’ve released a new version (2.3) of the Validator Toolkit for ASP.NET MVC 1.0, that is fixing an issue regarding format changes in the jQuery validation plugin of the minlength, maxlength and rangelength validators.

http://mvcvalidatortoolkit.codeplex.com

Validator Toolkit for ASP.NET MVC

Yesterday I started this new project on CodePlex called Validator Toolkit for ASP.NET MVC. The Validator Toolkit provides a set of validators for the new ASP.NET MVC framework to validate HTML forms on the client and server-side using validation sets. By defining a validation set, e.g. a LoginValidationSet class, the toolkit will generate code, in conjunction with the JavaScript library jQuery, to validate on the client-side and will use the same set of rules to validate on the server-side.

http://www.codeplex.com/MvcValidatorToolkit

There is also an article on CodeProject.com:

http://www.codeproject.com/KB/aspnet/MvcValidatorToolkit.aspx

Creating DAL components using custom ASP.NET build providers and compiler techniques

In September 2006 I wrote an article about build providers in ASP.NET on CodeProject.com. This article describes how to create Data Access Layer Components (DALC) using build providers and a self-defined description language, including an easy scanner, parser, and CodeDOM generator. The article is also available as PDF file at the Parago website. Feel free to send me your feedback.

Creating Custom Windows Authentication Roles In ASP.NET

A while ago one of my customer asked me to extend the Windows authentication process within an ASP.NET intranet application. The custom roles for the authenticated users should be determined by querying special flags in a database table and by querying the Active Directory for that user.

One way to accomplish this task is to create a custom class which derives from WindowsPrincipal called RolesWindowsPrincipal. The new class extends the existing class with methods to add new roles depending on the queries described above.

The implementation is quite simple:

public class RolesWindowsPrincipal : WindowsPrincipal
{
List _roles;

public RolesWindowsPrincipal(WindowsIdentity identity) : base(identity)
{
_roles=new List();
}

public override bool IsInRole(string role)
{
return _roles.Contains(role);
}

public void AddRole(string role)
{
_roles.Add(role);
}
}