C# Corner

Resources  
  • Web Form And MVC Life CycleApr 23, 2018. When we open the HTML file into the browser, it can open into the browser. But when we try to open the file in PHP or asp into the browser it can’t open into the browser. Because these languages are not native to the browser. Only client-side ‘html’ language is native to the browser. And if we want to open the PHP or asp file into the browser then we need a server who translate this code into browser native code.
  • 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.
  • Utilizing Azure Redis Cache As Backend For Chat AppMar 29, 2018. I have had some experiences trying to build a chat application—most of the time I failed, or I had some other important stuff to deal with. A few weeks back I wanted to check some services on Microsoft Azure, and Azure Redis Cache got my attention. As much as the name sounds crazy, the service itself is great, and runs on the Redis protocol.
  • Android Kotlin-Variables, Data Types And If-Else, When Statements - Part TwoMar 14, 2018. In this article we will learn variables, constants, and data types as well as If Else and When statements in Kotlin.
  • Difference Between ASP.NET MVC And ASP.NETMar 09, 2018. In this article we will try to understand the difference between Asp.Net and Asp.Net MVC. These differences are conceptual
  • First Look At ASP.NET Core 2.1 Preview One - Convert Existing .NET Core Application To .NET Core 2.1Mar 07, 2018. Finally, .NET Core 2.1 preview is out for people to try. Two days ago, the .NET team has announced the first preview of .NET Core 2.1. Let us see some of the highlights for this release.
  • 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.
  • How To Get Started With Always Encrypted For Beginners - Part ThreeFeb 15, 2018. A few weeks ago, I wrote Part 1 and 2 of this series, which was a beginner’s guide to Always Encrypted. In part 3, I am going to go over what road blocks I ran into when trying to implement this solution for a client. The goal of the project was to prevent the DBA from being able to view salary information, while still allowing the application to function without issue.
  • How An Angular 5 Application Gets Started Or LoadedFeb 09, 2018. Now, we will try to understand how an Angular application is loaded and gets started.
  • ASP.NET Request Life CycleFeb 08, 2018. In this article, I am trying to go through the various tasks and events involved in the ASP.NET request processing cycle.
  • 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.
  • Exception Handling In ASP.NET MVCJan 30, 2018. This default way of handling exception where we write our source code into the try bock and catch exception in catch block. However you can have multiple catch blocks for a try block. Even you can have Try –catch block inside Try block.
  • 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!)
  • Add Quick Launch Link To SharePoint 2013 Site Using REST APIJan 15, 2018. In this article, I have explored how to add links represented as headings in the Quick Launch area of the user interface using REST API. Here, we trying to add a custom navigation node corresponding to links in the Quick Launch area of the site using REST API using jQuery.
  • An Introduction To Q#Jan 15, 2018. In this article, I will be explaining about Q# - the new programming language introduced by Microsoft for quantum computing. We will understand the data type, expressions, and statements of Q# with the help of code snippets.
  • 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.
  • Singleton Design Pattern In C# - Part Three (Static vs Singleton)Jan 11, 2018. In this series of learning singleton patterns, we learned lazy initialization and eager initializations with practical examples. We also learned why it is necessary to make the singleton class sealed with sealed keyword. In this article, I’ll try to explain the differences between static and singleton class and where to use static and where to use singleton classes.
  • 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.
  • Say Hello To Swift GenericJan 08, 2018. If you have not been introduced to Swift generic yet, then definitely you are missing one of the most beautiful things. In this article, we will try to understand generic in a simple way and we will see how we can beautify our Swift codes with generics.
  • Constructors In TypeScript 2.0Jan 08, 2018. Let us learn about constructors in TypeScript 2.0.
  • Singleton Design Pattern In C# - Part OneJan 08, 2018. I always wanted to write about Singleton design pattern in C#. Though there already are many posts available on Singleton design pattern, I’ll try to cover this topic in the most simplistic and easy to understand way.
  • Navigation And Parameterized Routes In Angular 5Jan 05, 2018. We have seen the basics of the Routing in Angular in the last article. Now let’s see how Angular offers navigation and how we can use the parameterized routes in Angular. Let’s try to understand how to navigate programmatically from the component and from the template.
  • Azure PowerShell Login IssueJan 04, 2018. At times we face issues while logging in to Azure PowerShell. There may be different types of error messages while logging in. This article explains about the resolution of the error message “The PowerShell session has not been properly initialized. Please import the module and try again."
  • 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).
  • 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.
  • 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
  • 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.
  • Different jQuery OperationsDec 12, 2017. In this article, we will explore multiple ways to hide, show, and disable control. We are trying to handle multiple scenarios with their solutions.
  • Introduction To SQL Operations Studio And Connecting It With SQL ServerNov 20, 2017. Learn how to use SQL Operations Studio (preview) to connect to SQL Server, and then use Transact-SQL (T-SQL) statements.
  • Creating My First ChatBot Using Angular(5.0) And Dialogflow (API.AI)Nov 20, 2017. Anyone who have ever tried to contact company through customer care center they know how slow and frustrating process it is. You remember that audio tape “press 1 for this, press 2 for this ,press * to go back to menu and blaa blaa blaa….“ say for example if you want to activate a simple caller tune to your phone number then you have to spent at least 10 min to know the code to activate that caller tune by hearing that audio tape and pressing so many number and finally if you had a good luck then only you able to activate you caller tune.
  • 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.
  • Two Way Data Binding In Angular Without $scope Object Using MVCNov 16, 2017. Data binding is the most useful and powerful feature among any of the existing or upcoming software development technologies. It is actually a process that bridges a connection between the view and business logic of the application.Basically we will see one-way and two-way data binding with respect to AngularJS applications. But before we jump to that section we will try to learn something about the scopes in AngularJS.
  • 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.
  • DROP IF EXISTS In SQL Server 2016Nov 13, 2017. With this very small but handy tip, we’ll check the enhancement that has been made to DROP statement in SQL Server 2016. Earlier, we used to write additional checking logic to make sure that the object exists to drop. If we miss writing the check and if the object is not available, then we are being served with an error message. With SQL Server 2016, now we can check the existence of the respective object without any error being generated.
  • 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.
  • 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.
  • Amazing Modern SharePoint Admin Center To Try Right NowOct 24, 2017. You’ll learn updated features to the SharePoint Modern admin center in office 365 and how we can navigate from the old admin center.
  • .NET Highcharts With ASP.NET MVCOct 22, 2017. This article will demonstrate how to implement DotNet Highcharts with Asp.Net MVC application. Highcharts is a JavaScript library to implement charting functionality like line chart, bar chart, column chart etc. We can create different types of charts using highcharts. Today with this article, I will try to show you how to create Highcharts in Asp.Net MVC from server side.
  • 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.
  • Using Optional Query Parameters With Microsoft Graph API - Part OneOct 12, 2017. While Microsoft already has all the documentation to cover all its technology, in this article I will try to explain these ODATA query parameters with some different angles and usage scenarios. I’m sure you will enjoy reading this article and learn something new.
  • 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.
  • 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.
  • Broadcasting Message From ASP.NET Core To Angular Client Using SignalROct 10, 2017. Recently, the .NET team has announced SignalR for ASP.NET Core. So, in this article, I am trying to show how we can use SignalR with ASP.NET Core for an Angular client.
  • Understanding Gulp Tasks In SharePoint Framework SolutionsSep 24, 2017. Let us look deeply into the Gulp tasks we use in SharePoint framework solutions. Gulp helps in automating the manual tasks done in a solution. Say for example, when you create SharePoint framework solution, you try to test the web parts using the gulp tasks. The tasks are defined using gulpfile.js present in the SPFx solution.
  • 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.
  • 35 Essential Basic-Advanced SQL Query-Questions Asked In Technical InterviewsSep 19, 2017. These are all query-based questions asked in tech interviews, including some simple looking tricky one liner SQL statements and joins.
  • 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.
  • How To Apply Disclaimer On External MailsSep 09, 2017. In this article, we are going to see how to add a disclaimer statement on external emails.
  • SharePoint 2016/2013/Online - Sites Health Monitoring By PowerShell AutomationSep 08, 2017. In this article, we will discuss a simple yet powerful automation technique using PowerShell that will try pinging the Site and if it fails, it will send the email notifications to the designated SharePoint Admins for the Site.
  • Swift Programming - Zero To Hero - Part FourSep 06, 2017. In this article, we will learn about arrays and accessing arrays using looping statements
  • 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”.
  • 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.
  • 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.
  • Transform XML Output Of SQL Query To HTML Using "For XML" AUTO Statement With XSLT In C#Aug 21, 2017. Normally, we execute the query using ExecuteNonQuery statement and fill the output into data table. This article describes how to transform the XML output of SQL query statements using FOR XML AUTO to HTML using XSLT.
  • 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.
  • Creating A Data Volume In Windows PowerShellAug 12, 2017. We shall now try creating a data volume which can be used by more than one container images.
  • 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.
  • Swift Programming - Zero To Hero - Part TwoAug 08, 2017. This is part two of Swift Programming Zero to Hero. In this article we will see loops in Swift.
  • AWS Lambda And Serverless ComputingAug 02, 2017. Before we learn and understand one of the great features provided by AWS known as AWS lambdas, let’s try to understand what Serverless Computing is.
  • 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.
  • 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
  • SharePoint 2016 Build NumbersJul 15, 2017. SharePoint Server 2016 released on March 14, 2016. So let's try to track all the version numbers, Build numbers, and Issue lists.
  • Understand The Power Of Windows PowerShell Pipeline ( | )Jun 26, 2017. Windows PowerShell pipeline allows us to join two or more statements with a pipe symbol, sometimes called the '|' bar key. This tells PowerShell that we want to take the output of one command and pass it as the input to the next command. Let’s look at simple example to better understand the power of pipeline in Windows PowerShell.
  • 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.
  • C# Conditional Statements In UnityJun 19, 2017. In this article, I am going to explain about C# conditional statements in Unity.
  • 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.
  • Azure Content Delivery Network (CDN) - A Walk ThroughJun 04, 2017. This post is going to walk through the Azure Content Delivery Network (CDN). Before we go deep into Azure CDN, it is recommended that you know what a CDN is and what the use of a CDN is. So let’s go and try to answer those questions.
  • 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.
  • Filter In Angular 4May 17, 2017. This article will explain the concept and the code of Filter in Angular 4.
  • Write HTML Code In Xamarin Cross Platform With Table ExampleMay 17, 2017. You build your mobile app entirely in HTML, however those apps can suffer from performance problems when trying to accomplish complex processing or UI effects and are also limited in the platform features which they can access.
  • What Is New In TypeScriptMay 16, 2017. Learn what is new in the latest version of TypeScript.
  • Redirecting HTTP Request To HTTPS Using Web.config FileMay 14, 2017. In this article, let us see how to redirect users trying to access via http to https.
  • 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.
  • Why Visual Studio 2017? Let Us Try It - Part TwoMar 15, 2017. In this article, we are going to see some features of the brand new Visual Studio 2017. This is the second article of the Visual Studio 2017 series. Please note that this is not the complete series of new functionalities of Visual Studio 2017, here I am going to share only a few things to get you started with the new Visual Studio 2017. I hope you will like this. Now let’s begin.
  • Why Visual Studio 2017? Let Us Try ItMar 09, 2017. Here, we are going to a see some live action of the brand new Visual Studio 2017. Please be noted that this is not the complete series of new functionalities of Visual Studio 2017. Here, I have shared only a few things to get you started with the new Visual Studio 2017.
  • Installation Of Visual Studio 2017, A Firsthand Explanation Mar 08, 2017. This article tries to give a firsthand and quick introduction to installing Visual Studio 2017, highlighting some of its new features. This article does not cover all the features of Visual Studio 2017 installer and all VS2017 editions.
  • Visual Studio 2017 New FeaturesMar 08, 2017. This article tries to introduce you to some of the new features in Visual Studio 2017 IDE. Not all the new features of Visual Studio 2017 are covered here. Also, not all the below features are available for all the languages. This article demonstrates the examples, using C# Code and some features supported for C# are covered here.
  • 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.
  • How To Build SPA Application With ASP.NET Core And Angular 2 Using YeomanFeb 21, 2017. In this article, I am trying to share a step by step guide on how to build SPA application with ASP.NET Core and Angular using Yeoman.
  • 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 )
  • 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.

About try-statement-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