11+ Year IT Industry Experience, Working as Technical Lead with Capgemini | Consultant | Leadership and Corporate Trainer | Motivational and Technical Speaker | Career Coach | Author | MVP | Founder Of RVS Group | Trained more than 4000+ IT professionals | Azure | DevOps | ASP.NET | C# | MVC | WEB API | ANGULAR | TYPESCRIPT | MEAN | SQL | SSRS | WEB SERVICE | WCF... https://bikeshsrivastava.blogspot.in/ http://bikeshsrivastava.com/
Sunday, November 3, 2019

How To Create Angular App With .NET Core In Visual Studio


In this article, I am going to share knowledge "How to create an angular app inside .net core". Most of the developers are thinking about angular if it can be merged with visual studio .net core so that's fantastic. So don't worry guys I am here and going to explain about this0. If you are not aware of Angular and .net core separately please go through the below-given link these links are very helpful to create an angular app with .net core step by step.
I am going to explain in some of the steps to create an Angular app using .net core using visual studio:
Before start, you should make sure you have already installed Visual Studio 2017.

Step1:
Open Visual Studio and create a project after clicking on File> New> Project, See the below image for more help. 



Choose template ASP.NET Core Web Application and click on OK after that one other popup will be displayed there, so now time to select the SPA category. We can choose any template e.g React, Angular, WebAPI, any template according to your requirement, Now we should select Angular because we are going to create SPA with .netCore with Angular. see image for more help



Select Angular and click on OK, Now SPA template is generating by Visual Studio for Angular with .netCore. it will take 1 minute approximate to create a complete application structure with all configuration on your system. see image for more help. 



Now open solution explorer and we can see SPA application structure is ready. Application structure completely follow the latest version of the framework .net Core. Open the given link if not aware of .net Core click here https://docs.microsoft.com/en-us/visualstudio/ide/quickstart-aspnet-core?view=vs-2019.
So let me explain about  ASP.NET Core - Project Structure one by one:

AngularSPAwithCore: Solution Name and project Name (in this project both names are the same but you can choose different).
Connected Services: We can use to connect any cloud services e.g Azure.
Dependency: It contains all the installed serverside NuGet packages as well as clientside frameworks such as jQuery, Angular etc. Client-side dependencies are managed using NPM in Visual Studio. 
Properties: Properties set the configuration launchSettings.json file which includes Visual Studio profiles of debug settings. 
wwwroot: Basically, This is root folder of the application and treated as webroot () folder, Inside wwwroot should be separate folders for the different types of static files such as JS, CSS, Image, bootstrap etc. 
ClientApp: Complete Angular application with all configuration. see below image to understand in easy way.



Above image, Now we see inside ClientApp Angular configuration available e.g. Component, Package.json, Index.html. etc. If you are already not aware about angular application structure so click on this link Clickhere.

Controller: In this folder, we can create our business logic e.g API
Pages:  Application related .cshtml pages e.g error.cshtml.
.gitignore: This file is part of the git code versioning tool to configure the setting of git logic as well as to ignore folder and file from the application.
appsetings.json:   As we know don't have anything called Web.config in Asp.net Core application which we use to write our connection strings or application-specific settings. Here we have a file called appsettings.json to store such type of information.
Program.cs: As we know Asp.net Core application starts from the program.cs file and execute always void main() function. 
Startup.cs: As we know about Asp.net Core Application there is no Global.asax file so instead of that use Startup.cs which is executed the first time when the application starts.

Now we can change the configuration in any file according to our project requirement. So let's move to our application which is already configured by default.
Application is ready to run but before that, we should make sure all client-side and server-side packages available inside the dependency node_module folder. If the yellow icon indicator displaying on the dependency folder it means we need to rebuild the application to restore the packages.

Let's press f5 or run the application after compile and build application will open in browser with default https://localhost:44391/See the below image.




In this application already default SPA application template is created. Now we can change layout, component, service etc. 
I hope this article is helpful to learn about ASP.NET Core SPA Application with Angular. 

      Happy Coding!! Keep learning!!

Bikesh Srivastava Angular, Interview Question
Saturday, September 7, 2019

Microsoft Azure DevOps Syllabus for deep learning

