C# Corner

Resources  
  • Writing Distributable .NET Application With x2netApr 18, 2018. Writing distributed applications, especially deployed across a network, tends to be a challenge, not only due to the trickiness of network programming but more so because your code, business logic messed up with communication details, is probably not flexible, hard to reuse and test in isolation.
  • Logic Apps - Integrating LUIS Application With Logic Apps To Predict Intent In User UtterancesApr 18, 2018. Any business which transacts online, requires to provide some kind of chat support for the issues related to their business. This can be done by developing chat applications where the consumers directly chat with the agent of the business who then solve their problems. A new alternative to answer frequently asked questions is the use of the Chat Bot which is intelligent enough to understand the questions raised by the user and determine the solutions to them on the real time basis. Or in case of an administrator, if they are managing a lot of operative tasks or a lot of source code bases, then an intelligent bot is of great help.
  • Composed Relationship Types - Func<Owned<T>>Apr 10, 2018. It&#39;s the beauty of relationship types, that they can work in conjunction with one another. Therefore, we can compose relationship types to solve a particular problem.
  • Testing And Deploying An Office 365 Add-In From Network ShareApr 09, 2018. In this article, I will show you how you can load an Office 365 add-in from a network share for testing or live deployment.
  • Various Techniques To Verify The Connectivity From Client To Server (Including Port Number)Apr 06, 2018. In this article, I will explore a few techniques to test the network connectivity with another machine &amp; Port number using the built-in tools in the Operating System.
  • Learn Angular 4.0 In 10 Days - Unit Test - Day Ten (Part Two)Mar 26, 2018. In this article, we will discuss how to perform Unit Test on Angular 5 Components
  • Learn Angular 4.0 In 10 Days - Unit Test - Day Ten (Part One)Mar 21, 2018. In this article, we will discuss about how to perform unit test using Angular 4 and Jasmine Framework
  • Azure VPN Point To Site IP AddressesMar 14, 2018. Recently, I got to work with a client on something interesting. We implemented transactional replication to send data to an Azure virtual machine. This was being done to perform some testing for a project.
  • Dependency Injection Using Unity - Resolve Dependency Of DependenciesMar 13, 2018. In this article, you will learn to showcase the existing problems with tightly coupled applications, how to make the application loosely coupled and achieve inversion of control via dependency injection, solve the problem of resolving dependency of a dependency in a three-layered/n layered project architecture using unity framework.
  • Building Xamarin Mobile Application With Bing Web Search Using Cognitive ServicesMar 08, 2018. The Bing Web Search API provides an experience similar to Bing.com/Search by returning search results that Bing determines are relevant to the user&#39;s query. The API results include Web pages, images, videos, news, and entities, along with related search queries, spelling corrections, time zones, unit conversion, translations, and calculations. The web Search API uses JSON format for data exchange, and API Keys for authentication.
  • Xamarin.Forms Problem “Could Not Connect To Debugger” SolutionMar 08, 2018. The issue is faced by many of developers who are new in this field. This issue was first faced in Visual Studio 2015. This issue is resolved by ReSharper but it is costly. So I will give you the simple solution for that issue.
  • SharePoint Developer Tools - How To Test And Debug SharePoint Rest API Endpoints (Get Requests)Feb 28, 2018. In this article, we will understand how utilize a famous developer productivity tool called fiddler as a REST API Test Client for SharePoint (though the target system could be anything with a valid REST API Endpoint)
  • SharePoint Developer Tools - How To Test And Debug SharePoint Rest API Endpoints (Post Requests)Feb 28, 2018. In this article we will see how to use Fiddler as a debugging &amp; testing tool for SharePoint REST API EndPoints.
  • What Is Date Correlation Optimization?Feb 28, 2018. OK So, I am doing some digging and peaking around again in SQL Server and came across a database option called Date Correlation Optimization Enabled = False. Honestly, I had no clue what it did, so I took it as a learning opportunity to look into it and do a little research. Who knows, it may actual help me solve one of the many problems I run into day to day for clients.
  • Handling Different Types Of Web Elements Using SeleniumFeb 25, 2018. In this article, I’ll explain how to handle Web elements using Selenium.
  • Different Components Of SeleniumFeb 21, 2018. As we know, Selenium is the most popular tool used for automating web browsers / web applications. Selenium is an open source tool, which is used to execute the test scripts or test cases on the web application.
  • Owned<T> - Controlled Lifetime In Dependency Injection With AutofacFeb 16, 2018. Generally speaking, an owned dependency corresponds to some unit of work performed by the dependent component.
  • Sync Slicers In Power BIFeb 16, 2018. In this article, we will talk about the sync slicer, steps to apply “Sync” slicers in Power BI Desktop and different use cases to test this new rolled out feature in the February 2018 update.
  • Moq - Unit Test In .NET Core App Using Mock ObjectFeb 14, 2018. The Unit test is a block of code that helps us in verifying the expected behavior of the other code in isolation; i.e., there is no dependency between the tests. This is good way to test the application code before it goes for quality assurance (QA). There are three different test frameworks for Unit Testing supported by ASP.NET Core: MSTest, XUnit, and NUnit. All Unit test frameworks, offer a similar end goal and help us to write unit tests that are simpler, easier and faster.
  • Unit Test In .NET Core Application Using NUnitFeb 08, 2018. There are three different test frameworks that are supported by ASP.NET Core for unit testing - MSTest, xUnit, and NUnit. These allow us to test our code in a consistent way. In this article, I will explain about the unit test using NUnit.
  • Unit Test In .NET Core Application Using MSTestFeb 07, 2018. In this article, I will explain about the unit test in asp.net core using MSTest.
  • Unit Test In .NET Core Application Using XUnitFeb 07, 2018. There are three different test frameworks for Unit Testing supported by ASP.NET Core: MSTest, xUnit, and NUnit; that allow us to test our code in a consistent way. In this article, I will explain about the xUnit framework. the XUnit is an open souce test framework and main focus of this framework are extensibility and flexibility. It follows more community focus to being expand.
  • How To Create A Basic Bot Using Bot Service In Azure PortalFeb 07, 2018. Bot Service allows you to create, connect, test, deploy and manage bots from your browser. It also provides the Bot Builder SDK for developing bots and the Bot Framework for connecting bots to channels. You can use five default available bot templates to get started with building bots.
  • Azure VM Migration Between SubscriptionsJan 29, 2018. Azure VM migration between the subscriptions is quite easy. Some of the organizations will have dedicated subscriptions for testing\POC of new applications. Once these applications are validated successfully, the IT administrators might need to move these VM &amp; dependent Azure resources to the production subscription. Azure portal provides a very convenient option to migrate the resources between different subscriptions. The following steps help with the steps to migrate the resources from one subscription to another.
  • ASP.NET Core Apps In Docker Swarm Deployed To AzureJan 24, 2018. In the previous post, I deployed a Docker Swarm on VMs setup on my local PC, which is fine for testing. In this post I’ll deploy the same services on a Docker Swarm hosted in Azure using “Docker EE for Azure”. Let’s start.
  • SharePoint Online/2016/2013 - How To Upload Large Files Using PowerShell AutomationJan 22, 2018. Uploading large files to SharePoint On-Premise or Online is an obvious problem during data migration from any external system like Lotus Notes.In this article I will explain a data upload strategy where we can split a large file into multiple chunks of smaller size.
  • Hello World Smart Contract - Ethereum BlockChainJan 11, 2018. In this article, a &quot;Hello World&quot; 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.
  • 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.
  • How To Solve "Spooler Subsystem App Has Encountered A Problem"Dec 18, 2017. I recently had a troubleshooting call in my computer repair business involving an office printer that would not install the print driver software. During the installation, an error message appeared that read “Spooler subsystem app has encountered a problem and needs to close”. This occurred at an automotive repair garage that had to be able to print invoices and automotive diagrams, so they were in a real bind.
  • Key Skills For Software TestersDec 14, 2017. In this article, I have shared some important skills required for software testers.
  • 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.
  • 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.
  • What Is Quantum ComputingNov 11, 2017. Understanding quantum computing and the problems it solves.
  • 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
  • Logging Framework In ASP.NET Core 2.0Oct 29, 2017. Logging is a very critical and essential part of any software. It helps us in the investigation of the essence of problems. Before ASP.NET Core, we had to use third party libraries for logging our application.
  • What Is The Easiest And Quickest Way To Test An Application's Web APIsOct 12, 2017. The easiest way to test an application&#39;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&#39;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.
  • .NET Entity Framework Core Generic Async Operations With Unit Of Work Generic RepositoryOct 05, 2017. The advantage of generic repository is that you can inherit from it, pass an entity type, and you will get CRUD operations. It will save you a lot of coding time when your domain objects are likely to grow over 50+. Another advantage is change history functionality; you can inherit your entities from the change history interface.
  • 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.
  • How To Use Bootstrap DateTime Picker In ASP.NET MVC With Angular As DirectiveOct 03, 2017. We can create Bootstrap DateTime Picker in MVC easily but if we use normally like how we refer like normal asp.net mvc as we will face some problems that date picker wont works as expected in order to avoid that we need to do it in angular way so we will create it as a directive and we can use it where ever we want in our project.
  • 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.
  • Why "Service Locator" is an "Anti-Pattern" for Dependency InjectionSep 29, 2017. The Service Locator is used as a replacement for the new operator. The problem with service pattern is that it hides a class&#39;s dependencies and is a bonafide anti-pattern. In fact, it takes away a developer&#39;s clarity about the class he/she is using.
  • 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.
  • 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.
  • 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&#39;ll learn how to implement azure functions and directly call through HTTP from Xamarin Forms Application
  • Getting Started With Microsoft Azure Machine Learning - Part OneAug 19, 2017. It’s a data modeling environment from which we can get an end-to-end approach to a problem to an answer. Use Azure Machine Learning to deploy your model into production as a web service in minutes—a web service that can be called from any device, anywhere and that can use any data source.
  • 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.
  • Universal SMTP Code To Send Emails In .NET AppsAug 13, 2017. As already mentioned quite clearly in the tagline, the only reason to write this article is to cover the basic requirements of every SMTP vendor&#39;s code in .NET applications, If your vendor is Google&#39;s mail service, — Gmail — then you can most likely leave this article and go back to the article, which I wrote quite a lot of time ago to share how to send emails through a C# programs, sending emails over .NET framework, and general problems – using C# code.
  • CRUD Operation Using Code First Approach, Web API, Repository Pattern, Unit Of Work, And jqGrid In MVCAug 10, 2017. Today, in this article, I will explain how to perform CRUD operations in MVC using Code First Approach.
  • 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 &quot;newing-up&quot; objects in classes.
  • Azure Automation Using PowerShellAug 01, 2017. In order to run Azure, we know the Azure web portal where we can modify and manage resources as and when needed. But to manage resources on a regular basis, logging into the portal each time is a hectic job. So, automation can solve most of these problems for us. In this article, we will learn how.
  • 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 &quot;Execution Of Test Cases In Sequential And Parallel Using Selenium Webdriver&quot; 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.
  • 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.
  • 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.
  • 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.
  • Crazy Factory Pattern And Direct Object Creation ProblemJun 18, 2017. Direct object creation design and problem analysis; how to connect with anti-pattern; concept of factory pattern; when, where and why to use it; the benefits; conditional factory pattern and problem analysis; improvement of traditional factory pattern.
  • Moving App Development and Testing to the CloudJun 09, 2017. Watch this video to learn how to move your application development to cloud.
  • Upload Content To Azure Container, CDN In WordPress Folder FormatJun 03, 2017. Here, in this article we are going to a see how we upload contents to our Azure container in our CDN storage in a WordPress folder format. You may be thinking what is so special in WrdPress folder format, what makes the difference in other formats? When I say WordPress folder format, I mean one folder in an another folder. In WordPress we usually have the structure as wwwroot/wp-content/uploads/2017/05/. The real problem is, we can not create a container inside a container. Yeah, you heard it right. But, you don’t need to worry about it, there are always few ways we can achieve this need, in this post I am going to show you that. I hope you will like this. Now let’s begin.
  • 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.
  • 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.
  • 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.
  • 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.
  • Common Problems In Xamarin.Android And Their SolutionsFeb 20, 2017. In this article, you will learn about common problems in Xamarin.Android and their solutions.
  • 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.
  • 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.
  • 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.

About Problem-of-unit-testing

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