Monday, April 8, 2019

Why OpenID Connect came?

After publishing my previous article on Understanding concepts - OpenId, OAuth and SAML, I received a general question from a few of my colleagues and that is ‘Why OpenID arrived? What is the need of it’?

By now, most of us are already aware that OAuth 2.0 is an authorization protocol and it really did a great job by providing information, which facilitated its user to take some prodigious authorization decisions.

But what about exchanging this information? How to do that? Is that exchange done in a secure manner? Bla bla bla…

All such sorts of questions are dealt in different- different manner as every authentication provider have their own mean of exchanging this OAuth information. As not all the providers have provided an equivalent level of security, led to some buzzes.

Here OpenID Connect came for rescue. It fixes all the common problems by providing an authentication protocol with a standardized way of exchanging messages between a provider and subscribers, which is nothing but a combination of OAuth and OpenID

We will witness this by taking a coding example, in one of my upcoming articles. Till then stay tuned.

Wednesday, April 3, 2019

What's new in Visual Studio 2019

Microsoft has released Visual Studio 2019, two days back. This release has many awesome features targeting productivity and collaboration improvement. I’ve collected certain features as part of the launch event by Kendra Havens and Scott. Here are those:
  • Side-by-side installation of Visual Studio versions
  • New look of Start Page
  • New look of Create Project window
  • Redesigned user experience and theme
  • Search is more intuitive
  • Live share option for collaboration with fellow developers
  • Debugger improvements – Search is available for Watch, Locals and Autos window
  • Extracting only few projects from a solution – Solution filter
  • Monitor awareness – VS resized as per the monitor size
  • Fonts are colors based on classification of words
  • Opening csproj file directly on double click of SDK projects
  • New column Kind has added to Find All References option with Read/Write
  • Code cleanup with just one click with rules configuration capability
  • Facility to export code style as. editorconfig
  • Synching up namespace with folder name if file is moved to another folder
  • ForEach to LINQ
  • Inversion of conditional expressions
  • Regex support
  • Extracting interface in the same class
  • Conversion of anonymous types to Tuple or class

.Net Core 3 Preview:
  • Desktop Improvements:
  • XAML Islands – WinForms and WPF can host UWP
  • XAML Controls – WinForms and WPF browser and media UWP controls
  • High DPI fixes for WinForms
  • Access to all Win 10 APIs
  • Deployment Improvements:
  • Side by side support
  • Machine global or app local framework
  • Self-contained EXEs – if .Net Fx is not available on end user’s machine, it can be shipped as an EXE along without the need of .Net installation
  • C# 8.0
    • Ranges
    • Nullable reference types - foreach(Student? Student in Students) {…}
    • Async Streams – Now async is capable to return a collection
    • Switch Expressions
    • Recursive patterns
One can try out .Net Core 3 with VS 2019. Apart from this list, there are lot much to know in other others. Stay tuned.