SHASHANGKA SHEKHAR'S BLOG

Author, TechWriter

Custom Code-Generator Using ASP.Net Core

Hits: 1245

In this post we will get overview and generate a basic label code using our database table column that help in development.

The main thought behind the sample was to generate the common types of code easily.

The Single page application is built with ASP.Net Core & AngularJS, here’s the execution environment & API service is in .Net Core to generate code. In front-end have used AngularJS.

Content Focused:

  • Connect to database server
  • Get all database list then
  • Get all Table Column by selecting a particular table
  • Choose column then
  • Generate code, that’s it.

Read More

Single Page Application Using ASP.Net Core-AngularJs

Hits: 251

In this post we are going to create a Single Page Application (SPA) with AngularJS and ASP.Net Core. We will use Angular-UI-Router for our application routing instead of MVC routing.

If you are new to ASP.Net Core, get a complete startup overview here: http://shashangka.com/2016/11/26/net-core-startup/

Prerequisites:

Before getting started make sure development environment is prepared properly. These are listed prerequisites to develop the sample application.

  1. Visual Studio 2017
  2. .NET Core 2.0
  3. NodeJS
  4. MSSQL 2016
  5. IIS

Read More

Learn About API Authorization In Node.js

Hits: 36

In this post we are going to secure our NodeJS API’s with customized security token generated by logged user and HTTP actions.

How it Works:

Let’s take a quick look on how the work is going to be done.

  1. Generating a customized token by each HTTP request.
  2. Pass it through request header(x-access-token)
  3. Server extract the token from each request
  4. Verify the custom token by regenerating in server
  5. If token match then system check the user permission from database
  6. Otherwise system will response with status code of 403/404

Read More

Learn About MEAN Stack

Hits: 64

MongoDB, Express, AngularJS, Node.js abbreviated as MEAN, these are development pack by all Javascript. In this sample we are going to use MSSQL Server instead of MongoDb.

With this application sample we can create a new user, show all the user, modify user data & also can able to delete the user through API build with Express from frontend using AngularJS.

Components:

  • MSSql – SQL database
  • Express – NodeJS Framework
  • Angular – JavaScript frameworks for Frontend
  • NodeJS – JavaScript Execution environment (Server)

Read More

Basic Templating NodeJS

Hits: 27

Previously we learnt about how to simply starting up with nodejs & implementing package manager. Below link you can have an overview on startup NodeJS.

Now we are going to explore basic single page templating with angular ui routing.

Table of Content:

  • Creating Layout Page
  • Implementing Angular UI Routing
  • Using Partial Views

Let’s get started with sample application from https://github.com/ShashangkaShekhar/Package-Manager-NodeJS which was created previously.

Read More

Pages:1234567...34