Getting started with Azure DevOps.
  1. Overview of Azure DevOps
  2. What DevOps Service and DevOps Server.
  3. Create Azure DevOps Account
  4. Roles And Responsibilities in Azure DevOps
  5. Create Project and User mapping to Azure DevOps
  6. Azure DevOps access to Different roles
  7. Project management using Azure DevOps
  8. Test case Management through Azure DevOps
  9. Methodologies In Azure DevOps (SCRUM,AGILE,CMMI)
  10. Deployment Group Creation
  11. Configure the Azure DevOps  service in the virtual machines
  12. Agent management in the Azure DevOps.
  13. Capacity Planning using Azure DevOps.
  14. Kanban Board Management
  15. Scrum Management


Azure DevOps Keywords
  1. Organization
  2. Projects
  3. Azure Board
  4. Dashboard
  5. Wiki
  6. Repos
  7. Pipelines
  8. Test Plans
  9. Artifacts


Repository Management/Branch Management
  1. Create the New repository
  2. Create the Master branch
  3. Create the Own Branches based on the developer requirement
  4. Branch merging
  5. Import Repository from Outside of the vsts to vsts
  6. Creating Pull requests And Accepting Pull Requests


CI/CD Process Using Vsts and Azure
  1. Task Creation Based on the Application Repository
  2. Create the CI Process
  3. Build Setup
  4. Environments Setup
  5. Authenticate Build to Azure Web service
  6. Failover Mechanism
  7. Load balancing
  8. Cluster Creation for Load Balancing
  9. Continues Integration Setup
  10. Test Cases Build
  11. Build alerts Configuration
  12. IAAS Deployments
  13. PAAS Deployments
  14. Micro Services Deployment using Azure
  15. Alerts Configuration Using Azure
  16. Arm Build and Release templates Creation
  17. Build And deployments through powershell
  18. Big bucket Jenkins internal configuration using Vsts for ci cd
  19. Build And Deployments Authentication and authorization


Working with Azure App service
  1. Overview of App Service
  2. Deployment in App Service
  3. Deploy and maintaining web apps
  4. Configuring web apps
  5. Monitoring web apps and WebJobs
  6. Traffic Manager


Working with Azure SQL Database
  1. Overview of SQL Database on Azure
  2. How to Deploy Azure SQL Database
  3. Implementing and managing Azure SQL Database
  4. Managing Azure SQL Database security
  5. Monitoring SQL Database in Azure
  6. Managing Azure SQL DB recovery
  7. Import and Export Data


Working with Active Directory
  1. Overview of Active Directory
  2. Why need AD for Azure
  3. Active Directory Configuration in Azure
  4. Domain Controller in Azure
  5. AD Federated Services in Azure
  6. Custom domain
  7. Monitoring Azure Active Directory


Microsoft Azure Syllabus for deep learning

Introduction to cloud computing and Microsoft Azure
Types of cloud computing
  1. What is What is Cloud Computing
  2. SaaS: Software as a service
  3. PaaS: Platform as a service
  4. IaaS: Infrastructure as a service
  5. Advantages and Disadvantages of Cloud Computing
Azure services
  1. Compute services
  2. Data services
  3. Application services
  4. Network services
Azure key concepts
  1. Datacenters and regions
  2. Azure portal
  3. Resources
  4. Resource groups
  5. Resource Manager templates
Automation
  1. Azure PowerShell
  2. Azure command-line interface
  3. REST APIs
Getting started with Azure subscriptions & pricing Calculation
  1. Select and enable an Azure subscription
  2. Grant administrative access to an Azure subscription
  3. View billing information in the Azure portal
  4. Get billing information from billing APIs
  5. Forecast cost with the pricing calculator
  6. Set up billing alerts
Azure Resource Manager
  1. Tips for creating resource groups
  2. Building Resource Manager templates
  3. Security of Azure resources (RBAC)
Azure App Services - Web Apps
  1. Introduction
  2. App Types
  3. Deploying Web App directly from Visual Studio.
  4. Scaling a Web Apps
  5. Application Settings Configuration

