Cannot find module ‘./wwwroot/dist/vendor-manifest.json

Hi Friends,

Thought to share one of the errors which I usually face, whenever I switch machine. Scenario is I am working on any greenfield project which is basically an angular 4 project with asp.net core. I have a habit of keeping my code on source control which is git in this case. However, when I clone the same on different machine and install my usual dependencies with npm install; soon after that when I run my app, it gives me below error.

Continue reading “Cannot find module ‘./wwwroot/dist/vendor-manifest.json” »

930 total views, no views today

Getting Started With ASP.NET Core

In this section, thought of getting started new series on ASP.NET Core stuffs right from the beginning. The very first thing which needs to be done here downloading the core components from http://dot.net.  Here, you will get two options LTS(Long Term Solution) and Current. I prefer LTS as this is how it is going to be in future. The major difference which I see is Project Type System (.xproj –> .csproj) change and project.json is going away. This has been done to embrace the existing Microsoft ecosystem which is based on .csproj system.

asp-net-core-logo_2colors_boxed_rgb_bitmap_big

Continue reading “Getting Started With ASP.NET Core” »

1,394 total views, 1 views today

ASP.NET Identity Including ASP.NET Core

Hi Friends,

In this section, I thought to introduce my another book on ASP.NET Identity. This is extremely important topic, which developer often skips. This book not only gives complete overview of how to get started with Identity, rather here you will learn bits and pieces about Identity in detail. Most important thing with Identity is customization and understanding usage of the same.

Continue reading “ASP.NET Identity Including ASP.NET Core” »

1,325 total views, no views today

Building Single Page App Using ASP.NET Core with Entity Framework Core and AngularJS

Hi Friends,

In this particular post, I thought to unveil my book on latest Microsoft ASP.NET Core stack in conjunction with Angular. This is basically hand-book for all those people who like to build Single Page App, right from the scratch meeting all the industry standards.

Book_Cover

Continue reading “Building Single Page App Using ASP.NET Core with Entity Framework Core and AngularJS” »

6,040 total views, no views today

Why Dependency Injection?

Hi Friends,

I have been recently asked by one of my book readers on twitter, why you applied Dependency Injection (DI) in controller? Below is the tweet for the same. Below is the glimpse of the same.

Continue reading “Why Dependency Injection?” »

1,887 total views, no views today

Lazy Loading is Missing in Entity Framework 7

Hi Friends,

I thought to share my yet another experience with Entity Framework 7 where Lazy Loading is still not implemented. I was actually designing my Movie-Review API and soon after that I realized that results are unexpected, hence without wasting time, I directly checked with Microsoft. Here, is my conversation with Microsoft.

Continue reading “Lazy Loading is Missing in Entity Framework 7” »

2,633 total views, no views today

ASP.NET Core Authentication and Authorization – Part 3

Hi Friends,

In this section, I am going to continue from the last section where I left the discussion. So, in this section, I am going to discuss more on authorization. In previous sections, we have already seen basic [Authorize] piece. Now, let us discuss some of the extended feature of the same.

Continue reading “ASP.NET Core Authentication and Authorization – Part 3” »

2,595 total views, no views today

ASP.NET Core Authentication and Authorization – Part 2

Hi Friends,

In this section, I will continue from the last section and delve further into authentication. Now, let’s bring some OAuth capabilities into the application. So, the first change, I need to make here is to include the required packages in project.json file. Here, I will show another technique to add the required packages. We already know this technique and this is via Nuget Package Manager as shown below in the screen shot.

Continue reading “ASP.NET Core Authentication and Authorization – Part 2” »

1,862 total views, no views today

ASP.NET Core Authentication and Authorization – Part 1

Hi Friends,

In this section, we are just going to focus on the authentication and authorization schemes around ASP.NET Core formerly known as ASP.NET 5. Ideally, authentication means, you got the right to enter like you got the ID card and swipe in office.

auth

Continue reading “ASP.NET Core Authentication and Authorization – Part 1” »

4,298 total views, no views today