Join Stormpath .NET Developer Evangelist, Nate Barbettini, to learn best practices for designing your REST API in ASP.NET Core. Nate will explain how to build HATEOS-compliant JSON APIs while supporting security best practices and even improving performance and scale.
December 8, 2016 - Thomas Levesque A few years ago, Microsoft introduced the HttpClient class as a modern alternative to HttpWebRequest to make web requests from .NET apps. Not only is this new API much easier to use, cleaner, and asynchronous by design, it's also easily extensible.
We need something that has as little cost as possible, allows us to support entering the read lock from one thread while exiting from another and need to handle contention well. Our scenario in this case is producers holding the lock while the generate work, and then a flusher that goes and clean this up while holding the write lock.
Content security policies (CSPs) can be both a blessing and a curse. A blessing because they can do neat stuff like my recent piece on upgrading insecure requests yet a curse because they can also do screwy things like break your site. Now in fairness, the breaking bit linked to
I was asked for a simple example showing how to use/get started with the Macros for Visual Studio extension I mentioned a efw days ago on Twitter. Here is a simple 'get-started' I threw together today. I'll expand this post later with a better example, as well as a video.
Whether you're a new mobile developer or an experienced enterprise team lead, Microsoft's Azure App Service and Xamarin can provide you with everything you need to build engaging Android, iOS, and Windows apps. In this previously recorded webinar, Microsoft Program Manager Mike James shows you how to easily add powerful web services and mobile essential ...
It seems that Kendo DataSource (and, thus, the Kendo Grid) cannot do both Grouping and Sorting. When sorting is defined without grouping, then everything works fine. But, when records are grouped, then the sorting within each groups does not work at all. Consider this simple example: http://jsfiddle.net/jfollas/z3297jtx/ The sorting is all over the place!
Google Play services offers a plethora of amazing APIs for developers to integrate into their iOS and Android applications. For Android developers, specifically, there are even more APIs available that can give you even more power and integration with the Android OS when developing apps for the platform.
The "Containerized Docker Application Lifecycle with Microsoft Platform and Tools" free eBook from Microsoft Press, written by Cesar de la Torre, may be the guide you've been looking for. If you're new to Docker, it's recommended to start reading this book from the beginning as it covers the fundamental Docker terms, including containers, images, registry,...
With the Windows 10 Creators Update, Microsoft is making it easier for developers to create symlinks, virtual files that link to actual physical files located somewhere else. The change should speed development in Windows 10, making use of symlinks on the platform as seamless as it already is on Linux and OSX.
The 'ListView' control provides you the base to display a set of data items in a WPF (Windows Presentation Foundation) application in different layouts or views. In case you are working to show a dataset in your WPF app, this post will help you to get started with it.
Hi Everyone, Jeremy Kruer here. Today I am doing an update on my last post about Asynchronous Programming in C#. In my last post I created an API with two different end points. One endpoint downloaded several websites with traditional synchronous code and the other end point downloaded the same
Today's topic is about custom exception types. That is whether or not you should write your own exception types to throw in different situations. If you read old guidelines from Microsoft regarding creating custom exceptions, you might remember two base exception types: SystemException and ApplicationException.
A fundamental problem with integration testing over finer-grained tests such as unit testing is that in order to integration test your component or application you need to spin up a running instance of your application so you can reach it over HTTP, run your tests and then spin it down afterwards.
Command line tools are becoming increasingly popular, so this tip may save you some time. On Windows, there are several ways to open up a command window. My typical method is to just hit the Start key and type 'cmd' and then enter.