Oct 25, 2020

How to create .NET Core Project in Visual Studio Code

I have record a youtube video and explain, How to create .Net Core Project In Visual Studio Code.

Please watch below video for more details and hope you like it.

Oct 18, 2020

How to create .NET Core project using Command Line Interface(CLI)

How to create .NET Core project using Command Line Interface(CLI). Please watch below video for more detail.



Aug 16, 2020

JavaScript - What's the Difference Var Let and Const?

I have recorded video and talk about JavaScript variables, scope of the variables.

Hope you will like this video. Please watch below video for same.

Aug 2, 2020

Blazor - Todo List App

Blazor - Todo List Application.

I have created Video of Blazor - Todo List Application.

Please watch my video on YouTube.


Aug 1, 2020

Blazor Routing

Blazor - Routing

How to configure routing and how its work. I have detail explain in below video so please watch below  video and provide you comments.

Hope you get some knowledge about Blazor routing after watching below video.

Jul 27, 2020

Blazor - Build your first Blazor app

We are going to create first Blazor application using Visual Studio 2019.
  1. Purpose
    1. Build your first web app with Blazor.
  2. Prerequisites
    1. None
  3. Time to Complete
    1. 10-15 minutes
  4. Scenario
    1. Create, use, and modify a simple counter component
Please watch below video for detail explanation.

Jul 26, 2020

Blazor - Build client web apps with C#

What is Blazor
Blazor is a free and open-source web framework that enables developers to create web apps using C# and HTML

- Features
1. Interactive web UI with C#
    - Blazor lets you build interactive web UIs using C# instead of JavaScript.

2. Run on WebAssembly or the server
   - Blazor can run your client-side C# code directly in the browser, using WebAssembly

3. Built on open web standards
   - Blazor uses open web standards without plugins or code transpilation. Blazor works in all modern web browsers, including mobile browsers.

4. Share code and libraries
   - Blazor apps can use existing .NET libraries.
   - .NET Standard allows the same code and libraries to be used on the server, in the browser, or anywhere you write .NET code.

5. JavaScript interop
   - Your C# code can easily call JavaScript APIs and libraries. You can continue to use the large ecosystem of JavaScript libraries that exist for client side UI while writing your logic in C#.

6. UI component ecosystem
    - Get productive fast with re-usable UI components from top component vendors

You can watch below video for same and explain the details.

View is not updating values in Asp.Net MVC.

Sometime view is not updating values in Asp.Net MVC.

I have recently facing this issues and I thought let me write blog on this topic so it  will be helpful to others.

What was happen with me. I had developed a page couple of  year ago and it was working fine.

And few days ago I was working on that page and suddenly that page behavior was changed after POST action.

I was tried to save data and return View(model) and also before View(model) there was a some changes on model.

I had debug and check model is updating fine but value is not reflect on View (.cshtml) page.

So I had tried other alternative solutions but it was not work.

Finally got the solution and issue with ModelState.

 
ModelState.Clear();
return View(Model);

Before return View written ModelState.Clear() and resolved the issue.

Hope this solution help to you.

Jul 20, 2020

How to handle large form in Asp.Net Core MVC

How to handle large form in asp.net core MVC application.

It is just a simple configuration on Startup.cs file and there are only two line of code we need to add it.

public void ConfigureServices(IServiceCollection services)
        {
            services.Configure(x => x.ValueCountLimit = int.MaxValue);
            services.AddMvc(options =>
            {
                options.MaxModelBindingCollectionSize = 1500;
            });
            services.AddControllersWithViews();
        }


Please below video for more detail.

Jul 12, 2020

How to Compare SQL Database Schema in Visual Studio

How to compare SQL database schema in Visual Studio. I have recorded video for same. Please watch below for same.