Ecosyste.ms: Repos

An open API service providing repository metadata for many open source software ecosystems.

GitHub / geeksarray 3 repositories

GeeksArray is a blogging website. Do follow us to get connected with the Geeks of your space.

geeksarray/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.

Language: C# - Size: 7.39 MB - Last synced: about 1 year ago - Pushed: about 3 years ago - Stars: 7 - Forks: 2

geeksarray/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.

Language: C# - Size: 671 KB - Last synced: about 1 year ago - Pushed: about 3 years ago - Stars: 6 - Forks: 1

geeksarray/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.

Language: C# - Size: 1.25 MB - Last synced: about 1 year ago - Pushed: over 1 year ago - Stars: 1 - Forks: 0

geeksarray/access-sql-server-database-from-net-core-console-application

How to connect .NET Core Console application to SQL server database and read table data

Language: C# - Size: 5.86 KB - Last synced: about 1 year ago - Pushed: almost 4 years ago - Stars: 4 - Forks: 7

geeksarray/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.

Language: ASP.NET - Size: 114 KB - Last synced: about 1 year ago - Pushed: over 2 years ago - Stars: 2 - Forks: 0

geeksarray/read-appsettings-json-in-net-core-class-library-using-dependency-injection

how to read appsettings json in net core class library using dependency injection

Language: HTML - Size: 775 KB - Last synced: about 1 year ago - Pushed: over 3 years ago - Stars: 8 - Forks: 2

geeksarray/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.

Language: C# - Size: 6.06 MB - Last synced: about 1 year ago - Pushed: over 1 year ago - Stars: 0 - Forks: 0

geeksarray/SQLSampleDatabase

Gives you scripts to create sample databases like AdventureWorks, Northwind of SQL server

Language: TSQL - Size: 332 KB - Last synced: about 1 year ago - Pushed: over 1 year ago - Stars: 2 - Forks: 0

geeksarray/how-to-use-automapper-in-aspnet-core-web-api

How To Use AutoMapper in ASP.NET Core Web API

Language: C# - Size: 6.06 MB - Last synced: about 1 year ago - Pushed: over 1 year ago - Stars: 0 - Forks: 0

geeksarray/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

Language: C# - Size: 7.43 MB - Last synced: about 1 year ago - Pushed: over 3 years ago - Stars: 2 - Forks: 1

geeksarray/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.

Language: C# - Size: 6.11 MB - Last synced: about 1 year ago - Pushed: over 1 year ago - Stars: 0 - Forks: 0

geeksarray/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.

Language: C# - Size: 3.91 KB - Last synced: about 1 year ago - Pushed: over 1 year ago - Stars: 0 - Forks: 0

geeksarray/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.

Language: C# - Size: 4.88 KB - Last synced: about 1 year ago - Pushed: over 1 year ago - Stars: 0 - Forks: 0

geeksarray/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.

Language: C# - Size: 9.77 KB - Last synced: about 1 year ago - Pushed: almost 2 years ago - Stars: 0 - Forks: 0

geeksarray/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.

Language: C# - Size: 9.98 MB - Last synced: about 1 year ago - Pushed: about 3 years ago - Stars: 5 - Forks: 1

geeksarray/example-for-hosting-wcf-service-in-windows-service

This article demonstrates the required steps to host your WCF service in Windows Service and consume it in a console application.

Language: C# - Size: 58.6 KB - Last synced: about 1 year ago - Pushed: almost 4 years ago - Stars: 1 - Forks: 1

geeksarray/how-to-bind-dropdownlist-in-asp-net-mvc-application

This article describes how you can bind your MVC DropDownList in different ways.

Language: HTML - Size: 8.1 MB - Last synced: about 1 year ago - Pushed: over 3 years ago - Stars: 1 - Forks: 0

geeksarray/SQLSampleQueries

This repository gives you different SQL queries with syntax and examples that will help you to understand basic and advanced version of SQL query.

Language: TSQL - Size: 19.5 KB - Last synced: about 1 year ago - Pushed: over 3 years ago - Stars: 1 - Forks: 1

geeksarray/wcf-by-example-on-netnamedpipebinding

netNamedPipeBinding is the best binding for interprocess communication which crosses process boundaries on the same machine.

Language: C# - Size: 61.5 KB - Last synced: about 1 year ago - Pushed: almost 4 years ago - Stars: 1 - Forks: 0

geeksarray/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.

