A couple of examples on how to use HttpClient for reading web pages and communicating with a Web Api App.
Developed with Visual Studio 2015 Community
###Techs
| Tech |
|---|
| C# |
| OWIN |
| Entity Framework |
| MS SQL Server |
| NewtonSoft Json |
####ReadWebPage
This is a simple console app that uses 'HttpClient' reads the 'BBC' home page and displays the contents.
####WebApiExample
A Web Api 2 / Console solution that demonstrates how to make calls to a RESTful Web Api app to perfrom CRUD operations.
Make sure you run the WebApi.Server first prior to running the WebApi.Client.
####Features
| Feature |
|---|
| Code First - FluentApi with Entity Type Configuration |
| Repository Pattern (light-weight) |
| CRUD operations including Create, Update, Delete, Get & GetAll |
| Serialization & Deserialization with NewtonSoft Json |
| Http Get, Post, Put, Delete |
###Resources
| Title | Author | Website |
|---|---|---|
| HttpClient Class | MSDN | |
| Calling a Web API From a .NET Client (C#) | Mike Wasson | ASP.NET |