C# Corner

Resources  
  • ASP.NET Web API Using MVC, Entity Framework And jQuery For Retrieve Data - Part TwoApr 20, 2018. The most common use case for using Web API is for building RESTful services.
  • Logic Apps - Integrating LUIS Application With Logic Apps To Predict Intent In User UtterancesApr 18, 2018. Any business which transacts online, requires to provide some kind of chat support for the issues related to their business. This can be done by developing chat applications where the consumers directly chat with the agent of the business who then solve their problems. A new alternative to answer frequently asked questions is the use of the Chat Bot which is intelligent enough to understand the questions raised by the user and determine the solutions to them on the real time basis. Or in case of an administrator, if they are managing a lot of operative tasks or a lot of source code bases, then an intelligent bot is of great help.
  • Are SharePoint Hub Sites Here To Replace The Traditional Intranet?Mar 28, 2018. With the rollout of the new Hub Site feature for SharePoint online, we can see different use cases is explained, how it can be used. From grouping sites to replacing the traditional Intranets to challenging the ready-made Intranet products in the market.
  • Stream Web API Transactions Using SignalRMar 27, 2018. In the new world of APIs and microservices, it is absolutely correct to say that things have started moving really quickly; .i.e., transforming an idea into a product. But with all this agility comes a lot of moving parts, which sometimes results in serious overhead and in some cases failure of the sole product.
  • Angular @Output() DirectiveMar 22, 2018. In this article we are going to talk about how to send data from child component to parent component using the @Output() directive. For simplicity I am going to use the same code which I have used in my previous article and I will add some more code to explain output directive so in case you missed my previous article then I would recommend you to read that first.
  • Learn About SSMS Output WindowMar 17, 2018. In my experience, there have been occasions where SQL Server Management Studio (SSMS) becomes unresponsive for a length of time. In one particular case, this occurred while I was expanding the list of databases. SSMS just sat there and waited for some unknown reason and became frustrating. The client eventually did respond and life was good again.
  • Creating A Virtual Switch In Hyper-VMar 16, 2018. A communication channel for virtual machines with each other is defined via virtual switch, so virtual switch can be defined as a program that enables virtual machines to communicate. It actually binds the physical machine network's adapter with a virtual host.
  • Using SWITCH On A Single PartitionMar 12, 2018. Several months ago, I was looking at a question posted on ask.sqlservercentral.com. I discovered an answer to a question regarding how to move a large amount of data around quickly. The solution was related to an aspect of table partitioning that I was not aware of. If you aren’t familiar with partitions in SQL Server, you can “divide” up a table into different segments or partitions. Often this is found in large tables (think millions/billions of rows) in order to quickly and efficiently move data around. Moving partitions around is a meta-data operation which is what makes it so efficient.
  • How To Insert Bulk Records Into SQL Server Using XML Data TypeMar 11, 2018. Sometimes, there is a need to insert bulk records into a database. In some cases, we have multiple unique records and that all needs to be inserted into the database. Instead of hitting the database for each record, we need to insert bulk records into database.
  • Different Components Of SeleniumFeb 21, 2018. As we know, Selenium is the most popular tool used for automating web browsers / web applications. Selenium is an open source tool, which is used to execute the test scripts or test cases on the web application.
  • Sync Slicers In Power BIFeb 16, 2018. In this article, we will talk about the sync slicer, steps to apply “Sync” slicers in Power BI Desktop and different use cases to test this new rolled out feature in the February 2018 update.
  • Angular 5 HTTP Client InterceptorsJan 25, 2018. Many of us know the concept of middleware. It acts as the layer before sending a request and after receiving a response. What if we want to do the same in Angular? Now, the question arises what will be the cases where we will be needing this middleware.
  • App.Config AutoReaderJan 17, 2018. In our day to day development, it is a rare case where we don’t need to read a configuration file. There are many techniques for the treatment of such static classes, singleton classes, etc and it is normally that the Config class is accessible in all projects.
  • Stored Procedures In Azure Cosmos DBJan 16, 2018. There are many performance benefits when executing complex operations like Batching in case of using Stored Procedures. Reason is all these operations get executed closer to data as Stored Procedures are stored at server side.
  • Identity Server 4 With ASP.NET Core 2.0Jan 16, 2018. OAuth 2 provides several flows or grant types for various use cases. I personally group them into two categories; flows that require user interaction with authorization server and flows that don’t.
  • Observables With Angular 5Jan 12, 2018. We have a case where we use observable to populate the UI from the external data asynchronously Angular uses same thing for this task let’s see how we can use the observables and use them in an angular application.
  • Xamarin.Forms Custom Switch ControlJan 08, 2018. This article demonstrates how to create and use a Custom Switch control in Xamarin.Forms, XAML, and C#.
  • Creating A C# Console App From My iPhoneJan 02, 2018. Hyper IDE [link to https://github.com/polterguy/hyper-ide] is an Open Source web-based Integrated Development Environment. It supports 100+ progamming languages out of the box, and can be integrated with any type of command line tools, such as Git, compilers, etc. This leads to some interesting traits, such as the ability to actually create for instance C# console apps, from the browser on your phone. For the record, writing code on a phone, is not easy, and not something I encourage people to do in general. However, the border line use cases have interest.
  • Floating Chat Heads Using Android ApplicationDec 19, 2017. We all love the chat head or chat bubbles from the popular Facebook Messanger. This provides very handy and easy access to the chat conversation screen no matter which screen you are on. Chat heads are very convenient for multitasking, as a user can work and chat at the same time. That means if you are using the calculator app on your phone and if any new message arrives, you can open the conversation and replay the message without switching app.
  • ASP.NET Core 2.0 Tag Helper ComponentDec 18, 2017. In case you’re wondering if the solution above is missing a Tag Helper for head HTML element, it’s not. ASP.NET Core team has provided us with two built-in Tag Helpers, one targets head and the other targets the body element: HeadTagHelper and BodyTagHelper.
  • What XSLT Transformation Is And How To Use ItDec 12, 2017. XSLT (Extensible Stylesheet Language Transformations) is a language for transforming XML documents into other XML documents. Sometimes the user wants to some kind of xml structure instead of whole xml; In that case we can use XSLT transformation. This article gives us idea about this.
  • Pug Vs HTMLNov 26, 2017. In the holy wars of "Pug vs HTML", it is really confusing sometimes to realize which one of these to use. The same is true for SQL vs NoSQL, and the similar is true for Java vs Python. Then people think why not talk about Pug vs HTML as well. HTML is always the perfect language to consider, however for the case of Pug there might be a bit of confusion. Some developers don't know Pug, and some who know it, know it as a Jade framework.
  • How To Add A Button To Existing Ribbon Tab In Office ApplicationsNov 16, 2017. This article is a walk through of adding a button on the Ribbon of an existing tab in Office Application (Word 2016 in this case).
  • Always Encrypted In SQL Server 2016 - Step By Step Guide - Part TwoOct 14, 2017. This is part two of "Always Encrypted In SQL Server 2016 - Step By Step Guide" series. In this article, we are going to see the sample queries on encrypted columns and Limitations of Always Encrypted feature. In case, if you have missed out the first part of the series.
  • Shared Storage Using Azure File ServiceOct 10, 2017. In most cases, the virtual disks we are creating for an Azure VM are connected to that particular VM with a 1:1 relationship which can’t be accessed by another VM at the same time. In case you need a shared storage by multiple VMs you should use Azure File Shares. Azure File shares can be mounted concurrently by cloud or on-premises deployments of Windows, Linux, and macOS. This is mostly used in case of any requirement of something like a shared application setting or if you need to share any tools or utilities between developers and administrators.
  • How To Change/Switch The Database Dynamically In An ASP.NET MVC ApplicationOct 06, 2017. This is an example with code snippets to show how to switch or change the database (Connection string) dynamically while running a program in ASP.NET MVC 5 applications.
  • 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.
  • XAML Value Converter With A Simple ExampleSep 27, 2017. In this article, I'm going to show you how you can use value converter in XAML to convert one format of data into another format. In our case, we'll convert a string value (value in the textbox) to a Boolean value (checked status of a checkbox).
  • Where Can I Use Common Azure CosmosDB (Use Cases)?Sep 06, 2017. Azure Cosmos DB is Microsoft’s globally-distributed, multi-model database service for managing data at planet-scale. It builds upon and extends the earlier Azure DocumentDB which was released in 2014.
  • 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.
  • 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.
  • Making The Switch As A Software DeveloperAug 09, 2017. After nearly seven years at my previous position, I've decided to finally make a change. When this post goes live, I'll officially be working for the engineering team at Bay Dynamics, a San Francisco-based Risk Management and Cyber Security firm. I'm extraordinarily excited to get to join the amazing team there and be a part of something much larger than anything I've worked within the past.
  • Execution Of Test Cases In Sequential Order Using Selenium Webdriver - Part TwoJul 26, 2017. In my previous article of "Execution Of Test Cases In Sequential And Parallel Using Selenium Webdriver" we learned the usage of selenium webdriver
  • Execution Of Test Cases In Sequential And Parallel Using Selenium WebdriverJul 18, 2017. Selenium is an open source tool, which is used to execute the test scripts or the test cases on web applications. As we know Selenium is an open source tool, which supports various programming languages such as Java,C#, PHP,JavaScript, Ruby etc. Selenium supports various operating systems to execute the test scripts on web applications like Windows, Linux, MacOS etc. Selenium is written using one of the famous programming languages; i.e. Java, and its a cross-platform.
  • PowerShell Script To Move List Of Users To Office 365 And Assign Them O365 LicensesJul 07, 2017. Office 365 is a SaaS platform which is being used by many organizations these days and it can become quite hard for IT administrators to onboard their users to Office 365 manually .Of course , this may not be the case when your user identities get synced to Azure AD from on-premises AD using AAD connect tool.
  • 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.
  • How To Switch ON/OFF LED Using ARDUINO UNO And C# Form ApplicationsJun 26, 2017. This article is for beginners interested in the Internet of Things.
  • 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.
  • Azure Traffic Manager - Part TwoMay 17, 2017. In part one, we saw how to work with geographic regions. In this we will see about performance which will switch the endpoints in case of failure.
  • Xamarin.Forms - Design Switch Cell With Table View Application Using Visual Studio 2017May 03, 2017. This article enlightens you on designing switch cell with Table View Application, using Visual Studio 2017.
  • Developers Use Case For .NET API BrowserApr 24, 2017. This article illustrates a developer's use case for .NET API Browser.
  • Test Driven Development (TDD) - Part ThreeMar 29, 2017. This article explains how to use the new features of Visual Studio to speed up the unit test case creation.
  • Assigning Case To Appropriate Team User Using Plugin In Dynamics 365/ CRMMar 15, 2017. In this article, you will learn about a Plugin to assign a case record to the user in the team with the least number of cases.
  • Test Driven Development (TDD) - Part TwoMar 14, 2017. This article explains the options available in Visual Studio to work with Test Driven Development and also present examples about writing unit test cases.
  • Steps To Debug/ Run Selenium Test Cases From Eclipse IDMar 01, 2017. In this article, you will learn the steps to debug/ run Selenium test cases from Eclipse ID.
  • Switch Cell In Xamarin.Forms Application For Android And UWPFeb 14, 2017. In this article, you can learn how to use Switch Cells with Table View in Xamarin.Forms application for Android and Universal Windows Platform with XAML and Visual C#, in cross platform application development.
  • Working With e-Discovery Case, e-Discovery Set And In-Place Hold In SharePoint OnlineJan 26, 2017. In this article you will learn about working with e-Discovery Case, e-Discovery Set and In-Place hold in SharePoint Online.
  • Switch Statement - A Code SmellJan 07, 2017. This article will explain the code issues, using the Switch.. case statement. In some cases, it is a type of code smell.
  • Switch Control In Xamarin.Forms Application For Android And UWPDec 22, 2016. In this article, you will learn how to add Switch control in Xamarin.Forms Application for Android and Universal Windows Platform with XAML and Visual C# in cross platform application development.
  • Working With Switch Control In Onsen UI Using Visual Studio 2015Dec 19, 2016. In this article, you will learn how to use the switch control in Onsen using Visual Studio 2015.
  • Creating A Switch In Xamarin Android App Using Visual Studio 2015Oct 17, 2016. In this article, you will learn how to create a Switch in Android phone, using Visual Studio 2015.
  • Writing JavaScript Tests Using Jasmine FrameworkOct 11, 2016. In this post, we will see how we can write unit test cases in JavaScript.
  • AngularJS Case Sensitivity And Default Route With UI-RouterSep 17, 2016. In this article, you will learn about AngularJS case sensitivity and default Route with UI-Router.
  • Selenium Automation Test Cases For The .NET Web ApplicationAug 14, 2016. In this article, you will learn about Selenium Automation test cases for the .NET Web application.
  • Protractor Automation Test Cases For AngularJS UIAug 11, 2016. In this article, you will learn about protractor automation test cases for AngularJS UI.
  • Unit Testing With MS Tests In C#Jul 26, 2016. In this article, I am going to explain the uses of unit testing and writing unit test cases in C#.
  • Update Column In Database For A Table Having Upper Case ValueJul 06, 2016. In this article, you will learn how to update the column value that has an upper case.
  • Resolve "Member Name Cannot Be the Same as Enclosing Type" ErrorJun 30, 2016. In this article we will see some cases of the error "member name cannot be the same as enclosing type" and then we will resolve it with examples.
  • SharePoint 2013: Remote Event Receivers On List Item Event - Real Business ScenariosJun 03, 2016. In this article you will learn about Remote Event Receivers and applicable business cases around the Remote Event Handlers.
  • Converting A String To Different Cases And HumanizerMay 30, 2016. In this article, you will learn ways to convert a string to different cases, for example Upper case, Lower case, Title case (capitalize each word), Camel case, Pascal case, Sentence case, Toggle case or converting a string to a sentence using C# code.
  • Making The Clap Switch Using Arduino Mega 2560May 27, 2016. In this article you will learn how to make the Clap Switch Using Arduino Mega 2560.
  • Web Server Blink Using Arduino Uno WiFiMay 21, 2016. In this article you will learn how to realize a simple web server, using an Arduino UNO WiFi, to command the switch ON/OFF.
  • Car Rental Web PortalMay 19, 2016. This web portal is designed for a ren- a-car services provider where the user can visit and book their required vehicle online and select their vehicle, duration, driver option etc.
  • Tag Helpers In MVC 6May 10, 2016. This article explains in a simple manner what are tag helpers in MVC 6, why do we need tag helpers over the HTML helpers provided by the previous versions of MVC and a simple implementation of a use case using tag helpers.
  • Navigation Drawer In AndroidApr 29, 2016. Navigation drawer is an important feature of an Android application, where we can switch between every functionality of an application easily.
  • SQL Server: Use CASE in WHERE ClauseApr 07, 2016. In this article I am going to show how we can use CASE in WHERE clause.
  • Using Relay In Intel GalileoFeb 13, 2016. In this article I will show you how to use the relay switch in Intel Galileo for ON and OFF lights.
  • Toggle Switch Control For Windows 10Jan 09, 2016. In the following article I will show how to work with a Toggle Switch control in Universal Windows Apps.
  • Unit Test Cases With ASP.NET MVCDec 06, 2015. In this article, I will demonstrate you how to write test cases in ASP.NET MVC project.
  • How To Get Started In Computer ProgrammingDec 02, 2015. In this tutorial, I will share how to get started, what to learn, how to learn and in case you get trouble, what to do Computer Programming.
  • NUnit's Test Case SourceNov 08, 2015. In this article I will show when and how to use NUnit’s TestCaseSourceAttribute and why it is an unsung hero.
  • Handling Casing Issues Though Extension Methods In C# And Visual BasicNov 06, 2015. In this article you will learn how to handle casing issues though Extension Methods in C# and Visual Basic.
  • Toggle Button Control For Windows 10Nov 03, 2015. In the following article I will be showing how to work with a Toggle Button control in Universal Windows Apps.
  • Action: Switch In Nintex Workflows Through SharePoint 2013 And Office 365Oct 29, 2015. In this article you will learn how to switch in Nintex Workflows through SharePoint 2013 and Office 365.
  • Learning Android Application Development - Day 3Oct 25, 2015. In this article you will learn how to create activity in android and how to switch from one activity to another and destroy an activity.
  • Conditional Statements In C#Sep 29, 2015. In this article you will learn how we can create logical decision making statements in the code which will help you to make decision based on certain conditions.
  • Xamarin.Forms Walkthrough 2: The Curious Case of Code SharingSep 03, 2015. In this article we will discuss the detailed structure and concepts of code sharing in Xamarin.Forms.
  • Switch Column Value of a Table Using Cursor in SQL Server 2008Aug 11, 2015. This article explains how to switch a column value of a table using a cursor in SQL Server 2008.
  • Convert Uppercase to Lowercase on Click of a Button Using Knockout.jsJul 29, 2015. In this article we will learn how to convert upper case into lower case on button click in Knockout.js.
  • What Case Expressions in SQL AreJun 19, 2015. This article explains Case Expressions in the SQL language with examples.
  • What a Test Case in Software Testing IsJun 18, 2015. In this article you will learn about test cases in software testing.
  • Make Calculator Using Switch Case in JavaMay 16, 2015. This article explains the switch statement in Java and shows how to make a calculator using a switch case statement.
  • Basics of JavaScript: Part 3Apr 29, 2015. This article discusses the case sensitivity, comments and data types in JavaScript.
  • How to Change Icon of Custom Case Origin in Dynamics CRM 2015Apr 17, 2015. In this article we will see how to change an icon of custom case origin in Dynamics CRM 2015.
  • Negative Testing and How to Write Negative Test CasesApr 11, 2015. This article explains Negative Testing and how to write negative test cases.
  • Strategic Design of Test Cases in TestingApr 10, 2015. In this article we will see Strategic Design of Test Cases in Testing.
  • How to Display the Empty GridView in case of no Records in DatabaseMar 23, 2015. In this article you will learn to display an empty GridView when there are no records in the database.
  • Link the Bug in Blocked Test Case Using Microsoft Test Manager 2010Mar 18, 2015. This article explains how to link the bug in a blocked test case using Microsoft Test Manager 2010.
  • SQL Server: A (0-1 & 1-0) Convert Puzzle to SolveMar 12, 2015. This article provides a solution to SQL Server: A (0-1 & 1-0) conversion puzzle.
  • Basics of JavaScriptFeb 28, 2015. In this article, we will learn about comments in JavaScript, the case sensitivity of JavaScript and data types in JavaScript.
  • The Curious Case of the Missing Azure Connection StringFeb 25, 2015. This article is about securing Azure connection strings.
  • Introduction to NUnitFeb 20, 2015. This article is about the Unit Testing Framework (NUnit ) using C#.
  • First Look At Performance Of If and Switch Statements: Part 1Dec 29, 2014. In this article I am trying to determine which is the best, if with else or switch with case.
  • First Look At Performance Of If and Switch Statements: Part 2Dec 29, 2014. This small article focuses on analyzing the performance of the if and switch statements.
  • Understanding Cross Language Interoperability With C# .NETNov 27, 2014. This article explains case sensitivity/insensitivity of cross language interoperability in Microsoft .NET that allows compliant languages to interoperate with each other.
  • Coalesce Function in SQL Server 2008 With LimitationsAug 26, 2014. This article describes the Coalesce Function in SQL Server 2008.
  • Conditional Split in SSISJul 31, 2014. This article gives an overview of Conditional split transformation in SSIS. This is used to route data rows to various outputs based on conditions. This is similar to a case statement in programming languages.
  • Staying Viable In The Software Design Business: A Case For DeterrenceJul 25, 2014. In this article you will learn how to Staying Viable In The Software Design Business: A Case For Deterrence.
  • Microsoft Fakes; Testing the Untestable CodeApr 07, 2014. I have always been the great fan of TDD approach of coding. But recently, I've ran into case with a situation when the code was not Testable.
  • Third Case of Intent in AndroidApr 01, 2014. This article shows the use of a third case of intent in Android,.

About switch-case

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