Angular libraries are NgModules, such as FormsModule, HttpClientModule, and RouterModule. Many third-party libraries are available as NgModules such as Material Design, Ionic, and AngularFire2.
NgModules consolidate components, directives, and pipes into cohesive blocks of functionality, each focused on a feature area, application business domain, workflow, or common collection of utilities.
declarations:...
Wednesday, November 15, 2017
Tuesday, October 17, 2017
Hoisting in JavaScript
Due to it's somewhat awkward behavior, concepts in JavaScript is little tricky to understand. Hoisting is one of them. Hoisting can be divided in to two. Variable hoisting and function hoisting. We'll first look at variable hoisting.
Variable hoisting
If you execute below line you'll get a ReferenceError.
This file contains...
Monday, July 3, 2017
Introduction to Azure Search
Azure search is simply a cloud service which gives developers an API for rich search experience. It executes queries over a user-defined index.
Azue search supports,
Search data from multiple content types and platforms
AI powered indexing to extract text from image files or key phrases from raw text
Create search experience with filters, synonyms, auto-complete and text analysis for "did you...
Tuesday, February 21, 2017
Authentication and Authorization in ASP.NET Core
Common vulnerabilities in software
Cross-site scripting attacks
SQL Injection
Cross-Site request forgery
Open redirect attacks
Authenticiation
ASP.NET Core Identity is a membership system that adds login functionality to ASP.NET Core apps. External login providers are also supported. (Read the article) Identity is enabled by calling UseAuthentication() which adds authentication middleware...
Tuesday, February 7, 2017
Software Architecture Design - Considerations
Image Credits : Colour Box
Architecture of anything defines how well the thing is designed and how long it's going to last. Be it a a building, a car or anything the same rule applies. It is the same when it comes to a software architecture as well.
If the architecture of a software is designed well, it should be able to accommodate any...
Wednesday, February 1, 2017
Getting started with ASP.NET Core
ASP.NET Core is a complete redesign of ASP.NET framework. It is open source and cross platform. This can be run on .NET Core or full .NET framework.
Dependency injection in ASP.NET Core
By default ASP.NET Core supports dependency injection...
Tuesday, January 31, 2017
Getting Started with Azure CDN
For a better user experience and a faster delivery of content from server to client, both caching and CDN (content delivery network) comes hand in hand. When considering performance it is important to use both of these techniques for better user experience (See Caching vs CDN - Stackoverflow).
CDN can be used to cache static web content to provide content faster to end users. It caches content...
Wednesday, January 25, 2017
Catch these things in EF Core
var b = _context.Tasks.Include(j => j.TaskItems).Include(j => j.Creator);
TaskItems is an ICollection in Task object, hence it'll execute separately in SQL Server. Since Creator is a 1 to 1 mapping, It'll do a inner join with Task.
var a = _context.Tasks.Include(j => j.TaskItems).ThenInclude(j => j.Status);
First...
Thursday, January 12, 2017
Microservices what is it really
Image Credit : Contentful
Microservices is a architectural pattern where a structure of an application is decomposed as collection of loosely coupled services. These services are responsible for handling separate business capabilities.
Microservices helps software teams to continuously deliver large scale complex application in pieces. (Should...
Sunday, January 1, 2017
ASP.NET Core Request Pipeline
With ASP.NET to ASP.NET Core lot of things has changed. ASP.NET had a request processing pipeline with lots of events such as BeginRequest, EndRequest etc. With Core the architecture was changed.
This is how ASP.NET Core application is initialized
ASP.NET Core now has the concept of Middlewares. You can have many middlewares as you need and...
Subscribe to:
Posts (Atom)
Powered by Blogger.
Software Architect at Surge Global/ Certified Scrum Master
Experienced in Product Design, Software Engineering, Team management and Practicing Agile methodologies.