Building ASP.NET Core apps with Xamarin Forms and Ooui

Posted by Anuraj on Monday, July 16, 2018 Reading time :2 minutes

ASP.NET Core Ooui Xamarin Forms

This post about developing ASP.NET Core apps with Xamarin Forms and Ooui. Xamarin.Forms exposes a complete cross-platform UI toolkit for .NET developers. Build fully native Android, iOS, and Universal Windows Platform apps using C# in Visual Studio. And Ooui is a small cross-platform UI library that brings the simplicity of native UI development to the web. In the background, it is also using WebAssembly, like Blazor. Here is a simple console app, which is running a Xamarin Forms code in self hosted mode.

Running console applications in Windows containers

Posted by Anuraj on Tuesday, July 10, 2018 Reading time :2 minutes

Docker Hangfire

Hangfire is framework which helps to perform background operations in .NET and .NET Core. By default, Hangfire will be configured along with the application, but you need to configure the Web App to run Always running. For better scalability and separation of concerns, it is recommended to move the job processing from web application to a different process. Hangfire supports two modes, one as a Console application and as Windows Service. In this blog post I am using Console app approach.

Generate code quality report using VSTS task

Posted by Anuraj on Wednesday, July 4, 2018 Reading time :1 minute

VSTS PowerShell

While implementing CI for one of the project, I implemented code quality check using Resharper Code Quality Analysis task. This task can fail the build, but this task will not generate a report. Since this task is internally using Inspectcode.exe, it will be able to generate the output XML file. In this post, I am writing a simple PowerShell script, which can be used as task, which will generate html report.

Deploying an ASP.NET Core 2.1 Application with AWS Elastic Beanstalk

Posted by Anuraj on Friday, June 1, 2018 Reading time :1 minute

ASP.NET Core AWS

AWS Elastic Beanstalk is an orchestration service offered from Amazon Web Services for deploying infrastructure which orchestrates various AWS services, including EC2, S3, Simple Notification Service (SNS), CloudWatch, auto scaling, and Elastic Load Balancers. Currently AWS Elastic Beanstalk only supports .NET Core 2.0.

Yammer external login setup with ASP.NET Core

Posted by Anuraj on Friday, May 25, 2018 Reading time :3 minutes

ASP.NET Core Yammer OAuth 2

This post shows you how to enable your users to sign in with their Yammer account. Similar to the other social networks, the authentication is an OAuth 2 flow, beginning with the user authenticating with their Yammer credentials. The user then authorizes your app to connect to their Yammer network. The end result is a token that your app will use to write events to Yammer and retrieve Yammer data.

Working with Entity Framework Core - Hybrid Approach

Posted by Anuraj on Wednesday, May 23, 2018 Reading time :3 minutes

EFCore .NET Core Migrations

Recently I started working on Dictionary Web API, which converts English to Malayalam(my native language). I am able to find out the word definitions database as CSV, by running Import Data wizard in SQL Server, I created a SQL Server database with definitions. The definitions table is a contains thousands of rows, so I don’t want to create it and insert the data, instead I want to use Database first approach for creating the entity. So here is the command to which build DBContext and POCO classes using existing database.

Code coverage in .NET Core with Coverlet

Posted by Anuraj on Monday, May 14, 2018 Reading time :1 minute

.NET Core CodeCoverage Coverlet

Few days back I wrote a post about code coverage in ASP.NET Core. In that post I was using Visual Studio 2017 Enterprise, which doesn’t support Linux or Mac and it is costly. Later I found one alternative, Coverlet - Coverlet is a cross platform code coverage library for .NET Core, with support for line, branch and method coverage. Coverlet integrates with the MSBuild system, so it doesn’t require any additional setup other than including the NuGet package in the unit test project. It integrates with the dotnet test infrastructure built into the .NET Core CLI and when enabled, will automatically generate coverage results after tests are run.
Translate
Subscribe
BMC logoBuy me a coffee


Copyright © 2018 - Anuraj P. Blog content licensed under the Creative Commons CC BY 2.5 | Unless otherwise stated or granted, code samples licensed under the MIT license. This is a personal blog. The opinions expressed here represent my own and not those of my employer. Hosted with ❤ by GitHub