C# Corner

Resources  
  • 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) .
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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).
  • Debugging Tips - Part ThreeNov 06, 2017. While working on a complex code, we often come across situations where you need to debug lots of code to find/fix the issue(s). That also includes going through lots of methods (probably related or unrelated). .NetFramework provides a way to avoid unwanted "Step in" through the methods. Using DebuggerStepThrough (using System.Diagnostics) attribute, you can skip debugging of unwanted methods and reduce the debugging time to some extent.
  • 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.
  • Debugging Tips - Part TwoOct 27, 2017. While working on complex classes/objects, it really takes two more clicks to either add that object to the Watch window or expand the object in visualizer and navigate to a specific property.
  • 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.
  • Debugging Tips - Part OneOct 24, 2017. A cool attribute to save some debugging time is DebuggerTypeProxy (Namespace: System.Diagnostics). Using this attribute, you can write your own logic to interpret the object at debug time. Meaning, if you have a list of class objects then you can project on certain properties and force debugger to show the value off of this proxy class. This attribute is applicable to Structures, Classes and Assemblies.
  • 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.
  • Custom Script Extension For WindowsOct 11, 2017. In this article, we will see how to work with custom script extension in Azure Virtual Machines.
  • Understanding Face API In AzureOct 11, 2017. Add facial recognition capabilities to your app with the Face API. State-of-the-art algorithms detect human faces in images, opening a range of facial capabilities to your apps. Face detection can also identify attributes, including face landmarks (nose, eyes, etc.), gender, age, and other machine-predicted facial features.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • Custom Paging In Angular-UI GridSep 19, 2017. In this article, you will learn how to implement custom paging using Angular UI-Grid in MVC application with Web API.
  • Xamarin.Forms Tip - Implement Show/Hide Password Using EffectsSep 19, 2017. While developing login pages, we usually get a requirement that there should be an icon in password entry to show/hide password while entering the password. While looking for a solution to this requirement, I found that most of the implementation is done using custom controls whereas we can do this kind of small platform-specific customization using effects. Last year, I wrote this article about implementing custom fonts using effects so I thought let's try this also using the same tecnique.
  • Introduction To Tag Helpers In ASP.NET CoreSep 18, 2017. Tag helper is a new feature in ASP.net MVC. It enables server-side code to create and render HTML elements in Razor View. It is feature of Razor View engine. They are the C# classes which participate in view generation by creating the HTML elements. Using the tag helper, we can change the content of HTML element and add additional attributes to the HTML element. It is very similar to HTML helper in ASP.net MVC.
  • TimeLine Slicer In Power BISep 15, 2017. In this article, we will learn how we can configure the TimeLine Slicer with our Power BI Report.
  • ASP.NET Core 2.0 ConfigurationSep 11, 2017. ASP.NET Core has a simple mechanism to read application settings from various sources like JSON files, Environment variables or even custom data sources. It is also simple to use the settings, thanks to Dependency Injection.
  • Resolving The "Legacy Issue Detected" ErrorSep 04, 2017. While working on SharePoint Migration from 2010 to 2016. I thought it will be smooth because the environment doesn’t have any customizations and neither they have any custom solution deployed on it.
  • Custom Left Navigation In SharePoint 2013Sep 01, 2017. In this article, I explore how to create a custom left navigation using Out of Box, without custom development. As we know that there are a lot of ways of creating left navigation, here you will see a new approach for creating a custom left navigation in SharePoint 2013.
  • How To Add Custom Font To Android TextviewAug 29, 2017. Android is one of the most popular operating systems for mobile. In this article, I will show you how to add custom font to Android textview using Android Studio.
  • Create Custom People Search Page With Phone Number Attribute In SharePoint OnlineAug 28, 2017. We have a requirement from one of our clients. They want to modify the “peopleresults.aspx” page which is the default People Search Page provided by SharePoint OOTB.
  • Custom Keyboard In Xamarin.iOSAug 23, 2017. In this article, we are going to learn about how to create a simple custom keyboard in xamarin ios.
  • Custom Extension Method In C#Aug 23, 2017. Here, I am going to explain how to create and use the extension method.
  • Building Serverless Mobile App With Azure Functions Using Xamarin.FormsAug 20, 2017. Azure Functions is a solution for easily running small pieces of code in the cloud. We can create, execute, and test our custom logic function without creating a VM or web applications and also without needing to install any software or infrastructure to run the function. In this article, we'll learn how to implement azure functions and directly call through HTTP from Xamarin Forms Application
  • How To Create A Simple Approval App Using PowerApps And Flow In SharePoint OnlineAug 18, 2017. In this article, you will see how to create a simple approval app using PowerApps and Flow in SharePoint Online. Refer getting started with PowerApps and Flow for more details. I have created a custom list in SharePoint online named Change Request which contains the following columns.
  • Getting Started With Microsoft Azure Functions Using Visual Studio 2017Aug 17, 2017. Azure Functions is a solution for easily running small pieces of code in the cloud. We can create, execute, and test our custom logic function without creating a VM or web applications and also without needing to install any software or infrastructure to run the function.
  • Understanding Media Services In AzureAug 17, 2017. Azure helps you to build custom media workflows in the cloud. It’s an end-to-end solution that delivers audio and video virtually in any device anywhere. It offers end-to-end workflow which is very highly scalable in coding, packaging, storing and distribution of media content to a wide range of devices including TV, PC, and mobile devices.
  • Custom Formatters In ASP.NET Core MVC / Web APIAug 17, 2017. In this article, we will learn how to create custom formatters in ASP.NET Core MVC.
  • Custom Model Binding In ASP.NET Core MVCAug 17, 2017. Model binding in MVC maps HTTP request data to the parameters of the controller's action method. The parameter may either be of simple type like integers, strings, double etc. or complex types. MVC binds the request data to the action parameter by parameter name.
  • How To Create And Test Azure Functions Using Azure PortalAug 15, 2017. Azure Functions is a solution for easily running small pieces of code in the cloud. We can create, execute, and test our custom logic function without creating a VM or web applications and also without needing to install any software or infrastructure to run the function. In this article, you will learn about create and test azure functions using azure Portal.
  • Objects Comparer In .NETAug 09, 2017. Objects Comparer is an object-to-object comparer, which allows you to compare objects recursively member by member and define custom comparison rules for certain properties, fields or types.
  • Custom Content Page Using Xamarin.FormsAug 09, 2017. Xamarin is a platform that allows us to create multi-platform mobile applications like Windows phone, Apple iOS, and Android through a single integrated development environment (IDE). This platform allows the designers to develop and design various mobile platform applications within a limited period. We will discuss how to create CustomContentPage using Xamarin.Forms (or) cross platform from VS2017.
  • Using Category To Store Your Master DataAug 08, 2017. In every CRM implementation, we deal with some sort of master data in CRM. Normally we use the traditional way to store master records by creating custom entities. But we do have a better way to store master data using Category entity.
  • Getting Started With The Custom Project Template Using Visual Studio 2017Jul 27, 2017. Visual Studio provides many inbuilt templates for creating a project. In this article we can create a new project template as per your client or product requirement and use your project template on multiple developers. Visual Studio provides wizards to help you generate templates from projects that are open in the integrated development environment (IDE).
  • How To Debug Custom Applications In SharePoint 2013Jul 25, 2017. From this article, SharePoint beginners can learn how to debug SharePoint custom applications and standard ways to debug.
  • Pipes In Angular And How To Create Custom PipesJul 23, 2017. Pipes in Angular 2 and how to create custom Pipe in Angular 2.
  • Custom Actions Using CSOM For SharePoint Online - Part TwoJul 20, 2017. This is the second post of the Custom Actions Using CSOM for SharePoint Online series. In this post we will see how to create Ribbon Custom actions for different types of lists (Custom List, Document Library and Calendar).
  • Working With Filters In ASP.NET Core MVCJul 18, 2017. Filters allow us to run custom code before or after executing the action method. It provides ways to do common repetitive tasks on our action method. The filters are invoked in certain stages in the request processing pipeline.
  • Custom Actions Using CSOM For SharePoint OnlineJul 18, 2017. In this post, we will see how to add and remove Menu(ECB) and Ribbon custom actions to different types of lists (Custom List, Document Library and Calendar) in SharePoint online using CSOM (.NET managed) code.
  • BoxView In Xamarin Cross Platform With ExampleJul 17, 2017. The BoxView is a simple view, useful for drawing solid color rectangles. BoxView is a useful stand-in for images or custom elements when doing initial prototyping. BoxView has a default size request of 40x40. Used creates border property in page.
  • Best Practices For MVCJul 14, 2017. Add a class library project to the solution, named Store.Model. This library is where we ‘ll keep all of our domain objects. Entity Framework will count on them in order to build the database but we are not going to configure Code First using DataAnnotations attributes on this project. Instead, we are going to put all the Code First configuration in specific Configuration classes using the Fluent API. Add a folder named Models.
  • Creating Our Own TabControl In C#Jul 11, 2017. In this article we will create our own TabControl component using Buttons and Panels in very easy steps
  • Custom Observable In KnockoutJSJul 10, 2017. Knockout JS is famous and widely used for its two-way binding concept. While developing application we uses ko.observable() to declare a knockout object. Here we will discuss how to create our own custom observable which will work same as observable but with our own functionality.
  • Update Entity Form JS Library Without Removing Event Handlers - Quick WorkaroundJul 06, 2017. Let’s say we have one entity with a good amount of custom fields and we have developed a web resource for the main form. Many of the fields have onchange event associated with them. Now we have a new requirement where we need to implement a similar kind of form with some new functionality for different types of users and some of the existing methods also need to be modified. The requirement is to replace new form JS library with updated new JS library but without removing dependent handlers (as we are using many onchange event handlers as it is) with minimum effort.
  • Form Inputs And Sizing In BootstrapJul 04, 2017. In this article we will about how to create a bootstrap from inputs and sizing, Bootstrap provides several form control styles, layout options, and custom components for creating a wide variety of forms.
  • Create A Bot With Microsoft Bot Framework Using Node.jsJul 03, 2017. In this article, you will learn how to create a Bot using Bot Framework with newly launched Custom Vision service.
  • Creating TreeView For MVC 5Jul 03, 2017. We're going to extend JsTree from JS to MVC and we'll render HTML tags from the database using custom development in the model.
  • Creating Custom Routing Constraint In ASP.NET Core MVCJun 26, 2017. In this article, we'll learn how to create a custom routing constraint in ASP.NET Core MVC. Routing constraint is responsible for matching the constraint rules with incoming requests.
  • How To Perform Custom Actions And Upgrades Using Visual Studio InstallerJun 24, 2017. Visual Studio provides installer projects in order to make application deployment simple. To have Visual Studio installer project type with your version of Visual Studio, make sure you download and install corresponding extensions to your machine.
  • Building Custom Formatters For .Net Core (Yaml Formatters)Jun 21, 2017. In this article you will learn about building Custom Formatters for .Net Core (Yaml Formatters).
  • JavaScript For Querying An Entity And Updating Attribute Values In FormJun 20, 2017. In this article, you will learn about JavaScript for querying an Entity and updating attribute values in form.
  • Overview Of C# AttributesJun 10, 2017. Overview Of C# Attributes.
  • Custom Markup Extension In Xamarin.FormsMay 30, 2017. In this article, we learn to make our own custom markup extension in xamarin.form.
  • Send Email Using Templates In ASP.NET Core ApplicationsMay 30, 2017. In this article, you will learn how to send email using Email Template in ASP.NET Core Web Application. Also we will discuss how to design a custom HTML Email Template using Images, CSS and Personalized Message, and send that to multiple users in ASP.NET Core Application.
  • Custom Scroll In AngularJS-UI-Grid With Web APIMay 28, 2017. In this article, you will learn how to create custom scroll bar in AngularJS-UI-Grid using Web API.
  • Built-In And Custom AngularJS Filters With ExamplesMay 25, 2017. This article will demonstrate built-in as well as custom AngularJS Filters with examples on Plunker Editor.
  • Add Custom Configuration Elements In .NETMay 25, 2017. Add Custom Configuration section group, configuration section, configuration element and enable intellisense for it.
  • Provision SharePoint List With Custom Site Columns And Content Type Using SharePoint FrameworkMay 16, 2017. Provision SharePoint List With Custom Site Columns And Content Type Using SharePoint Framework.
  • Extract JSON Data Using Custom DLL In SSRSMay 15, 2017. This article enables you to extract JSON data, using custom DLL in SSRS.
  • Provision Custom Sharepoint List Using SharePoint Framework Development ModelMay 15, 2017. Provision Custom SharePoint List using SharePoint Framework development model
  • Web API ValidationMay 15, 2017. This article acquaints you with Web API Validation, Web API Model validation, web api custom validation Model validation, Api validation best practices Custom Validation, ivalidatableobject web api, JSON Validation
  • Attribute Directives In Angular 2 - Part TwelveMay 15, 2017. In this article, you will learn about Attribute Directives in an Angular 2.
  • Configuring Custom Domain To Azure Web AppsMay 09, 2017. In this article, we will see how to configure our custom domain to an Azure Web apps.
  • Built-In And Custom AngularJS Services With ExamplesMay 08, 2017. This article will demonstrate built-in as well creating your own custom AngularJS Services with examples on Plunker Editor.
  • Google Custom Search On Your Own WebsiteMay 07, 2017. This article enables you to add Google Custom Search on your own website.
  • Create Custom List View In Your Android ApplicationMay 03, 2017. This article entices you to create Custom List View in your Android Application.
  • Creating Our First Component In Angular 2 - Part FiveApr 30, 2017. Creating Our First Component In Angular 2 - Part Five
  • Extending The Capability Of PowerApps Using Azure FunctionsApr 21, 2017. The article describes how we can extend the capability of PowerApps by adding some custom logic via Azure functions.
  • Angular 2 Custom Attribute To Secure The HTTP Requests And To Show/Hide Spinner During The Service CallApr 19, 2017. Angular 2 Custom Attribute To Secure The HTTP Requests And To Show/Hide Spinner During The Service Call.
  • To Register And Debug The Custom Plugin In Dynamics 365 OnlineApr 19, 2017. This article allows you to register and debug the custom plugin in Dynamics 365 Online.
  • Creating Your Own Validation Attribute In MVC And Web API 2.0Apr 11, 2017. In this article, we will learn how to create your own validation attribute in MVC and WebAPI 2.0.
  • Provisioning SharePoint List With Custom Schema Using SPFx SolutionApr 06, 2017. In this article, let us look at provisioning SharePoint lists using schema file with SharePoint Framework components.
  • Custom Collection Classes In C#Apr 06, 2017. This article presents an overview of custom collection classes in C#.
  • Configure App Environment And Create an App In SharePoint Server 2013Mar 31, 2017. In this article, I have explained how to configure the app environment to deploy custom SharePoint apps in SharePoint Server 2013 On Premise environment.
  • Dynamics CRM - Find Related Contact's Reference And Link It To Custom Entity Using JavaScriptMar 21, 2017. In this article, you will be acquainted with Dynamics CRM - find related contact's reference and link it to custom entity , using JavaScript.
  • Creating Custom ListView In Xamarin Android AppMar 09, 2017. This article helps you to create custom ListView in Xamarin Android app.
  • Attribute Based Routing In ASP.NET Web API And MVC 4Mar 09, 2017. In this article, we will learn how to implement Attribute Routing in WebAPI 1.
  • AngularJS 2.0 From Beginning - Dynamic Grid (Day 10)Mar 02, 2017. In this article, we will discuss how to create custom structural components in Angular 2.0.
  • Create Custom ListView In Xamarin With Visual Studio 2015Feb 21, 2017. In this article, we will learn how to create, show custom ListView, and write Itemclick event of ListView in Xamarin with Visual Studio 2015.
  • ASP.NET MVC Ajax.BeginForm AjaxOptions OnSuccess, OnFailureFeb 21, 2017. ASP.NET MVC Ajax.BeginForm AjaxOptions custom arguments for OnSuccess, OnFailure.
  • Dapper CRUD Win Forms - Part OneFeb 20, 2017. Database management is often a performance bottleneck in many applications. I am currently developing custom modules for Dynamics GP 2013 and I have found Dapper. It is a simple and powerful solution for my needs. I hope it works for you too.
  • How To Create Lookup Table And Append To New Custom Field In SharePoint OnlineFeb 20, 2017. In this article, you will learn how to create lookup table and append to new custom field in SharePoint Online.
  • Custom Action Methods In ASP.NET Web APIFeb 10, 2017. In this article, you will learn about Custom Action Methods in ASP.NET Web API.
  • Control Validation And User Custom Validation Setting In ASP.NET MVC 4.0Feb 09, 2017. In this article, you will learn about control validation and user custom validation setting in ASP.NET MVC 4.0.
  • Adding Custom Properties To SPFx Web Part Properties Pane - Part TwoFeb 05, 2017. In this article, you will learn how to define and add custom properties to SPFx Web part properties pane.
  • Overview Of AngularJS Custom DirectivesFeb 03, 2017. In this article, you will learn about AngularJS Custom Directives.
  • Adding Custom Properties To SPFx Web Part Properties Pane - Part OneFeb 02, 2017. In this article, you will learn the basics of creating a custom pane property definition file. This helps with adding custom properties to SPFx web part properties pane.
  • Design Custom App Using Dynamics 365Feb 01, 2017. This article is about the Dynamics 365 app designer.

About Custom-Attributes

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!