Azure SQL Database 
  1. Introduction/Overview.
  2. Creating and Using SQL Server and SQL Database.
  3. Azure SQL Database Tools.
  4. Using Azure SQL Database with EF Code First.
  5. Migrating on premise database to SQL Azure.
  6. Elastic Storage.
  7. Manage Business Continuity
  8. Azure SQL Database vs SQL Server in IaaA VM

Azure Virtual Machines
  1. Use cases
  2. Deployment of virtual machines
  3. Portal
  4. PowerShell
  5. Command-line interface
  6. Access and security for virtual machines
Azure Storage
  1. Use cases
  2. Blob storage
  3. File storage
  4. Table storage
  5. Queue storage
  6. Deploying a storage account
  7. Portal
  8. PowerShell
  9. Command-line interface
  10. Access and security for Azure Storage
  11. Virtual machine disks
  12. Storage tools
  13. Storage API
  14. Storage access keys
  15. Shared access signatures
  16. C# / MS.NET Azure Storage SDK
Azure Virtual Network
  1. Use cases
  2. Cloud-only virtual networks
  3. Cross-premises virtual networks
  4. Deploying a virtual network
  5. Portal
  6. PowerShell
  7. Command-line interface
  8. Access and security for virtual networks
Azure Web Jobs
  1. Logic App
  2. Web Jobs
  3. Microsoft Flow
  4. Functions
Azure Service Bus 
  1. Service Bus Basics
  2. Relayed Messaging
  3. Service Bus Queues
  4. Topics and Subscriptions

Azure Active Directory 
  1. Azure AD Introduction
  2. Relationship between AD DS and Azure AD
  3. Managing Active Directories
  4. Adding a custom domain name to Azure AD
  5. Managing Users, Groups and Devices
  6. Adding Co-Administrators for a Subscription
  7. Configuring Role Based Access Control
  8. Integrating On-Premise AD Identities with Azure AD
  9. Integrating Gallery Applications with Azure AD
  10. Integrating On-Premise Applications with Azure AD
  11. Implementing Azure AD B2B Collaboration


Bikesh Srivastava Azure, DevOps, Syllabus, Training & Seminar
Saturday, November 24, 2018

What is difference between Compiling and Transpiling ?

Why typescript transpiling not compiling, I think its very confusing topic for everyone so i am going to exaplin about difference between transpiling and compilation.

Despite the actual fact that the term “transpiling” has been around since last century, there seems to be a good little bit ofconfusion regarding what it suggests that and what the distinction between transpiling and compiling is.

Firstly, transpiling could be a specific quite compiling. This helps an excellent deal as we have a tendency to currently apprehend we have a tendency to square measure talking regarding identical quite issue. it's truly a selected quit compiling. thus however can we outline it compared to the a lot of general term?

Compiling
is the general term for taking source code written in one language and transforming into another
Transpiling
is a specific term for taking source code written in one language and transforming into another language that features a similar level of abstraction
So (simplistically) after you compile C#, your methodology bodies square measure reworked by the compiler into IL. This can't be referred to as transpiling as a result of the 2 languages square measure terribly totally different levels of abstraction.


When you compile matter, it's transformed by the compiler into JavaScript. These square measure terribly similar levels of abstraction, thus you may decision this transpiling.

Both compilers and transpilers will optimise the code as a part of the method.

Other common combos that may be dubbed as transpiling embody C++ to C, CoffeeScript to JavaScript, Dart to JavaScript and PHP to C++
Bikesh Srivastava Angular
Friday, May 25, 2018

Node.js Syllabus for deep learning.

Node.js Syllabus By Bikesh Srivastava


Lession 0: Prerequisites
  • Basic JavaScript skills.
  • Web Development background
