Industry Insights from Our Experts

Tag Archives: development

“How do I learn…?” – A Suggested Process for Learning The New Shiny

Comments Off
Filed under Growth & Development

Anyone who works in the IT industry will tell you that nothing is ever static. One has to keep up their skills and stay abreast of the newest developments and changes to the tools we use to get the job done. Every 18 months, things change. There is always something that I like to call “The New Shiny”.

So two questions arise:

  1. Where do I start?
  2. How do I learn the ins and outs of “The New Shiny”?

While I do not claim to be a guru, I have been called “a learning machine”. Read on to see how I tackle the challenge of learning new things in my personal development process.

Read More »

LightSwitch Apps for SharePoint 2013 Rollup

Comments Off
Filed under Cloud Practice, LightSwitch, Productivity, SharePoint

Hey, I may be all about cloud computing these days, but my heart is still anchored in all that is LightSwitch. With the new Visual Studio 2013 Preview out, I’ve been a busy little beaver (okay, a busy big ol’ bear) with all that interesting LightSwitch stuff.


(image courtesy of Microsoft)

For what it’s worth, here is a bit of a web content rollup about creating LightSwitch applications in SharePoint (yes, most are from Microsoft):

Building Modern, HTML5-based Business Apps for SharePoint 2013 with Visual Studio LightSwitch

Building Modern, HTML5-based Business Apps for SharePoint 2013 with Visual Studio LightSwitch (same presentation, different presenter at TechEd 2013 Europe)

Walkthrough: Creating an App for SharePoint by Using LightSwitch

Walkthrough: Accessing a SharePoint Workflow from a LightSwitch Mobile App

Get Started Building SharePoint Apps in Minutes with LightSwitch

Sending Email from a LightSwitch SharePoint App using Exchange Online

Theming a LightSwitch SharePoint App with ThemeRoller (way cool!)

Publishing LightSwitch apps for SharePoint to the Catalog 

Survey App Tutorial: Developing a SharePoint Application Using LightSwitch

More to come I’m sure.

Hey, if you’re curious to learn more about LightSwitch, I’m your guy. Contact me and I’d more than happy to chat with you about how using LightSwitch can shave weeks, if not months, of your next line of business software project.


Paul P

Microsoft LightSwitch – HTML5 Client

Comments Off
Filed under .NET, LightSwitch

Oh Yeah!

Just when you got over the excitement of LightSwitch’s oData support, Microsoft has announced upcoming LightSwitch support for HTML5 JavaScript based clients!

Read More »

Article source: http://www.paulspatterson.com/technology/lightswitch/microsoft-lightswitch-html5-client/

Windows Communication Foundation Security Must Reads

Comments Off
Filed under .NET, Software Architecture

I’ve been on a bit of a Windows Communication Foundation (WCF) security kick lately. Maybe because of all the Azure and cloud based development we’ve been doing here at Quercus Solutions.

Here are my top reads for all things WCF Security (so far):

  1. Windows Communication Foundation (WCF) Basic Programming Lifecycle : http://msdn.microsoft.com/en-us/library/ms732098
     - Note section titled Parameters and Return Values : Data Contracts
  2. Securing Services and Clients : http://msdn.microsoft.com/en-us/library/ms734736
  3. Message Security in WCF : http://msdn.microsoft.com/en-us/library/ms733137.aspx
  4. How to: Use Transport Security and Message Credentials : http://msdn.microsoft.com/en-us/library/ms789011
  5. Microsoft Patterns and Practices – Improving Web Services Security Guide : http://wcfsecurityguide.codeplex.com/wikipage?title=Ch%2007%20-%20Message%20and%20Transport%20Security%20in%20WCF-
    - Note the Protection Level section for ServiceContract the attributes.
    - Pay attention to the Internet Scenarios section.

Also, another great reference: http://wcfsecurityguide.codeplex.com/






Patterns and Practices: Dependency Injection 101

Comments Off
Filed under .NET, Productivity, Software Architecture

This is the start of a series of posts that I’ll be doing on design patterns and best practices; it involves the use of common development concepts that I find a core part of development.  If your interested in following, they will be under the category ‘Patterns and Practices’.

One of the most common patterns seen in ASP.NET MVC is dependency injection (otherwise known as Inversion of Control).  Why? It loosely couples the parts of the application and really emphasizes the ability to unit test the separate layers of your application.  Why is unit testing important? Unit Testing, while it may add more time to your development, it allows developers, testers and the client to feel more confident that their code is doing what it is supposed to do.

So what exactly is dependency injection?  Many of us use patterns without even knowing that we are doing it, so this may sound familiar.  It’s actually pretty straightforward, using an instance of one class, it calls an instance of another class, but not by a concrete implementation, but rather by interface.  In essence, dependency injection, aims to reduce the amount of boilerplate wiring and infrastructure code that you must write and implement one of the core design principles, code to an interface not a implementation.

Here’s a simple example, the AccountService has to get a Account.   It looks like this:

public class AccountService
  private IAccountRepository _accountRepository;
  public AccountService(IAccountRepository accountRepo)
    _accountRepository = accountRepo;

  public Account GetAccount(int accountId)
    return _accountRepository.GetAccountById(accountId);

When we need the AccountRepository, we ask the dependency container to get it for us the instance based on what it’s mapped too.  Why does this benefit developers? It’s good because the AccountService doesn’t know or care about it gets an Account.  You can stub out what the methods and properties on a fake IAccountRepository might return, and test just the AccountService.  You can also use this to change the implementation of the IAccountRepository on the fly based on the type of storage you may be using.  Coupled with a framework such as Ninject, using dependency injection is a powerful pattern that should be used more often.  In one of my following posts I’ll go into using an example of using Ninject and a basic tutorial.

Article source: http://robbiemadan.com/2012/05/09/patterns-and-practices-dependency-injection-101/

Microsoft LightSwitch – Sending Emails From the Client

Comments Off
Filed under .NET, LightSwitch, Productivity

Most of you may have already read an earlier post on how to send emails from LightSwitch (seen here). This post extends what was learned in that previous post, and shows how to wire up a button to send an email on demand.That previous post showed a specific function that would send out an email when an entity was added to the database. A helper class was created in the Server project of the LightSwitch solution. Then, when the new record was created in the database, that server code was called and an email went out. Here is how  I did that… Read More »

Article source: http://www.paulspatterson.com/technology/lightswitch/microsoft-lightswitch-sending-emails-from-the-client/

Microsoft LightSwitch – Championing the Citizen Developer

Comments Off
Filed under .NET, LightSwitch, Productivity

I recently watched a great webcast by Rich Dudley in which Rich made some very interesting points about what Gartner Research calls “Citizen Developers”. I was immediately intrigued by this Gartner information so I dug a little deeper into this citizen developer thing, and here is what I found…

According to Gartner, “Citizen developers will be building at least a quarter of new business applications by 2014…”.  That, according to the report titled “Citizen Developers Are Poised to Grow”.

Represented by about 6 million information workers, these “latent” application developers make up that same Microsoft Visual Studio LightSwitch target market.

Very interesting, indeed!



Article source: http://www.paulspatterson.com/technology/lightswitch/microsoft-lightswitch-championing-the-citizen-developer/

An Introduction to LightSwitch – Edmonton Dot Net User Group Presentation – September 12, 2011

Comments Off
Filed under .NET, LightSwitch

On September 12th I presented an introduction to Microsoft Visual Studio LightSwitch 2011 to the Edmonton Dot Net User Group (EDMUG.Net).

Here is a link to the slide deck and take-away notes from the presentation…




Copyright 2018 by Quercus Solutions