C# Corner

Resources  
  • 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.
  • Hello World Smart Contract - Ethereum BlockChainJan 11, 2018. In this article, a "Hello World" smart contract in Ethereum blockchain is deployed to Rinkbey test network.
  • How To Debug Minified JS FileJan 05, 2018. Debugging minified JS file is always a tedious task for developers. In day to day development life we end up in a situation where all JS files will be minified and moved into production for deployment. It is usual that some unprecedented JS error comes across browser versions. Being a developer finally it comes to our lap to resolve the issue. To reproduce the same error in a test environment with un-minified JS version doesn’t work out. To resolve this issue requires some kind of hard work which is time consuming.
  • 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.
  • ASP.NET Core And EF Core 2.0 TestingDec 29, 2017. The single biggest selling point of MVC architecture in general and ASP.NET Core in particular is that it makes testing much simpler. ASP.NET team has done a great job in making a framework that is pluggable, thus enabling testing of controllers, repositories and even the entire application a breeze.
  • Types Of Software Testing Dec 27, 2017. In this article I have shared some types of Software Testing
  • 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.
  • 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.
  • Key Skills For Software TestersDec 14, 2017. In this article, I have shared some important skills required for software testers.
  • 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.
  • Get Up And Run Robot Framework In 10 MinutesDec 07, 2017. Robot framework is an extensive and widely-used test automation framework which (along with RIDE) gives you an easy to use and easy to navigate interface and neat style IDE to its users. It has huge support for a variety of external and internal libraries for keywords support, using which the user can develop new high-level keywords using the existing one.
  • How To Add Test Data For SharePoint Online Using Test Data AppNov 29, 2017. In this article, we will learn how we can add Test dummy data with SharePoint Online List , Document Library , Calendar List , Tasks and Events. We will use one third party utility which is totally free to use.
  • Change SharePoint Site To Read OnlyNov 29, 2017. This article will help you out on making your sites read only which is mostly required during your SharePoint migration. These steps have been tested on SharePoint 2010, 2013 and 2016. We have 3 options and we will cover each one. So, let’s get started.
  • 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.
  • Uploading Ionic App On Ionic View In Ionic ProNov 23, 2017. Some of the ionic commands are deprecated in the newer version of ionic, which is called ionic pro. One of them is “ionic upload” that was used to upload the ionic app in ionic view for testing purposes.
  • 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).
  • Develop, Test And Deploy The Angular Project In IIS Using Angular CLI And Visual Studio Code In Few MinutesNov 10, 2017. The Angular CLI is a command line interface tool that can be used to create our angular project very easily and it is also used to perform a variety of ongoing development tasks such as testing, bundling, and deployment in our same project.
  • Implement ASP.NET WEB API CRUD Logic Using Entity Framework Without Writing Code And Test It With PostmanNov 03, 2017. This article will demonstrate how to implement ASP.NET WEB API CRUD logic using Entity framework without writing code and how to test it with Postman
  • 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.
  • What Is The Easiest And Quickest Way To Test An Application's Web APIsOct 12, 2017. The easiest way to test an application's API is the use of Windows PowerShell or Visual Studio Package Manager Console. I will show you step-by-step how to use PowerShell or PM(Package Manager Console) to test an application's Web APIs.
  • How To Use Fiddler With ASP.NET Web API TestingOct 11, 2017. If you are developer, tester or a manager, sometimes understanding the various methods of API can be a challenge when building and consuming the application.
  • 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 Use Postman With ASP.NET Core Web API TestingOct 04, 2017. If you are developer, tester, or a manager, sometimes understanding the various methods of API can be a challenge when building and consuming the application.
  • Creating Custom Gulp Tasks In SPFx SolutionsOct 03, 2017. Let us see how to create and test the gulp tasks in the SharePoint Framework solutions.
  • 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).
  • Unit Test In .NET Core Application Using MStestSep 26, 2017. In this article, I am going to explain how to perform unit testing in .NET core using MStest.
  • 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.
  • Exposing Local Web Server To Internet Using NgrokSep 19, 2017. I was recently working on some bot framework applications where I wanted to test if my bot application was working properly with different available channels like Facebook messenger, Skype etc. But there was one problem. Before I could integrate my bot with different channels, I needed to publish my bot application and register it on http://dev.botframework.com/ site. Also the endpoint should support HTTPS. This is where ngrok comes into play.
  • Update Managed Metadata Field Using SharePoint Designer 2013 WorkflowSep 12, 2017. In this article, I am going to explain how we can update a managed metadata field using SharePoint 2013 Designer Workflow. This solution will work for both SharePoint 2013 On-Premise and SharePoint Online (Office 365). I tested the below solution in Office 365 environment.
  • 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.
  • Load Testing Web Service Using Visual StudioSep 04, 2017. Web Services are the more commonly developed and used to expose the APIs for other systems to consume. Number of external systems consume the web services on a frequent basis.
  • 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.
  • Building Serverless Mobile App With Azure Functions Using Xamarin.FormsAug 20, 2017. Azure Functions is a solution for easily running small pieces of code in the cloud. We can create, execute, and test our custom logic function without creating a VM or web applications and also without needing to install any software or infrastructure to run the function. In this article, we'll learn how to implement azure functions and directly call through HTTP from Xamarin Forms Application
  • Introduction To ProtractorAug 18, 2017. Protractor is an E2E UI automation testing tool for angular or Angular JS and it is very similar to selenium webdriver. Angularhas some extra web elements like ng-model, ng-if so we can’t test angular applications without Protractor. Protractor is built on the top of WebDriverJS that uses native events and browser-specific drivers which interact with web application.
  • Getting Started With Microsoft Azure Functions Using Visual Studio 2017Aug 17, 2017. Azure Functions is a solution for easily running small pieces of code in the cloud. We can create, execute, and test our custom logic function without creating a VM or web applications and also without needing to install any software or infrastructure to run the function.
  • How To Create And Test Azure Functions Using Azure PortalAug 15, 2017. Azure Functions is a solution for easily running small pieces of code in the cloud. We can create, execute, and test our custom logic function without creating a VM or web applications and also without needing to install any software or infrastructure to run the function. In this article, you will learn about create and test azure functions using azure Portal.
  • Dependency Injection - Part One -Tightly Coupled ApplicationAug 07, 2017. It is a best practice to use interfaces instead of concrete classes. These interfaces can then be mocked at the time of unit testing, which will prevent any call to the actual database. Also, it is a good practice to stop "newing-up" objects in classes.
  • Agile Principles That Apply To DevOpsJul 31, 2017. DevOps is a “culture”, where development, test, and operations work together in a collaborative manner to automate delivery of quality software. DevOps culture develops “production-first mindset”. I.e. applying DevOps ensures that your code is always ready to be deployed to production.
  • API Testing With PostmanJul 27, 2017. Postman is a rest client with an API development suite with powerful features. Postman is a google chrome application for testing API calls which can also be used with the Developer Tools Utility to test these API calls and not have to worry about importing any files or setting up Authentication.
  • 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
  • This Will Help Manual Testers Not Get FiredJul 25, 2017. Development methodologies like Agile, DevOps, Test Driven Development, Continuous Testing and Continuous Deployment etc. have replaced software development approaches that put testing at the end of development. The one common thread across these development methodologies is that testing is now placed in the heart of software development. That, and test automation has been an instrumental enabler of these methodologies.
  • 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.
  • Deploying A Simple Bot With Bot Builder SDK Using Visual Studio 2017Jul 05, 2017. In this article , I am going to show how to create and configure a bot using visual studio and also how to run that bot using Bot Emulator in our local system. This article also shows how to build a bot by using the Bot Application template and the Bot Builder SDK for .NET, and then testing it with the Bot Framework Emulator.
  • 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.
  • MVVM In WPFJun 29, 2017. MVVM is an architecture pattern which facilitates separation of projects into three logical layers with their own responsibilities. It facilitates modern techniques such as Separation of Concern, Unit testing and TDD. It is set of guidelines, that, when used, makes it easier to develop applications.
  • Deploying A Form Bot Using Microsoft Azure Bot ServiceJun 26, 2017. This article shows how to create,deploy and test the Form Bot using Microsoft Azure Bot services.
  • Overview Of Selenium LocatorsJun 26, 2017. This article explains Selenium Locators.
  • 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.
  • Moving App Development and Testing to the CloudJun 09, 2017. Watch this video to learn how to move your application development to cloud.
  • IFrame Execution Using Selenium WebDriver - Part TwoMay 31, 2017. In this article, we will see the execution of iframe using Selenium WebDdriver.
  • IFrame Execution Using Selenium Webdriver - Part OneMay 30, 2017. In this article, we will see the execution of iframe using selenium webdriver.
  • How To Perform Unit Test Using Jasmine In Angular 2 - Day Twenty EightMay 26, 2017. In this article, we will discuss how to perform Unit test , using Jasmine in Angular 2.0.
  • How To Test Our Xamarin.iOS Or Xamarin.Forms App Without A MacMay 26, 2017. How to test our Xamarin.iOS or Xamarin.Forms app without a Mac.
  • 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.
  • Developers Use Case For .NET API BrowserApr 24, 2017. This article illustrates a developer's use case for .NET API Browser.
  • Software Testing!! BDD, AAA-Structure And Mocking For Unit TestingApr 16, 2017. In this article, you will learn about naming conventions, body structure and object mocking of the test method for unit testing.
  • Software Testing - Best Practices And Principles To Write Unit TestingApr 14, 2017. In this article, you will learn best practices and principles to write Unit testing.
  • Getting Started With API Testing Utilities - JSON Server And PostmanApr 13, 2017. Getting started with API testing utilities - JSON Server and Postman.
  • A Basic Introduction To Unit Test For BeginnersApr 11, 2017. In this article, you will learn what unit test is and how to use it, using C# language.
  • Back Tracking Of Issues - Before Escalating To DeveloperApr 06, 2017. In the software testing world, Issued identification is a must have skill. In this blog post I have taken a simple scenario to show you how to back track the issues.
  • 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.
  • The Role Of Automation In Functional TestingMar 21, 2017. This article elaborates on the role of automation in Functional testing.
  • 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.
  • Test Driven Development (TDD) - Part OneMar 06, 2017. This article explains what test driven development is and why it’s important i.e. including real world scenarios. It also explains TDD lifecycle.
  • Creating Azure Functions For SharePoint Operations Using Managed CSOMMar 02, 2017. In this article, you will learn how to create Azure function apps to test SharePoint operations, using Managed CSOM code.
  • 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.
  • Behavior Driven Development Using Karma And Jasmine In Angular 2Feb 27, 2017. This article shows how can you write and test, using Jasmine in Angular 2.
  • Model Class Validation Testing Using NunitFeb 15, 2017. In this article, we are going to learn about validating a Model class property that has data annotation, using Nunit.
  • 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.
  • ASP.NET Web API With Fiddler And PostmanJan 23, 2017. In this article, we will learn about the concept of ASP.NET Web API, using Visual Studio 2015. Also, we will learn to test Web API, using Fiddler and Postman clients.
  • Introduction To NUnit Testing FrameworkJan 14, 2017. In this article we are going to learn the basics of Nunit.
  • 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.
  • What Is Data Quality?Jan 03, 2017. A short introduction to data quality, and why you should consider it.
  • Developing Web Parts Using SharePoint Framework - Part TwoDec 22, 2016. In this article, you will see how to develop and test a web part on SharePoint Framework, which retrieves SharePoint list items.
  • How To Select A Test Automation ToolDec 21, 2016. In this article, you will learn how to select a test automation tool.
  • Live Unit Testing In Visual Studio 2017Dec 07, 2016. In this article, you will learn about Live Unit Testing in Visual Studio 2017.
  • Interview Questions And Answers On SeleniumDec 05, 2016. In this article, you will learn the frequently asked questions & answers related to Selenium.
  • The Postman Always Tests Your Web APIs, TwiceDec 02, 2016. In this article, you will learn that the Postman always tests your Web APIs twice.
  • Essential Features Of Postman: The Best Tool To Build And Test APINov 30, 2016. In this article, you will learn the essential features of Postman, the best tool to build and test API.
  • Introduction To Selenium 3.0Nov 26, 2016. In this article, we will learn about Selenium 3.0.
  • WCF Service Unit Tests Using NUnit With Rhino Mocks And Entity FrameworkNov 22, 2016. In this article, you will learn how to run WCF Service Unit Tests using NUnit, with Rhino Mocks and Entity Framework.
  • Live Unit Testing In Visual Studio Enterprise 2017Nov 20, 2016. This article explains how to implement the Live Unit Testing feature in Visual Studio 2017.
  • Performing A Load Testing On Web APIs Using Apache j-MeterOct 14, 2016. In this article you will learn about performing load testing on web APIs using Apache j-Meter
  • Writing JavaScript Tests Using Jasmine FrameworkOct 11, 2016. In this post, we will see how we can write unit test cases in JavaScript.
  • Registering Your Bot Application And Testing Your Connection At Bot FrameWorkSep 19, 2016. In this article, you will learn how to register your Bot Application and test your connection at Bot Framework.
  • 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.
  • Swashbuckle Swagger Integration In WebApi 2Sep 13, 2016. In this article, I am going to explain, how to use Swagger to test WebAPI in MVC. Swashbuckle Swagger can configure easily in an Application.
  • Software Testing: The Essential Guide To Bug ReportsAug 24, 2016. In this article, we will learn about software bugs, bug reporting systems and the bug life cycle.
  • Top 10 Website Security Testing ToolsAug 22, 2016. In this article you will learn about the top 10 website security testing tools.
  • Top 10 Website Functional/Regression Testing ToolsAug 15, 2016. In this article you will learn about top 10 website functional regression testing tools.
  • 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.
  • Azure Automation: How to Publish, Start and Test the Runbook - Part ThreeAug 13, 2016. In this article, you will learn how to publish, start and test the Runbook in Azure Portal.
  • Testing The Code Performance Of PLINQAug 11, 2016. In this article, you will learn about testing the code performance of PLINQ.

About Test-Cases

NA
File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!