CSLA .NET

Vibrant discussion about CSLA .NET and using the framework to build great business applications.

Forum has moved

New location: CSLA .NET forum


CSLA .NET Resources:
  • CSLA .NET forum
  • CSLA .NET home page
  • Browse Site by Tags

    Showing related tags and posts across the entire site.
    • Passing nullable types to DataPortal.Fetch

      I am fairly new to CSLA4 and in general I have had no issues working with it until I tried to create Fetch method that passed a Nullable<Boolean> value. I can pass either 'true' or 'false' however if I pass in 'null', I get a DataPortal Exception. An unhandled exception...
      Posted to CSLA .NET discussion by MikePolito on Fri, Jun 12 2015
    • CSLA & Xamarin for mobile apps

      We're looking to build mobile apps (in addition to our existing WinForms app) using Xamarin and our CSLA objects, and we'd like to continue using the mobile object concept (so binding our existing Csla objects to the XAML Xamarin forms). One thing I'm concerned about though is the server...
      Posted to CSLA .NET discussion by Andy on Fri, Apr 17 2015
    • Type level authorization rules

      I'm looking through the code for Csla, and it seems the check for things like GetObject are done client side before the call is made to the data portal, which is good in that a remote call won't be made if the user lacks permission. However it doesn't look like the check is repeated on the...
      Posted to CSLA .NET discussion by Andy on Wed, Feb 11 2015
    • Re: Change of Modifer in CSLA4.5

      I realize breaking changes are problematic. At the same time, we'd become really sloppy about having more than 1 virtual method for a given set of related operations, thus requiring people to override multiple methods to ensure their code was actually executed. In the case of a 'save' operation...
      Posted to CSLA .NET discussion by RockfordLhotka on Fri, Sep 19 2014
    • Re: Triggering Authorization Rules on the Server

      IAuthorizeDataPortal is intended to address this scenario. Implement this interface, configure your implementation to be used by the data portal, and your code will be invoked on the server for each data portal request immediately after the request has been deserialized and before the data portal starts...
      Posted to CSLA .NET discussion by RockfordLhotka on Thu, Jul 24 2014
    • WinRT MobilePortal to secured endpoint

      I'm trying to have my WinRT app connect securely to a remote data portal over https, for obvious reasons. Up till now I've been testing internally without SSL, but when I start to test using a secured address I get the following error: The provided URI scheme 'https' is invalid; expected...
      Posted to CSLA .NET discussion by Tim on Mon, Jun 23 2014
    • Re: CSLA and the new ASP.NET Web API

      Universal apps yes, but the limitation is because WinRT on WP8.1 doesn't have WCF and universal apps use portable class libraries and those are limited by the lowest common denominator. If you don't care about Windows Phone then this is a non-issue, but given my ongoing goal of making CSLA support...
      Posted to CSLA .NET discussion by RockfordLhotka on Fri, Jun 13 2014
    • Re: CSLA and the new ASP.NET Web API

      The current beta of 4.5 includes a new HttpPortal for the data portal that does use Web API if your data portal server is MVC 5. If your data portal server is MVC 4 the host is just a controller. The client doesn't care which server technology you are using. This is not strictly RESTful of course...
      Posted to CSLA .NET discussion by RockfordLhotka on Fri, Jun 6 2014
    • CSLA 4.x TransactionalDataPortal has a breaking change compared to CSLA 3.8

      Houston we have a problem. I've been using both CSLA 4.x and 3.8 for some time now, and haven't run across this issue until now, where we are upgrading a CSLA 3.8 based project to CSLA 4.5. This specific project executes along with other external application components from COM+ (Enterprise Services...
      Posted to CSLA .NET discussion by Jaans on Mon, Jun 2 2014
    • DataPortal.CreateAsync does not call DataPortal_Create through the data portal using CSLA 4.5.501

      I am creating a Silverlight 5 application with the latest CSLA 4.5.501 (installed via Nuget). I am using the new async await syntax and have discovered that DataPortal.CreateAsync does not call the DataPortal_Create method on a simple BusinessBase object. If I change the DataPortal.CreateAsync call to...
      Posted to CSLA .NET discussion by Russ Blair on Thu, Apr 10 2014
    • Serialisation of business object assemblies with different versions (minor/revision/build)

      We use strongly named assemblies and have an effective and rigorous versioning process. As you know, both the Client and the Server (read Data Portal Host) must have the same version available when serializing/deserializing CSLA mobile objects. If you don't (for example the server has a newer version...
      Posted to CSLA .NET discussion by Jaans on Fri, Sep 13 2013
    • IAuthorizeDataPortal / IInterceptDataPortal and DataPortalOperations.Execute

      Hi, I have implemented both IAutorizeDataPortal and IInterceptDataPortal in my project. When commands are executed, IInterceptDataPortal methods gets DataPortalOperations.Execute parameter, but IAutorizeDataPortal.Authorize gets DataPortalOperations.Update. The difference is in server DataPortal class...
      Posted to CSLA .NET discussion by DrLik on Tue, Jun 25 2013
    • Naming layers/tiers

      Prior to version 4.5 the data portal supported 3- and 4-tier deployments. In a 3-tier deployment the layers and tiers are named like this: Client -> Server -> <your database goes here> or Silverlight -> Client -> <your database goes here> In a 4-tier deployment the layers and...
      Posted to CSLA .NET discussion by RockfordLhotka on Mon, Apr 22 2013
    • Re: How to handle exceptions on client side (e.g. UI)

      The CSLA books cover version 4.0-4.3. The data portal has changed _significantly_ in 4.5 because we now fully support async/await. The new async/await behaviors in .NET introduce some interesting exception handing issues, and I tried to handle them in a meaningful way. Because your DP_XYZ or factory...
      Posted to CSLA .NET discussion by RockfordLhotka on Mon, Mar 4 2013
    • Re: WCF Over WebSphere MQ

      I love your avatar graphic - SPOON!! :) The data portal only really requires a synchronous binding. But I'm guessing that the MQ binding is async, so it probably won't work, at least not easily. To put it another way, the client-side data portal proxy must appear to be synchronous. So you could...
      Posted to CSLA .NET discussion by RockfordLhotka on Sun, Feb 24 2013
    • Re: BeginFetch and FetchAsync on local DataPortal

      [quote user="ngm"] Let's say I've got Order BO. When it's on the server-side Data Portal, prior to its persistence, it has to coordinate interaction with several other BOs such as Customer, ProductList and GeneralLedger. Order simply calls factory method on each of those objects...
      Posted to CSLA .NET discussion by RockfordLhotka on Thu, Feb 7 2013
    • Re: Asynchronity on the Data Portal server-side

      GlobalContext should flow one-way, from the caller to the callee. If that doesn't happen then that's a bug. But if Principal is flowing then I suspect the context dictionaries are flowing as well - but again, bugs are possible. You are right that it doesn't automatically flow back to the...
      Posted to CSLA .NET discussion by RockfordLhotka on Wed, Feb 6 2013
    • Re: BeginFetch and FetchAsync on local DataPortal

      Many of my design thoughts were captured in my blog as I was doing the work for .NET 4.5 last year. For example: http://www.lhotka.net/weblog/CSLADataPortalChangesInVersion45.aspx There are two basic goals. First, on the client-side data portal I want to enable the use of the await keyword when calling...
      Posted to CSLA .NET discussion by RockfordLhotka on Wed, Feb 6 2013
    • Re: Asynchronity on the Data Portal server-side

      The server-side data portal is never actually async, because the top-level invocation from WCF (or any other data portal host) is ultimately synchronous. My goal was to enable the scenario where you implement async behaviors within your DataPortal_Fetch or factory methods. It is also the case that the...
      Posted to CSLA .NET discussion by RockfordLhotka on Tue, Feb 5 2013
    • Re: Mobile Wcf Portal and MobileRequestProcessor

      This approach allows your web server code to leverage the full data portal behavior for routing requests. Most importantly, you might choose to use something other than the WCF channel to communicate with your app server, so delegating to WcfProxy or WcfPortal would be bad as it would eliminate all your...
      Posted to CSLA .NET discussion by RockfordLhotka on Mon, Jan 21 2013
    Page 1 of 9 (180 items) 1 2 3 4 5 Next > ... Last »

    Copyright (c) 2006-2014 Marimer LLC. All rights reserved.
    Email admin@lhotka.net for support.
    Powered by Community Server (Non-Commercial Edition), by Telligent Systems