C# Corner

Resources  
  • How To Schedule Timer-Based Callbacks With ExampleNov 16, 2017. In this article, we will look at how the JavaScript timer functions - settimeout, setinterval, and Cleartimeout -- are used to schedule and cancel timer-based Callbacks, with a simple example of stopwatch program.
  • Everything You Want To Know About SharePoint 2016Nov 15, 2017. The new kid in town. Well, I hope you won’t mind when I say that SharePoint 2016 is the new kid in town considering the fact that it has been more than a year since Microsoft has released SharePoint Server 2016 and it has also announced the release of SharePoint Server 2019 a month back at Ignite Conference. However, there’s reason for me to still call SharePoint 2016 as the new kid in town because it still remains to be a cutting-edge platform for many SharePoint professionals out there and I’ve seen many organizations actively working on adapting SharePoint Server 2016 as the modern collaboration platform for their IT workspace.
  • 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.
  • 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.
  • 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.
  • Alphabets to Numbers Translator For Calling In Xamarin.AndroidNov 07, 2017. In this article, we will learn how to build Call Translator App for Xamarin Android. This is a simple app for learning some basics for beginners and you can also create it in Android Studio but I like to make it in Visual Studio, therefore I developed it in Xamarin.
  • Disabling Controls During AJAX CallsNov 06, 2017. In this article I will explain how to disable controls when an Ajax call is ongoing. This will prevent users from making more than 1 click on controls.
  • Learn Universal Windows Programming Via Modern C++ (DispatcherTimer)Nov 01, 2017. DispatcherTimer is a timer control, that is integrated into the Dispatcher queue, Timer event is called in a specific timer interval, the main advantage DispatcherTimer, it can run the code on the same UI thread.
  • Event Capturing And Bubbling In JavaScriptOct 25, 2017. The DOM has two approaches for object to sense events: first is top down approach and second is bottom up approach. Top down approach is called event capture whereas bottom up is known as event bubbling.
  • Swift Programming - Zero To Hero - Part SevenOct 19, 2017. This is Part Seven of the "Zero to Hero" Series. In this article we will learn about Functions and Tuples.
  • 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.
  • Delete A SharePoint Subsite By Using Angular And Rest APIOct 14, 2017. In this article I am going to explain how to delete a subsite programmatically using Angular js and rest API call.
  • Create A Subsite By Selecting A Template Using AngularOct 11, 2017. In this article, I am going to explain how to create a subsite programmatically based on a selected template using AngularJS and REST API call.
  • Introduction To Document DB In AzureOct 10, 2017. In this article, we will see how to create Azure Document Db which we also call Azure Cosmos Db.
  • Create Simple Azure FunctionOct 07, 2017. Azure functions allow up to run the code in a server-less manner. That means we do not have to create the VM to host the running code nor do we have to create a web application and publish code to web applications to run continuously.
  • Migrate SharePoint On-Premises Content To SharePoint Online Using SPO APIOct 02, 2017. Below is the step by step SharePoint Online PowerShell cmdlets to migrate the content. It requires minimal CSOM (Client object model) call to avoid the threshold. It leverages a temporary Azure Blob Storage container to hold the content and Azure Queue, which schedule parallel jobs.
  • Get Started With Cortana DevelopmentSep 29, 2017. Cortana is Microsoft's AI assistant built-in to Windows 10 devices. Cortana now will also be available via speaker. C# and .NET developers can start building Cortana skills using Visual Studio 2017. Cortana can use your bots, connect with services, work with websites, and even be used to build standalone apps, similar to Alexa. Cortana standalone apps are called Cortana Skills.
  • Understanding And Controlling The Windows Mixer APISep 27, 2017. This tutorial is going to be a three part introduction to playing and recording audio files using winmm.dll (a WinAPI). This first part is about understanding, opening and controlling windows mixers. The other tutorials will be about recording and playing audio .wav files. We will not be working with .mp3 (you can see the documentation to understand those functions.)
  • CRUD Operations In MVC Using Entity Framework With AJAX Call, jQuery, And All ValidationsSep 19, 2017. This article describes how to perform basic CRUD operations in an Asp.Net MVC application using Entity Framework with Ajax call and j query. with using Datatable Grid ,Toaster messagebox and also Bootstrap css.
  • If I Ran A Software Company - Part OneSep 17, 2017. I am sure most developers wished they could run a software company or development team in the hopes to do it better. I am one of these developers. I have lead teams before and even was Director of Development for a short time at Proflowers.com. But, I have never run a software company, except for my own consulting company called NicheWare that I started in the 90’s that only has one employee… me!
  • How To Create A Calling Application In Android Using Android StudioSep 12, 2017. Android is one of the most popular operating systems for mobile. In this article, I will show you how to create a Calling Application in Android Using Android Studio.
  • ASP.NET Core 2.0 EnvironmentsSep 12, 2017. Starting from an empty project, discussed in a previous post, modify the Configure() method to use the IHostingEnvironment to call different middleware based on current environment.
  • Find Out Creation And Modification Date Of Database Objects Like Tables And Stored ProceduresSep 07, 2017. Database Object refers to Table, Stored procedure, View, Function etc.; in other words, all the elements that are created for data storage and manipulation.
  • ASP.NET Core 2.0 MiddlewareSep 06, 2017. Create a Hello World app using ASP.NET Core Middleware. Middleware components are called in the order they appear in Configure() method; i.e., the order in which they're added to the pipeline. The response, on its way back to the client, also passes through the same middleware pipeline.
  • New String Function In SQL Server 2017Sep 06, 2017. It requires one separator argument and a minimum of two arguments otherwise it raises an error. All the arguments are implicitly converted to string types and then they are concatenated.
  • Platform Mobile Analytics Tools For Efficient App ManagementSep 04, 2017. Analytics is crucial for an effective app management. Modern app analytics tools let you know whether your app is functioning as it should or there is a need for upgrading. Nowadays, the selection of these tools is impressive. The choice of the right tool helps not only speed up your return on investment for, let’s say, the cost of outsourcing app development or any other development expenses but also arrange future business outgoings.
  • What Is The Internet Of Things And How Will It Change The WorldAug 31, 2017. It’s already been called the “next Industrial Revolution," with projections that are through the roof and growth rates that are overwhelming, plus forecasts that show revenues exceeding $470 billion for IoT vendors by the year 2020.
  • Async Validation In WPFAug 31, 2017. Quite often validation requires web requests, database calls or some other kind of actions which require significant amount of time. In this case, UI should be responsible during the validation, but saving/submitting data should be disabled until validations completion.
  • More Details About Razor Pages In ASP.NET Core 2.0Aug 27, 2017. I built a simple web app to show you the new feature named Razor Pages in ASP.NET Core 2.0 . However it doesn't contain some useful and basic functions. So I decided to write one more article to show more details of Razor Pages.
  • Round Image In Xamarin.FormsAug 25, 2017. In this article we are going to display a rounded image in Xamarin forms PCL application. In Xamarin forms there is no default function available to make an image round. So, we need a plug-in for this.
  • Accessing Microsoft Graph Data Using Azure AD Authentications From SPFxAug 24, 2017. Let us see how to call Microsoft cloud data using Azure Active Directory authentications from SharePoint framework components.
  • Remove U+200B (Zero-Width Space) In RichTextHTML Field SharePointAug 22, 2017. In this article, we will explore how to resolve the error that arrives while implementing the validation to enhanced/rich text box of SharePoint 2013 using jQuery. We will call this error the “Zero-width space” issue.
  • 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
  • Getting Started With Microsoft Azure Machine Learning - Part OneAug 19, 2017. It’s a data modeling environment from which we can get an end-to-end approach to a problem to an answer. Use Azure Machine Learning to deploy your model into production as a web service in minutes—a web service that can be called from any device, anywhere and that can use any data source.
  • 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.
  • Swift Programming - Zero To Hero - Part ThreeAug 17, 2017. Statements are the building blocks of any program. We can perform any function with the help of statements, such as checking values or declaring variables, calling methods, or even creating objects.
  • Invoking AWS Lambda Function Using AWS API GatewayAug 17, 2017. In this article we will learn how Lambda function can be invoked through AWS API Gateway.
  • 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.
  • Resources In Xamarin.AndroidAug 17, 2017. When a new Android project is created, there are some files that are added to the project, by default. We call these default project files and folders as Android Resources.
  • 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.
  • Consuming Restful Services In Xamarin.Forms - Part TwoAug 14, 2017. In the first part, we called a fake RESTFul service, got some data from the service, and displayed it in a list view. Now in this article, we will continue where we left and add, delete some data which we displayed in previous part.
  • Learn Universal Windows Programming Via Modern C++ (Stackpanel)Aug 11, 2017. Stackpanel has holding one are more controls into panel, inside panel controls are called as child controls, the child controls can be arranged into the horizontal (left to right) or vertical stack (top to bottom), We can add all the itemcontrols into the stackpanel like textbox, button, combobox.
  • Who Is An Enterprise ArchitectAug 10, 2017. Earlier, I wrote two posts on the basics of EA, but in this post, I am taking a step back and trying to explain the difference between an IT Architecture and an Enterprise Architecture and sequentially I will explain the difference between a Solution provider (often called as solutioner) and an Architect.
  • Getting Started With Azure Functions Using Azure Free Trial AccountAug 09, 2017. Azure Functions is a solution for easily running small pieces of code in the cloud. Azure Functions let you develop serverless applications on Microsoft Azure. In this article, you will learn how to create Azure Functions without creating an Azure account.
  • Passing Data To AWS Lambda Function And Invoking It Using AWS CLIAug 09, 2017. In previous article, we learnt about AWS lambda structure and how a lambda function can be invoked. Before we go further, there are couple of things which are very important to consider while doing local development and production deployment.
  • Introduction To Sweet Alert Library In ASP.NET MVC RazorAug 08, 2017. Sweet Alert is a library that acts as a replacement for the JavaScript’s alert() function. This shows very pretty model windows. It’s a library that has no dependencies, and is made from a JavaScript file plus a CSS file.
  • Dependency Injection - Part One -Tightly Coupled ApplicationAug 07, 2017. It is a best practice to use interfaces instead of concrete classes. These interfaces can then be mocked at the time of unit testing, which will prevent any call to the actual database. Also, it is a good practice to stop "newing-up" objects in classes.
  • Learn Universal Windows Programming Via Modern C++Aug 06, 2017. Universal Windows programs have developed based on the Windows Runtime (WinRT) technology, Windows Runtime (hereafter called WinRT) and runs based on the COM API, but is not designed to be directly used, instead using a “language projections” concept
  • What Is Bitcoin CashAug 03, 2017. Yesterday, Crypto currency industry got a surprise when some of the Bitcoin industry leaders announced a new crypto currency forked off original Bitcoin, called Bitcoin Cash.
  • SharePoint REST Calls With SPHttpClient Class In SPFx WebpartsJul 31, 2017. Let us look at the usage of sphttpclient in SPFx solutions for making REST calls.
  • Null Object Design PatternJul 29, 2017. A null object is also known as a Stub, an Active Nothing or an Active Null. It helps our program logic to get rid of null checks where ever possible. We all know, that we can not call methods on a null reference as it results in a NullReferenceException. The null object pattern provides a non-functional object in place of a null reference and therefore allows methods to be called on it.
  • API Testing With PostmanJul 27, 2017. Postman is a rest client with an API development suite with powerful features. Postman is a google chrome application for testing API calls which can also be used with the Developer Tools Utility to test these API calls and not have to worry about importing any files or setting up Authentication.
  • Basics Of BlockchainJul 27, 2017. Nowadays there is lot of buzz is going around with a technology called Blockchain. A lot of people are wondering 'what is it?' Meanwhile many of the industry giants have already invested in Blockchain start-ups. Banks and financial institutions are adopting this technology faster than expected.
  • Cache Headers For MVC File Action Result (ASP.NET Core 2.0 Preview 2)Jul 25, 2017. I’m pretty sure that you are familiar with StaticFiles middleware of the framework. All it does is serve static files (CSS, JavaScript, image, etc.) from a predefined/configurable file location (typically from inside the web root, i.e., wwwroot folder). But along the way, it also does some cache headers configuration. The reason behind this is you don’t want your server to be called up every time for a file that doesn’t change frequently. Let’s see how a request for a static file looks in the browser’s network tab.
  • Watchers, Digest Cycle And Dirty Check In AngularJSJul 20, 2017. As we all know, Angular is a Model-View-Whatever framework. Whatever means it could be scope object, controller etc. So when any change happens in the model the view automatically gets updated with the help of a loop i.e. called Digest Cycle in Angular JS.
  • What Is Three State Workflow In SharePoint 2013?Jul 18, 2017. Microsoft has already provided an Out Of Box feature Called Three State Workflow. Using Three State Workflow, we can track our list or library in three states . This is very useful when tracking issues, project tasks, leads, or other similar items.
  • 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.
  • Ghostable/UnGhostable Pages In SharePoint ArchitectureJul 12, 2017. In SharePoint all pages have two different states called "Ghostable" and "Unghostable". [Note - it is a state not type].
  • How To Query The Entities In Dynamics CRM From ADX Portal Using JQueryJul 11, 2017. It is difficult to get the Dynamics CRM Entities from ADX Portal using any Web API call, because that may require authorization token, client id and client secret etc. Also, you will not be able to get any client context or to use XRMServiceToolKit.
  • Quick start - Development Of Chat Bot Using Microsoft Bot Framework - For BeginnersJul 08, 2017. In solution explorer, you will see WebApiConfig.cs file, Controllers and Dialogs folders. 'MessageController' is inherited from 'System.Web.Http.ApiController'. Bot application is nothing but webapis which will be called from chat window to get response.
  • Enabling Multi-Process Support In Firefox 54 For Faster BrowsingJul 07, 2017. In this article we will see how to enable a new feature of Mozilla Firefox ,called Multiprocess, on your computer.
  • Go Serverless C# With Azure Functions Because Cost MattersJul 05, 2017. This article demystifies Azure Functions with its serverless mechanism and it will also explain how you can write down your PaaS code in cost-effective way.
  • Simulate SharePoint Online Timer Jobs Using Azure FunctionsJul 05, 2017. SharePoint Server provides native Timer Jobs that inherit SPJobDefinition class to run at regular intervals defined in the SPSchedule object. This way we can create solutions that have to be iteratively run to process logic at regular intervals. However, in case of SharePoint Online Native Timer Jobs cannot be used.
  • Angular 4 Authentication With Auth0Jul 04, 2017. In this post we will quickly walkthrough how to do an authentication in an angular 4 app with a third party authentication provider called Auth0.
  • ECMAScript5 Features - Strict Mode, JSON And MoreJun 28, 2017. Strict Mode is a new feature in ECMAScript 5 that allows you to place a program, or a function, in a “strict” operating context. This strict context prevents certain actions from being taken and throws more exceptions (generally providing the user with more information and a tapered-down coding experience).
  • Getting Started With Area In ASP.NET MVCJun 27, 2017. In Asp.Net mvc you can classify the working. Division of website section called Area. This was introduced in ASP.NET MVC 2 version. Each Area will have seperate Model,View and Controller, Web.Config file.
  • Understand The Power Of Windows PowerShell Pipeline ( | )Jun 26, 2017. Windows PowerShell pipeline allows us to join two or more statements with a pipe symbol, sometimes called the '|' bar key. This tells PowerShell that we want to take the output of one command and pass it as the input to the next command. Let’s look at simple example to better understand the power of pipeline in Windows PowerShell.
  • Creating A Function App And Integrating With Azure Logic AppsJun 24, 2017. In this article you will learn how to create A Function App And Integrate With Azure Logic Apps.
  • When To Perform A Search Full Crawl In SharePoint 2013Jun 24, 2017. Search is indeed a mission critical component in SharePoint 2013 and it’s very important that it functions properly so that you get the desired results. As we all know, the search results and their relevancy is directly proportional to how often your content sources are crawled and what sort of crawling you’re running in your SharePoint farm.
  • Building Apps With Polymer And ASP.NET CoreJun 23, 2017. I’M USING ASP.NET CORE WEB API TEMPLATE FOR CREATING A SERVER TO HOST THE PROJECT. IN THE NEXT PART OF THIS SERIES WE WILL SEE HOW TO MAKE APIS AND CALL THEM FROM THE CLIENT SIDE.
  • Writing Complex Queries Using LINQ And LambdaJun 22, 2017. I am writing this article based on request by some developers regarding how to write some complex queries using LINQ & Lambda expression which consist of joins / groupby / aggregate functions
  • Time Trigger Using Function AppJun 14, 2017. Time Trigger Using Function App.
  • Blob Storage Using Function AppJun 08, 2017. Blob Storage Using Function App.
  • Queue Storage With Function AppJun 06, 2017. Queue Storage With Function App.
  • Functions In Functional Programming Vs Procedural ProgrammingJun 01, 2017. In this article, I will show you what a basic function is and the concept of the function, as it is used in functional programming and how procedural (or imperative) languages might take them wrong.
  • Data Structures And Algorithms - Part Two - A Word About Big-O NotationMay 22, 2017. This article is an introduction to Big-O Notation, which is used to measure the running time of a function/ method.
  • REST Service Call With Angular 4May 20, 2017. This article will explain the concept of REST Service call in Angular 4.
  • 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.
  • Introduction To Azure FunctionsMay 17, 2017. Introduction To Azure Functions.
  • SharePoint Remote Timer Jobs With Azure Functions Using CSOMMay 17, 2017. In this article, you will see how to create SharePoint Online remote timer jobs with client side code using Azure functions.
  • Azure Web App Scaling - Part TwoMay 14, 2017. This a continuation of another article called Azure Web App Scaling - Part One. In this we are going to see how to enable auto scaling for the app
  • Azure Web AppsMay 05, 2017. The article given below will help beginners who want to get started with Azure Web apps, which will help with some concepts in how to create and deploy Azure Websites, which are now called Azure Web apps.
  • Local Functions In C# 7.0May 01, 2017. This article helps you to illustrate local functions in C#7.
  • Trigger Azure Function From Microsoft FlowApr 30, 2017. Trigger Azure Function from Microsoft Flow.
  • Accessing Office 365 / Microsoft Cloud Data on SharePoint Using Graph API – Part OneApr 26, 2017. In this article series, we'll look at accessing Office 365 and Microsoft Cloud Services data, using Graph REST API calls.
  • Commonly Used Built In String Functions In SQL ServerApr 25, 2017. This article illustrates commonly used built in string functions in SQL Server.
  • Create A Function App In Azure PortalApr 25, 2017. Create a Function app in an Azure portal.
  • Writing Our Own Memory Manager In C/C++Apr 21, 2017. In this article we will write our own memory manager by implementing our malloc function and memory management schemes such as FCFS, Paging, Segmentation etc., using C/C++.
  • 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.
  • RANK, DENSE_RANK And ROW_NUMBER Functions In SQL ServerApr 18, 2017. RANK, DENSE_RANK And ROW_NUMBER Functions In SQL Server.
  • Aggregate Function With LINQ In C#Apr 11, 2017. In this article, we going to see about how to use the aggregate function with LINQ.
  • Sequence Of JavaScript Function Loaded After The UI Has Been Loaded In SharePoint 2013Apr 06, 2017. Sequence Of JavaScript Function Loaded After The UI Has Been Loaded In SharePoint 2013.
  • Creating Phoneword Android Project Using Xamarin Android ApplicationApr 04, 2017. This application lets you to convert the alphabet into numbers and then the converted numbers can be called using Phone Dialer.
  • Azure Functions - Create Generic Webhook TriggerMar 26, 2017. This article briefs you on Azure functions – Create Generic Webhook Trigger.
  • Call Web API Using JQuery AJAX In ASP.NET Core Web ApplicationsMar 25, 2017. In this article, you will learn how to create a simple Web API and pass the data, and call the Web API using jQuery AJAX and parse into HTML in ASP.NET Web Application (.NET Core),
  • Azure Functions For SharePoint Operations Using PnP PowerShellMar 23, 2017. In this article, you will learn how to create Azure function apps for the SharePoint operations, using PnP PowerShell commands.
  • Write Serverless Functions Using AWS Lambda And C#Mar 22, 2017. Write Serverless Functions using AWS Lambda and C#.
  • Anonymous Methods And Lambda Expressions In C#Mar 22, 2017. In this article, you will learn about anonymous methods and lambda expressions in C#.NET.
  • Working With Local Functions In C# 7.0Mar 19, 2017. This article explains about the Local Functions introduced in C# 7.0 and demonstrates how to use it in software development.

About Function-Call

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!