Category: Web

PowerShell: Check a parameter/variable value is null

Posted on 1 min read

While you are writing PowerShell modules, with lot with parameters and you might want to verify these parameters are not ‘null’ to validate some business cases. In normal powershell inline scripting context, $variablename -eq “$null” would work : if ($varibalename -eq $null) { Write-Host "variable is null.Please supply the values for variablename." } RECOMMENDED APPROACH:… Continue reading

Node.js 9.x.x and npm 6.x.x – “npm audit” to identify and fix security vulnerabilities in dependencies

Posted on 3 min read

It has been a while I have been reading about the major changes that areintroduced in Node.js 9.x.x / NPM 6.x.x and myself faced by Node.js application going to a toss after I upgraded to Node.js 9.x.x, as I always keep Node.js up to date in my development environment. I use NVM(Node Virtual Manager) to… Continue reading

[NPM Tip] Error: self signed certificate in certificate chain

Posted on 1 min read

As a developer, if you are behind a corporate proxy that assigns an intermediatory self signed SSL certificate to every request to provide secure content filtering as part of cybersecurity measures, I am sure you might have gone through the pain to get it working when working with NodeJS. if you have Admin access to… Continue reading

[NPM Tip] Rewriting the default protocol for GitHub package references

Posted on 1 min read

Some times as a Modern Web Developer you will face some “npm install” as some of the packages would be referring to git/ssh protocol to reference private packages from Git Hub. This would fail when you are behind a corporate proxy. Rewriting the default protocol for GitHub, run the following snippet in your command line… Continue reading

Setting up Local NPM repository to Speedup Dev/CI Builds

Posted on 3 min read

As a modern day JavaScript developer working with Node.js and NPM, it has been always any developer’s case to clean up local node modules sometimes when local build is broken. It is a tedious tasks to cleanup %appData%\npm-cache  to do a fresh install of all the modules again. Depending on the number of modules your… Continue reading

Introduction to HTTP/2

Posted on 3 min read

The reason I got started with topic is that, there  were some buzz around Visual Studio 2015 RC support for HTTP/2 and Windows 8 – IIS support for HTTP/2. I was curious to learn further about the HTTP/2 and sharing my findings in this article. About HTTP/2. HTTP/2 is the first new version of HTTP… Continue reading

Visual Studio Tools for Apache Cordova in Visual Studio 2015 RC

Posted on 3 min read

Microsoft has announced that with Visual Studio 2015 – Apache Cordova tools will be integrated within the main install bundle. Using Apache Cordova Tools for Visual Studio you will be able to develop cross-platform mobile applications using single codebase for iOS, Android and Windows Phone. With support for native device capabilities (e.g. camera, accelerometer, contact),… Continue reading

Introducing Visual Studio Code

Posted on 2 min read

As part of Microsoft’s focused approach to bring in more value to Cross platform & Open Source based initiatives Microsoft has released Visual Studio Code IDE along with .NET Core runtime for Mac, Linux and Windows. Visual Studio Code, a new, free, cross-platform code editor for building modern web and cloud applications on Mac OS… Continue reading

Disable Client Side validation on a button click – ASP.NET MVC

Posted on 2 min read

ASP.NET MVC we use client side validation using jQuery.validate plugin, which will be based on Model – Data Annotation validation attributes. In some cases we might want to disable such validation on a button click wherever it is not needed. For example: The below code block will register validation block for Title property in the… Continue reading

TypeScript for Visual Studio 2012–v0.8.3.1

Posted on 1 min read

Microsoft has released an Incremental update to TypeScript for Visual Studio 2012 – the version 0.8.3.1, which is the first update to the v0.8.3 released in Feb 2013. You can download the latest bits from here: Download TypeScript for Visual Studio 2012 – v0.8.3.1

Showing 1-10 of 34 posts
per page