C# Corner

Resources  
  • Using jqGrid With ASP.NET MVCDec 12, 2017. If you belong from a background of asp.net web forms then there is grid view which we used most but in some scenario if data was large then it would use to break, but in MVC we do not have that kind of grid which has all readymade event, but there is html helper which help you to generate html is Web grid in that we need to use different package for handling paging of grid, and also we need to pass a strongly typed model to view for rendering the grid.
  • Integrate Google ReCaptcha And Validate It With ASP.NET MVC 5 And Entity FrameworkDec 11, 2017. In this Article, I will demonstrate how to integrate Google ReCaptcha and Validate it with ASP.Net MVC5.
  • Partial View In ASP.NET MVC Using Entity FrameworkDec 10, 2017. A partial view is same as user control in ASP.NET MVC that is used for code re-usability. Partial views help us to reduce code duplication. Hence partial views can be used for views like as Header and Footer views.
  • Creating Angular Project Using MVCDec 08, 2017. Let's learn how to create an Angular project using MVC.
  • How To Optimize SharePoint Custom Pages Using HTML 5 IndexedDB APIDec 07, 2017. In this article we will discuss another obvious performance issue with SharePoint Solutions involving large volumes of data transactions surfacing in SharePoint Custom Pages.
  • Xamarin.Forms - Border Shadow Effects Using Custom Frame RendererDec 07, 2017. In this article, you will learn how to use Border Shadow Effects Using Frame Renderer in your controls in Xamarin forms.
  • DropDownList In ASP.NET MVCDec 06, 2017. In this article you will come know how to bind data and get dropdownlist selected value in Asp.Net MVC in Client Side and Server Side.
  • How To Save Multiple Links In A List Column And UI On Custom List Form In Visual Web PartDec 06, 2017. In this article, we will discuss how we are storing multiple links in the list field and supporting the UI on custom list form in Visual web part
  • How To Delete Attachments Of SharePoint List Item Using Rest APIDec 05, 2017. I have created a custom list named “Attachments” in the host site and have added multiple items with attachments, now let’s say that we want to “Delete” the attachments on any particular item which we want.
  • Charts In ASP.NET MVC Using Chart.jsDec 01, 2017. This article demonstrates how to create charts in ASP.NET MVC using Chart.js and C#. This article starts with how to use Chart.js in your MVC project. After that, it demonstrates how to add charts in a view.
  • Highcharts - Loading Image With Angular Custom Directive And Web APINov 29, 2017. This article will demonstrate about how to show loading message or any spinner image when your chart is being loaded or drilldown chart is being loaded using Highcharts Library in Angular JS with Web API.
  • Creating Custom Tag Helpers With ASP.NET Core MVCNov 29, 2017. The tag helper enables us to run server-side code to generate HTML, CSS, Javascript code in Razor view.
  • Client Side Routing Using Angular In MVCNov 29, 2017. AngularJS supports a Single page application routing module called ngRoute. When a user requests a specific url, the routing engine fetches that url and renders the view based on the defined routing rules. AngularJS appends '/#/' to the url to redirect to a particular url using $location service. For example, to redirect to '/Article', the url would be http://localhost/#/Article.
  • Custom Vision Service REST API Using Web Interface To Upload Image And TrainNov 28, 2017. Custom Vision Service using Visual intelligence made easy to just bring a few example of labeled images and let Custom Vision do the hard work.
  • Filtering jQuery Data Table Server Side Using MVC And Entity FrameworkNov 27, 2017. This article explains how to work with jquery Datatable on the server side and how to use Search Textbox to do serverside filtering using MVC and Entity Framework
  • Play Videos Using Kendo Media Player And ListView In ASP.NET MVC5Nov 27, 2017. In this Article, I will demonstrate how to the play video(s) in Media Player Using Kendo UI Media Player and Listview in ASP.NET MVC5
  • Highcharts Drilldown Functionality With Angular Custom Directive And Web APINov 25, 2017. This is the second part of this series, “Highcharts with Angular JS custom directive and Web API”. In the first part, we discussed the preparation of the charts using the Highcharts library and Web API.
  • Comments System With ASP.NET MVC 5 And jQueryNov 25, 2017. In this article, we will implement comments system by using ASP.NET MVC 5 and jQuery, Bootstrap
  • MVC 5 Demo Project With Entity Framework (DB First)Nov 23, 2017. MVC project has been set up. Now, make a new C# class library project which will act as a DAL layer and Entity Framework will be handled through this project.
  • Anchor Tag Helper In ASP.NET MVCNov 23, 2017. The Anchor Tag Helper generates HTML anchor (<a> </a>) element by adding a new attribute. The "href" attribute of the anchor tag is created by using new attributes.
  • CRUD Operation With ASP.NET Core MVC Using Visual Studio Code And ADO.NETNov 23, 2017. In this article we are going to create a web application using ASP Core MVC with the help of Visual Studio Code and ADO.NET.
  • Validation Tag Helpers In ASP.NET Core MVCNov 22, 2017. This article explains about the validation tag helpers found in ASP.NET Core MVC.
  • Implement DropDown MultiSelect Using Kendo UI MultiSelect In ASP.NET MVC5Nov 21, 2017. In this article, I am going to explain how to bind the value to a dropdown from the database, how to implement drop-down multi-select, how to group the drop-down values, and how to implement Custom Template using Kendo UI MultiSelect in ASP.Net MVC5.
  • QUIZ Application With ASP.NET MVC 5Nov 21, 2017. So many people asked in forums how we can build a quiz application using Asp.Net MVC. I would like to share with them a simple solution to achieve this application. In this post we will build our quiz application with an easy and simple approach. But you should have some basic skills in Asp.Net MVC 5 and JQuery, Bootstrap. I hope it will be helpful for you.
  • Form Tag Helper And Other Common Tag Helpers In ASP.NET Core MVCNov 20, 2017. Form tag helper and other common tag helpers in ASP.net core MVC
  • Deploy ASP.NET MVC Web Application In Cloud Service Using Azure PortalNov 20, 2017. From this article, you will learn how to deploy ASP.NET MVC web application in cloud service using the Azure portal.
  • Simplest WPF Dependency Property For Beginners On Background ColorNov 19, 2017. Dependency property is not wrapped over any private members unlike CLR properties, and it is also stored in Key-Value pairs inside the DependencyObject host instance. You must use Dependency properties if you need to create and apply properties on custom usercontrols, or change properties based on external inputs like Theme, Style, animation etc, or while applying data binding or set with a resource (static/dynamic) .
  • Set Paging Size In ASP.NET MVCNov 19, 2017. This article is an answer to common ASP.NET MVC searches
  • Using Custom Document Template And Quick Parts To Get Column Values From SharePointNov 17, 2017. Quite often there is situation when user wants to save documents with metadata in SharePoint library and to accomplish this we can use document template, customize it and by using Quick parts in Microsoft office we can save Meta data in library and in Microsoft office documents.
  • Dynamic Checkbox Functionality Using Angular In ASP.NET MVCNov 17, 2017. Checkboxes in AngularJS and asp.net MVC (server-side) application.
  • Creating CRUD API In ASP.NET Core 2.0Nov 17, 2017. ASP.NET Core gives a unified mechanism for creating MVC and Web API application. The key difference is that Web API will return JSON (or XML) and HTTP status codes instead of views, in order to communicate with the client.
  • ASP.NET Core 2.0 Razor PagesNov 16, 2017. Razor Pages are introduced in ASP.NET Core 2.0 to make building simple web applications quicker and is a good way to play with various ASP.NET Core concepts like Razor, Layout Pages and Tag Helpers etc.
  • Deploy ASP.NET MVC Web Application Using Azure Cloud ServiceNov 16, 2017. Cloud service comes under the PaaS service model, as with a web app service we can deploy our web application in this service and moreover it provides more control on the VMs for the users and we can install our own software by remoting it.
  • Two Way Data Binding In Angular Without $scope Object Using MVCNov 16, 2017. Data binding is the most useful and powerful feature among any of the existing or upcoming software development technologies. It is actually a process that bridges a connection between the view and business logic of the application.Basically we will see one-way and two-way data binding with respect to AngularJS applications. But before we jump to that section we will try to learn something about the scopes in AngularJS.
  • Azure Table Storage In ASP.NET Core 2.0Nov 14, 2017. Add a class to encapsulate storage access. Add a private helper method to access storage
  • Auto Numbering For Custom Entity In Dynamic CRMNov 14, 2017. We are not adding any field for auto number using CRM Default solution. So, until now you should have one Entity created with no custom field in it (only default system generated fields). Now its time to write some code to see this auto number thing happen. what we have to do is to create an Attribute using C# Code and make that attribute to be auto numbered. we can even have some prefix or suffix also.
  • MVC : Display Image From Byte ArrayNov 14, 2017. In this tutorial, I am going to explain how to display image from a byte array in ASP.NET MVC using C# .NET and VB.NET.
  • ASP.NET Core 2.0 MVC FiltersNov 13, 2017. Filter runs after an action method has been selected to execute. MVC provides built-in filters for things like authorization and caching. Custom filters are very useful to encapsulate reusable code that you want to run before or after action methods.
  • Server Side Custom Paging In Angular-UI Grid Using Web APINov 13, 2017. In this article, you will learn how to implement server side custom paging using Angular UI-Grid with Web API and SQL Server database and stored procedure. In this article, I will demonstrate server side paging and sorting only, Filtering we should learn in next article.
  • Different Ways Of Binding Razor DropdownList In ASP.NET MVC 5Nov 13, 2017. This article will demonstrate how to bind the values to Razor DropDownList in various ways using ASP.NET MVC5
  • Custom Search Using Client Side CodeNov 11, 2017. The Custom Search functionality is achieved through JS. The Search produces live results for each key press. This search can be used to filter the data table or html table data dynamically based on the key words entered. The below code explains the search for html table.
  • Upload/ Download Files In ASP.NET Core 2.0Nov 10, 2017. ASP.NET Core MVC model binding provides IFormFile interface to upload one or more files. The HTML form must have encoding type set to multipart/form-data and an input element with type attribute set to file.
  • JavaScript Flow Chart And Workflow With C# ASP.NET MVCNov 09, 2017. As soon as we wake up in the morning, we start to make decisions - do we stay in bed? (weekend, yea!), or get out of the bed? (get to work, must catch the train...). Once we make that first decision, we might take an action (grab a coffee!), or ponder another decision (do I need to visit the bathroom first?). As the day progresses, our life is one decision after another. Its the same in every organization. In one way, we can say that life, and how it goes, is based on infinite possibilities of flow-states :)
  • Working With View Components In ASP.NET Core MVCNov 09, 2017. View component is newly introduced feature in asp.net core MVC. It is very similar to partial view but it very powerful compared to partial view. It does not use model binding but works only with the data we provide when calling into it.
  • ASP.NET Core 2.0 MVC Distributed Cache Tag HelperNov 09, 2017. Cache and Distributed Cache Tag Helper help improve performance of your application by caching view’s content, either in-memory or in a distributed cache (e.g. Redis). Distributed Cache Tag Helper uses IDistributedCache to store contents in a distributed cache. To learn more about distributed caching, please refer to an earlier post here.
  • ASP.NET Core 2.0 MVC Custom Tag HelpersNov 08, 2017. As discussed in the previous post, Tag Helpers help generate HTML by attaching attributes to existing HTML elements or by creating new elements. In this post we’ve created a new tag to display employee information.
  • ASP.NET Core 2.0 MVC Tag HelpersNov 07, 2017. Tag Helpers help generate HTML by attaching attributes to existing HTML elements or by creating new elements. Although they look like HTML elements and attributes, Tag Helpers are processed by Razor (server-side).
  • URL Routing Of ASP.NET MVC And ASP.NET Web FormsNov 06, 2017. Asp.Net MVC has route-based URLs which means URLs are divided into controllers and actions; and moreover, it is based on controller not on physical file.
  • ASP.NET Core 2.0 MVC AreasNov 06, 2017. Razor pages inside Areas folder can use the Layout page located outside it (e.g. in /Views/Shared folder). You can define a separate Layout page for each Area too. Yet another approach is to define a common Layout page outside Areas folder and Layout pages inside Areas folder and use them as their layout, creating a nested Layout page structure. Below is a Layout page for Area2 that uses shared layout page (note you need an absolute path to shared layout).
  • Binding DropDown List Using Tuple In ASP MVCNov 05, 2017. Tuple is a generic static class that was added to C# 4.0 and it can hold any amount of elements, and they can be any type we want. So using tuple, we can return multiple values.One great use of tuple might be returning multiple values from a method. It provides an alternative to "ref" or "out" if you have a method that needs to return multiple new objects as part of its response.
  • ASP.NET Core 2.0 MVC View ComponentsNov 05, 2017. View Components are special types of views that are rendered inside other views. They are useful for reusing parts of a view or splitting a large view into smaller components.
  • Kendo UI Grid With ASP.NET MVC 5, Entity Framework, And Web API - Part OneNov 04, 2017. This article will demonstrate how to work on Kendo UI Grid with ASP.Net MVC5, Entity Framework, and Web-API.
  • ASP.NET Core 2.0 MVC Partial ViewsNov 03, 2017. Partial views are special type of views that are rendered inside other views. They are useful for reusing parts of a view or splitting a large view into smaller components.
  • ASP.NET Core 2.0 MVC Layout PagesNov 02, 2017. Layout page is added to the Views/Shared folder and is named (as a convention) _Layout.cshtml. There can be more than one layout pages in your application too.
  • Introduction To ASP.NET MVC Model BindingNov 02, 2017. Asp.NET MVC model binder allow you to map http request data with model. HttpRequest data means when user makes a request with form data from browser to controller at that time model binder works as middle man to map the incoming http request with controller action method.
  • Dependency Injection Into Views In ASP.NET Core MVCNov 01, 2017. The dependency injection in ASP.net core is not limited to middleware, controller, and models. It also supports dependency injection into view.
  • ASP.NET Core 2.0 MVC Dependency Injection In ViewsNov 01, 2017. In ASP.NET Core dependency injection is not limited to middleware, controllers and models etc. Views can also benefit from the services configured in the service container.
  • ASP.NET Core 2.0 MVC RazorOct 31, 2017. ASP.NET Core MVC middleware will find and execute the Razor template (.cshtml file) when the Controller returns ViewResult. Razor templates use syntax that combine C# and HTML to produce the final HTML page.
  • Populating A ListView With Data Using Kendo Listview And Entity Framework In ASP.NET MVC 5Oct 31, 2017. Here, I am going to demonstrate how to load the data from a database to Kendo listview in ASP.Net MVC5.
  • Angular 2+ Filter Pipes And Custom Filter PipesOct 30, 2017. In this article, I am going to show you the predefined filter pipe usage as well as show you how we can create our own custom filter pipe and its usage.
  • ASP.NET Core 2.0 MVC Model BindingOct 30, 2017. In a previous post on Routing, I showed how MVC maps URLs to Controller and actions to execute. We touched on the topic of the model binding mechanism through which MVC binds routing template tokens to action parameters.
  • New Features Of .NET Core MVCOct 30, 2017. By releasing ASP.NET Core, Microsoft has joined a big community of free, open source and platform independent software services.
  • Implementing Tiny Animated jQuery Chart Plugin With ASP.NET MVCOct 29, 2017. In this article we will go step by step to implement Jquery Chart Plugin. Plugin name is Tiny Animated Chart Plugin For jQuery - simple-chart.
  • ASP.NET Core 2.0 MVC [Remote] ValidationOct 27, 2017. In this article, you will learn about ASP.NET Core 2.0 MVC [Remote] Validation.
  • Highcharts With Angular Custom Directive And Web APIOct 25, 2017. We already know that DotNet Highcharts library is a client side library for charting and we can create very clean and flexible charts with minimum configuration. Using Highcharts, we can probably create all types of charts which we use in daily life, it could be a line chart, it could be a bar chart or column chart etc.
  • ASP.NET Core MVC Project (Event Management)Oct 24, 2017. This Project is developed in Asp.net MVC Core 1.0.0 with Windows dependencies.
  • ASP.NET Core 2.0 MVC RoutingOct 23, 2017. Routing in ASP.NET Core MVC is the mechanism through which incoming requests are mapped to controllers and their actions. This is achieved by adding Routing middleware to the pipeline and using IRouteBuilder to map URL pattern (template) to a controller and action.
  • .NET Highcharts With ASP.NET MVCOct 22, 2017. This article will demonstrate how to implement DotNet Highcharts with Asp.Net MVC application. Highcharts is a JavaScript library to implement charting functionality like line chart, bar chart, column chart etc. We can create different types of charts using highcharts. Today with this article, I will try to show you how to create Highcharts in Asp.Net MVC from server side.
  • How To Return A Pair Of Closest Birthdates Using API, Multi Threading And MVC 5 Using C#.NETOct 18, 2017. This article demonstrates how to use multi-threading to return the name of 2 customers who have the closest birthdate. I also include how create API to add\ retrieve customer details from SQL database using tasks and how to use MVC to call and API to add a new customer.
  • Implementing Google Maps In Xamarin.Forms and Creating Custom Map For Tapping FunctionalityOct 17, 2017. Google map service is very popular in various enterprise level mobile applications. I will discuss here how to use Google maps in xamarin.forms and customize it using custom renderer for further functionality. So, let’s create a Xamarin.Forms project in Visual Studio under visual C# and cross platform and name it GoogleMapUsingXamarinForms.
  • Getting Started With Entity Framework Core 2.0 ASP.NET Core 2.0Oct 13, 2017. This article shows how to create Entity Framework Core 2.0 MVC Web application using Visual Studio 2017 Asp.Net Core and how to create CRUD operations.
  • Getting Started With Entity Framework Core - Database-First DevelopmentOct 12, 2017. This article is the first part of the series on Getting Started with Entity Framework Core. In this post, we will build an ASP.NET Core MVC application that performs basic data access using Entity Framework Core. We will explore the database-first approach and see how models are created from an existing database. We will also take a look at how classes become the link between the database and ASP.NET Core MVC Controller.
  • Logging Exception in Database Using CustomFilter ExceptionOct 11, 2017. As per request from one of my followers I am writing this article, which will explain how we can handle Errors in an MVC application. In this article I am also going to explain how we can log our exception message in our Data Base.
  • Overview Of Partial View In ASP.NET MVCOct 11, 2017. In ASP.NET MVC, View gets activated or executed with the help of a controller. All the incoming browser requests first knock to the controller then controller functionality will decide which view or action should be executed.
  • Custom Script Extension For WindowsOct 11, 2017. In this article, we will see how to work with custom script extension in Azure Virtual Machines.
  • ASP.NET Core 2.0 URL RewritingOct 11, 2017. URL Rewriting is about modifying the request URL based on custom rules in order to decouple the address from the underlying resource. This could be for reasons like security, SEO, user friendly URL and redirect HTTP to HTTPS etc.
  • Dependency Injection In ASP.NET MVC 5Oct 10, 2017. I have seen many articles about Dependency Injection and thought to write an article about using it in Asp.Net MVC5.
  • ASP.NET - Connect to MySQL Azure DatabaseOct 07, 2017. Using MVC, Entity Framework, ASP.NET Scaffolding, and Azure MySQL you can create a web application that stores your information on an MongoDB Azure database. This demo shows you how to create a web application with MVC and Entity Framework 7, that communicate with a MySQL Azure database.
  • How To Implement Dependency Injection In MVC ProjectOct 07, 2017. Here I am going to explain how to implement dependency injection in MVC Project in detail including separate layers for getting data through Services and Repositories.
  • ASP.NET - Connect To Azure Cosmos DBOct 07, 2017. This article will show how to configure and use CosmoDB on an ASP.Net MVC web application, The tasks will be stored as JSON documents in Azure Cosmos DB.
  • How To Change/Switch The Database Dynamically In An ASP.NET MVC ApplicationOct 06, 2017. This is an example with code snippets to show how to switch or change the database (Connection string) dynamically while running a program in ASP.NET MVC 5 applications.
  • Getting Started With ASP.NET Core MVC Apps Using VS CodeOct 05, 2017. In this article, we will discuss how we can create a HelloWorld app with ASP.NET Core 2.0 using Visual Studio Code. We will learn how to create an ASP.NET Core MVC application, how to create new Controller, how to create new View, and how to run the HelloWorld app etc.
  • CRUD Operation With ASP.NET Core MVC Web App Using ADO.NETOct 05, 2017. In this article, I am going to explain how to create a MVC web application in ASP.NET Core 2.0 using ADO.NET.
  • .NET Entity Framework Core Generic Async Operations With Unit Of Work Generic RepositoryOct 05, 2017. The advantage of generic repository is that you can inherit from it, pass an entity type, and you will get CRUD operations. It will save you a lot of coding time when your domain objects are likely to grow over 50+. Another advantage is change history functionality; you can inherit your entities from the change history interface.
  • Selecting Lookup View Dynamically Using JavaScript In Dynamics CRM/ 365Oct 03, 2017. Lookup Views are shown when user clicks on Look Up More Records in any Lookup Field. In Dynamics CRM/365, Lookup Views are available in almost all entities, In newly created custom entities also it will be available by default. Lookup View of Account Entity is shown.
  • Getting Started With ASP.NET Core And jQuery CRUD Using WEB APIOct 03, 2017. A lab exercise for you to demonstrate what have you learned from this training material to create your own Todo CRUD operation using TodoRepository included in this training material.
  • Creating Custom Gulp Tasks In SPFx SolutionsOct 03, 2017. Let us see how to create and test the gulp tasks in the SharePoint Framework solutions.
  • How To Use Bootstrap DateTime Picker In ASP.NET MVC With Angular As DirectiveOct 03, 2017. We can create Bootstrap DateTime Picker in MVC easily but if we use normally like how we refer like normal asp.net mvc as we will face some problems that date picker wont works as expected in order to avoid that we need to do it in angular way so we will create it as a directive and we can use it where ever we want in our project.
  • Read Data From Excel With Preview In ASP.NET MVC Using AngularOct 03, 2017. In this article we will see how to Read data from excel and show preview and after we can update to database with Asp.net Mvc using Angular.
  • ASP.NET Core 2.0 Error PagesSep 29, 2017. Starting from an empty project, created in a previous post, amend the Configure() method of Startup class to use middleware needed for error handling. Below I’ve used a custom middleware (defined as lambda) to handle production exceptions.
  • Steps To Fix Project File Could Not Be Loaded Issue After Rename Project In ASP.NET MVCSep 29, 2017. I created one MVC application named "SatyaExportMVC". Then I will rename it Satyaprakash of Project name and Solution file name.
  • How To Use "Enlighten Aquarium" In Power BI ToolSep 28, 2017. In this article, we will see how to use Enlighten Aquarium to create your own custom visual in Power BI.
  • WebGrid Custom Paging Links To Avoid Load On Server Using Stored Procedure And ASP.NET MVCSep 27, 2017. I will show you how to fetch the data dynamically from the database and bind to the WebGrid control, using the stored procedure in MVC 4.0. In this blog, today, I will show you how to write code in ASP.NET MVC for implementation of WebGrid Control using Static Data. In later sessions, I will show you the process of using GridView Dynamically, that means using SQL Server data source.
  • Stored Procedure With Input And Output Parameter Using Entity Framework In ASP.NET MVCSep 23, 2017. In this article, we are going to learn how to get list and output value from a stored procedure using Entity Framework in ASP.NET MVC.
  • How To Implement Angular Data Table With CRUD Using ASP.NET MVC And AngularSep 22, 2017. In this article, we will discuss how to implement Angular Data Table with (Insert, Update, and Delete) Short Form (CRUD) using Asp.net MVC + Angular JS in one page without any full page reloads. This table will be similar to JQuery Data Table and this one is implemented using Angular Data table.
  • Use Log4net In ASP.NET MVC ApplicationSep 22, 2017. You may have read several articles on how to use log4net , however my article explains how you can use it without having to initialize several times.
  • How To Write Simple Todo CRUD ASP.NET MVC ApplicationSep 22, 2017. This article includes a lab exercise for you to demonstrate what have you learned from this training material to create your own Employee CRUD operation using EmployeeRepository
  • How To Customize UI-Grid Height DynamicallySep 22, 2017. In this article, you will learn how to customize UI-Grid height dynamically based on record count list.
  • How To Create To-Do CRUD Operation With ASP.NET MVC Core, Angular 4.0Sep 21, 2017. We want to create below single page application with CRUD operation, Add, Update and Remove functionality with in-memory TodoRepository Database.
  • CRUD Operation In ASP.NET Core MVC Using Visual Studio CodeSep 21, 2017. In this article, I am going to explain how to create a basic web application using ASP.Net Core MVC and Visual Studio Code in Windows System.

About MVC-Custom-Helpers

NA
File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!