Language: C# - Size: 7.33 MB - Last synced: about 1 year ago - Pushed: over 2 years ago - Stars: 0 - Forks: 1

geeksarray/jquery-ajax-call-with-jsonresult-in-asp-net-mvc

This article gives you details about how you can implement jQuery AJAX calls to ASP.NET MVC controller and display JSONResult on view.

Language: C# - Size: 1.75 MB - Last synced: about 1 year ago - Pushed: over 3 years ago - Stars: 1 - Forks: 0

geeksarray/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.

Language: C# - Size: 7.81 KB - Last synced: about 1 year ago - Pushed: over 2 years ago - Stars: 0 - Forks: 1

geeksarray/entity-framework-core-code-first-migration-using-separate-assembly

create a Class library project, data models with DataAnnotations validation, ApplicationContext class implementing DBContext, and implement IDesignTimeDbContextFactory to avoid the use of startup class.

Language: C# - Size: 9.77 KB - Last synced: about 1 year ago - Pushed: almost 4 years ago - Stars: 3 - Forks: 1

geeksarray/render-partialview-with-model

This article explains how you can render a partial view in the main view with model data.

Language: C# - Size: 8.93 MB - Last synced: about 1 year ago - Pushed: over 3 years ago - Stars: 1 - Forks: 1

geeksarray/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.

Language: C# - Size: 11.5 MB - Last synced: about 1 year ago - Pushed: over 3 years ago - Stars: 1 - Forks: 4

geeksarray/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.

Language: C# - Size: 7.44 MB - Last synced: about 1 year ago - Pushed: over 3 years ago - Stars: 1 - Forks: 1

geeksarray/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.

Language: C# - Size: 7.43 MB - Last synced: about 1 year ago - Pushed: about 3 years ago - Stars: 1 - Forks: 1

geeksarray/cascading-dropdownlist-example-using-jsonresult-in-asp-net-mvc

This article shows you how to add values of JSONResult to cascading the DropDownList. For this, I will be using jQuery.Ajax request which will call the Controller action method which returns JSON object.

Language: HTML - Size: 7.83 MB - Last synced: about 1 year ago - Pushed: over 3 years ago - Stars: 1 - Forks: 1

geeksarray/crystal-report-with-stored-procedure-parameter-and-visual-studio

This article will describe to you how to create Crystal Report using Stored Procedure Parameters and Visual Studio.

Language: ASP - Size: 143 KB - Last synced: about 1 year ago - Pushed: almost 4 years ago - Stars: 1 - Forks: 1

geeksarray/multiple-wcf-services-in-one-solution-with-multiple-endpoints-and-hosting

You might have tried one WCF service to learn about WCF or some small application. In real application with only one WCF service, it is difficult to handle applications in all aspects.

Size: 272 KB - Last synced: about 1 year ago - Pushed: almost 4 years ago - Stars: 1 - Forks: 0

geeksarray/convert-datatable-to-csv-or-list-or-json-string-using-net-core

convert C Sharp datatable to CSV or List object or JSON string.

Language: C# - Size: 9.77 KB - Last synced: about 1 year ago - Pushed: over 1 year ago - Stars: 0 - Forks: 0

geeksarray/what-is-persession-behavior-of-wcf-Service

Language: C# - Size: 35.2 KB - Last synced: about 1 year ago - Pushed: about 3 years ago - Stars: 0 - Forks: 0

geeksarray/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.

Language: C# - Size: 37.1 KB - Last synced: about 1 year ago - Pushed: about 3 years ago - Stars: 0 - Forks: 0

geeksarray/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.

Language: C# - Size: 48.8 KB - Last synced: about 1 year ago - Pushed: over 3 years ago - Stars: 1 - Forks: 0

geeksarray/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.

Language: C# - Size: 2.69 MB - Last synced: about 1 year ago - Pushed: about 3 years ago - Stars: 0 - Forks: 0

geeksarray/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.

Language: C# - Size: 24.4 KB - Last synced: about 1 year ago - Pushed: over 3 years ago - Stars: 0 - Forks: 0

geeksarray/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.

Language: C# - Size: 59.6 KB - Last synced: about 1 year ago - Pushed: over 3 years ago - Stars: 0 - Forks: 0

geeksarray/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.

Language: TypeScript - Size: 143 KB - Last synced: about 1 year ago - Pushed: over 3 years ago - Stars: 0 - Forks: 0

geeksarray/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.

Language: TypeScript - Size: 146 KB - Last synced: about 1 year ago - Pushed: over 3 years ago - Stars: 0 - Forks: 1

