Menu
Using the string value of a C# enum value in a case statement

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

SQL Server delete / drop all tables under special schema

SQL Server delete / drop all tables under special schema

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

Restoring a MySQL (WordPress) database from .ibd Files

Restoring a MySQL (WordPress) database from .ibd Files

Using MailKit to send emails via GoDaddy SMTP on ASP.Net Core app

Using MailKit to send emails via GoDaddy SMTP on ASP.Net Core app

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.

Creating a Azure Mobile Service (also using OData) to create a generic BaseController for CURD operations.

Creating a Azure Mobile Service (also using OData) to create a generic BaseController for CURD operations.

Uploading files from Angular 2 and ASP.NET Core Web API – Part 2

Uploading files from Angular 2 and ASP.NET Core Web API – Part 2

This is the part 2 demonstrating how to save the files sent by Angular 2 on ASP.NET Core server

Uploading files from Angular 2 and ASP.NET Core Web API – Part 1

Uploading files from Angular 2 and ASP.NET Core Web API – Part 1

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.

Creating quick suburbs look up using ASP.NET Core web API and Angular 2 – part 2

Creating quick suburbs look up using ASP.NET Core web API and Angular 2 – part 2

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

Creating quick suburbs look up using ASP.NET Core web API and Angular 2 – part 1

Creating quick suburbs look up using ASP.NET Core web API and Angular 2 – part 1

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.

Creating angular 2 service to work with Google Places API Web Service to get address

Creating angular 2 service to work with Google Places API Web Service to get address

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 ASP.NET Core

Using Sqlite in ASP.NET Core

Using Sqlite in your asp.net core application

Angular 2 creating a common validation service to be used across all the Angular 2 Reactive forms

Angular 2 creating a common validation service to be used across all the Angular 2 Reactive forms

This tutorial will show how we can create a validation service to be used on all the Reactive forms in your project.

Extending Angular 2 Observables based service to return data from local Storage.

Extending Angular 2 Observables based service to return data from local Storage.

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.

Server side pagination in ASP.NET controler that supports any entity

Server side pagination in ASP.NET controler that supports any entity

Pagination on server side is a very common scenario. So thought about creating helper.

Angular 2 – RangeError: Maximum call stack size exceeded

Angular 2 – RangeError: Maximum call stack size exceeded

Angular 2 RangeError: Maximum call stack size exceeded error on htmlparser2

Extending Angular 2 Promise based service to return data from local Storage.

Extending Angular 2 Promise based service to return data from local Storage.

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.

Web API discoverability using Swagger

Web API discoverability using Swagger

This tuturial will teach you how to configure the Swagger for Web API discoverability.

Using .NET Core CLI for Entity framework migrations

Using .NET Core CLI for Entity framework migrations

You can refer to full list of commands here. Documenting this for my own reference especially as my mind goes blank sometimes

Angular 2 using DatePipe to format date on TypeScript

Angular 2 using DatePipe to format date on TypeScript

Easiest way to format dates in Angular 2 is to use DatePipe, this tutorial will explain how to get it started quickly.

Advance auditing – audit every entity using EntityFramework-Plus

Advance auditing – audit every entity using EntityFramework-Plus

Auditing every changed field using the EntityFramework-Plus

Validation on server side using Fluent Validation

Validation on server side using Fluent Validation

When it comes to ASP.NET, it much easier to do the validation using FluentValidation.

Pagination on Angular JS 2

Pagination on Angular JS 2

Client side Angular JS 2 pagination using Promise

Simple audit using Override Entity Framework SaveChanges()

Simple audit using Override Entity Framework SaveChanges()

Overriding Entity Framework SaveChanges() method so you can populate the entity ModifiedBy,ModifiedOn, CreatedBy, CreatedOn properties

Bower calls blocked by corporate proxy

Bower calls blocked by corporate proxy

if you are behind a corporate proxy, you might have difficulties installing or restoring Bower packages.

Setting up Azure Active Directory Single Sign On on a ASP.NET (.NET 4.5) web app using OpenIdConnect (Cookies based)

Setting up Azure Active Directory Single Sign On on a ASP.NET (.NET 4.5) web app using OpenIdConnect (Cookies based)

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

Get playlists and playlist videos belong to a YouTube channel using youtube API with php

Get playlists and playlist videos belong to a YouTube channel using youtube API with php

Setting up AutoMapper in asp .net core app using AutoMapperProfile configuration

Setting up AutoMapper in asp .net core app using AutoMapperProfile configuration

This small tutorial will teach you how to set up AutoMapper, using AutoMapperProfile configuration

Configure ASP.NET MVC application routes for Anguler SPA

Configure ASP.NET MVC application routes for Anguler SPA

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.

Configuring the Angular 2 child routes configuration

Configuring the Angular 2 child routes configuration

This example implication show how the child routes can be configured in Angular 2

Register Dependencies in ASP.NET Core app

Register Dependencies in ASP.NET Core app

This quick tutorial will show how we ca register dependencies for Dependency Injection in ASP.NET Core using the built-in container.

NEWER POSTSOLDER POSTS