iBO for .NET

ibo for net project access?

How can I get access to:  http://www.imiscommunity.com/ibo_for_net_project?

I am getting an access denied message.

Thanks.

AppPrincipal and IiMISUser

I've been spending more time than I wanted, trying to figure out how to use AsiMembership provider and how it's meant to work alongside RoleProvider and Asi.iBO.dll in general. Frankly, I'm a fair amount unhappy that this kind of stuff is not documented - it seems crazy that I'm having to dig around to find out how things are supposed to integrate together.

It seems that in certain areas the custom Membership provider (AsiMembershipProvider) is not going to work well with iBO.Net.

Asi.iBO versus Asi.Business.Contact

I notice there are two Asi assemblies that seem, on the surface at least, to serve the same function - to provide an API to expose contact information to a .Net application:

  1. Asi.iBO
  2. Asi.Business.Contact

Looking under the covers at the implementation, Asi.Business.Contact seem to be based on Business Objects, whereas Asi.iBO, erm is not.

So my questions:

Saving CContact object is very slow.

I have been having an issue with slowness involved with calling the Save() method on a CContact object using iBO for .NET.  When saving a CContact object, it consistantly takes 8-12 seconds to complete. We have a rather large database (over 600,000 records in the Name table), and it seems that the issue lies within the asi_Name_Insert_Update trigger, more specifically the asi_FixDuplicateIndividualRows stored procedure that runs when the MEMBER_TYPE, COMPANY_RECORD, or MEMBER_RECORD columns are edited.

New membership activation, not recognized as member until re-login

Hello all,

This question is sort of related to a previous posting by me here: http://www.imiscommunity.com/redirect_to_billing_page_after_auto_login_forcing_re_login

I have captured when a user has paid for their membership, and have updated their status (CustomerTypeCode) to a Member.

iBO Web Content / Product Page

I am trying to find a way to retrieve product information for the current product or to retrieve information for the current web content the user is viewing.

The issue I'm having with retrieving the product information is that I can't find a way to retrieve the specific product that is being viewed. The query string parameters on the product.aspx page contain a category id and a product id. When I use iBO to query for the current product, I can't find a way to retrieve the product based on the catId or prodId in the query string parameters.

Redirect to Billing page after auto-login forcing re-login

Using iMIS 15.1.2.

I have a custom page that allows a user to register to become a member. It either creates a new contact, or uses their existing contact (if they remember their email address or have already logged in).

This custom page takes in a variety of information and saves it to the contact, as well as some user defined fields. It also creates a new subscription and bills the contact.

Using iBO to update an entry in the Name table

Hi,

I have a CContact entity that I am updating. At the same time I would like to update a field in the Name table as well as the Name_Reg table. I am able to get access to Name_Reg and update but I can not see the Name table. My code is
Get a valid contact from iBO then;
CExtTable t = contact.GetExtTableByName("NAME_REG");
CExtField f = t.Fields.Where(fn => fn.FieldName == "Pref_Phone").FirstOrDefault();

IBO for .NET

I am new to programming the .net IBOs so here is my first challenge connecting to the IMIS database

I created a windows appliction and added a reference to the asi.ibo.dll and write the following code behind a simple button

imports asi.ibo

 Dim i As Integer Dim cn As String

 

Type initializer for AsI.Security.SecurityContext threw an exception

this is for 15.0.  Why would this error occur?  What needs to be in place to successfullly call Asi.Security.SecurityContext.ImpersonateAnonymous() ???

(on another note the Release/Version drop down box in the screen I used to create this post does not contain 15.x versions.)