Skip to main content

Posts

AWS Certified Developer - Associate Exam - (DVA-C01) Cheat Sheets – Part #1

AWS Certified Developer - Associate Exam - (DVA-C01) Cheat Sheets – Part #1 Please note, this post assumes the reader is having the basic understanding about AWS Services, so that we will jump directly into exam related content. Introduction : This is one of the preliminary exams for AWS, the aspiring cloud programmers can take up this exam to level up their career. Exam Question Format: Question Type Need to Answer Distractors Result Multiple Choice 1 Rest of the Questions Will get marks if correct Multiple Response 2 or More Rest of the Questions Will get marks if correct, Not get marks if any single answer is not correct (Even if other selected answers are correct) Content: There are 5 domains and the questions will be distributed based on the weightage as follows Domain Weightage Deployment 2

Common Issues with ASP.NET site publishing and Fixes

Common Issues with ASP.NET site publishing and solutions Issue #1: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. ASPNETCOMPILER Fixes: There are several fixes applied for this, Solution #1: Change the Windows system to allow more than 260 character Change the Group policy by applying the steps prescribed in this link Solution #2: Copy the current project path to different (and small) path and try Solution #3: Use the following tag in the website.publish file inside the PropertyGroup <AspnetCompileMergeIntermediateOutputPath> c:\temppub\ </AspnetCompileMergeIntermediateOutputPath>   (To be updated)

C# Shortcuts for quick programming

C# Shortcuts for quick programming   C# comes with full of surprises when you are doing the coding, here is the short list of commands that you can use it to generate the C# code automatically and quickly Enter prop and press tab 2 times (prop tab tab) Generate a property public int MyProperty { get ; set ; } class tab tab Generates a empty class         class MyClass         {                     } Ctor tab tab (inside the class) Generates a parameter less constructor             public MyClass()             {               } For tab tab Generates an empty for loop             for ( int i = 0; i < length; i++)             {                             } Foreach tab tab Generates an empty foreach loop               foreach ( var item in collection)             {                             } Do tab tab   Generates an empty do while loop               do              {                             } while

NodeJS Interview Questions

NodeJS Interview Questions 1) How to access the Windows Environment Variables programmatically via NodeJS? The process.env will provide the required functionality.    process . env . HOME    process . env . HOMEPATH   In order to have this dynamically we can have      var    nodePath  =  'NODE_PATH' ;    process . env [ nodePath ];   2) What is async and await in NodeJS? async à in simple terms marks the function to run asynchronously await à Marks the caller to wait until the function executes. 3) How to create a directory in NodeJS?      var   fileSystem  =  require ( 'fs' );     var   DIR_NAME  =  'test' ;      if (! fileSystem . exists ( DIR_NAME )){      fileSystem . mkdir ( DIR_NAME );   }   4) How to use jQuery in NodeJS? We need to install jQuery via npm then use it as follows npm   install   jquery Usually point it to $ by var   $  =  require ( 'jquery' );  Sometimes we need to install the