Blog
Blog posts on .NET, Azure, and more.
Using Remote validation with ASPNET Core
March 24, 2016 by Anuraj
ASP.NET MVC ASP.NET Core ASP.NET5 Remote Validation
Remote validation allows the developer to call the controller actions using client side script. This is extremely useful when you want to perform a back end query without having to perform a full server postback. ASP.NET MVC Remote configuraion helps us to do this by decorating the model properties with remote attribute. This post is about implementing remote validation in ASP.NET Core. For remote validation first you need to decorate the model class property with remote attribute.
Bundling and Minifying an AngularJS Application with ASP.NET MVC
March 22, 2016 by Anuraj
AngularJS Optimization Minification Bundling DI ASP.NET MVC
Bundling and minifying an application scripts and CSS reduces page load time and asset size. This post is about the challenges and solutions while enabling bundling and minification in your aspnet mvc application. ASP.NET MVC comes with ASP.NET Web Optimization Framework which helps to combine and minify CSS and JS files. You can specify the script directory or files based on your convenience. This is important because identifying and troubleshooting script errors with bundling and minification enabled app is hard.
Running your ASPNET application from Ubuntu 14.04
March 21, 2016 by Anuraj
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.
Using ELMAH in ASP.NET Core
March 20, 2016 by Anuraj
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.
How to Setup and Connect to Azure Linux Virtual Machine
March 18, 2016 by Anuraj
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.
Copyright © 2025 Anuraj. 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. Powered by Jekyll. Hosted with ❤ by GitHub