C# Corner

Resources  
  • Friendly Errors In MVC 5Apr 09, 2018. In this article, I will be explaining 3 different ways to handle exceptions and display a friendly error page to your end user.
  • Introduction To MS Graph APIApr 08, 2018. In this article, I will introduce you to the MS Graph API which is a powerful way to interact with Office 365 data.
  • C# 6.0 Features In Visual Studio 2015Mar 28, 2018. C-Sharp introduce no big concepts but many small features that makes you keep cleaning your code, get rid of boilerplate and let you stand up more clearly.
  • Migrating to ASP.NET Core Tag HelpersMar 13, 2018. When ASP.NET Core was released, Tag Helpers were introduced—a new feature for encapsulating HTML markup. The purpose of adding Tag Helpers to the framework was to give developers an HTML-like experience when using server-rendered bits of markup. The idea here isn't to replace HTML Helpers, but to offer another approach that follows the same conventions as HTML by using tags and attributes.
  • Shadow Properties In Entity Framework CoreMar 10, 2018. Entity framework core added many new features that are already present in older entity framework versions. One of the features of Entity framework core is "Shadow Properties". The feature "Shadow Properties" was originally introduced in EF 7.
  • Certificate Pinning In Xamarin.FormsMar 08, 2018. Securing communications between applications and services is extremely important, and mobile apps are no exception. Even if you use an encrypted channel based on HTTPS, you should never completely trust the identity of the target. For example, an attacker could easily discover the URL your application is pointing to, and put a fake certificate in the middle of the communication between an application and the server, thus intercepting the communication.
  • Getting Started With Office 365 CLIFeb 17, 2018. Microsoft keep on giving surprises to developers by adding more tools / services in clout front, especially in Office 365. Recently a new open source cross platform service called Office 365 is introduced, to run the commands from any platform against SharePoint Online.
  • Building Video Indexer Mobile Application Using Cognitive ServiceFeb 10, 2018. Microsoft introduced the public preview of Video Indexer as a part of Cognitive Service. Previously, we used Video API but now it's replaced with Video Indexer. Video Indexer automatically extracts the metadata and builds intelligent innovative AI applications based on Video and Audio.
  • How To Get Started With Always Encrypted For Beginners - Part OneFeb 08, 2018. Encryption has always been intriguing to me but seemed like it could be a very complex process to set up. However, SQL Server made it very simple when they introduced Always Encrypted (AE) into SQL Server 2016 and Azure SQL Database.
  • ASP.NET Web API With SwaggerFeb 06, 2018. ASP.NET Web API is an extensible framework for building HTTP based services that can be accessed in different applications on different platforms such as web, windows, mobile etc. It is like a web service or WCF service but the exception is that it only supports HTTP protocol.
  • Working With Async Main In C# 7.1Feb 05, 2018. This article explains the async main feature introduced as part of C# 7.1 and demonstrates how to use it in application development.
  • 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.
  • CRUD Operations In ASP.NET Core 2 Razor Page With Dapper And Repository PatternFeb 04, 2018. This article will demonstrate how to perform CRUD operations in Razor Page which were introduced with Asp.Net Core 2 using Dapper and Repository Pattern.
  • 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.
  • Getting Started With The Video Indexer Using Microsoft Cognitive ServicesJan 29, 2018. Microsoft introduced the public preview of Video Indexer as a part of Cognitive Service. Previously, we used Video API but now it's replaced with Video Indexer. Video Indexer automatically extracts the metadata and builds intelligent innovative applications based on Video and Audio.
  • Expression Bodied Members In C#Jan 18, 2018. What is Expression Bodied Members?1) Expression Bodied member is introduced in C#6.0 and enhanced in C#7.0. 2) Expression Bodied is a new technique or implementation to make code concise and readable. 3) Expression Bodied makes the type member(Constructor, Destructor, Methods, Property, Indexer) defined in a single expression. 4) Expression Bodied members can only be applied to the below list of type members: Constructor introduced in C#7.0 Destructor introduced in C#7.0 Property get accessor introduced in C#6.0 Property set accessor introduced in C#7.0 Methods introduced in C#6.0 Indexer introduced in C#7.0 The Syntax of expression body definition is:member => expression; where expression should be a valid expression and member can be any from above list of type members.Suppose we have a method or constructor that contain a single expression or line of code. Then In spite of using the traditional way to write code inside a method or constructor code block, we can write them as a single syntax. Those members who can follow this approach is known as Expression Bodied Members.
  • 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!)
  • 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.
  • ASP.NET Core 2.0 - How To Use Dependency InjectionJan 15, 2018. In this article, I'll show you the new feature introduced in ASP .NET Core that allows you to inject dependencies directly into a View using the dependency injection container.
  • ASP.NET Core 2.0 Status Code PagesJan 11, 2018. Exception handling middleware (as discussed here) will catch unhandled exceptions however if you want to display error pages for individual HTTP status codes then framework provides another middleware for this purpose.
  • Setting Up Xamarin Development Environment In Windows And iOSJan 09, 2018. This course aims to introduce Xamarin multi-platform development framework in my way of learning.
  • 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.
  • 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).
  • 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.
  • Introducing Hadoop /Big Data For BeginnersDec 14, 2017. Companies like Facebook ,NASA, and Google have huge amount of data (can be hundreds of petabytes or exabytes). Each and every like, click, comment, review, update, search, call, visit, piece of financial and health information, transaction, photo upload etc., which is a very huge data set, gets stored somewhere(database).This data is called Big Data.
  • Exploring And Managing Azure Resources Using Microsoft Azure Mobile App Dec 13, 2017. Microsoft has introduced Azure mobile app for Android & iPhone azure subscribers to get connected with there own Azure resources 24 by 7. Mobile being human chore partner, app made life easier for developers, entrepreneurs or Admin to manage provisioned azure resources anytime from anywhere. Not only can access & manage, but also can monitor health & status of Azure resources. This helps in quick resolving the issues encountered if any.
  • C# 7.2 - In Parameter And PerformanceDec 12, 2017. In C# 7.2, “in parameter” has been introduced which allows passing read-only reference of a variable.
  • Setup Angular Environment On Visual Studio 2017Dec 12, 2017. Many new JS frameworks are introduced every day. But only some of the frameworks get popular. In this list Angular JS is the most popular one. The Angular Framework team is updating it to get more sophisticated and powerful.
  • Introduction To SSISNov 24, 2017. SSIS stands for SQL Server Integration Services. It is one of the services of SQL Server and was introduced for the first time in SQL Server 2005. It’s a powerful replacement for the legacy DTS (Data Transformation Services) that exists in SQL Server 2000.
  • Introducing Visual Studio Live ShareNov 18, 2017. With Visual Studio Live Share you and your teammates use the same debugging session. You can collaboratively step through code or set breakpoints which are reflected in your teammate’s editor in real time. Each of you can independently inspect objects, use features like tips on hover, locals and watches, or make changes to an object’s value. When you are ready to make a fix, simply edit the code and your teammates will see your edits in their editor.
  • ASP.NET Core 2.0 Razor PagesNov 16, 2017. Razor Pages are introduced in ASP.NET Core 2.0 to make building simple web applications quicker and is a good way to play with various ASP.NET Core concepts like Razor, Layout Pages and Tag Helpers etc.
  • Introducing Microsoft's SharePoint Migration ToolNov 14, 2017. Welcome to an article about Microsoft’s own SharePoint Migration Tool.
  • SSMS 2016 - Enhanced ScrollbarNov 14, 2017. Detailed description with screenshots of the enhanced scroll bar introduced in SSMS (SQL Server Management Studio) 2016.
  • Introducing The Terminology Of AngularNov 13, 2017. The good news for developers who are new to Angular is that they can learn Angular easily because Angular has no legacy syntax of Angular 1.x.
  • Masking Sensitive Data With SQL Server 2016Nov 10, 2017. SQL Server 2016 has many features which you can use to make your data and application more secure, more maintained and easily retrieved as per your requirements. It has introduced both client side security such as Always Encrypted as well as server side security such as Data masking etc. In this post we’ll examine how Dynamic Data Masking can help secure our data.
  • Working With View Components In ASP.NET Core MVCNov 09, 2017. View component is newly introduced feature in asp.net core MVC. It is very similar to partial view but it very powerful compared to partial view. It does not use model binding but works only with the data we provide when calling into it.
  • Simple Single Side Traffic Controller Using Timer ControlOct 25, 2017. This is a simple article for beginners who are getting introduced to C# programming in which they will learn how to code using Timer control inside Windows form
  • What's New In Microsoft .NET Framework 4.7.1Oct 20, 2017. In this article I will be discussing the new features introduced as part of the .NET Framework 4.7.1 release
  • 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.
  • Logging Exception in Database Using CustomFilter ExceptionOct 11, 2017. As per request from one of my followers I am writing this article, which will explain how we can handle Errors in an MVC application. In this article I am also going to explain how we can log our exception message in our Data Base.
  • How To Use Ratings In Lists And Libraries Using Rating Settings, Server Side Coding And PowerShell CommandsOct 09, 2017. In this article I will discuss how to make use of ratings with your lists & libraries. Ratings are the features introduced by Microsoft which allow users to evaluate & rate the authors. Here I will explain how to use ratings on the lists & libraries.
  • Installing And Using .NET 4.7.x, .NET Core 2.0, And C# 7.x With VS 2017Oct 09, 2017. This article explains how to install and use .NET Framework 4.7, .NET Framework 4.7.1 & .NET Core 2.0 and troubleshooting if you are getting an exception while installing these latest components. This article also explains how to use the different versions of C#, e.g. C# 7, C# 7.1, C# 7.2 with Visual Studio 2017 and installing multiple instances of Visual Studio 2017 side by side.
  • New Power BI Feature - Drill Through Filter In Power BIOct 04, 2017. Drill through feature was introduced recently, in the September update. It’s a most useful filter. Sometimes there is a situation in which we want to redirect our one report page to another report page. This filter made our work much easier.
  • ASP.NET Core 2.0 Error PagesSep 29, 2017. Starting from an empty project, created in a previous post, amend the Configure() method of Startup class to use middleware needed for error handling. Below I’ve used a custom middleware (defined as lambda) to handle production exceptions.
  • SharePoint 2016/2013 - Event Log Monitoring By PowerShell AutomationSep 27, 2017. This article is based on the requirement I recently encountered where I was required to monitor a specific exception type and if it occurred the Admins needed to be notified at the same time.
  • Advantages Of SharePoint 2016 From A User PerspectiveSep 06, 2017. You might have seen many articles/blogs on the internet about new and deprecated features of SharePoint 2016 or about the comparison between SharePoint 2013 and 2016. However, this article is mainly focused on the new changes introduced in SharePoint 2016, which will help the end users or business users in their day-to-day SharePoint usage.
  • How To Use Razor Pages In ASP.NET Core 2.0Sep 04, 2017. Razor Pages are introduced in ASP.NET Core 2.0 to make building simple web applications quicker and is a good way to play with various ASP.NET Core concepts like Razor, Layout Pages and Tag Helpers etc.
  • Extend Built In Label Tag Helper In ASP.NET Core ApplicationAug 31, 2017. Tag helpers is one of the new feature introduced in ASP.NET Core which allows us to add server side code while creating and rendering HTML elements. They are similar to HTML helpers in ASP.NET MVC. ASP.NET Core comes with various built in tag helpers for rendering HTML elements like label, input, img, select etc.
  • What Is New In Azure Portal UpdatesAug 29, 2017. In this article I am talking about a video in which Leon Welicki and Scott Hanselman introduce us to an update from Azure Portal.
  • New Features In SQL Server 2017Aug 27, 2017. There are many new features introduced with SQL server 2017 and also there is some performance improvement in existing features. Using the following links, we can learn more details about the new features in SQL server 2017.
  • 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.
  • How To Use Microsoft Graph Provider In Visual Studio Connected ServicesAug 22, 2017. In this article, I am introducing the newly added Microsoft Graph Provider in Visual Studio 15.3.1. This article demonstrates how a developer can use this feature to work with Microsoft Graph API.
  • Introducing Central Administration Of SharePoint 2016Aug 09, 2017. Central Admin helps us to control the user activities. It controls even the activities of the site owners, which help us in protecting the environment and keeping it secure. This helps us to activate or deactivate the configurations and features through all the Web Applications, site collections and sites; thereby, saving time and efforts.
  • Building Out Cloud Infrastructure With TerraformAug 05, 2017. In the first article in this series, I introduced 'Terraform', and gave an introduction to what it is, and how to use it. This article dives a bit deeper, and looks at how to create a cluster of machines. If you had to manage your infrastructure manually, it would kill your time for all but the most basic of scenarios.
  • Introduce Entity Framework With ADO.NET Entity Data ModelJul 28, 2017. In this article, we will learn the Entity Framework with Data Model.
  • Visual Studio 2017 New Installation Experience - Workload - Individual Component - Language PacksJul 26, 2017. In this article, I will show the new installation experience feature that was introduced in Visual Studio 2017
  • Change SharePoint ListView To jQuery Datatable Using JSLinkJul 21, 2017. Jslink is javascript link [ CSR - Client-side rendering] this feature was introduced in Sharepoint 2013 for customizing Sharepoint list forms Newform, displayform, editform. Using this feature you are able to change the overall look and feel of the sharepoint listp
  • Get To Know Microsoft 365Jul 12, 2017. Microsoft 365 is a new service which was introduced by Satya Nadella 2 days ago on Microsoft Inspire which brings together Office 365, Windows 10 and Enterprise Mobility + Security, delivering a complete, intelligent and secure solution to empower employees.
  • When To Use "Var" As A TypeJul 05, 2017. It has been quite a long time since "var" was introduced, yet it is still a topic of debate among .net developers.
  • 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).
  • Getting Started With Area In ASP.NET MVCJun 27, 2017. In Asp.Net mvc you can classify the working. Division of website section called Area. This was introduced in ASP.NET MVC 2 version. Each Area will have seperate Model,View and Controller, Web.Config file.
  • Updated Chrome Debugging Tools Worth MentioningJun 24, 2017. As a web developer, I absolutely could not live without great in-browser developer tools. I use them every day, and they can certainly make your life much easier. Typically my browser of choice is Chrome, so I thought I would take some time to introduce a few new features in the latest release that are really, really cool.
  • Introduction To Dapper Generic RepositoryMay 15, 2017. This article introduces you to the introduction to Dapper Generic Repository.
  • A First Look At The New Microsoft Graph Explorer - Part OneMay 09, 2017. In this article, I will introduce you to the new Microsoft Graph Explorer and how you can work with it.
  • ASP.NET Core API - Day One - Getting Started And Request PipelineMay 02, 2017. This article introduces you to creating an API With an ASP.NET Core.
  • How To Convert And Bind JSON String In To ASP.NET GridView With C#Apr 29, 2017. This article introduces you to converting and binding JSON string into ASP.NET GridView with C#.
  • Create A Contact List In SharePoint 2013 Office 365Apr 26, 2017. This article introduces you to how to create a Contact List in SharePoint 2013 Office 365.
  • Introducing Microsoft Office 365 Developer ProgramApr 25, 2017. In this article, I will introduce you to the MS Office 365 developer program.
  • Introduction To MS Graph ExplorerApr 25, 2017. In this article, I will introduce you to MS Graph Explorer and what you can do with it.
  • Backup Windows Server 2016Apr 24, 2017. This article introduces you to the backup of Windows Server 2016,
  • Working With Out, Exception And Literal Enhancements In C# 7.0Apr 10, 2017. This article explains about out, exception and literal related enhancements in C# 7.0 and demonstrates that how to use them in software development.
  • Working With Expression Bodied Members In C# 7.0Mar 31, 2017. This article explains about existing and new expression bodied members, which are introduced in C# 7.0 and demonstrates how to use them in software development.
  • Working With Pattern Matching In C# 7.0Mar 26, 2017. This article explains about pattern matching introduced in C# 7.0 and demonstrates that how to use it in software development.
  • Working With Ref Returns And Ref Local In C# 7.0Mar 24, 2017. This article explains about Ref Returns and Ref Local , which are introduced in C# 7.0 and demonstrates how to use it in software development.
  • Exception Handling Application Block In Microsoft Enterprise Library 6.0Mar 22, 2017. Exception Handling Application Block In Microsoft Enterprise Library 6.0
  • Working With Value Tuple In C# 7.0Mar 21, 2017. This article explains about Value Tuple that was introduced in C# 7.0 and demonstrates how to use it in software development.
  • Working With Local Functions In C# 7.0Mar 19, 2017. This article explains about the Local Functions introduced in C# 7.0 and demonstrates how to use it in software development.
  • Logging And Tracing With Post SharpMar 17, 2017. This article enables you to understand logging and tracing with Post Sharp.
  • 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.
  • Exception Handling Mechanism In C#Feb 28, 2017. In this article, you will learn about the exception handling mechanism in C#.
  • 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.
  • Introduction To Microsoft Sway In Office 365Feb 24, 2017. This article introduces you to Microsoft Sway in Office 365.
  • 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.
  • Host Your Website On Github Pages For FreeFeb 17, 2017. In this article, I will quickly introduce you to GitHub Pages, using which you can freely host your websites, straight from your repositories on GitHub. Isn't this fantastic?This blog is a brief introduction to setting up your website using GitHub Pages, but it does not cover each and every detail about GitHub Pages.
  • C# Exception FiltersFeb 12, 2017. In this article, you will learn about Exception Filters in C#.
  • What Is .NET StandardFeb 09, 2017. In this video, Immo Landwerth introduces .NET Standard.
  • Exception Handling Mechanism In .NET Jan 22, 2017. In this article, you will learn about an exception handling mechanism in .NET.
  • Introducing Central Administration Of SharePoint 2013Dec 20, 2016. In this article, you will learn about Central Administration of SharePoint 2013.
  • Getting Started With TypeScript 2.0Nov 16, 2016. In this series of articles, you are going to learn TypeScript with all the features of TypeScript 1.x and also, all the features from TypeScript 2.0. This is just the first article introducing you to what TypeScript is.
  • SharePoint Online/Office 365 - Resolved Exception "Method Not Found: 'Boolean System.Net.WebResponse.get_SupportsHeaders()'."Nov 11, 2016. In this article, I’ll explain how we resolve exception "Method not found: 'Boolean System.Net.WebResponse.get_SupportsHeaders()'.".
  • 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.
  • Global Exception Filter, Exception Handling And Logging Using Log4Net In Web API 2Sep 23, 2016. In this article, I am going to explain how to handle exceptions in MVC Web API applications, using log4net.
  • 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.
  • JavaScript Object Model Exception Handling In SharePointAug 26, 2016. In this article, you will learn about JavaScript Object Model exception handling in SharePoint.
  • Introducing Flow In Microsoft Power Apps In Office 365 SharePoint - Part TwoAug 26, 2016. In this article, you will learn about Flow in Microsoft Power Apps in Office 365 SharePoint.
  • Introducing Flow In Microsoft Power Apps In Office 365 SharePoint - Part OneAug 25, 2016. In this article, you will learn about Flow in Microsoft Power Apps in Office 365 SharePoint.
  • Introducing Swift Programming LanguageAug 15, 2016. In this article, you will learn about Swift Programming Language.

About Introducing-Exceptions-in-JSP

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