C# Corner

Resources  
  • Dynamic Objects And Alternatives To ReflectionApr 08, 2018. The CodexMicroORM open source project on GitHub includes several features to help you create fast, concise .NET deliverables. One such feature is implemented in the Performance.cs file and enables dynamic (i.e. run-time) access to properties of any object – faster than what you’d get out of System.Reflection.Type. CodexMicroORM leverages this feature in several places, one being the ability to build composite objects: your existing “POCO” (plain-old C# objects), with additional optional extended properties.
  • DatePicker Placeholder And Border Style Using CustomRendererApr 05, 2018. In Xamarin.Forms, there is no Placeholder, BorderRadius, BorderColor, or BorderWidth for DatePicker Control. So in this article, we can learn how to set those properties for DatePicker using CustomRenderer.
  • Indexing In-Memory Collections For Blazing Fast AccessApr 01, 2018. The CodexMicroORM open source project on GitHub hosts a few useful .NET goodies that can help you write concise code with great performance. In this article I’ll cover a collection type that supports multi-property indexing and as such, performs very well with equality lookups.
  • Ref And Out KeyWords - Two Separated TwinsMar 26, 2018. In this article, I am going to explain the concepts of some useful keywords like Ref & Out parameters. These keywords are used along with the data to be passed to a function as parameter. Below I will explain a brief explanation about each of these keywords with an example.
  • URL Module In Node.jsMar 23, 2018. URL Module in node.js provides functionality for URL utilities and parsing for the same. By using these many properties you can perform plenty of operations with you nodejs application specific to URL.
  • Use INotifyPropertyChanged Interface In WPF MVVMMar 20, 2018. INotifyPropertyChanged is an interface member in System.ComponentModel Namespace. This interface is used to notify the Control that property value has changed.
  • Getting User Properties From Office 365 Using Microsoft Graph APIMar 17, 2018. In this article, I have explained how to retrieve user properties from Office 365 using Microsoft Graph API
  • Hide And Group Columns In SSRS Using A ParameterMar 16, 2018. Ever had users come to you and request another version of a report just to add another field and group data differently? Today, was such the day for me. I really don’t like having multiple versions of the same report out there. So, I got a little fancy with the current version of the report and added a parameter then used expressions to group the data differently and hide columns. For those new to SSRS I've embedded some links to MSDN to help you along the way.
  • SharePoint Custom Search ScriptMar 14, 2018. This article will explain the PowerShell script searches for files within Document libraries in SharePoint (farm level, site collection level, web level etc.) based on the search parameters you provide. It can also be used for searching in SharePoint for any files with the specified extension. The results are returned in a .CSV format.
  • Shadow Properties In Entity Framework CoreMar 10, 2018. Entity framework core added many new features that are already present in older entity framework versions. One of the features of Entity framework core is "Shadow Properties". The feature "Shadow Properties" was originally introduced in EF 7.
  • Entity Framework Core Feature - Global Query FiltersMar 02, 2018. This feature is also refer as Model-level query filters. It allows to specify filter in the model level that are automatically applied to all queries that executed on the context on the specified type. It means that entity framework automatically adds the filter in where clause before executing the LINQ queries. Usually Global query filters are applied in OnModelCreating method of context. This filters are also automatically applied to LINQ queries involving the entity types referenced indirectly like included as navigation property.
  • Execute SQL Server Stored Procedure With User Parameter In Power BIFeb 28, 2018. Sometimes there is a situation in which we need to get data by consuming SQL Server stored procedure. SQL Server stored procedure has parameters which we need to pass dynamically. Power BI provides a functionality to execute Stored Procedure using Managed Parameters. During this article we will talk about, • How to create Manage Parameter • How to pass manage parameter to a Stored Procedure • Invoke Query Result and load data to Power BI Desktop
  • What Does This Little Check Box DoFeb 21, 2018. Ever wander around SQL Server properties and wonder what these little check boxes turn on? I do, and I get very tempted to check them. Here is one of those tempting little boxes that seems pretty handy. Use query governor to prevent long running queries.
  • Properties Of Object.prototype In JavaScriptFeb 05, 2018. Object.prototype is used to inherit properties and methods to the Constructor method, it may be overridden. We can use any constructor to create the object of another type with the help of Object.create() method and assign to the new constructor prototype.
  • View Customization With JavaScript In Dynamics 365Jan 24, 2018. You need to write a JS function with 2 parameters, when you’ll add it to view, first parameters will recieve rowData(value with metadata shown below for one cell) and userLCID(i.e. language code fof current user). Based on those 2 inputs you can decide what icon to show. And name of this function goes in Function Name: field in View’s property.
  • JavaScript Powerful Property DescriptorsJan 21, 2018. We developers assume that an object’s property is only a container that can be assigned a name and a value. In actuality though, JavaScript gives us a series of powerful property descriptors that further shape how the property behaves. To demonstrate this, let's create a JavaScript object by using object literal.
  • New Parameter, Transpose, Reverse Rows And Extract In Power BIJan 20, 2018. In this article, you will learn about the New Parameter – What If in Power BI. You will also learn about the Transpose, Reverse Rows and Extract in Power BI.
  • Expression Bodied Members In C#Jan 18, 2018. What is Expression Bodied Members?1) Expression Bodied member is introduced in C#6.0 and enhanced in C#7.0. 2) Expression Bodied is a new technique or implementation to make code concise and readable. 3) Expression Bodied makes the type member(Constructor, Destructor, Methods, Property, Indexer) defined in a single expression. 4) Expression Bodied members can only be applied to the below list of type members: Constructor introduced in C#7.0 Destructor introduced in C#7.0 Property get accessor introduced in C#6.0 Property set accessor introduced in C#7.0 Methods introduced in C#6.0 Indexer introduced in C#7.0 The Syntax of expression body definition is:member => expression; where expression should be a valid expression and member can be any from above list of type members.Suppose we have a method or constructor that contain a single expression or line of code. Then In spite of using the traditional way to write code inside a method or constructor code block, we can write them as a single syntax. Those members who can follow this approach is known as Expression Bodied Members.
  • C# 7.2 - "In" Parameter Method Overloading TiebreakerJan 14, 2018. This article explains the “in” parameter method overloading with Visual Studio 2017 Version 15.6. Preview 2.
  • Google Chart With ASP.NET Core And Visual Studio CodeJan 13, 2018. The Google Chart API lets you dynamically generate charts with a URL string and embed these charts on a web page, or download the image for local or offline use. The Google Chart Tools enable adding live charts to any web page. They provide advantages such as a rich gallery of visualizations provided as image charts and interactive charts and they can read live data from a variety of data sources. Users embed the data and formatting parameters in an HTTP request, and Google returns a PNG image of the chart. Many types of chart are supported, and by making the request into an image tag the chart can be included in a web page.
  • Welcome To CSS / CSS3 Tutorial Series - Part OneJan 03, 2018. In this series you will learn about property-wise.
  • List Of Items In Query String From JavaScript And Fetch It In Code Behind In ASP.NETJan 02, 2018. When there is a situation where we have to pass more parameters and it exceeds browser character limit we can consider using JSON Array.
  • Some Useful JavaScript Methods, Variable And Objects In Sharepoint 2013Dec 21, 2017. In my previous blog, I explored _spPageContextInfo variable properties. This time, I am exploring some SharePoint-provided useful methods and objects in JavaScript.
  • Partitioning In Azure Cosmos DBDec 18, 2017. This article gives an overview of partitioning in Azure Cosmos DB. The partition key is the JSON property (or path) within your documents that can be used by Cosmos DB to distribute data among multiple partitions.
  • Special Class Of C# Series - Part Two - OLE DB (Extended Properties)Dec 14, 2017. In this series of C# Special classes, we are going to see the special features available with the “OleDbConnection” class and its specialties.
  • Sorting In ASP.NET Core 2.0 Web APIDec 12, 2017. Sorting information is usually received via query parameters. The POCO SortingParams simply hold this information and passes to service (or repository).
  • C# 7.2 - In Parameter And PerformanceDec 12, 2017. In C# 7.2, “in parameter” has been introduced which allows passing read-only reference of a variable.
  • Paging In ASP.NET Core 2.0 Web APIDec 11, 2017. Paging information; i.e., page number and page size, is usually received via query parameters. The POCO PagingParams simply holds this information and passes it to service (or repository).
  • Filtering In ASP.NET Core 2.0 Web APIDec 10, 2017. Filtering information is usually received via query parameters. The POCO FilteringParamssimply hold this information and passes to service (or repository).
  • Angular 5 Property - Event BindingsDec 02, 2017. Binding is the process which forms the connection between the application UI and the data which comes from the business logic. In Angular it can be called the automatic synchronization of the data and the view.
  • Functions In KotlinDec 01, 2017. Function is a set of code which may take some parameters, perform an operation on it, and then may return a value.
  • Comparing Objects In C#Nov 29, 2017. In this article, we are going to compare two objects of the same class having collection property or multiple collection properties.
  • 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) .
  • Perfect Scrollbar Performance Improvement In AngularNov 18, 2017. Here the idea is not to override the existing behavior of the perfect-scrollbar, definitely it should be an optional choice. I mean, it should work in such a way that; if we set the property to "true" then lazy loading should enable and if we set it to false then perfect-scrollbar should work as as a default one.
  • Create App Using Xamarin.Android Using C# - Part FourNov 17, 2017. Xamarin.Android has native user interface controls. These controls can be easily added to Xamarin.Android apps using the Android Designer or programatically via XML layout files. Xamarin.Android exposes all of the user interface object properties and methods in C#.
  • What Is Struct And When To Use Struct In C#Nov 15, 2017. 'Struct' keyword is used to create a structure. A structure can contain variables, methods, static constructor, parameterized constructor, operators, indexers, events, and property. A structure can not derive/inherit from any structure or class. A structure can implement any number of interfaces. Structures provide better performance.
  • Passing Parameters To Middleware In ASP.NET Core 2.0Nov 15, 2017. I discussed in an earlier post that it is good practice to define middleware in a separate class and add to the pipeline using extension methods. We may also need to pass information to our middleware classes though and I’ve come across two patterns for this when digging into ASP.NET Core source code and other samples online.
  • Xamarin.Forms - Create A Login Page (MVVM)Nov 14, 2017. In this code we created the followings properties: Email, Password and the command SubmitCommand() that we will use in the Login command button in the Login page. We use the ICommand interface that allows defining and implementing a command what we call commanding.
  • Using Optional Query Parameters With Microsoft Graph API - Part TwoNov 14, 2017. When you fire an API call to MS Graph, it will return the JSON result with all the properties. You may not need all the properties of a result set always. When you want MS Graph API to return only certain properties, then use $select parameter to specify which properties you want in result set.
  • Using Objects Comparer To Compare Complex Objects In C#Nov 07, 2017. Objects Comparer framework provides a mechanism to compare complex objects, and allows us to override comparison rules for specific properties and types.
  • Retrieve User Profile Properties Using SPFx And PnP JS In SharePoint OnlineNov 05, 2017. SharePoint Framework is the new development model in which a lot of work has been going on since it went to General Availability on Feb 23, 2017. It is a page and web part model that provides full support for client-side SharePoint development, easy integration with SharePoint data and support for open source tooling. With the SharePoint Framework, you can use modern web technologies and tools in your preferred development environment to build productive experiences and apps in SharePoint.
  • 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.
  • Getting Started With Receipt Card Design Using Microsoft Bot FrameworkOct 29, 2017. The Bot Framework supports different type of rich cards and provides a richer interaction experience to the user. In this article, I will show how to integrate Receipt card UI design in a Bot Application. If you are developing a shopping card Bot chat application; receipt card is very important. Receipt card class has property as a list of items, total, tax, vat, title and image. We can re-use all receipt card properties and add tab action event for navigating to original invoice website.
  • Angular Pipes With ExamplesOct 29, 2017. The first parameter 'USD' is currency type which can be of INR, USD or any currency type in the world. The Second parameter 'true' is a Boolean indicating whether to display currency symbol or not .By default it is false and, if we change it to true then the symbol will be displayed.
  • 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.
  • 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.
  • Learn Universal Windows Programming Via Modern C++ (AutoSuggestBox Control)Oct 19, 2017. In this article we'll learn how to implement AutoSuggestBox and some of the important events and properties.
  • Different Operation On SharePoint People PickerOct 14, 2017. I developed this POC, which often proves helpful to deal with investigating user properties
  • Using Optional Query Parameters With Microsoft Graph API - Part OneOct 12, 2017. While Microsoft already has all the documentation to cover all its technology, in this article I will try to explain these ODATA query parameters with some different angles and usage scenarios. I’m sure you will enjoy reading this article and learn something new.
  • Angular Components (With Examples)Oct 12, 2017. A Component is nothing but a simple typescript class, where you can create your own methods and properties as per your requirement which is used to bind with an UI (html or cshtml page) of our application.
  • Default(T) In GenericsSep 27, 2017. Default represents default value of T parameter in generics intructions. In several cases, the default keyword is an absolute unknown and we think it’s unnecessary or its functionality is null. There are many development moments with the generics classes where the default keyword can be useful.
  • 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.
  • Learn About Properties In JavaScriptAug 28, 2017. JavaScript is an object oriented programming language and encapsulation is a pillar of object oriented programming language. Properties help us to encapsulate. Properties help us to control what is assigned and return to and from the public field.
  • Page Linking Tags And URL Parameters In Ruby On RailsAug 22, 2017. In this article will learn about creating HTML and ERB page linking tags and how to create URL parameters in Ruby on Rails templates.
  • Normal Equation Implementation From Scratch In PythonAug 19, 2017. Normal equation is a more closed-form solution of figuring out the value of a parameter that minimizes the cost function. It's called closed-form solution in the sense that it gives the result directly though the equation.
  • 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.
  • Learn Universal Windows Programming Via Modern C++ (Button Control)Aug 10, 2017. Button control allows the user to click to perform actions, there are mainly two properties, content and click event. Content properties are used to the set the caption of the Button and click event is used to trigger the event.
  • 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.
  • Learn About Angular Bindings - Part TwoJul 30, 2017. This article demonstrates how to configure various types of Binding in Angular. This article starts with Event Databinding. After that, it demonstrates Two-Way Binding, Event Emitter, Input and Output properties with a source-code explanation.In the end, the article discusses ngModel. Kindly refer to my old article Angular Bindings Part One to understand other bindings Interpolation and Property Binding.
  • ASP.NET MVC Model Validations Using Data AnnotationsJul 27, 2017. In this article, I will explain how to implement model validations using data annotations in asp.net mvc. In asp.net mvc we can easily implement validation by using Data Annotation properties.
  • Component In Angular 2 and How to Create Nested Component in Angular 2Jul 25, 2017. In this article, we will learn about Angular 2 components and we will also see how to create a nested component.
  • Get User Profile Properties Data in SharePoint Designer 2013 WorkflowJul 18, 2017. Workflows helps SharePoint users to collaborate on documents, list items and to manage tasks by implementing business processes on documents and list items. Creating and assigning tasks to Manager is a very common scenario in workflows. All the user related information is stored in User profile service application (UPA). Although this sounds very straightforward, getting the user profile properties of the logged in user is very tricky in SPD 2013 workflow.
  • 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.
  • Arithmetic Operation In ASP.NET MVCJul 16, 2017. In action result method I passed one string parameter named command and using this command I assigned some arithmetic operation string value and based on that the operation will be performed.
  • Using PowerApps - Authoring Made Simple And PowerfulJul 16, 2017. I am glad to bring you up with the latest change in the PowerApps Studio, in the latest version (2.0.660), the enhanced capabilities are showed and discussed in this article, PowerApps Studio had changes in the Properties Panel, Viewing data with the edit form, global variables, and the reset function.
  • React Tutorials - Day Five - RouterJul 10, 2017. Today we learn about the routing in React, we learn how to setup routing configuration and also learn how routes work in React. If we want to create a single page application then we need the routing to redirect from one page to another and read the route parameters. To perform the routing in React we should have to install the “react-router-dom” packages.
  • Working With Objects In Windows PowerShellJun 27, 2017. Everything in PowerShell is an Object. An Object is a programmatic representation of anything. Each object has properties and methods.
  • SPFx Property Pane Configuration OptionsJun 19, 2017. Let us see the options available for SharePoint framework web part property pane configurations.
  • Render SPFx Properties Pane Based On List DataJun 18, 2017. Let us see how to render the SharePoint Framework web part properties pane dynamically using SharePoint list data.
  • Dynamics CRM - Passing Dynamic Value As Parameter To Web Resource From Entity FormMay 19, 2017. This article describes about passing the dynamic values to the Web resource function as a parameter.
  • Handle Transient Data With Application Properties In Xamarin.FormsMay 19, 2017. Handle Transient Data With Application Properties In Xamarin.Forms.
  • SharePoint On Premises 2013, 2016/ SharePoint Online JSOM - _spPageContextInfo Object In Different Environment / VersionsMay 13, 2017. In this article I’ll show properties of _spPageContextInfo in different versions of SharePoint (2013 on premises, 2016 on premises) and in SharePoint online. You might be wondering why there is a need for this, but let me explain.
  • Simplifying MVVM INotifyPropertyChanged On Xamarin.FormsMay 12, 2017. The goal is simplifying MVVM INotifyPropertyChanged in Xamarin Forms therefore making it unnecessary to keep inheriting base classes and handling the setter of each ViewModel Property.
  • How To Use And Bind Chart Control In ASP.NET With XML DataMay 07, 2017. In this tutorial, I will show you how to use and bind Chart Control and its relevant properties in ASP.NET, using C# with XML data source.
  • WPF - Command LineApr 14, 2017. Command line argument is a mechanism, where a user can pass a set of parameters or the values to a WPF Application when it is executed.
  • Out Parameter In C# 7Apr 10, 2017. An overview of Out Parameter In C# 7.
  • Making Method Parameters Optional In C#Apr 06, 2017. In this article, you will learn about how to make method parameters optional in C#.
  • Implementing Common Audit Fields With EF Core’s Shadow PropertyMar 20, 2017. Implementing Common Audit Fields with EF Core’s Shadow Property.
  • AngularJS 2.0 From The Beginning - Route Part Two - Day FourteenMar 10, 2017. In this article, we will discuss about how to pass parameters using routes and also nested routes.
  • Creating User Property Programmatically Using JSOM In SharePoint/ O365Mar 07, 2017. In this article, you will learn how to create user property programmatically, using JSOM in SharePoint/ O365.
  • Creating A New User Property Programmatically In SharePoint /O365 using CSOMMar 04, 2017. In this article, learn creating a new User property programmatically In SharePoint/O365 using CSOM.
  • O365 User Profile Property Creation And Manage User Properties In SharePoint OnlineFeb 17, 2017. This article demonstrates how to create and use a user property in SharePoint Online (O365).
  • Model Class Validation Testing Using NunitFeb 15, 2017. In this article, we are going to learn about validating a Model class property that has data annotation, using Nunit.
  • 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.
  • 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.
  • Adding Slider Property To SPFX Web Part Properties PaneJan 27, 2017. In this article, you will learn how to add slider property to SharePoint Framework Web part properties pane.
  • Implement Client Caching For SharePoint PropertiesJan 27, 2017. In this article, we will explore HTML5 Local Storage API, using which, the Web Applications can store data locally in the user’s browser.
  • Working With Cascading Dropdowns In SPFx Webpart PropetiesJan 12, 2017. In this article, you will learn how to populate cascading dropdown options in SharePoint Framework (SPFx) web part properties pane.
  • Get Data From Multiple Tables Using Parameters While Combining LINQ ExpressionsJan 11, 2017. In this article, you will learn how to get data from mutliple tables using parameters when combining LINQ expressions in ASP.NET MVC 5.
  • Customizing SharePoint Framework Web Part Properties - Part FiveJan 08, 2017. In this article, you will learn how to bind the values dynamically to the dropdown field of the SharePoint framework web part properties pane.
  • Customizing SharePoint Framework Web Part Properties - Part FourJan 07, 2017. In this article, you will learn how to add the dropdown fields to SharePoint Framework Web part properties pane.
  • Remove Duplicate Filter Values From SSRS Parameter Drop-DownJan 06, 2017. In this article, you will learn how to remove duplicate filter values from SSRS parameter drop-down.
  • Customizing SharePoint Framework Web Part Properties - Part ThreeJan 04, 2017. In this article, you will learn how to add multiple pages to the properties pane of SharePoint Framework web part.
  • AngularJS 2.0 From The Beginning - Output Property Binding - Day FiveJan 03, 2017. In this article, you will learn about the output property binding process in AngularJS 2.0.
  • Stored Procedure With Output Parameters In LINQ To SQL And What SQLMetal IsJan 02, 2017. In this article, you will learn how to call a stored procedure with output parameters using LINQ to SQL.
  • Customizing SharePoint Framework Web Part Properties - Part TwoDec 30, 2016. In this article, you will learn how to add custom properties to the SharePoint Framework web part. Check box properties are considered here.
  • Customizing SharePoint Framework Web Part Properties - Part OneDec 27, 2016. In this article you will learn about custom web part properties. The custom web part properties can be added to the SharePoint framework web part.
  • Invoking WebAPI Controller Action With Multiple Parameters In CORS Enabled Web ApplicationDec 08, 2016. In this article, you will learn how to invoke WebAPI Controller Action with Multiple Parameters in CORS Enabled Web Application.
  • Practical Approach To ASP.NET Web Services - Part Four - Web Method Attribute PropertiesDec 06, 2016. In this article, you will learn about Web Method Attribute Properties in ASP.NET Web Services.
  • MIM 2016 With SharePoint 2016 User Profile Service - Import Custom Property From Active DirectoryNov 29, 2016. In this article, you will learn how to import Custom property from Active Directory.

About parameter-property

NA
Hire a remote developer
Looking to add more bandwidth to your software team? Web Developers, designers, testers are now available on demand. Flexible hours, very competitive rates, expert team and High Quality work.
X

Build smarter apps with Machine Learning, Bots, Cognitive Services - Start free.

Start Learning Now