Using the string value of a C# enum value in a case statement
Enums much better way compared to hard coding the string. Collection of code snippets using Enums with c# switch statment
Enums much better way compared to hard coding the string. Collection of code snippets using Enums with c# switch statment
The project I am working on had migrations issues – it simply didn’t do the database UPDATE automatically. I have fixed the issue but had to make sure the automatic migrations are working as expected. Needed to test many times, to see if it create it automatically was run and creates tables, SPs, Views, etc. In […]
Restoring a MySQL (WordPress) database from .ibd Files
I have an application that needs to send emails, application is coded in c# asp.net core and most of the previous packges I used int he past not compatible with asp.net core. I came across with MailKit seem to be pretty popular for email sending in c#, thought give it a go. install the NuGet […]
Creating a Azure Mobile Service (also using OData) to create a generic BaseController for CURD operations.
This is the part 2 demonstrating how to save the files sent by Angular 2 on ASP.NET Core server
This is the part 1 demonstrating how to upload the file from Angular 2. Please check out part 2 for the ASP.NET Core server side logic.
In this tutorial I will be building a Australian suburb look up module using ASP.NET Core web API, as the second part I will create the client side, using Angular 2
In this tutorial I will be building a Australian suburb look up module using ASP.NET Core web API, as the first part I will create the server side.
This is a common requirement these days, people prefer to have address auto completion as it easy to make mistakes by typing it manually. In my case I decided to go with Google Places API Web Service.
Using Sqlite in your asp.net core application
This tutorial will show how we can create a validation service to be used on all the Reactive forms in your project.
Angular 2 service utilised the local Storage to save data on client side, but if data not found it will make a server call to get the data and return them to caller.
Pagination on server side is a very common scenario. So thought about creating helper.
Angular 2 RangeError: Maximum call stack size exceeded error on htmlparser2
Angular 2 service utilised the local Storage to save data on client side, but if data not found it will make a server call to get the data and return them to caller.
This tuturial will teach you how to configure the Swagger for Web API discoverability.
You can refer to full list of commands here. Documenting this for my own reference especially as my mind goes blank sometimes
Easiest way to format dates in Angular 2 is to use DatePipe, this tutorial will explain how to get it started quickly.
Auditing every changed field using the EntityFramework-Plus
When it comes to ASP.NET, it much easier to do the validation using FluentValidation.
Client side Angular JS 2 pagination using Promise
Overriding Entity Framework SaveChanges() method so you can populate the entity ModifiedBy,ModifiedOn, CreatedBy, CreatedOn properties
if you are behind a corporate proxy, you might have difficulties installing or restoring Bower packages.
Setting up Azure Active Direactory Single Sign On on a ASP.NET (.NET 4.5) web app using OpenIdConnect (Cookies based)
Get playlists and playlist videos belong to a YouTube channel using youtube API with php
This small tutorial will teach you how to set up AutoMapper, using AutoMapperProfile configuration
Angular 2 html routing with ASP.NET Core MVC application giving a 500 error when you do a browser refresh (F5), probably this tutorial if for you.
This example implication show how the child routes can be configured in Angular 2
This quick tutorial will show how we ca register dependencies for Dependency Injection in ASP.NET Core using the built-in container.