geeksarray/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.

Language: TypeScript - Size: 146 KB - Last synced: about 1 year ago - Pushed: almost 2 years ago - Stars: 0 - Forks: 0

geeksarray/types-of-sql-server-joins-with-example

This article describes the types of SQL server joins like Inner, Outer, Cross, Equi, Self Joins with examples. You can retrieve data from more than one table together as a part of a single result set.

Size: 2.93 KB - Last synced: about 1 year ago - Pushed: over 3 years ago - Stars: 0 - Forks: 2

geeksarray/webgrid-example-in-asp-net-mvc

This blog shows how to use Webgrid in ASP.NET MVC. It displays model data in WebGrid in PartialView on selection change of Listbox value.

Language: C# - Size: 2.03 MB - Last synced: about 1 year ago - Pushed: over 3 years ago - Stars: 0 - Forks: 0

geeksarray/populate-mvc-listbox-using-jquery-getjson-and-jsonresult

This article shows how you can populate MVC Listbox using jQuery and JSONResult. It uses static values and also shows with model values that can use database values.

Language: C# - Size: 8.95 MB - Last synced: about 1 year ago - Pushed: over 3 years ago - Stars: 0 - Forks: 0

geeksarray/how-to-use-partial-view-in-mvc-with-example

This article explains how you can use a partial View in your MVC application. It describes different methods to render a partial view in MVC with an example.

Language: C# - Size: 8.75 MB - Last synced: about 1 year ago - Pushed: over 3 years ago - Stars: 0 - Forks: 1

geeksarray/how-to-read-json-file-data-using-angularjs-http-get

Read JSON file contents using HTTP GET in Angular app

Language: HTML - Size: 1.79 MB - Last synced: about 1 year ago - Pushed: over 3 years ago - Stars: 0 - Forks: 0

geeksarray/how-to-do-custom-validation-using-validationattribute-of-aspnet-mvc

ValidationAttribute class is included in DataAnnotations namespace. It helps you to validate model data received from user.

Language: C# - Size: 8.07 MB - Last synced: about 1 year ago - Pushed: over 3 years ago - Stars: 0 - Forks: 0

geeksarray/jquery-ui-datepicker-examples-in-mvc

jQuery UI DatePicker plugin allows you to select a date easily. You can customize the format, language of date to be displayed

Language: C# - Size: 2.53 MB - Last synced: about 1 year ago - Pushed: over 3 years ago - Stars: 0 - Forks: 0

geeksarray/how-to-validate-mvc-model-using-dataannotation-attributes

This tutorial helps you to understand how you can use DataAnnotation attributes for validation of model data.

Language: C# - Size: 8.06 MB - Last synced: about 1 year ago - Pushed: over 3 years ago - Stars: 0 - Forks: 0

geeksarray/creating-dynamic-proxy-using-wcf-channelfactory

This article helps you to generate a dynamic WCF service proxy using ChannelFactory. This will also describe what is ChannelFactory, the difference between ChannelFactory and Proxy, and when to use proxy or ChannelFactory.

Language: C# - Size: 43 KB - Last synced: about 1 year ago - Pushed: over 3 years ago - Stars: 0 - Forks: 0

geeksarray/wcf-message-level-security-by-example

This article will describe how to implement WCF message level security. It will show you the required steps to create the WCF library, host it in IIS, secure with Message Level Security, client application and finally see encrypted messages using WCFTraceViewer.

Language: C# - Size: 53.7 KB - Last synced: about 1 year ago - Pushed: almost 4 years ago - Stars: 0 - Forks: 0

geeksarray/configure-iis-for-wcf-service-with-ssl-and-transport-secuirty

This article will help you to configure IIS for WCF service with SSL and achieve WCF Transport security. It uses a WCF service, create a SSL certificate using IIS Server Certificates with WCF service hosted in IIS.

Language: C# - Size: 56.6 KB - Last synced: about 1 year ago - Pushed: almost 4 years ago - Stars: 0 - Forks: 0

geeksarray/how-to-create-wcf-restful-services

This article describes step by step creation of WCF RESTful services and its http methods like GET, PUT, DELETE and POST. In this article I am going to create a WCF rest service API which returns XML data as WCF attributes.

Language: C# - Size: 16.6 KB - Last synced: about 1 year ago - Pushed: almost 4 years ago - Stars: 0 - Forks: 0

