Category: .NET

Build an API Service in ASP.NET Core with Twilio, Stripe, and Stormpath

Building an API service can be complex and time-intensive, but a few well-positioned API services and open source libraries can reduce developer frustration and accelerate your time-to-market. In this post, you’ll create a complete API service plus a site to consume it and then drop in a few clever additions to smooth your way. When …

Tutorial: Policy-based Authorization in ASP.NET Core

Heads up… this article is old! For an updated version of this article, see Policy-Based Authorization in ASP.NET Core on the Okta developer blog. The authorization model in ASP.NET Core got a big overhaul with the introduction of policy-based authorization. Authorization now uses requirements and handlers, which are decoupled from your controllers and loosely coupled …

Azure Active Directory B2C vs. Stormpath for User Authentication

The hosted identity and user management space is growing by leaps and bounds. At Stormpath, we think that’s a good thing! Azure Active Directory Business to Consumer (B2C) is the newest player in this growing market. Like Stormpath, Azure AD B2C is a cloud-hosted identity management system that’s meant to replace expensive home-built and self-hosted …

5 Tips for Building an API in ASP.NET Core

These days users expect a fluid, app-like experience on the internet. Thus, the new web is being built with APIs and single-page frontends. This means it’s more important that ever to build APIs that are easy to use, reliable, and scalable. ASP.NET Core makes it easy to build great APIs, but there are a few …

Build a REST API for your Mobile Apps with ASP.NET Core

Nowadays, RESTful APIs are the standard way of exposing backends to applications. They allow you to share your business logic between different clients with a low level of coupling through a super-standardized protocol: HTTP. One of the biggest challenges when building REST API is authentication. Typically, we manage this with JWTs. Unfortunately, ASP.NET Core doesn’t …

5 Must-Have Visual Studio Code Extensions

Visual Studio Code is Microsoft’s fully cross-platform IDE. It is beautiful, easy to use and lightweight. Its slimness can be attributed to the fact that it does only the basics by default, and add functionality via extensions. This lets developers start with the basics, and add only those things they really need. There are some …

Store & Protect Sensitive Data in ASP.NET Core

Storing sensitive configuration data (i.e. API keys, database usernames, and passwords) appropriately is anything but a trivial concern for application developers. There are a variety of recommended approaches in ASP.NET Core, each with its own advantages and disadvantages. Making the right decision based on your application’s security requirements is critical, but not always simple. In …

Tutorial: User Authentication in AngularJS and ASP.NET Core

Modern web applications have an explicit separation between the server and the client. Clients use AngularJS, ReactJS, EmberJS, and others. Servers use NodeJS, Java, and, .NET. Microsoft’s .NET platform is a strong, battle-proven server-side framework, and AngularJS is arguably the most popular client-side framework. They work seamlessly together, but adding solid, secure authentication can seem …

5 Reasons To Try Xamarin Today

If you’re a .NET developer who’s ready to dive into mobile world, Xamarin is the tool for you! Xamarin is an open source framework that allows developers to create mobile applications for Android, iOS and Windows Phone written in a single language: C#. This is great because you don’t have to spend time learning native …

Has ASP.NET Core Killed Web Forms?

ASP.NET Web Forms was first released in 2002 as a successor to Classic ASP. It was a revolutionary technology that made the development of web pages “Event Driven in Code-Behind”. This was a great simplification in comparison to other technologies of that time and even today. This technology is still in use and its current …