The aggregated blogs of the ASP.NET Web API community
125 followers 0 articles/week
An ASP.NET Core Razor Pages Bootstrap 4 Application using Webpack, Typescript, and npm

This article shows how an ASP.NET Core Razor Pages application could be setup to use webpack, Typescript and npm to build, and bundle the client js, CSS for development and production. The application uses Bootstrap 4. Code: https://github.com/damienbod/AspNetCorePagesWebpack The example is setup so that the vendor ( 3rd Party packages ) javascript...

Sat Jun 23, 2018 23:09
When Opportunity meets Momentum

Over the past few years, I have occasionally dreamed about what would be my perfect job.  Of course it would have to involve HTTP APIs. But beyond that, my background in ERP software leaves me longing for solving business problems for users.  My experience at Runscope as a developer advocate reaffirmed my desire to spend time helping other developers. ...

Wed Jun 20, 2018 18:08
Writing logs to Elasticsearch with Fluentd using Serilog in ASP.NET Core

For apps running in Kubernetes, it's particularly important to be storing log messages in a central location. I'd argue that this is important for all apps, whether or not you're using Kubernetes or docker, but the ephemeral nature of pods and containers make the latter cases particularly important. If you're not storing logs from your containers...

Wed Jun 20, 2018 14:03
Making the IdentityModel Client Libraries HttpClientFactory friendly

IdentityModel has a number of protocol client libraries, e.g. for requesting, refreshing, revoking and introspecting OAuth 2 tokens as well as a client and cache for the OpenID Connect discovery endpoint. While they work fine, the style around libraries that use HTTP has changed a bit recently, e.g.: the lifetime of the HttpClient is currently managed...

Mon Jun 18, 2018 12:03
ASP.NET Core MVC Form Requests and the Browser Back button

This article shows how an ASP.NET Core MVC application can request data using a HTML form so that the browser back button will work. When using a HTTP POST to request data from a server, the back button does not work, because it tries to re-submit the form data. This can be solved by using a HTTP GET, or an AJAX POST. Code: https://github.com/damienbod/MvcDynamicDropdownList...

Fri Jun 15, 2018 13:07
Mixing UI and API Endpoints in ASP.NET Core 2.1 (aka Dynamic Scheme Selection)

Some people like to co-locate UI and API endpoints in the same application. I generally prefer to keep them separate, but I acknowledge that certain architecture styles make this conscious decision. Server-side UIs typically use cookies for authentication (or a combination of cookies and OpenID Connect) and APIs should use access tokens – and you want...

Thu Jun 14, 2018 14:34

Build your own newsfeed

Ready to give it a go?
Start a 14-day trial, no credit card required.

Create account