C# Corner

Resources  
  • Find Out The Angle Between Hour Hand And Minute Hand In C#Apr 18, 2018. In this article, we will learn how to calculate angle between two hands of clock hour & minute respectively in C#.
  • Forget JavaScript, Try C# Instead For Client Side Application Development - BlazorApr 16, 2018. Blazor lets you use all your C# knowledge to Apply in Client Side development. Blazor replaces Javascript Code with C#. Essentially, it means that rather than writing the Client side code in Angular, React, Vue using Javascript, Typescript you can use C# and Razor. Does that sound like a dream.
  • ASP.NET Core Using TypeScript (2.6) With RequireJS In C#Apr 10, 2018. This article demonstrates how to create and use an application in ASP.NET Core using TypeScript (2.6) with RequireJS (2.3.5) in C#.
  • ts.validator - TypeScript Based Generic Validation FrameworkApr 10, 2018. I have created a TypeScript based generic, fluent validation framework. Also, I have built a demo Angular 5 CLI app which uses the framework.
  • System-Versioned Temporal TablesMar 29, 2018. Every once in a while, I like to take a moment and learn something new about the latest SQL Server gizmos and gadgets. Today I came across system-versioned temporal tables and it piqued my interest, so I figured I’d investigate and share my findings with you.
  • 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.
  • Kick Start With Azure Cosmos DB - Part TwoMar 10, 2018. In this article, we will learn how to create a new Azure Cosmos DB for free. How? Can we use it for free? I have found a couple of alternative ways to use the Azure Cosmos DB for free without an Azure Subscription.
  • Learn MongoDB With Me - Part TwoMar 02, 2018. This is the second article of the series “Learn MongoDB with Me,” and if you haven’t read my previous post on this topic, I strongly recommend you find it here. This is a continuation of exploring the Mongo shells. We will be performing some commands on the Mongo shells. For easy reference I will try to add screenshots for each of the steps I am following. I hope it will help you to come along with me. Thanks for reading.
  • 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.
  • Basics Of Angular And Its Versions - Part SixFeb 01, 2018. In this article, I am going to discuss more about async/await support. This async/await feature officially announced in TypeScript 2.1. We can say this is one of the very import feature in TypeScript 2.1 release.
  • Azure WebApp - Rollback Your Deployment Using Deployment SlotJan 29, 2018. We generally find issues in our deployed application while it is in production. This is a really awkward situation in the development cycle. It is also painful for the customer. I am going to discuss the solution to this issue in this article.
  • Abstract Factory Pattern Using C# - Real World ExampleJan 22, 2018. While learning design patterns, I came to understand the most frequently used term, Factory Pattern as well as Abstract factory pattern. I searched the internet and came across numerous learning points. After a lot of search and study, I endeavored to find an actual need for the abstract design pattern.
  • Step By Step Installation Of .NET Core 2.0Jan 22, 2018. In my previous post, I have explained how to set up for .Net Core 2.0 which you can find here. But in that post, it mainly focuses on how to do the setup if you already have .Net Core. So in this post, I will explain how to install .Net core 2.0(Without having Core 1.0) on your machine.
  • Publish Nuget Packages In .NET CoreJan 19, 2018. Now that you have a registry and key to upload your packages, let’s create and push a package. I am using here a simple .NET Core class library I wrote to work with CSV files, the source code can be found on GitHub. You can of course use any of your projects.
  • 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!)
  • Database First In .Net Core 2.0 CRUD Operation - Part OneJan 17, 2018. In my previous post, I have explained how to create an Angular 5 application in Visual Studio 2017 using .NET Core templates which you can find here.
  • How To Install TypeScript Plug-in In Visual Studio 2015Jan 13, 2018. In this article, we will see the simple step by step process to install TypeScript Plugin for Visual Studio.
  • Setup React App Using Node.js, Webpack And TypeScriptJan 09, 2018. React is one of the leading technologies that is used to create single page applications(SPA). Some others are Angular and Vue.js. In this article we will learn how to set up a React project using Webpack, Node.js and Typescript.
  • Constructors In TypeScript 2.0Jan 08, 2018. Let us learn about constructors in TypeScript 2.0.
  • Xamarin.Forms - Deep Linking Application Using SQLiteJan 06, 2018. Android deep links open a specific page within an app and optionally pass data to it. Developers may find deep links particularly useful for actions such as clicking a notification or sending an app link via email
  • Hello World With TypeScript 2.0Jan 02, 2018. TypeScript is a language which is a super set of JavaScript language. It compiles the code written to plain javascript code. So all the correct javascript code is valid in TypeScript. Apart from that TypeScript provides extra features also, which is very useful for writing good code.
  • Integrate Angular 5 With Visual Studio 2017Jan 02, 2018. If installation file finds any open Visual Studio instances it will stop the installation and ask us to click on “EndTask”, by clicking , it will close the all the instances of Visual Studio.
  • 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).
  • How To Include External JavaScript Frameworks To TypeScript ProjectsDec 29, 2017. In this article we will see how can we include external JavaScript Frameworks To TypeScript Projects
  • Xamarin.Android - Logo Quiz GameDec 26, 2017. Test your knowledge in this logo quiz game! From Transformers to Minecraft, find out how many world famous logos you recognize.
  • 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.
  • SharePoint 2013 - Different Ways To Enable User Information ListDec 22, 2017. You can find a great description of User Information List on MSDN, yet if I had to explain it in brief I would say it’s a list which stores the users and their information. The information of the users includes details like their Name, Email ID, Display Name, Login Name, Job Title, About User, and Department. Whenever a user is added to the site, he/she appears in the User Information List. The User Profile Services sync the user data into the User Information List from Active Directory.
  • 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
  • How To Find Duplicate Records In SharePoint ListDec 07, 2017. In this article, we will see how to detect duplicate records in SharePoint Lists. This automation approach will be helpful in scenarios where we need to fix data duplication issues across multiple SharePoint Lists.
  • Validation Tag Helpers In ASP.NET Core MVCNov 22, 2017. This article explains about the validation tag helpers found in ASP.NET Core MVC.
  • Xamarin.Android - Text Recognition By Mobile CameraNov 20, 2017. Mobile Vision is an API which helps us to find objects in photos and video, using real-time on-device vision technology.
  • Navigation In Angular Between Different RoutesNov 17, 2017. This article explains the navigation from one component's view to another component view with the help of router's navigation.
  • 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.
  • Creating Azure WebJob To Access SharePoint Using Typescript And Node.jsNov 14, 2017. Create a new folder in the solution by the name 'src' and create index.ts file inside the folder. In this folder we will keep all the source files which will get executed when the Job runs. Remember to keep the index.ts at the root of the src and all other files (if any) keep them in the folder otherwise the job will fail.
  • Debugging Tips - Part ThreeNov 06, 2017. While working on a complex code, we often come across situations where you need to debug lots of code to find/fix the issue(s). That also includes going through lots of methods (probably related or unrelated). .NetFramework provides a way to avoid unwanted "Step in" through the methods. Using DebuggerStepThrough (using System.Diagnostics) attribute, you can skip debugging of unwanted methods and reduce the debugging time to some extent.
  • Find The Installed SharePoint 2016 Edition Via C#Nov 06, 2017. Have you ever tried to detect the SharePoint Edition via C#? Regardless of the answer, detecting the SharePoint Edition via C# is not just a line of code as Build Number, to detect the SharePoint 2016 Edition, it will need to know the corresponding SKU.
  • MS Visual Studio Code - Guide To GitNov 06, 2017. Hello guys again, this is Muhammad Habib Jawady and today I will be showing you how to use MS visual Studio Code in order to work with git properly. This will be a hands on tutorial, I hope you will find this useful as the number of users of ‘Code’ has grown dramatically throughout the year and the need for a full tutorial on how to use it has became an urge to help people master its enormous number of features.
  • Step By Step Creation Of Angular Project With TypeScript Using Visual Studio 2015Nov 02, 2017. In the right pane, move the global $(PATH) entry to be above the internal path $(DevEnvDir) entries. This tells Visual Studio to look for external tools (like npm) in the global path before the internal path.
  • Performance - SortedDictionary Vs DictionaryOct 31, 2017. Recently when I was analyzing a clients code base for performance, I found that they were using the collection SortedDictionary in many places in their projects. After looking on how they are using this collection type, I discovered that they really only needed the collection sorted once. So I figured, that if would be better performance to use just Dictionary and sort it once. Before recommending this change to their code, I needed to prove my theory.
  • ASP.NET Core 2.0 MVC RazorOct 31, 2017. ASP.NET Core MVC middleware will find and execute the Razor template (.cshtml file) when the Controller returns ViewResult. Razor templates use syntax that combine C# and HTML to produce the final HTML page.
  • Find And Replace Text In Word Document Using C#Oct 18, 2017. On Microsoft Word, we can find special text strings and replace them with new text strings easily. We can replace all the searched text automatically at one time and we can also only replace some of them from the searched results. This article will mention various approaches of the finding and replacing feature on the word document by using a .NET API Spire.Doc independently (without using any third-party code) as below.
  • How to use NPM Install (The Command) behind Corporate Proxy ServerOct 14, 2017. When you want to install packages for angular, angular CLI, typescript etc. via NPM using Command Prompt and you are working in an office environment where everything runs behind a corporate proxy server, you will most probably get the below exception.
  • 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.
  • Angular Components (With Examples)Oct 12, 2017. A Component is nothing but a simple typescript class, where you can create your own methods and properties as per your requirement which is used to bind with an UI (html or cshtml page) of our application.
  • Leadership Challenge 002 - What Is Your Coaching FitbitOct 07, 2017. Many people have embraced the "Fitbit" craze. The company has great marketing: “Fitbit tracks every part of your day—including activity, exercise, food, weight and sleep—to help you find your fit, stay motivated, and see how small steps make a big impact.”. People wear it daily, slapping it on their wrist the second they get out of bed…or even sleeping with it on.
  • Always Encrypted In SQL Server 2016 - Step By Step Guide - Part OneOct 06, 2017. Lets say, we have a requirement to encrypt the PII data for an existing ASP.NET web application. Data needs to be encrypted at rest as well as on transit. Considering the existing PROD data, we need to identify an encryption approach that best suits the requirement. I'm going to share my experience in finding the encryption approach and implementing it on a sample database.
  • Xamarin.Forms Tip - Implement Show/Hide Password Using EffectsSep 19, 2017. While developing login pages, we usually get a requirement that there should be an icon in password entry to show/hide password while entering the password. While looking for a solution to this requirement, I found that most of the implementation is done using custom controls whereas we can do this kind of small platform-specific customization using effects. Last year, I wrote this article about implementing custom fonts using effects so I thought let's try this also using the same tecnique.
  • Introduction To SharePoint Framework (SPFx) - Zero To Hero Series - Part OneSep 17, 2017. SharePoint Framework is also abbreviated as SPFx. SharePoint Framework offers modern technologies, Node-based development, TypeScript, etc. that are applied to SharePoint and Office 365 development.
  • Dependency Injection - Part Six - Autofac's "AsImplementedInterfaces"Sep 11, 2017. While I was exploring Autofac, I found AsImplementedInterfaces quite interesting. Not only because it is useful, but also because if we are not careful with its use, we may end up with unexpected application behavior.
  • Getting Started With Bing Emotion APISep 08, 2017. In this tutorial, we will learn how to use Bing Emotion API. In our previous example of the cognitive service demo, we had combined two cognitive services, Bing Speech API and Bing Emotion API, so as to find images using speech to text (STT). To extend this demo, we will be using Bing Emotion API which will detect the emotions of a person from the image that we had searched using Bing Image Search API.
  • 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.
  • Creating An Autocomplete Textbox In AngularSep 02, 2017. In this, we will learn how to create an autocomplete textbox in Angular 4 using Typescript.
  • How To Work With Multiple Modules In Angular v4Aug 29, 2017. In this article, we will learn how to configure Angular application using multiple module.
  • Manage Service Connections On Web Applications In SharePoint 2016 Central AdministrationAug 29, 2017. Here, you will find all the services attached to the selected web application on your Central Administration.
  • 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.
  • 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.
  • To Overcome "HTTP Error 404.3 Not Found" Error While Playing Videos In ASP.NET Aug 17, 2017. To Overcome “HTTP Error 404.3 - Not Found THE PAGE YOU ARE REQUESTING CANNOT BE SERVED BECAUSE OF THE EXTENSION CONFIGURATION. IF THE PAGE IS A SCRIPT, ADD A HANDLER. IF THE FILE SHOULD BE DOWNLOADED, ADD A MIME MAP.” Error.
  • Accessing XML Data From XML Document In C# Console ApplicationAug 09, 2017. In this article, I am going to give the best way to access XML data from XML document and also how to find common record node counts.
  • Routing In Angular 2 With TypeScript And Visual Studio 2015 - Part OneJul 29, 2017. In this article, we are going to learn how to implement routing in Angular 2 with an example. Routing is a concept which helps users to navigate from one view to another view of the application. Similarly, routing in Angular 2 helps users to navigate from one view to another view depending upon the URL which user enters in the browser.
  • Python Program To Find All IPs Assigned In A NetworkJul 15, 2017. This is just a overview how you can create programs to find Network IP. You can do it in more interesting way by using raw_input to assign ip directly from user instead of writing it. Let me know if you need any help or if you are having problem in understanding.
  • Getting Started With TypeScript - Part TwoJun 22, 2017. In this article we are going to learn basics of TypeScript with visual studio 2015 Update 3.
  • Quick Start With TypeScriptJun 16, 2017. How to learn TypeScript quickly.
  • Getting Started With TypeScript - Part OneJun 16, 2017. In this article, we are going to learn the basics of TypeScript and its installation process with Node.js.
  • Resolving "CEWP Not Visible In Web Part Gallery" Issue In SharePoint Online / Office 365May 30, 2017. In this article, I will share the solution for an issue, which we faced recently. The issue was on one of the pages of my SharePoint Online site. I want to add the Content Editor Web part but I couldn’t find it. Content Editor WebPart is not available in Web part gallery.
  • REST Service Call With Angular 4May 20, 2017. This article will explain the concept of REST Service call in Angular 4.
  • Routing In Angular 4May 19, 2017. This article will explain the concept of routing in Angular 4.
  • Google Maps- Find Places, Restaurants Etc. With Animated Marker Using Bootstrap In ASP.NET MVCMay 19, 2017. Google Maps API allows you to display maps on your ASP.NET MVC Website.
  • Filter In Angular 4May 17, 2017. This article will explain the concept and the code of Filter in Angular 4.
  • What Is New In TypeScriptMay 16, 2017. Learn what is new in the latest version of TypeScript.
  • Working With Types In TypeScriptMay 08, 2017. In this article, we will learn how to declare variables and use type annotations in Typescript.
  • What Is TypeScript?May 03, 2017. In this article, we will learn what TypeScript is and how to install and use it with a simple application, step by step.
  • Configure Angular 4 With TypeScript On A Web Application With VS 2017May 03, 2017. This article will show how to configure Angular 4 and TypeScript in ASP.Net MVC Web Application.
  • Recursive Tree-View Using Angular 2 And TypeScript Until nth Level DepthMar 23, 2017. In this article, you will get to know Recursive Tree-View, using Angular 2 And TypeScript until Nth level depth.
  • Dynamics CRM - Find Related Contact's Reference And Link It To Custom Entity Using JavaScriptMar 21, 2017. In this article, you will be acquainted with Dynamics CRM - find related contact's reference and link it to custom entity , using JavaScript.
  • 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.
  • Getting Started With TypeScriptFeb 27, 2017. In this article, we will create a simple Hello World Application in TyprScript and learn how to debug the code in TypeScript, using Visual Studio code as an editor.
  • Debugging JavaScript And TypeScript Using Google Chrome in Visual Studio 2017Feb 27, 2017. In this article, I am going to explain how we can put breakpoint inside the Visual Studio Editor for JavaScript or TypeScript code and debug it using Google Chrome.
  • 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.
  • ASP.NET, SignalR, Angular 2 And Typescript Real Time ClockFeb 22, 2017. In this article, we will see how we can create a real time clock, using technologies like ASP.NET, SignalR, Angular 2 and TypeScript.
  • Integrate NativeScript With Google Firebase Notification (FCM ) In AndroidFeb 20, 2017. In this article, we will learn how to use NativeScript using Angular 2 and TypeScript to build a native Android mobile app that is integrated with Google's Firebase Cloud Messaging (FCM )
  • Dapper CRUD Win Forms - Part OneFeb 20, 2017. Database management is often a performance bottleneck in many applications. I am currently developing custom modules for Dynamics GP 2013 and I have found Dapper. It is a simple and powerful solution for my needs. I hope it works for you too.
  • What Is The Future Of TypeScript?Feb 15, 2017. Do you wonder what the of TypeScript look like?
  • Angular 2 With TypeScript And Gulp Using Angular CLIFeb 07, 2017. This article explains how to make Angular 2 projects in a proper way, using Angular CLI.
  • Angular 2 Custom Controls With ASP.NET Core Web APIFeb 01, 2017. In this article, you will learn about Angular 2 Custom Controls in TypeScript with ASP.NET Core Web API.
  • Class And Constructor In TypeScript Using Visual Studio CodeJan 23, 2017. In this article, you will learn about class and constructor in TypeScript, using Visual Studio Code.
  • Getting Started With Angular 2.0 Using Microsoft TypeScript 2.0 Over .NET FrameworkJan 13, 2017. In this article, you will get started with Angular 2.0, using Microsoft TypeScript 2.0 over .NET Framework.
  • Set Up Configuration Files For TypeScript Using Visual Studio CodeJan 11, 2017. In this article, you will learn about setting up configuration files for TypeScript, using Visual Studio Code.
  • Getting Started With TypeScript Using Visual Studio CodeJan 07, 2017. In this article, you will learn about TypeScript, using Visual Studio Code.
  • Now You Can Find Your Lost Items Through Microsoft's HololensJan 02, 2017. In this article, you will learn about the new technology by Microsoft where you can find your lost items like keys, wallets, or any other belonging through its AR Headset.
  • AngularJS Reloaded - Lazy Loading FilesDec 14, 2016. In this article, I will show you how to load your scripts and styles, using AngularJS and UI Router Resolve when it’s required.
  • Separate TypeScript (TS) And JavaScript (JS) Files In Different Folders In Angular 2Dec 12, 2016. In this article, we will learn how to separate TypeScript and JavaScript files in different folders in Angular 2 applications, using Visual Studio.
  • Getting Started With SharePoint Basic Field Operations Using TypeScript With InheritanceDec 10, 2016. In this article, you will learn how to perform SharePoint basic field or column (site or list scoped) operations, using TypeScript, with Object Oriented approach (including inheritance).
  • Angular Component With TypeScriptDec 07, 2016. In this article, I will show you how to use Angular Components using TypeScript.
  • SharePoint Basic Site Field Operations Using TypeScriptDec 04, 2016. In this article, you will learn how to perform SharePoint basic site field or column operations, using TypeScript, with an Object Oriented approach.
  • SharePoint Basic SubSite Operations Using TypeScript With InheritanceNov 30, 2016. In this article, you will learn SharePoint basic SubSite Operations, using TypeScript with inheritance.
  • Quick Start On TypeScript In Visual Studio Nov 29, 2016. In this article, you will learn about TypeScript and how to use it in Visual Studio.
  • Finding POS Tags In A Sentence Using Cognitive Service Linguistic Analysis APINov 28, 2016. In this article, you will learn UWP - finding POS tags in a sentence, using cognitive Service linguistic analysis API.
  • SharePoint Basic Folder Operations Using TypeScriptNov 28, 2016. In this article, you will learn how to perform basic folder operations for libraries in SharePoint, using TypeScript programming.
  • SharePoint Basic List View Operations Using TypeScriptNov 25, 2016. In this article, you will learn how to perform basic list view operations in SharePoint, using TypeScript programming.

About Finding-Hypotenuse-in-TypeScript

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