Displaying 1 to 7 from 7 results

MyTested.WebApi - Fluent testing framework for ASP.NET Web API 2.

  •    CSharp

MyTested.WebApi is a unit testing library providing easy fluent interface to test the ASP.NET Web API 2 framework. It is testing framework agnostic, so you can combine it with a test runner of your choice (e.g. NUnit, xUnit, etc.). Inspired by ChaiJS. Please see the documentation for full list of available features. Everything listed in the documentation is 100% covered by more than 800 unit tests and should work correctly. Almost all items in the issues page are expected future features and enhancements.

Linker - A simple URL shortening website that serves as a nice demo application.

  •    CSharp

Linker is a really simple web-based URL shortening service. When I set out to create a Pluralsight course about my favorite built tool, Cake, I needed a .NET web application for my demos. The idea of the course was to take an existing web app and show how to use Cake to create a build and deployment pipeline for it from scratch. By the end, you'd have a Cake script that can take the application all the way from source code to running software. That idea eventually became Building and Deploying Applications with Cake, which you can read more about here.

Hmac.WebApi - Hmac authentication with ASP.NET Web Api

  •    CSharp

HMAC authentication uses a secret key for each consumer which both consumer and server both know to hmac hash a message, HMAC256 should be used. Most of cases, hashed password of consumer is used as secret key. Please note that form data and query string should be in order, so the code on server get querystring and form data to build correct message.




MvcCodeRouting - Namespace-based Modularity for ASP.NET MVC and Web API

  •    CSharp

Namespace-based Modularity for ASP.NET MVC and Web API

active-directory-dotnet-native-desktop - A

  •    CSharp

This sample demonstrates a .Net WPF application calling a web API that is secured using Azure AD. Once you've started the TodolistService, you can run the TodoListClient WPF application, click on the sign-in button, and then enter items in a todo list. When you close the application and reopen it, the list is still displayed, as long as the service is running (it maintains the todo list in memory), or until you click on the Clear Cache button. At this point, you'll need to sign in again (and can use another identity). You will manipulate the todo list of the identity you signed-in with.

active-directory-dotnet-native-headless - A windows desktop program that demonstrates non-interactive authentication to Azure AD using a username & password, and optionaly windows integrated authentication

  •    CSharp

For more information about how the protocols work in this scenario and other scenarios, see Authentication Scenarios for Azure AD. Looking for previous versions of this code sample? Check out the tags on the releases GitHub page.