Posted by Anuraj on Tuesday, June 7, 2016 Reading time :1 minute
C# ASP.NET ASP.NET Core Appveyor Continuous Integration
This post is about using ASP.NET Core RC2 in Appveyor for Continuous Integration. Recently Microsoft released RC2 version of ASP.NET Core. But for Windows OS, there is an installer exe available.(Unlike DNX there is not commandline / powershell install options.) In this post I am downloading the binaries and extracting to the location.
Posted by Anuraj on Friday, June 3, 2016 Reading time :2 minutes
C# XUnit UWP Appium Testing UI Automation
This post is about how to implement UI Automation for your Universal(UWP) apps with Appium. Appium is an open source test automation framework for use with native, hybrid and mobile web apps. It drives iOS and Android apps using the WebDriver protocol. To start first you need to download the WinAppDriver.exe, you can download it from the GitHub repository. Download it and install it. Once installation completed, run the WinAppDriver.exe from the install location, by default it will be C:\Program Files (x86)\Windows Application Driver. When running WinAppDriver.exe a console window is opened which logs the JSON Wire Protocol HTTP requests, like this.
Posted by Anuraj on Thursday, June 2, 2016 Reading time :1 minute
Kudu Azure WebApps Azure WebApps
This post is about Kudu. Kudu is the central nervous system of a Microsoft Azure Web Site; it handles the Git integration to a Web Site as well as provides an API endpoint for programmatic access to app settings, deployment information, files, active processes, runtime versions, source control information, web hooks and web jobs. It can also run outside of Azure.
Posted by Anuraj on Monday, May 9, 2016 Reading time :1 minute
C# ASPNET5 ASPNET Core Email MailKit
This post is about sending emails from ASP.NET Core using MailKit nuget package. In ASP.NET Github repository, there was one issue (1006) for Add SmtpClient support in ASPNET Core. And there was some implementation, which uses TcpClient to send email from ASP.NET Core. But this implementation is using MailKit nuget package. It is from Jeffrey Stedfast, and licensed under MIT.
Posted by Anuraj on Tuesday, April 26, 2016 Reading time :2 minutes
C# XUnit Protractor Angular JS Testing
Protractor is an end-to-end test framework for AngularJS. The official version is built on Node.js and Selenium WebDriverJS. Protractor.NET, a .NET port of Protractor built on top of Selenium WebDriver for .NET. It allows us to write Angular UI tests using .NET testing frameworks such as NUnit, MSTest or XUnit. This post is about writing End to End tests for angular app with XUnit and Protractor.Net. Unlike WebDriver, Protractor understands Angular digest cycle and blocks until the digest cycle has finished, which helps us to write better test code. As I want to test my ASP.NET Core application, I choose XUnit, instead of NUnit or MS Test. Here is my project.json. Protractor is not available for DNX Core, so I had to remove that reference.
Posted by Anuraj on Monday, April 25, 2016 Reading time :1 minute
C# ASPNET5 ASPNET Core DropzoneJS Drag and Drop
DropzoneJS is an open source library that provides drag and drop file uploads with image previews. It is lightweight, does not depend on any other library (like jQuery) and is highly customizable. This post is about implementing Upload images with drag and drop feature in ASP.NET Core and DropzoneJS.
Posted by Anuraj on Friday, April 22, 2016 Reading time :2 minutes
C# ASPNET5 ASPNET Core Azure Document DB
Azure DocumentDB is Microsoft’s multi-tenant distributed database service for managing JSON documents at Internet scale. DocumentDB indexing enables automatic indexing of documents without requiring a schema or secondary indices. DocumentDB is designed to provide real-time consistent queries in the face of very high rates of document updates. This post is about using Azure Document db from ASP.NET Core application.