GeeksArray's repositories
read-appsettings-json-in-net-core-class-library-using-dependency-injection
how to read appsettings json in net core class library using dependency injection
how-to-use-areas-in-asp-net-core-mvc
This blog explains how to create Area in ASP.NET Core MVC application, how to use the route for area, configure default area route, link controller action methods from different areas.
how-to-use-asp-net-core-mvc-built-in-filters
Action filters execute custom code before and after execution of the Action method in sepecific sequence. You can inject filter execution using ASP.NET Core MVC dependency injection.
aspnet-core-mvc-returning-file-using-fileresult
This blog explains how you can return files to client from ASP.NET Core application using fileresult actionresults like FileContentResult, FileStreamResult, VirtualFileResult, PhysicalFileResult.
access-sql-server-database-from-net-core-console-application
How to connect .NET Core Console application to SQL server database and read table data
implement-repository-pattern-with-aspnet-core-web-api
This blog explains how to implement a Repository Pattern with ASP.NET Web API, AutoMapper, Entity Framework, CRUD operations, and async operations.
aspnet-core-mvc-model-binding
This article explains what is model binding in ASP.NET Core MVC and how to use its different attributes like BindNever, BindRequired, FromHeader, FromQuery, FromRoute, FromForm, FromServices, FromBody, ModelBinder, and model binding to a list of complex objects
generate-log-using-serilog-and-seq-in-asp-net-core-mvc6
Serilog is a structured logging system that creates log messages and captures key attributes and data about the message's context. Serilog generates log messages as data, not just plain text. You can efficiently perform structured queries on these messages.
jquery-ajax-autocomplete-in-asp-net-mvc-core
This tutorial explains how to use the jQuery AJAX AutoComplete feature in your ASP.NET MVC Core application. For this, you will use Visual Studio 2019, NET5, EF Core, Web API controller, and AdventureWorks database of SQL Server.
jquery-ajax-with-pagemethod-in-asp-net
This article gives you step by step example for implementing Page Method and calling it through jQuery.ajax() call.
SQLSampleDatabase
Gives you scripts to create sample databases like AdventureWorks, Northwind of SQL server
asp-net-mvc-core-controller-action-method-and-types-of-action-result
This blog explains what is MVC Controller, Action Method, and different types of ActionResult like HTML returning, Content, Redirect, File, Status Code, Security related.
create-azure-vm-using-c-sharp-fluent-sdk
how to create an Azure Virtual Machine with a resource group, storage account, virtual network, network interface, etc. using C# Fluent SDK.
getting-started-with-aspnet-core-web-api-and-entity-framework
Get started with ASP.NET Core Web API and Entity Framework by building a basic API to get data from SQL Server. And features like CORS Policy, and Logging.
handling-wcf-service-exceptions-using-fault-contracts
In this article we will see how we can use the WCF fault contracts to handle exceptions. This tutorial will help you to create WCF service step by step with fault contracts.
hosting-wcf-service-with-nettcpbinding-or-netnamedpipebinding-in-iis
This article describes your necessary actions to host your WCF services with netTcpBinding or netNamedPipeBindings in IIS. IIS supports HTTP or HTTPS protocols by default however to use netTcpBindings or netNamedPipeBinding you need to manage some settings in IIS.
how-to-redirect-asp-net-mvc-core-request
There are often requests that needs to be redirect temporarily or permanently from current request to other request. ASP.NET MVC Core RedirectResult, RedirectToActionResult, RedirectToRouteResult, LocalRedirectResult can be used for redirection.
angular-components-tutorial
Angular components are classes that serve as a controller for the user interfaces using a template. @Component decorator used to define components, it provides metadata like selector, template, style and other properties which determine how the component should be processed instantiated and used at run time execution.
angular-lifecycle-hooks
Components are the main building blocks of any Angular application, each component goes through eight different stages of the lifecycle from initialization to destruction. Each stage is called a lifecycle hook event.
angular-nested-component-with-input-and-output-decorator
This blog helps you to create a nested angular nested component and pass data between parent and child components. For passing data you will use Input() and Output() decorator.
convert-datatable-to-csv-or-list-or-json-string-using-net-core
convert C Sharp datatable to CSV or List object or JSON string.
create-mongodb-docker-image-and-connect-from-dot-net-core-app
This blog creates a Docker MongoDB Image container, database, collection and connnect this container through .NET Core Console app to read table data.
getting-started-with-aspnet-mvc-core-and-dotnet5
In this article, we are going to create a simple ASP.NET MVC Core Web Application using Visual Studio 2019 and .Net 5. We will also add controller, action method, MVC view with Model binding.
how-per-call-service-instance-works-in-wcf
This article helps you to understand how per call WCF service works and how its instances get created. This article will also go through a tutorial for implementing and executing Per Call WCF Service.
how-to-implement-dependency-injection-in-net-core
.NET Core provides built-in support for dependency injection, a technique for achieving Inversion of Control (IoC) between classes and their dependencies. This blog will help you to understand how and why to implement dependency injection in .Net Core.
how-to-use-automapper-in-aspnet-core-web-api
How To Use AutoMapper in ASP.NET Core Web API
net-core-dependency-injection-object-lifetime
In .NET Core, you can register dependencies using three different methods AddSingleton, AddTransient, and AddScoped. This blog explains each of these methods.
shared-service-contract-and-data-contract-in-wcf
This article describes how to create WCF ServiceContract and DataContract that can be shared to multiple assemblies or WCF services and clients.
using-fluent-api-in-efcore-code-first
explains how to configure entities using Fluent API of Entity Framework Core or EF6 above versions for the Code First approach. This will give you details about how to configure business rules with Fluent API methods for PrimaryKey, Unique, Index, Required, Identity, etc.