Introduction Since the latest version of LightSwitch using the permission elevation mechanism is also possible in the retrieve pipeline. You can find a good example of using permission elevation in the save pipeline over here: DECENTLY PROTECTING ENTITY FIELDS WHICH…
Introduction We continue in this article the deployment of a LightSwitch application from a build server. Basically, the approach can be used for any other web application type, so not only for LightSwitch applications. I have written already a whole…
Introduction Ria Services are in the LightSwitch community very popular. They are interesting because they allow me to reshape my data in a very elegant way. In this article I’ll introduce another way to use RIA Services based on the…
Introduction Our previous post showed how we can consume an export by clicking a button. But let’s presume now that we want to present the user with a list of available export formats. Since we use MEF server side that’s…
Introduction We want to consume now the MEF based export functionality from the silverlight client. Let’s first take a look at a potential screen where we use it: So, we have a bunch of customer (with orders) data and there…
Introduction In a previous post I introduced the usage of MEF (the managed extensibility framework) for making the management of the CSV exports more simple. The basic idea is to have an approach with which we can easily create a…
Introduction In the previous post, we covered the most technical part in this series on state driven security: the server side logic for state driven can-update handling. To top it all, we still need a client side experience for this. That’s…
Introduction Since the introduction of LightSwitch V3, the amount of plumbing options we have in LightSwitch increased drastically. Especially when using it in combination with proven technologies like web-api and the new ServerApplicationContext in LightSwitch V3. Today, we’ll add another…
Introduction We have so far a decent way to protect state transitions and a comfortable client side implementation. Now, we will cover another important facet of state driven security: the ability to update entities based on the current state. Why…
Introduction We have so far a security server side state transition implementation. Let’s take a look now how we can use this both in an Html client and a Silverlight Client. We’ll work step-by-step because that allows us to test…
Introduction This post of mainly about the server side. We want to come up with a nice piece of base infrastructure with which we can protect server side the state transition of a certain entity. The base infrastructure should be…
Introduction Let’s try to summarize what we will cover in this series about state driven security. Let’s first answer the question “what is state” and try to come up with a potential approach to handle state driven security in LightSwitch….
Introduction Many line of business applications have a notion of workflow state where security aspects are key. The design and maintenance of such an application can become soon complex. Nonetheless, it’s perfectly doable (and maintainable) in LightSwitch. Given the importance…
Introduction In the entity designer you can for a field specify a choice list. This will generate automatically a dropdown list when the entity is consumed in a screen. That’s cool, but we are missing one feature: strongly typed access…
Introduction The weakly-typed Api in LightSwitch (accessible via the Details class) complements magically the standard tool set and opens a wealth of things when you leave the path of simple on the outside and step into the richness of the…
