C# Corner

Resources  
  • 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.
  • Sharing A Solution To Generate BillcodeOct 16, 2017. Many of systems we use will generate plenty of billcodes everyday , and most of them include date(datetime) or a prefix to show their signification , such as specifying a billcode belongs to a special day or a special type .
  • C# 7.0 And C# 7.1 New Features - Part TwoOct 16, 2017. This article explains the new features of C# 7.0 & C#7.1. It covers new features like Discards, Pattern Matching, Generalized async return types, Async Main (Main Method returning Task), Infer Tuple Element Names, Default Literal Expressions & Type Inference and Pattern Matching with Generics.
  • How To Display Message On LCD Using Serial Monitor Of ArdunioOct 14, 2017. In this article we are going to link hardware and software of Arduino with the LCD. We are going to display typed Message on LCD 16/2 Display using Serial Monitor.
  • User-Defined Types In SQL ServerOct 13, 2017. When we are working with any programming language, we create user defined types as per our requirement. It is a better idea to have this feature in the SQL server.
  • Getting Started With Adaptive Card Design Using Microsoft Bot FrameworkOct 12, 2017. The Bot Framework supports different types of rich cards and provides a richer interaction experience to the user. In this article, I will show how to integrate adaptive card UI design in a Bot Application. The Adaptive Card contain a combination of text, speech, images, buttons, and input controls.Adaptive Cards are created using the JSON format specified in the Adaptive Cards schema and Microsoft provided Microsoft.AdaptiveCards NuGet package for .Net Developer to building cards and handles the serialization.
  • ASP.NET Core 2.0 File ProvidersOct 11, 2017. ASP.NET Core provides an encapsulation of System.IO.File type in order to limit the access to file systems via PhysicalFileProvider type, which is an implementation of IFileProvider.
  • SharePoint 2010 - Creating External Content Types Using SharePoint DesignerOct 10, 2017. Before we get into this topic, I suggest you read about ECTs.
  • Getting Started With Hero Card Design Using Microsoft Bot FrameworkOct 10, 2017. The Bot Framework supports different types of rich cards and provides a richer interaction experience to the users. In this article, I will show how to integrate Hero Card UI design in a Bot application.
  • Getting Started With Thumbnail Card Design Using Microsoft Bot FrameworkOct 10, 2017. The Bot Framework supports different types of rich cards and provides a richer interaction experience to the users. In this article, I will show how to integrate Thumbnail card UI design in a Bot application.
  • Publishing ASP.NET Core 2 Angular 4 SPA Template Application Using .NET CLIOct 10, 2017. First, we need to create ASP.NET Core 2 Angular 4 SPA application using dotnet new angular, Type dotnet new angular command in command prompt, and this will create application and restore NuGet dependencies.
  • Direct Dependencies And EnumerationOct 09, 2017. In this post, we will be talking about the two most commonly used types of relationships, namely, direct dependency relationship and enumeration.
  • Sending Bot Reply Message With Attachment Using Bot FrameworkOct 07, 2017. The Bot Framework enables you to build bots that support different types of interactions with users. You can design conversations in your bot to be freeform. Your bot can also have more guided interactions where it provides the user choices or actions. The conversation can use simple text strings, the message with an attachment like the image, File (pdf, word, excel, ppt), mp3, Video or more complex rich cards.
  • 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.
  • .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.
  • How To Change User Language Settings In SharePointOct 04, 2017. In this article, I will discuss how to change language settings for a particular user using two ways. When you create a site , you also specify user language setting such as Time Zone, local display for numbers, dates, and time, sort order, calendar type, work week, and time format (12 or 24 hour) settings in both SharePoint On premise and Online.
  • Deploying A Windows Virtual Machine In The Azure PortalOct 04, 2017. Azure Virtual Machine (VM) is one of the several types of on-demand, scalable computing resources that Azure offers. Typically, you choose a VM when you need more control over the computing environment than the other choices offer. Let's see how to create an Azure VM from the portal.
  • 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.)
  • RatingBar Android App Using Android StudioSep 27, 2017. Android RatingBar can be used to get a rating from the user. The rating returns a floating-point number. It may be 2.0, 3.5, 4.0 etc. Android RatingBar displays the rating in stars. In this article, I will show you how to create RatingBar Android App using Android Studio.
  • SharePoint 2016/2013 - Event Log Monitoring By PowerShell AutomationSep 27, 2017. This article is based on the requirement I recently encountered where I was required to monitor a specific exception type and if it occurred the Admins needed to be notified at the same time.
  • Getting Started With Customizing A FormFlow Using Microsoft Bot FrameworkSep 25, 2017. The Bot Framework enables you to build bots that support different types of interactions with users. You can design conversations in your bot to be freeform. Your bot can also have more guided interactions where it provides the user choices or actions. The conversation can use simple text strings or more complex rich cards that contain text, images, and action buttons. And you can add natural language interactions, which let your users interact with your bots in a natural and expressive way.
  • Create SMS Android App Using Android StudioSep 21, 2017. In this article, I will show you how to create a pop up menu Android App using Android Studio. SMS stands for Short Message Service and is also commonly referred to as a "text message". With a SMS, you can send a message of up to 160 characters to another device. Longer messages will automatically be split up into several parts. Most cell phones support this type of text messaging.
  • Adding Check Box Functionality In An Android App Using Android StudioSep 21, 2017. In this article, I will show you how to create am Android app using Android Studio. Android Checkbox is a type of two state button, either checked or unchecked. There can be a lot of usage of checkboxes. For example, it can be used to know the hobby of the user, activate/deactivate the specific action etc.
  • Use Of Slicer In Power BI And Its Integration In SharePoint OnlineSep 17, 2017. Power BI is a Microsoft tool which provides many types of Visual Reports such as Clustered Column Chart, Clustered Bar Chart, Pie Chart,Donut Chart,Gauge,R script Visual, Tree map, Filled Map, Waterfall Chart, Scatter Chart, Slicer and many more. Among these I will be demonstrating a slicer which can be used to filter a tabular report and other reports.
  • Create Immutable Type In C#Sep 14, 2017. A public constructor that accepts initialization data is required so that the client can pass-in minimum state for the type to be valid. Private constructor, on the other hand, is used by methods to construct a new object and set its entire state.
  • ASP.NET Core 2.0 Static FilesSep 13, 2017. Static files can also be served from folders outside wwwroot by passing in StaticFileOptions to middleware and setting a FileProvider and RequestPath. This is useful when you want authorised access to files e.g. by returning FileResult action result from a secure controller.
  • 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.
  • Web API Token Based Authentication With Angular - Part OneSep 06, 2017. Authentication is a vital process in system programming. Authentication means verifying the user who is accessing the system. Today we are using modern devices that have different types of Apps or software and sometimes we directly access the website from browser. To access this application, we probably need to pass our credentials and these systems verify it. If you are valid user then it will allow accessing the system otherwise not.
  • 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.
  • How Should We Store Images And Blob Files In SQL ServerSep 06, 2017. There is always a requirement from developers: How should I store images and BLOB files in SQL Server ? In this post let's explore the data types and methods used for storing Binary Large Objects also know as BLOBs, such as images and sounds, into SQL Server.
  • Construct Readable XML Output From SQL Query From Two Or More Tables Using “For XML PATH” StatementSep 04, 2017. In my previous article I discussed about how to get a XML format output from query and process that by using XML AUTO statement, and I give different types of “for XML”.
  • 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.
  • Blocked File Types On Web Applications In SharePoint 2016 Central AdministrationAug 31, 2017. Here, you can define the file types that should be allowed or disallowed on SharePoint sites and collections. This configuration will apply globally on the complete farm.
  • Working With JSON In SQL Server 2016Aug 28, 2017. JSON (JavaScript Object Notation) is a lightweight data interchange format. It is language independent, easy to understand and self-describing. It is used as an alternative to XML. JSON is a very popular data interchange format nowadays. Most modern services return the data into the JSON text.
  • 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.
  • Getting Started With Dialog Using Microsoft Bot FrameworkAug 28, 2017. The Bot Framework enables you to build bots that support different types of interactions with users. You can design conversations in your bot to be freeform. Your bot can also have more guided interactions where it provides the user choices or actions. The conversation can use simple text strings or more complex rich cards that contain text, images, and action buttons. And you can add natural language interactions, which let your users interact with your bots in a natural and expressive way.
  • 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.
  • 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
  • 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.
  • 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.
  • 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.
  • 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.
  • Connecting Login Form In C# With Database For User Type AuthenticationAug 15, 2017. This article describes how to connect a Login Form designed in C# with a database so that the user gets validated based upon the password given by the administrator who has created the login database.
  • 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.
  • Boosting Up The Reflection Performance In C#Aug 10, 2017. Reflection is a way of obtaining metadata information about the types used in applications, which helps you describing the types, modules or assemblies at runtime. This is an extremely useful feature in the strongly-typed languages like C#.
  • Creating Login Form With Authentication For User Login Using C#Aug 09, 2017. This article describes how to create a login form and to validate user login with additional feature like changing pictures according to the type of user
  • 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.
  • 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.
  • 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.
  • Deploying An Ubuntu Server 16.04 LTS Virtual Machine Using Microsoft AzureAug 08, 2017. In computing, a Virtual Machine is an emulation of a computer system. Virtual machines are based on computer architectures and provide functionality of a physical computer. Their implementations may involve specialized hardware, software, or a combination. Azure Virtual Machine (VM) is one of several types of on-demand , scalable computing resources that Azure offers.
  • 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.
  • Implementing Equality In Value TypeAug 02, 2017. This post is to focus on implementing Equality in Value Types; i.e., overriding Equality behavior for our own implemented Value Types which is basically defining how to decide two object of a type are equal or not.
  • Logging API In ASP.NET Core - Day TwelveAug 01, 2017. In the previous article of this series, we discuss about the different types of configuration processing concepts within .net core application Now in this article, we will discuss how to implement logging in the Asp.Net Core application. Before starting the discussion about Asp.Net Core logging framework, we need to understand why it is required and also how to implement it in the previous version of .net framework.
  • Configuration API In ASP.NET Core - Day ElevenAug 01, 2017. In the previous article of this series, we discuss about the internationalization and globalization concept within .NET Core application. Now in this article, we will discuss different types of configuration processes in asp.net core applications.
  • 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.
  • Learn About Angular Bindings - Part OneJul 29, 2017. This article demonstrates how to configure various types of Binding in Angular.
  • Built-In Filter Type In ASP.NET Core MVCJul 29, 2017. The ASP.net core framework includes five built-in filter types that we can sub-class and customize based on our requirement. The framework supports following built-in filters type.
  • Creating Web API With ASP.NET Core Using Visual Studio CodeJul 28, 2017. Web API is is framework that allows us to build web or http based endpoints. If you are building services today for mobile, HTML 5, and even client-server desktop applications, all these different types of applications need services in the backend.
  • 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.
  • 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).
  • 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.
  • Preliminary Practices On Python ProgrammingJul 17, 2017. This article describes the basic concept of Python programming including program syntax, data types, looping & conditional statements and more
  • 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.
  • Site Columns In SharePoint 2013Jul 15, 2017. Site column is on of the good features in SharePoint . You can reuse the column within your site and subsites. you can also reuse within content type in SharePoint.
  • Create A Content Type In SharePoint 2013Jul 14, 2017. Here I am going to explain how to create a content type in SharePoint 2013 or SharePoint online and use the same content type in SharePoint list .
  • 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 Upload Records From Excel File to Database Using Stored Procedure In MVCJul 10, 2017. In this article, I will explain how to upload records from Excel files in the database using store procedure and also how to check all types of validation.
  • Relative Layout In Xamarin.FormsJul 08, 2017. In this article we are going to make a relative layout in xamarin.forms. Xamarin forms have many other types of layouts that include stack layout, grid layout, and absolute layout. If you want to read more about layouts and UI elements of xamarin forms then read this article.
  • 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.
  • When To Use "Var" As A TypeJul 05, 2017. It has been quite a long time since "var" was introduced, yet it is still a topic of debate among .net developers.
  • 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.
  • 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).
  • Manage System Processes Using Windows PowerShellJun 28, 2017. You can easily manage system processes using Windows PowerShell by just typing some simple Cmdlets. Below are some of the examples that help you to manage system processes using Windows PowerShell.
  • 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.
  • 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.
  • Managing System Services Using Windows PowerShellJun 24, 2017. You can easily manage system services using Windows PowerShell by just typing some simple Cmdlets. Below are some of the examples that help you to manage system services using 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.
  • Different Formats In Report Generation Using JSReport ServerJun 23, 2017. The JSReport Server supports different types of formats in report generation like pdf, xlsx, html, text, html to xlsx etc. In previous article the report was generated in PDF format.
  • 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.
  • Pros And Cons Of Money DataTypeJun 02, 2017. Pros And Cons Of Money DataType.
  • 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 Type Suffixes In C#Jun 01, 2017. In this article, we will have a look at data type suffixes in C#.
  • Project Type Of Xamarin Cross Platform May 23, 2017. Project Type Of Xamarin Cross Platform .
  • 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.
  • 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.
  • 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.
  • SharePoint 2016 Central Admin - Security - Define Blocked File TypeMay 15, 2017. In this article, you will learn about SharePoint 2016 Central Admin - Security.
  • Types Of Web Parts In SharePoint 2013May 10, 2017. Types of Web parts In SharePoint 2013.
  • Working With Types In TypeScriptMay 08, 2017. In this article, we will learn how to declare variables and use type annotations in Typescript.
  • 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.

About Return-Type-Function

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!