Practical .NET


'Hello World' for Your Smartphone: Your First Xamarin Application

Here's a step-by-step guide to creating a Xamarin project in Visual Studio 2017.

Choosing a Xamarin Strategy

Here's what you need to know before you create your first Xamarin application to run on a smartphone or a tablet.

Dealing with Unsafe DELETEs in RESTful Services

Your DELETE request to the service just timed out. Surely, it's safe to send it again. Actually, it may not be.

Dealing with Unsafe Methods in RESTful Services

Your update request to the service just timed out. Is it safe to send it again? Maybe. Here's how to ensure that all your update, delete and add requests are safe plus some advice on what you should really be calling them and handling concurrency.

Really Rest: Eliminating Documentation by Implementing HATEOAS

If you want to implement a fully "REST-compliant" application you should address a critical question: How do consumers know what URLs to use? What if all the consumer needed to know was how to use the HTTP protocol and a little common sense?

Your First Xamarin.Forms Project

If you've got a recent version of Visual Studio (Visual Studio 2017 Community Edition, for example) then you can start creating an Android application. Here's what you need to do to get your first project set up.

Moving to the Cloud: A Piecemeal Strategy

You can move all your applications to the cloud in one giant migration. You might even live. Peter thinks there's a better, smarter way and it doesn't start with your Web applications.

Leveraging Raw SQL in Entity Framework Core

The ability to use SQL with Entity Framework Core has always been a cool feature. There's a new feature in Entity Framework Core that opens the door for whole new set of SQL-related functionality.

High Performance Object-Oriented Data Access with Dapper

Entity Framework is fabulous ... but it does impose some overhead. If you like working with data in an O-O kind of way but feel the "need for speed," then you should be looking at Dapper.

Testing Precompiled Azure Functions Locally with Storage Emulator

If you're coding Azure Functions in Visual Studio 2017 to work with Azure Storage, one tool that can assist when running functions locally is the Microsoft Azure Storage Emulator, as shown in this hands-on tutorial.

Supporting Developers with JSON Schema

If you're building services it's critical that you support the developers who will create and read your service's messages. JSON Schema lets you support the three principles of good message design in a way that supports developers.

Managing and Enforcing Message Formats for Services

You can dramatically simplify life for developers creating services and their consumers by following three rules for designing messages and then enforcing your message formats with JSON Schema.

Designing Service Messages for Optimal Performance

If you're building services, then getting your message formats right can be the difference between success and failure. Here's an example of what can go wrong and how it could be fixed.

Invoking and Sharing View Components in ASP.NET Core

View components let you create reusable chunks of business logic coupled with a UI in multiple places in your application ... and then let you share that logic across multiple projects. Here's how to invoke them and share them.

Creating Reusable View Components in ASP.NET Core

ASP.NET Core lets you bundle up business functionality along with its related UI into a view component that you can reuse in throughout your application.

Upcoming Events

.NET Insight

Sign up for our newsletter.

I agree to this site's Privacy Policy.