Lession 1: Node.js (https://nodejs.org/en/) and NPM.
Lession 2:Asynchronous JavaScript Everywhere
  • Introduction - What is Node.js.
  • The importance of being asynchronous
  • Node.js Event loop
  • The Node.js process
Lession 3:File System
  • The FS Module.
  • Reading Directories
  • Reading Files
  • Streams
Lession 4:Building servers
  • Creating servers with HTTP
  • Receiving data
  • HTTP streaming
  • Working with TCP
Lession 5:Building APIs using modules, events and packages
  • CommonJS Modules
  • npm Packages
  • The EventEmitter API
Lession 6:ExpressJS
  • Introduction to ExpressJS
  • Routing
  • Configuration
  • Views
  • Middlewares
  • Working With Data
  • Working With Socket.io
Lession 7: Processes & Clusters
  • Child Process Module
  • Why clusters
  • The cluster object
  • The worker object
Lession 8:Best Practices
  • NPM
  • Best Practices
  • Node.js API design
  • Error Handling
  • Debugging
Lession 9:Hosting Node
  • Why do we need hosts
  • Forever
  • PM2
  • Node on Windows
  • Node as a Windows Service
  • IISNode
  • Unit Testing
Bikesh Srivastava Syllabus

Blockchain Syllabus for deep learning.

Blockchain Syllabus By Bikesh Srivastava


Lesson 0: Blockchain

  • What is Blockchain
  • Blockchain Technology Mechanisms & Networks
  • Blockchain Origins
  • Blockchain Objectives
  • Blockchain Users And Adoption
  • Blockchain Challenges
  • Transactions And Blocks
  • P2P Systems
  • Keys As Identity
  • Digital Signatures
  • Hashes As Addresses
  • Hash Pointers And Data Structures
  • Blockchain Transactions
  • Blockchain Block Structure
  • Mining Explained

Lesson 1: Bitcoin

  • What is Bitcoin
  • The Bitcoin Network
  • The Bitcoin Mining Process
  • Mining Developments
  • Bitcoin Wallets
  • Decentralization And Hard Forks
  • Alternative Blockchains/Altchains
  • Ethereum Consensus Mechanisms
  • How Smart Contracts Work
  • Difference Between Private Consortium And Public Networks
  • Ethereum Virtual Machine (EVM)
  • Merkle Tree
  • Double-Spend Problem
  • New Developments In Blockchain
  • Ethereum’s Ecosystem And Dapps
  • Blockchain And Digital Currency
  • Transactional Blocks
  • Impact Of Blockchain Technology On Cryptocurrency
  • Cryptography

Lesson 2: Ethereum

  • What is Ethereum?
  • Introduction
  • A Short History Lesson
  • Interfacing with Ethereum Networks
  • Metamask Setup
  • Ethereum Accounts
  • Receiving Ether
  • What's a Transaction?
  • Smart Contracts
  • Our First Contract
  • Contract Structure
  • Function Declarations
  • Testing with Remix
  • Redeploying Contracts
  • Behind the Scenes of Deployment
  • More on Running Functions Than You Want to Know
  • Wei vs Ether
  • Gas and Transactions
  • Mnemonic Phrases
  • Getting More Ether

Lesson 3: Solidity Programming for Ethereum

  • Solidity - Language of Smart Contracts
  • Installing Solidity & Ethereum Wallet
  • Basics of Solidity by Example: Subcoin Smart Contract
  • Layout of a Solidity Source File & Structure of Smart Contracts
  • General Value Types (Int, Real, String, Bytes, Arrays, Mapping, Enum, address)
  • Ether Units, Time Units

Lesson 4: Ethereum coding for Blockchain environment

  • Globally Available Variables & Functions
  • Operators: Arithmetic, Logical & Bitwise Operators
  • Control Structure (if-else, for, while, Do-While)
  • Scoping and Declarations
  • Input Parameters and Output Parameters
  • Function Calls & Return Types
  • Function Modifiers
  • Fallback Function
  • Abstract Contract
  • Creating Contracts via "new" Operator
  • Inheriting Smart Contracts
  • Importing Smart Contracts & Compiling Contracts
  • Events & Logging
  • Exceptions
  • Don't Skip! Node JS Versioning

Lesson 5: Contract Deployment for Blockchain Environment

  • Boilerplate Requirements
  • Project File Walkthrough
  • Syntax Highlighters
  • Compiling Solidity
  • The Compile Script
  • Testing Architecture
  • Running Windows?
  • Installing Modules
  • Web3 Versioning
  • Web3 Providers
  • Testing with Mocha
  • Mocha Structure
  • Fetching Accounts from Ganache
  • Refactor to Async/Await
  • Deployment with Web3
  • Deployed Inbox Overview
  • Asserting Deployment
  • Web3 Version Fix
  • Verifying the Initial Message
  • Testing Message Updates
  • Deployment with Infura
  • Infura Signup
  • Wallet Provider Setup
  • Deployment to Rinkeby
  • Observing Deployment on Etherscan
  • Deployed Contracts in Remix
  • Complete Example: Crowd Funding Smart Contract
  • Complete Example: Voting Ballot Smart Contract

Lesson 6: Advanced Smart Contracts

  • The Lottery Contract
  • Lottery Design
  • Basic Solidity Types
  • Starting the Lottery Contract
  • The Message Global Variable
  • Overview of Arrays
  • Overview of Mappings and Structs
  • Big Solidity Gotcha
  • Entering the Lottery
  • Validation with Require Statements
  • The Remix Debugger
  • Pseudo Random Number Generator
  • Selecting a Winner
  • Sending Ether from Contracts
  • Resetting Contract State
  • Requiring Managers
  • Function Modifiers
  • Returning Players Array
  • Contract Review

Lesson 7: Ethereum Test Environment Setup

  • Test Project Updates
  • Test Helper Review
  • Asserting Deployment
  • Entering the Lottery
  • Asserting Multiple Players
  • Try-Catch Assertions
  • Testing Function Modifiers
  • End to End Test
  • Building Interactive Front-Ends

Lesson 8: Ethereum Application Architecture

  • Application Overview
  • Getting Started with Create-React-App
  • Multiple Web3 Instances
  • Web3 Setup
  • Deploying the Lottery Contract
  • Local Contract Instances
  • Rendering Contract Data
  • Instance Properties
  • Accessing More Properties
  • The 'Enter' Form
  • Form Setup
  • Entering the Lottery
  • Picking a Winner
  • Project Review

Lesson 9: Real World Ethereum Projects

  • Solving Real Problems with Contracts
  • Fixing Kickstarter's Issues
  • Campaign Contract Design
  • Campaign Constructor
  • Contributing to the Campaign
  • A Quick Test
  • The Request Struct
  • More on Function Modifiers
  • Creating Struct Instances
  • Instance Creation Syntax
  • Storage and Memory
  • More on Storage vs Memory
  • Voting System Requirements
  • The Wrong Voting System
  • Issues with Arrays
  • Mappings vs Arrays
  • Basics of Mappings
  • Refactoring to Mappings
  • Refactoring Request Stucts
  • More on Struct Initialization
  • Approving a Request
  • Testing Request Approvals
  • Finalizing a Request
  • Last Remix Test
  • Thinking about Deployment
  • Solution to Deployment
  • Adding a Campaign Factory
  • Testing the Factory

Lesson 10: Creating Project Infrastructure for Ethereum

  • Project Setup
  • Directory Structure
  • A Better Compile Script
  • Single Run Compilation
  • More on Compile
  • Test File Setup
  • Creating Campaign Instances
  • Testing Warmup
  • Accessing Mappings
  • Requiring Minimum Contributions
  • Array Getters
  • One End to End Test
  • Deployment
  • Refactoring Deployment
  • Advanced Multi-Page Front-Ends
  • App Mockups
  • CRA vs Next
  • Next's Pages Architecture
  • Basics of Next Routing
  • Root Routes
  • CampaignFactory Instance
  • Getting a Test Campaign
  • Fetching Deployed Campaigns
  • Why Next.js?
  • Server vs Client Web3 Instances
  • GetInitialProps Function
  • Semantic UI React
  • Card Group Setup
  • Rendering Card Groups
  • Adding CSS
  • Adding a Button
  • The Need for a Layout
  • The Layout Component
  • Assembling a Header
  • Constraining Content Width
  • Two Column Layout
  • Nested Routing
  • Final CSS Fix
  • Form Creation
  • Input Change Handlers
  • Form Submittal
  • Testing Submittal
  • Form Error Handling
  • Button Spinners
  • Routing Issues
  • Next Routes Setup
  • Automatic Navigation
  • Header Navigation
  • Routing to Campaigns
  • Restarting the Server
  • Route Mappings

Lesson 11: Ethereum Campaigns

  • Planning CampaignShow
  • Redeploying CampaignFactory
  • CampaignShow's GetInitialProps
  • Accessing a Campaign
  • Summary Translation Layer
  • Custom Card Groups
  • One Card Per Property
  • The Contribute Form
  • Grid Layouts
  • Form State
  • Communicating the Campaign Address
  • Making a Contribution
  • Refreshing Contract Data
  • Spinners and Error Handlers
  • Listing Requests
  • Grids vs Columns
  • More Routing!
  • Request Creation Form
  • Creating a Request
  • Form Polish
  • Creating a Request
  • Requests One by One
  • Fancy Javascript
  • Small Typo!
  • Rendering a Table
  • Request Row Component
  • Request Row Content
  • Approvers Count Cell
  • Approving a Request
  • Finalizing Requests
  • Testing Finalization
  • Row Status Styling
  • Finishing Requests Index

Lesson 12: Introduction to Hyperledger

  • What is Hyperledger?
  • Distributed Ledger Technology & its Challenges
  • Hyperledger & Distributed Ledger Technology

Lesson 13: Introduction to Hyperledger Fabric using Composer

  • Hyperledger Fabric & Composer Concepts
  • Hyperledger Fabric : A DLT for Business Applications
  • Hyperledger Fabric : DLT for Business
  • Assets, Chaincode & Ledger
  • Assets, Chaincode and Transactions
  • Permissioned Network, Members & Membership Service Provider
  • Permissioned Network, Member & Membership Services
  • Nodes and Channels
  • Hyperledger Fabric Composer Overview
  • Pre-Requisites for Fabric development
  • Frequently Asked Questions | Common Issues
  • Development Machine Specifications & IDE
  • Composer Dev Tools Installation
  • Exercise: Validate the Composer Development Environment
  • Install Docker or Docker Toolkit
  • Install CURL and Cygwin (Windows only)

Lesson 14: Setting up the Hyperledger Fabric Developer Environment Tools

  • Linux/Ubuntu & AWS: Setup of Fabric Development on Local & Cloud VM
  • Mac OS: Setup of Fabric Development Environment
  • Windows : Fabric development environment setup
  • How to use the Dev Tools
  • Development Environment Topology
  • Fabric Under the Hood (Concepts & Terminology)
  • Ledger Implementation
  • Dev Environment Walkthrough: Peer & CouchDB setup
  • Ledger Implementation
  • Peers Nodes : Anchors and Endorsers
  • Anchor Peers & Endorsing Peers
  • Clients Node: Endorsement Policies
  • Client Peer & Endorsing Policies
  • Orderer Nodes
  • Membership Service Provider & Certification Authority
  • Dev Environment Walkthrough: Orderer and CA Server
  • Chaincode Development

Lesson 15: Hyperledger Composer tools for application development

  • Linux/Ubuntu & AWS: Setup of Fabric Development on Local & Cloud VM
  • Mac OS: Setup of Fabric Development Environment
  • Windows : Fabric development environment setup
  • How to use the Dev Tools
  • Development Environment Topology
  • Fabric Under the Hood (Concepts & Terminology)
  • Ledger Implementation
  • Dev Environment Walkthrough: Peer & CouchDB setup
  • Ledger Implementation
  • Peers Nodes : Anchors and Endorsers
  • Anchor Peers & Endorsing Peers
  • Clients Node: Endorsement Policies
  • Client Peer & Endorsing Policies
  • Orderer Nodes
  • Membership Service Provider & Certification Authority
  • Dev Environment Walkthrough: Orderer and CA Server
  • Chaincode Development

Lesson 16: Front end application development using Hyperledger composer

  • Developing Front End Applications for Network Applications
  • Application Design Patterns
  • Application Architecture Patterns
  • Securing the REST server with Authentication Strategy
  • Walkthrough: Applying OAuth2.0 Authentication Strategy to REST Server
  • Working of Multi User Enabled REST Server
  • Walkthrough - REST Server Multi User mode
  • Create the Design Blueprint for the Fabric Application UI


Bikesh Srivastava Syllabus

Life Is Complicated, But Now programmer Can Keep It Simple.