Developer Support

Advocacy and Innovation

Latest posts

Sep 6, 2017
Post comments count 1
Post likes count 1

Managed object internals, Part 2. Object header layout and the cost of locking

Sergey Tepliakov

Working on my current project I’ve faced a very interesting situation. For each object of a given type, I had to create a monotonically growing identifier with few caveats: 1) the solution should work in multithreaded environment 2) the number of objects is fairly large, up to 10 million instances and 3) identity should be created lazily because not every object needs it. During my original implementation, I haven’t realized the amount of instance the application will deal with, so I came up with a very simple solution: double-checked locking pattern that allows initializing an identity field lazily in mult...

Sep 5, 2017
Post comments count 0
Post likes count 0

Role Based Access Control in ASP.NET MVC

Monu Bambroo

In this post, Premier Developer consultant Lizet Pena De Sola explains Role Based Access Control in ASP.NET MVC. Role Based Access Control in MVC is pretty straight forward. There is also a way to do claims access control, but the most common way is based on roles. To show or hide action links in a view depending on the user role we can use the following Razor syntax on your Views: Read the rest on Lizet Pena De Sola's blog here.

Aug 28, 2017
Post comments count 0
Post likes count 0

Agile work in progress tracking: Are we there yet?

Monu Bambroo

In this post, Premier Developer consultant Ilias Jennane explains Agile Work in Progress Tracking. In almost every engagement I have with customers seeking guidance on how to effectively run an Agile development shop, the question of work in progress tracking comes up. However, the question comes in different “flavors”, often signaling where in its Agile journey the organization is. Read the rest on Ilias Jennane blog here.

Aug 23, 2017
Post comments count 0
Post likes count 0

HTTP Secure, Part II. Is Diffie-Hellman always used in the HTTPS key exchange?

Monu Bambroo

In this post, Premier Developer consultant Lizet Pena De Sola explains Diffie-Hellman in the HTTPS key exchange. I got a question right after I had spent a week in training classes for the COMPTIA Security+ exam: to describe how HTTP Secure (HTTPS) modifies the HTTP traffic between a client browser and the server.  At the end of my explanation, this person also asked me what was the role of Diffie-Hellman algorithm in the whole process. Read the rest on Lizet Pena De Sola's blog here.

Aug 18, 2017
Post comments count 0
Post likes count 0

Docker Blog Series Part 3– Deploy IIS based applications to Service Fabric using Docker Containers

Pam Lahoud

In the third post in his blog series on Docker, Premier Developer consultant Monu Bambroo illustrates how to deploy IIS based applications to Service Fabric using containers. One of  the value propositions of using containers with Service Fabric is that you can now deploy IIS based applications to the SF cluster. In this blog post, we will see how to leverage Docker containers to deploy IIS apps to Service Fabric. I will skip the image creation and publish to the Docker hub in this blog. For this blog, I will be using an already pushed IIS image to the Docker Hub. The application image uses microsoft/ii...

Aug 17, 2017
Post comments count 0
Post likes count 0

Nailing it: Making Sense of Vague PowerShell Errors

Pam Lahoud

This post on troubleshooting PowerShell errors comes to us from Premier Developer consultant Rob Vettor.PowerShell is a “must-know” for Azure cloud development. Yes, it’s a scripting language, but moreover, it’s an automation engine that can execute complex tasks with minimal effort. The vast majority of Azure administrative functionality is available in PowerShell. Many of the GUI consoles are simply executing PowerShell commands behind the scene.That said, what do you do when a PowerShell cmdlet presents a vague error message to you?Read the rest of the post on Rob’s blog here.

Aug 16, 2017
Post comments count 0
Post likes count 0

Claims augmentation with OWIN but outside of Startup code

Pam Lahoud

This post on authentication and authorization is from Premier Developer consultant Marius Rochon.Claims list included in the ClaimsPrincipal usually originate from the security token received by the application as part of user authentication (SAML, OpenIDConnect id token) or access authorization (OAuth2 bearer access token).  However, sometimes there is a need to modify that list with claims derived from other sources:Read the rest of the post on Marius’ blog here.

Aug 15, 2017
Post comments count 0
Post likes count 0

How Not to Use Service Fabric Default Services

Pam Lahoud

This post on avoiding the use of Default Services in your Service Fabric application comes to us from Premier Developer consultant Larry Wall and Application Development Manager Danny Kolke. Service Fabric is an ideal platform for microservices making it easy to package, deploy, and scale. As a developer, there are a lot of solutions that you don't have to code – Service Fabric just does them for you. Plus, Service Fabric is also pretty easy to try out considering its complexity. Using the Web Platform installer to get Service Fabric, reboot and open up Visual Studio and within minutes you can create and deplo...

Aug 11, 2017
Post comments count 0
Post likes count 0

Monitor your Xamarin Forms application with Mobile Center

Pam Lahoud

This article on using Mobile Center to monitor your Xamarin Forms application comes to us from Premier Developer consultant Gustavo Varo. More and more customers are asking about Mobile Center and how it can help them to monitor and analyze the customer experience. A lot of customers mentioned that they know about Mobile Center, they know how Mobile Center can help them, but when they try to implement the Mobile Center SDK into their apps they find issues and are not able to retrieve any logs or crashes even though they know the app is crashing on their user’s devices. In this blog post, we will go over...