A fellow of mine wrote an interesting article about a very nice and useful library called ERPConnect from Theobald Software. It allows .NET developer to easily access SAP systems to query data, execute BAPIs and much more. Have a look!
Archiv für den Monat Juli 2007
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);
}
}
Welcome to my blog
Finally I started my own blog about .NET development and integration with SAP/R3. I would like to invite you to comment on the hopefully interesting articles and stuff I want to publish in the upcoming months.
Jürgen