C# Corner

Resources  
  • Just Check ALL The BoxesApr 17, 2018. Today I ran into something on a client-server that unfortunately I see too often. The DBA goes through the trouble of configuring and setting up alerts/operators but doesn’t really understand what the options in the configurations mean. So, unfortunately, that means they take the CYA (cover your ass) approach and they check all of them. Now, not only have I seen this with alerts but also with things like security configurations as well. My advice is to always take a second and research what each option is before you check the little boxes, especially when it comes to security. Always follow the rule of less is more.
  • Creating Custom Pipe Using Safe HTML In Angular 5Apr 07, 2018. A pipe takes in the data as input and transforms it into the desired output. Pipes are declared using @Pipe decorator. We will create a custom pipe here, in this article. Like a filter, a Pipe also takes data as input and transforms it into the desired output.
  • LINQ Fundamentals - Single() Vs SingleOrDefault() - Part TwoApr 05, 2018. In first part we discussed First() and FirstOrDefault() extension method, In this part we will discuss Single() and SingleOrDefault().
  • LINQ Fundamentals - First() Vs FirstOrDefault()Apr 04, 2018. There are four famous concepts in LINQ, almost every C# developer knows about them and has used them in their daily development work.
  • Aggregate, The True LINQ Aggregator OperatorMar 08, 2018. Aggregate LINQ operator is unknown in the LinQs world. The goal of the project is to review the LinQ Aggregators operators (Count, LongCount, Min, Max, Sum and Average), and show all operators can be built with the Aggregate operator.
  • 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.
  • What Is Date Correlation Optimization?Feb 28, 2018. OK So, I am doing some digging and peaking around again in SQL Server and came across a database option called Date Correlation Optimization Enabled = False. Honestly, I had no clue what it did, so I took it as a learning opportunity to look into it and do a little research. Who knows, it may actual help me solve one of the many problems I run into day to day for clients.
  • Combine Multiple Observables Using combineLatest In Angular AppFeb 16, 2018. In this article, I am going to show you the benefits of using the combineLatest operator in an Angular application.
  • Pipes In Angular 5Feb 13, 2018. In this article we will be discussing Pipes in Angular 5. Pipes are the operators which is used to format data in Angular. This comes from the symbol (|) used to do this operation. Pipes are there in Angular from Angular2 onwards. But it has evolved over the period of time. There are many inbuilt pipes available in Angular 5 and it gives an easy template to create your own pipe using @angular/cli.
  • Introduction To LINQ With Entity Framework In Visual StudioFeb 08, 2018. LINQ queries are similar to SQL query created for developers to maintain standardized coding approach. It deals with the data objects therefore it is similar to OOPs.
  • Automating SVN Check-Ins And Building A Project Via JenkinsFeb 05, 2018. A few weeks back, while sitting with my team, I learned that they run a Jenkins job which has to execute the automation scripts using the robot framework, daily around 1:00 a.m. The primary purpose of the job is to place all the necessary files and folders over the node machine of Jenkins (after copying them from the machine pointed as master on Jenkins), execute those scripts accordingly, generate the reports, and finally copy the output files back to the master machine to analyze the logs for the overall reporting and analysis purposes. This whole efficient job starts with a slack manual step which was enough to tag this activity 'not fully automated' because they had to place the updated work regularly on the specified path over the master machine before leaving the office (this includes taking the updated code, files, and automation scripts, building the project to take the DLLs etc.). This may sound tedious but more than that, there is no sense to do it manually.
  • Boolean Search Basics For Recruiters - Tutorial OneJan 31, 2018. Boolean Search is a mathematical logic which we use to put on Google, LinkedIn, and other job boards etc. to get the accurate and relevant results while expanding and narrowing the strings with key operators like AND, OR, NOT etc.
  • Linq To Excel In ActionJan 29, 2018. In this post, we will demonstrate how we use LinqToExcel library to query data from Excel.
  • Retrieving List Items From A Specific View Using CSOMJan 25, 2018. In this article, you will learn how we can access the SharePoint data using Client Object Model. Here, I have taken an example of getting the data from SharePoint list specific View. Using this, we can create our own custom View with necessary fields and access them.
  • CRUD Operations In SharePoint Using REST API - CREATE OperationsJan 18, 2018. REST API is a powerful CSOM concept that can be leveraged in SharePoint for converting sophisticated business designs into working and efficient SharePoint Artifacts (Add-Ins, CSOM solutions, etc.). REST does not require any separate references for its working unlike other frameworks (SPservices!)
  • Bind Menu And Sub Menu Dynamically In ASP.NET MVC From Database Using LINQJan 12, 2018. Many times we need to create a menu for a simple application. We ususally get stuck on how to bind the menu. Here in this article we you will learn how to bind menu and sub menu dynamically in ASP.NET MVC from database using linq.
  • Workflow Initiation Form And Association FormsJan 12, 2018. In SharePoint Workflows, Initiation Forms are used to provide some additional information into the workflow for whom it is triggered or who starts it. Basically, the initiation forms are used to interact with the user, for example - if we want to take some data from the user before the workflow is triggered, this will be done by Initiation Forms. At first, the input will be taken and then the workflow will be triggered. This is the scenario of initiation form.
  • The Burn Up Charts In ScrumJan 04, 2018. I would like to propose the less taken path in my maiden article to track the progress in scrum. We usually do it using the burn down chart which is relatively easier to understand as compared to Burn up chart. These charts help the team and stakeholders to see and track the progress at any point in the release process or sprint.
  • ASP.NET Core 2.0 Cookie AuthenticationJan 02, 2018. Cookie Authentication allows developers to hook into events at various lifecycle stages of the authentication process. For instance you could log successful sign-ins using OnSignedIn or use OnValidatePrincipal (runs on every request) to invalidate the user (e.g. if you want to force sign-out).
  • The Basics Of YAML In 5 Minutes Or Less!Dec 29, 2017. This quick read will teach you the basics of YAML markup language in the time it takes to make a cup of tea :)
  • Setting Up Add-In Development Environment In SharePoint Server 2016Dec 26, 2017. In this article, I have explained how to configure Sharepoint add-ins development environment and create a simple hello world web part in s=Sharepoint server 2016 on-premises.
  • Querying ConsmosDB Using SQL APIDec 19, 2017. Here, we can find the first name and number of pets from child entity but to find out the last name we need to refer to family entity. To select last name along with first name we need to use join operator In DocumentDB
  • Aborting Thread Vs Cancelling TaskDec 12, 2017. The below post is based on one of the question I answered on StackOverflow, in which the questioner wants to cancel a task when its taking too long to respond; i.e., taking too much time in execution and returning result.
  • Introduction To VUE.jsDec 01, 2017. Vue is a framework that is designed for the implementation of user interfaces. Vue has taken the good parts of different front-end frameworks like Angular, React and Polymer.
  • Convert XML File To Excel FileNov 27, 2017. Here, we are going to learn to read XML files in C# WindowsForm applications. We are going to make a small single-form application which takes an XML file from the user and convert XML Data to Excel Data and Returns an Excel File.
  • Creating A Standalone Automation Account In Azure PortalNov 21, 2017. Microsoft Azure Automation supports a path for the users to automate the manual, long-processing, error tracking and is mostly needed for the continuous repeated process in the cloud and in many companies.Then automation saves the time and increases the reliability of the regular administrative works and it also schedules them to be automatically performed at regular intervals.The Automation can be taken with the help of Runbook.
  • Monitoring S3 With Events And SNSNov 16, 2017. This is Muhammad Habib Jawady in a new DevOps hands-on tutorial. In my first Amazon Web Services tutorial, I will be showing you how to leverage the S3 events feature and Simple Notification Service In order to monitor actions taken on certain assets .
  • Configure Application Insight For .NET Core 2.0Nov 16, 2017. We developers work hard to write code, but these QA guys find bugs in our code. We don’t have any choice but to find and fix the bug ASAP. After all this hard work we push everything to production, then new questions from people arise like why is this page slow? why is this operation taking time? why this and that? To answer these questions, we need proper logging mechanism to identify and takes hours of coding and analysis. What if we have a mechanism to track this with less hours of code to analyse and more time on fix. Application insights come to picture to solve our logging work with best analysis tools.
  • 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.
  • Leadership Challenge 003 - Focus On The WHYNov 12, 2017. Hello my friends! It has been an exciting month for me as I have just taken a position within Microsoft. My role will be as a Customer Success Manager, driving adoption across MS solutions (Modern Workplace) within the organization.
  • 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.
  • Pipes Operator In Angular 2 - Part ThirteenOct 20, 2017. In this article, we are going to learn about Pipe Operator. In Angular, pipes are used to transform expressions to a desired format.
  • Getting Started With SharePoint Framework For SharePoint 2016 On-PremisesOct 12, 2017. Once you have installed and upgraded the September 2017 Public Update for SharePoint 2016, you will be able to upload and deploy SharePoint Framework packages that contain web parts via the SharePoint App Catalog just as you would with SharePoint Add-ins.
  • Excel To XML Using LINQOct 11, 2017. In this article we will show you the easiest way to convert Excel data into Xml files. There is a certain way to convert Excel file to Xml, for example using Excel Library (Com Component)
  • Overview Of Let In LINQOct 09, 2017. In general, Let allows create a local variable at the LinQ query. Let has the same operation as to build local variable in a loop. The example with let hast better performance than the without let example, because the first execute one time and second two time for each item.
  • Swift Programming - Zero To Hero - Part SixOct 05, 2017. This is part six of "Swift Programming - Zero to Hero" series. In this article, we will be learning about Arithmetic Operators. Before you continue in this session, please follow the previous series.
  • Why "Service Locator" is an "Anti-Pattern" for Dependency InjectionSep 29, 2017. The Service Locator is used as a replacement for the new operator. The problem with service pattern is that it hides a class's dependencies and is a bonafide anti-pattern. In fact, it takes away a developer's clarity about the class he/she is using.
  • Learn Universal Windows Programming Via Modern C++ (Check Box)Sep 19, 2017. In the button control, we are using the IInspectable to set the content of the text. How do we get the value from the IInspectable interface ? By IPropertyValue; using the “as” operator, we can convert from IInspectable to IPropertyValue.
  • Two Ways To Get Data From Entity FrameworkSep 15, 2017. In this article, you will learn about two basic ways to get data from Entity Framework and display data in angular UI-Grid using MVC application with Web API.
  • Use Of Union, Intersect, Distinct And Except In LINQSep 01, 2017. Here, you will learn the uses of Union, Intersect, Except, and their differences, To get a clear picture, we will go with examples.
  • Setup Of Virtual Machines On Azure Using TerraformSep 01, 2017. Microsoft recently announced increased investment in integrating Terraform with Azure (Aug 2017). This is a continuation of Microsofts’ reach into the agnostic/multi-cloud cloud arena, where they are doing whatever it takes to help developers succeed in the cloud. It used to be the case that Azure was only for Micosoft developers - well no more. The crew in Redmond and every office around the globe are really pushing the open-source and 'Azure for everyone' opportunity.
  • Use Of Deferred And Immediate Query Execution In LINQAug 31, 2017. Here, you will see about query execution in linq and what is deffered query execution, what is immediate query execution and it's differences, we will see with example for better understanding.
  • Dependency Injection - Part Five - Using A DI Container (Autofac)Aug 29, 2017. A DI container takes the responsibility of instantiating and providing the dependency instances, irrespective of the level of dependencies. As a result, it is a container that manages the scope of the instantiated objects.
  • Create Office Web Add-In Project Using Visual StudioAug 24, 2017. In this article, I would like to share the steps to create Office web add-in projects using Visual Studio. In this article, we have explored what Office add-ins are and how to create Office web add-in projects using Visual Studio 2015.
  • Use Of Range, Repeat And Empty In LINQAug 21, 2017. Here, we are going to see the uses of the Range,Repeat and Empty keywords in LINQ and we also will discuss their differences.
  • Finding Your Geek ZenAug 17, 2017. If you are choosing to be a software engineer for your career, then do not forget to find your Geek Zen, which means taking care of YOU! This article will focus on things that I have come up with during my 20+ year software career. Things I sure wished I knew when I started my career. I focusing on stress since being a software engineer can be VERY stressful.
  • Element Operators In LINQAug 17, 2017. Here, we will learn about Element Operators, their uses, and various element operators.
  • Key Capabilities Of Azure Cosmos DBAug 12, 2017. A few years ago, Microsoft offered DocumentDB as a Service (DaaS) that supported a limited set of features and functionalities. Today, most of the cloud-based services, such as Bing, Azure, and Office 365 are using DocumentDB. Microsoft took DocumentDB to the next level and came up with Azure Cosmos DB - A globally distributed, multi-model database.
  • 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.
  • Use Of Into And Let In LINQAug 07, 2017. Here, we going to see the uses of Into and Let keywords in LINQ and their differences.
  • Confessions Of An Angry ProgrammerJul 23, 2017. Recently, after doing the keynote session about code quality at a conference in Denver, I received a comment from one of the attendees. He said my session was “too much angry coder”. After receiving many great comments about the session, this one took me by surprise. I thought about it for awhile and commented back, via Twitter…
  • Taking Script From Database In SQL Server In Different ModeJul 17, 2017. This article explains how to take the script from database in SQL server in a different mode. Normally we take back up our entire database as “.bak, .mdf, .ldf” file but sometimes we need to alter, update or delete then create our database based on our database modification.
  • How To Use Joins, and Group By Clause In Entity Framework With LINQ C#Jul 15, 2017. In this article will be going to learn How to use Joins, and Group By Clause in Entity Framework with Linq C#
  • Why ASP.NET Is The Perfect Option For Emerging BusinessJul 05, 2017. In today’s date, every business is opting for web platforms for taking their business to the next level.
  • 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).
  • 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
  • C# Operators In UnityJun 18, 2017. In this article, I am going to explain about C# operators in unity
  • Code Improvement Techniques In C#Jun 13, 2017. General code improvement technique over string.empty, string.Equals, string.Intern, StringBuilder, string.Format, case insensitive comparisons, using Block and Linq - First, FirstOrDefault, Single and SingleOrDefault. Main focus points are - what are the advantages and the purpose to use these.
  • LINQ Basic To Advanced - MVC Demo ApplicationMay 16, 2017. Here, in this post, we are going to see some basic and advanced LINQ queries
  • Expanding Razor View Location And Sub Areas In ASP.NET CoreMay 09, 2017. In this article, we'll learn sub area and customize Razor engine view location, using IViewLocationExpander. IViewLocationExpander takes care to modify view locations.
  • Technical Due Diligence ChecklistMay 01, 2017. A useful list when taking ownership of an existing project.
  • Equality Operator (==) With Inheritance And Generics In C#Apr 30, 2017. Equality Operator (==) With Inheritance And Generics In C#.
  • What Is Deferred/ Lazy Loading And Eager Loading?Apr 28, 2017. In his article, you will learn about Deferred/ Lazy Loading and Eager Loading.
  • A Brief Introduction To LINQApr 27, 2017. Introduction to LINQ.
  • Taking Scripts From SQL ServerApr 27, 2017. In this article, you will learn about taking scripts from SQL Server.
  • LINQ Extended JoinsApr 24, 2017. This article illustrates LINQ extended joins.
  • 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.
  • Back Tracking Of Issues - Before Escalating To DeveloperApr 06, 2017. In the software testing world, Issued identification is a must have skill. In this blog post I have taken a simple scenario to show you how to back track the issues.
  • Expression Bodied Indexers And Operators With C# 7Mar 20, 2017. This article explains about expression bodied indexers and expression bodied operator overloading with C# 7.
  • Getting Started With O365 - SharePoint-Hosted Add-Ins Using JSOMFeb 28, 2017. In this article, you will learn about SharePoint-hosted add-ins, using JSOM.
  • Deleting SharePoint-Hosted Add-In Using Napa Office 365 Development ToolFeb 23, 2017. In this article, you will learn how to delete SharePoint-Hosted Add-ins using Napa Office 365 Development Tool.
  • SharePoint-Hosted Add-In By Using NAPA Tools And Delete SharePoint Task List Item Using JSOMFeb 22, 2017. In this article, you will learn about SharePoint-hosted add-ins by using NAPA Tools and Delete SharePoint Task List item using JSOM.
  • LINQ To SQL - CRUD OperationsJan 19, 2017. In this article, we will see LINQ to SQL CRUD Operations.
  • Equality Operator And Value Types In C#Jan 16, 2017. In this article, you will learn about Equality Operator (==) behavior for non-primitive value types.
  • 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.
  • Convert DateTime To String Format Using IQueryableJan 10, 2017. In this article, you will learn how to convert DateTime to string (yyyy/mm/dd) format in ViewModel/Whatever class with IQueryable.
  • Overview Of Concurrency In LINQ To SQLJan 10, 2017. In this article, you will learn about concurrency in LINQ to SQL.
  • Identity Cache In LINQ To SQLJan 08, 2017. In this article, we will see what identity cache is and its impact on LINQ to SQL queries.
  • Compile Queries And Execute SQL Queries Using LINQ To SQLJan 08, 2017. In this article, you will learn how to compile queries and execute SQL queries, using LINQ to SQL.
  • Lazy Loading And Eager Loading In LINQ To SQLJan 08, 2017. In this article, you will learn about Lazy Loading and Eager Loading in LINQ to SQL.
  • Single Table Inheritance In LINQ To SQLJan 07, 2017. In this article, we will see single table inheritance in LINQ to SQL.
  • How To View LINQ To SQL Generated SQL Queries And Using Stored Procedures With LINQ To SQL Jan 02, 2017. In this article, you will learn how to view LINQ to SQL generated SQL queries and use stored procedures with LINQ to SQL.
  • 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.
  • How To Use LINQ To SQL For Retrieving Data From SQL Server DatabaseJan 01, 2017. In this article, we will learn how to use LINQ to SQL to retrieve data from the SQL server database.
  • CRUD Operations Using LINQ To SQLJan 01, 2017. In this article, you will learn about CRUD operations using LINQ to SQL.
  • Introduction To LINQDec 26, 2016. In this article you will learn an introduction to LINQ.
  • Introduction To Safe Navigation Operator In Angular 2Dec 01, 2016. In this article, you will learn about the Safe Navigation Operator in Angular 2
  • Introduction To Generic IEqualityComparerNov 20, 2016. In this article, you will learn about Generic IEquality Comparer.
  • Handling Permissions In Linux VM While Migrating WordPress SiteOct 27, 2016. In this article, I'll write about how to give WordPress plug-ins permission, while migrating or maintaining the backup of your site.
  • Creating SharePoint Hosted Add-ins In SharePoint Server 2016Sep 25, 2016. In this article, you will learn how to create SharePoint Hosted Add-ins in SharePoint Server 2016.
  • Configure Environment For Add-Ins In SharePoint 2016Sep 16, 2016. In this article, you will learn how to configure environment for add-ins in SharePoint 2016.
  • Solution To The Issue, “Git Command Is Taking Wrong User Name”Sep 07, 2016. In this article, you will learn about the solution to the issue, “Git Command Is Taking Wrong User Name”.
  • == Operator and Reference Types in C#Aug 31, 2016. In this article, you will learn how equality operator works behind the scene when comparing reference types
  • Bind Add Update Delete Data Using MVC Entity Framework And LINQAug 29, 2016. In the article, you will learn how to add, update, and delete data, using Entity Framework and LINQ. This is for the beginner users like me in MVC.
  • LINQ to SQL - Basic Guide To Perform Fetch, Filter, Insert, Update And DeleteAug 25, 2016. In this article, you will learn the basic guide to perform fetch, filter, insert, update and delete in LINQ to SQL.
  • Interactions In Power BIJul 28, 2016. In this article, you will learn how the interaction between reports takes place in Power BI and how you can change from the default interaction.
  • Create Camera View & Taking PhotosJul 25, 2016. In this article, you will learn about Camera App in iOS.
  • Story of Equality in .NET - Part FourJul 09, 2016. In this article, you will learn how equality operator (==) operates on Primitive types in C#
  • Diving Into Visual Studio 2015: Debugging Improvements (Tool Window Support for LINQ and Lambda) - Day SixMay 29, 2016. In this article, you will learn about Debugging Improvements In Visual Studio 2015.
  • SharePoint Add-ins (SharePoint Hosted Add-in) - Part TwoMay 28, 2016. In this multi part series, this is part two. In this article I’ll try to cover SharePoint hosted add-in with example.

About Take-Operator-in-LINQ

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