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.
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.
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
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,...
On the heels of Microsoft's groundbreaking new developments in speech recognition, we have are continuing along our path: improving the quality of the transcripts generated by Azure Media Indexer and expanding our locale support to eventually accomplish our goal of being able to recognize all human speech on the Azure cloud.
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!
ASP.NET Core is here and it's cross-platform, which is kind of awesome. It's also a bit different from MVC 5, which is kind of annoying. I'll be the first to admit that I haven't written any ASP.NET code since version 3, so if you're new to ASP.NET Core, you're in good company!
Today, at the Windows Hardware Engineering Community event (WinHEC) in Shenzhen, China, we joined our partners and hardware engineering creators from around the world to talk about our vision for building the next generation of modern PCs supporting mixed reality, gaming and more; to make mixed reality mainstream; and to introduce always-connected, more power efficient cellular PCs running Windows 10.
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.
This post is in my Fat Controller CQRS Diet series. It demonstrates how to thin your controllers by implementing commands and queries using the MediatR library. Specifically in this post, I'll look at organizing your code by vertical slices. I'm converting the MusicStore application that's using ASP.NET Core MVC.
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
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.