From The Depths

Matt Thalman's blog: Senior developer working on Microsoft's Visual Studio LightSwitch product.

Posts
  • From The Depths

    Creating a Custom Login Page for a LightSwitch Application

    • 16 Comments
    When configuring a Visual Studio LightSwitch application to use Forms authentication, the application user is prompted with the following login UI when they open the application: Many LightSwitch customers have asked about creating their own custom UI...
  • From The Depths

    WPF Data Binding with RadioButton

    • 0 Comments
    I recently was building a WPF solution where I had a couple RadioButtons that each represented a particular state of the data. Each RadioButton had its IsChecked dependency property bound to a property on my DataContext. And they were each bound to a...
  • From The Depths

    Filtering data based on current user in LightSwitch apps

    • 6 Comments
    In many applications, you need to filter data that is only relevant to the particular user that is logged in. For example, a personal information manager application may only want users to view their own tasks and not the tasks of other users. Here’s...
  • From The Depths

    Using the SecurityData service in LightSwitch

    • 11 Comments
    In this blog post, I’m going to describe how LightSwitch developers can programmatically access the security data contained in a LightSwitch application.  Having access to this data is useful for any number of reasons.  For example, you can...
  • From The Depths

    Authentication Features in Visual Studio LightSwitch

    • 13 Comments
    LightSwitch lets you configure your applications to use authentication. This allows you to control who is able to access the application and lets your business logic know who the current user is. Configuring the type of authentication to use LightSwitch...
  • From The Depths

    How to: designing one LightSwitch screen to create or edit an entity

    • 0 Comments
    Visual Studio LightSwitch provides screen templates for defining a details screen or a new data screen for an entity. But you may want to use the same screen for doing both tasks. This allows you to have a consistent experience no matter whether you are...
  • From The Depths

    How to reference security entities in LightSwitch

    • 2 Comments
    In Visual Studio LightSwitch, there are a set of security entities defined by the runtime such as UserRegistration, Role, and Permission. Numerous people have asked how they can create relationships to these entities. These entities can’t be referenced...
  • From The Depths

    My Philosophy on Software Design

    • 4 Comments
    I like to think of software design as cracking a code. You keep working on the design over and over until you've finally cracked the code and an elegant design emerges. I believe the solution exists out "there" and I just have to find it. Albeit there...
  • From The Depths

    Customizing LightSwitch User Management

    • 2 Comments
    When you enable Windows or Forms authentication in a LightSwitch app, a set of SQL tables are used to store the user and role data.  But did you know that you can customize how and where LightSwitch gets the user and role data?  You don’t have...
  • From The Depths

    SQL Server Yukon DTS: Success in cleaning CRM data

    • 6 Comments
    I was just reading an article at TechnologyEvaluation.com about the difficulty in maintaining data quality for CRM applications. The extremely volatile nature of CRM activity leads to degradation in the data such as: Customer details that are incorrect...
  • From The Depths

    Questions on Concurrency Conflict Resolution

    • 4 Comments
    There's been an e-mail thread going around in an internal Microsoft Business Framework (MBF) discussion list of the best way to handle concurrency conflicts. Someone brought up the novel idea of asking users what they would like to happen. So that's what...
  • From The Depths

    Metadata Mapping in O-R Mapping Technology

    • 6 Comments
    In my previous post I described the benefits of using Object-Relational Mapping (O-R Mapping) technology in regards to the encapsulation of change. In this post and several subsequent posts I'm going to delve into some of the basic designs used in O-R...
  • From The Depths

    Object-Relational Mapping Systems Encapsulate Change

    • 2 Comments
    Why have an object-relational mapping (ORM) system? Because change happens. There's no getting around it. I'll concede that ORM would not be necessary if you built a piece of software or data source which never had to be updated, extended, customized...
  • From The Depths

    The Good and The Bad of Dogfood

    • 4 Comments
    When first becoming a Microsoft employee, I was excited to get to see and use many of our products before they were released to the public. Most people love to be the one of the first at trying out brand new software. After a while, the novelty wore off...
  • From The Depths

    Search Engine Game Show

    • 5 Comments
    Sometimes it's crazy the things you think of when you wake up in the middle of the night. Last night was one of those nights. About 3am, I woke up, and then... Search Engine Game Show. What an idea! Have a trivia game show where the contestants have a...
  • From The Depths

    Distinguishing Compositions and Associations

    • 4 Comments
    For all the application developers out there, this is a request for comments. In business apps there are generally two types of relationships: compositions and associations. Compositions are tightly-coupled relationships where the composition's lifetime...
  • From The Depths

    Using application permissions in Visual Studio LightSwitch

    • 1 Comments
    Securing your Visual Studio LightSwitch application begins with defining permissions. In the first version of LightSwitch, developers are responsible for defining and consuming their own permissions. Once permissions have been defined, you can write the...
  • From The Depths

    It's That Time of the Year Again

    • 1 Comments
    It's annual performance review season again at Microsoft. My favorite part of the annual review is to look at the changes to the form that were made. This year, objectives are no longer called objectives. They're called commitments. That seems to be just...
  • From The Depths

    Welcome - From the Depths

    • 5 Comments
    Intro Welcome to my blog from the depths of Microsoft. While I am as low as you can go in the org chart in that I have no one reporting to me, that doesn't make my role any less important. I am a software design engineer in the Developer Division ...
  • From The Depths

    Gimme a Buddy

    • 3 Comments
    Microsoft has begun a new program called Microsoft ISV Buddy Program. “This program enables an ISV to connect and build a 1-on-1 relationship with a Microsoft employee.” ( http://msdn.microsoft.com/isv/ ) I signed up to be matched with an...
  • From The Depths

    Better Late than Never

    • 0 Comments
    It's been over a year since my last post so I figured its just the right time to write a new one. As you have most likely heard, the Microsoft Business Framework project I had been working on for several years was cancelled. Now I'm back in the Business...
  • From The Depths

    How to Get a Stack Trace in LightSwitch

    • 1 Comments
    A lot of times LightSwitch customers will run into an error in the product and post a question on the forums but the LightSwitch development team needs more information about the error.  This blog post describes how you can help the LightSwitch development...
  • From The Depths

    Query Reuse in Visual Studio LightSwitch

    • 1 Comments
    One of the features available in Visual Studio LightSwitch is to model queries that can be reused in other queries that you model.  This allows developers to write a potentially complex query once and be able to define other queries which reuse that...
  • From The Depths

    LightSwitch Trick: Display Loading Message while a Screen is Loading

    • 1 Comments
    In the LightSwitch apps that I create, I have a common pattern where I display a “Loading” message in the title bar of a screen while it is loading and then set it to its actual screen name once it’s finished.  In particular, this is useful for screens...
  • From The Depths

    Should Interfaces Derive from IDisposable?

    • 2 Comments
    I've been defining some interfaces for some classes in our code. The classes implement IDisposable and I was wondering whether the class' corresponding interface should also derive from IDisposable. For example: class Foo : IFoo, IDisposable...
Page 1 of 2 (35 items) 12