geeksarray/wcf-rest-service-to-get-or-post-json-data-and-retrieve-json-data-with-datacontract

In this article I will talk about creating WCF RESTful services for CRUD operations which uses JSON and DataContracts. CRUD operations are done by http verbs GET, POST, PUT and DELETE

Language: C# - Size: 39.1 KB - Last synced: about 1 year ago - Pushed: almost 4 years ago - Stars: 0 - Forks: 0

geeksarray/how-to-host-wcf-service-in-iis-7

This article will give you a brief description of the required steps to host your WCF service in IIS and test it using console application.

Language: C# - Size: 46.9 KB - Last synced: about 1 year ago - Pushed: almost 4 years ago - Stars: 0 - Forks: 0

geeksarray/jquery-autocomplete-by-example

This article helps you to create an AutoComplete textbox using jQuery library. This will also give you details about jQuery AutoComplete UI, CSS, and select event.

Language: ASP - Size: 113 KB - Last synced: about 1 year ago - Pushed: almost 4 years ago - Stars: 0 - Forks: 0

geeksarray/display-excel-data-in-web-page-using-aspnet-csharp

This article will describe to you how to show Microsoft Excel data to the ASP.NET Web page. This tutorial will read from excel which has data from the Northwind database's Products table. This excel sheet has multiple sheets named with Product Category Name. And each sheet will have products depending on the selected category.

Language: ASP - Size: 133 KB - Last synced: about 1 year ago - Pushed: almost 4 years ago - Stars: 0 - Forks: 0

geeksarray/export-gridview-content-to-excel

This article will describe you how to export Asp.net GridView / Repeater control data to excel using C#. We will use the Gridview / Repeater data bound controls created in previous articles. Same code can be applied to any DataBound control to export its content to excel.

Language: ASP - Size: 115 KB - Last synced: about 1 year ago - Pushed: almost 4 years ago - Stars: 0 - Forks: 0

geeksarray/converting-aspnet-repeater-html-to-pdf-using-itextsharp

This article describes you how to convert asp.net repeater controls HTML or entire webpage to pdf using iTextSharp. It will also give introduction to iTextSharp library.

Language: ASP - Size: 1.29 MB - Last synced: about 1 year ago - Pushed: almost 4 years ago - Stars: 0 - Forks: 0

geeksarray/repeater-control-and-database-level-paging

ASP.NET Data Repeater control and database level paging

Language: ASP - Size: 120 KB - Last synced: about 1 year ago - Pushed: almost 4 years ago - Stars: 0 - Forks: 0

geeksarray/bulk-upload-into-sql-server-using-sqlbulkcopy-and-c-sharp

In this article I am going to write about SQLBulkCopy and its major properties and methods. This article will give you the code for high performance transfer of rows from XML file to SQL server with SQLBulkCopy and C#.

Language: C# - Size: 59.6 KB - Last synced: about 1 year ago - Pushed: almost 4 years ago - Stars: 0 - Forks: 0

geeksarray/how-to-export-sql-data-to-excel-using-microsoft-office-interop

how to export SQL data to excel. For this we will be using Microsoft.Interop.Office.Excel namespace and C#. The classes and interfaces in Microsoft.Interop.Office.Excel gives support for interoperability

Language: C# - Size: 31.3 KB - Last synced: about 1 year ago - Pushed: almost 4 years ago - Stars: 0 - Forks: 1

geeksarray/dataTable-comparison-using-linq-except-intersect-and-union

This article describes you how to compare DataTables to get matched, unmatched, combine list of all rows in both tables.

Language: C# - Size: 27.3 KB - Last synced: about 1 year ago - Pushed: almost 4 years ago - Stars: 0 - Forks: 0

geeksarray/entity-framework-core-database-first-tutorial

This tutorial helps to create and update models from an existing database using Entity Framework Core. It explains about Scaffold-DbContext with its parameters like Connection, Provider, OutputDir, Force, Schemas, Tables, DataAnnotations.

Language: TSQL - Size: 223 KB - Last synced: about 1 year ago - Pushed: almost 4 years ago - Stars: 0 - Forks: 0

geeksarray/EF-Core-Fluent-API-Relationship

By default, EF Core will create a One-To-One relationship if reference navigation property has set on principal as well as dependent entity. The principal entity can have zero-or-one association with the dependent entity. Dependent entity can have only one association with Principal entity.

Language: C# - Size: 5.86 KB - Last synced: about 1 year ago - Pushed: almost 4 years ago - Stars: 0 - Forks: 0