Posted by Anuraj on Monday, March 21, 2016 Reading time :1 minute
ASP.NET ASP.NET Core DNX DNVM Azure Ubuntu
Ubuntu is a Debian-based Linux operating system and distribution for personal computers, smartphones and network servers. This post is about running ASP.NET Core application on Ubuntu VM running on Azure and making the application accessible via browser. First you need to install DNX runtime on the server, you can find more details about the installation from ASP.NET Docs site. You need to run the following commands as sudo in terminal.
Posted by Anuraj on Sunday, March 20, 2016 Reading time :1 minute
ASP.NET ELMAH ELM ASP.NET Core Logging
ELMAH (Error Logging Modules and Handlers) is an application-wide error logging facility that is completely pluggable. It can be dynamically added to a running ASP.NET web application, or even all ASP.NET web applications on a machine, without any need for re-compilation or re-deployment. ELMAH does not work with ASP.NET 5 because ELMAH (given its name) is based on ASP.NET 4.x’s Modules and Handlers (the ‘MAH’ of ‘ELMAH’). There is a prototype in ASP.NET 5 called ‘ELM’ (Error Logging Middleware) that has some features similar to ELMAH. This post is about using ELM in ASP.NET 5.
Posted by Anuraj on Friday, March 18, 2016 Reading time :1 minute
Azure Linux Virtual Machine Ubuntu
This post is about creating and connecting to a Linux Virtual Machine running on Windows Azure. This is using the Ubuntu 14.04 LTS OS Image. First you need to create Linux VM in Azure, I am using old azure portal for creating the VM. You can create a VM using Quick Create option, you need to provide the VM Name, Image (Ubuntu 14.04 LTS), Size, Password and Region.
Posted by Anuraj on Saturday, March 12, 2016 Reading time :1 minute
ASPNET Core IIS ASPNET 5 HttpPlatformHandler Kestrel
This post is about hosting an ASPNET 5 application in IIS. By default ASPNET5 comes with Kestrel web server. You need to do following steps to host an ASPNET5 app in IIS.
Posted by Anuraj on Sunday, March 6, 2016 Reading time :1 minute
.Net C# Web Optimization
CSS Sprites is a technique of combining multiple images into a single image file for use on a website, to help with performance. Using image sprites will reduce the number of server requests and save bandwidth. Here is the network requests for social icons for my blog. Since I was using 5 icons, browser was sending 5 browsers requests.
Posted by Anuraj on Saturday, February 20, 2016 Reading time :3 minutes
ASP.NET5 ASP.NET Core EF7 Entity Framework Code First Migration CodeProject
This post is about Entity Framework 7 Code First Migrations. Code First Migrations is a Entity Framework feature which helps to apply database schema changes without re-creating the whole database. In ASP.NET 5, Microsoft released EF 7, which helps to run migrations with dnx command.
Posted by Anuraj on Friday, February 12, 2016 Reading time :1 minute
ASP.NET5 ASP.NET Core HTTPS Kestrel
This post is about setup Https on Kestrel. Kestrel is a cross-platform web server based on libuv, a cross-platform asynchronous I/O library. Kestrel is open-source, and you can view the Kestrel source on GitHub. Kestrel is a great option to at least include support for in your ASP.NET 5 projects so that your project can be easily run by developers on any of the supported platforms.