C# Corner

Resources  
  • Do-while Loop in TypescriptOct 17, 2012. In this article I have described how to use a for loop in TypeScript with an example.
  • Implement Shared Custom Validator Directive In AngularApr 24, 2018. In this post, we are going to see how to create a custom validator directive in Angular 5. We have already seen how to do validation in our previous posts, and we have not done any validations for comparing the password and confirming the password, remember? Here we are going to see that. At the end of this article, you will get to know how to create a new shared directive according to our requirements.
  • 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.
  • JavaScript Postback Download Via PowerShellMar 28, 2018. Recently, one of my clients had a need to automatically download a file from a public facing state government website. Normally this can easily be done in a number of ways. Powershell is the first way that comes to mind but you could also utilize scripting tools such as wget or curl just to name a couple. However, thanks to the awesome power (note: sarcasm) of Dot Net Nuke, the download link is hidden behind Javascript postback functionality.
  • Terraform - Starting From The Basics - Part TwoMar 18, 2018. If you run the commands mentioned in my first article, there's a file generated after final execution with an extension .tfstate. This is the status file. This file keeps track of all modifications you do inside your .tf file, after the very first execution. So you will get historical information of the changes you are doing in your infrastructure if you use terraform to run your infrastructure needs.
  • WPF - Data Storage Using SQL ServerMar 15, 2018. For any development domain, be it mobile or web or desktop or service-based, data storage is an essential component whether it is done on the server side or the client side. WPF application is a client-side application and it also supports many data storage resources which depend on the business requirement or business choice.
  • 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.
  • Data Cleansing Tools In Azure Machine LearningMar 09, 2018. Data cleansing is an important part of the Data Science Process which will help in having higher and better accuracy on predictive models. In this article, the process and techniques of doing so shall be discussed using Azure Machine Learning.
  • Introduction To Serialization In .NETMar 08, 2018. In the modern era of computer science, serialization and deserialization is much important topic and gain worth with the passage of time. Since an ancient time, human being can communicate with each other and exchange the message in secure way, the message is convert in some special format and then send to the other person and keep the records which is changes with the passage of time. Now in this era, serialization comes before the communication layer which is using to convert one state of thing to another, when we done any operation on thing, “the terms operation referred as Serialization”.
  • No Tracking With Entity Framework CoreMar 02, 2018. DbContext in Entity Framework is responsible for tracking the changes made on the entity or object, so the correct update is done to the database when the SaveChange() method of context is called. When we retrieve entities using an object query, the Entity Framework puts these entities in a cache and tracks whatever changes are made on these entities until the savechanges method is called. Entity Framework tracks the query results that return entity types.
  • 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.
  • Introduction To ReturnType KeyFeb 25, 2018. Today, I would like to tell you about Entry Key ReturnType. How to change ReturnKeyType keys like Search, Done, Next etc. In this article I am using Xamarin Forms PORTABLE and XAML.
  • How To Manage Externally Shared Contents In SharePoint OnlineFeb 18, 2018. Anonymous access to the SharePoint Online site has been removed for more than a year. Instead, Microsoft allows us to share the files or folders from SharePoint Online to external users. This configuration can be done in the Office 365 admin portal and SharePoint Online to enable or disable sharing.
  • Microsoft Operations Management Suite (OMS) - A Beginner's GuideFeb 13, 2018. Operations Management Suite (also known as OMS) is a collection of cloud-based services for managing your on-premises and cloud environments from one single place. Rather than deploying and managing on-premises resources, OMS components are entirely hosted in Azure. In simple words, what basically happens is that OMS goes and talks to different servers, applications in your environment, collects information about how they're doing, consolidates this information in the form of nice colorful graphics and searchable records, after that presents it to you in one single, convenient place, and it doesn't matter where your servers or applications are running, Azure, AWS, on-premises or which operating system they're running on, Windows or Linux, it just works. Configuration is minimal, and you can be up and running literally in a matter of minutes.
  • Database Naming Standards For The ProgrammerFeb 09, 2018. Let us face it, in most companies that programmers work for, we end up doing database work. I do not agree with this since I think the DBA or BIA should handle database programming and we should stick to what we do best… coding. Would you want a DBA writing code? I think not. With that said, here are database naming standards that I use when in this situation. DBA’s might not agree with how database coders name databases; stored procedures etc. but we need something.
  • Full Calendar - ASP.NET Web API And AngularJSJan 31, 2018. In this article, we will demonstrate how we can use a Full Calendar plugin based on ASP.Net Web API (Back-end) and AngularJS (Front-end). Here what we are doing exactly is to customize the FullCalendar plugin in order to be able to perform CRUD operations. I'd like to remind you that you should have some basic knowledge of Web API and AngularJS. I hope you will like it.
  • Performing CRUD Operations On Azure SQL Database Using SharePoint Framework Web Part And ASP.NET Web API - Part TwoJan 30, 2018. Normally, you would want to put your css classes in the .scss file (i.e. YourWebpartName.scss) and import it into the YourWebpartName.ts file (this is actually done automatically during project creation). But I decided to put it in a SharePoint list because my css selectors are grouped and I could not reference them using "styles.selector".
  • Bulletproof Disposable Types In .NET CoreJan 14, 2018. Whenever I do code review on .NET projects, hands down the number one issue is developers not calling .Dispose() on disposable objects. Ever since .NET was released, I have been preaching how important this is. If not done properly, it’s most likely to create virtual memory issues that will eventually cause the application to stop and possibly freeze server or users’ computer.
  • Workflow Initiation Form And Association FormsJan 12, 2018. In SharePoint Workflows, Initiation Forms are used to provide some additional information into the workflow for whom it is triggered or who starts it. Basically, the initiation forms are used to interact with the user, for example - if we want to take some data from the user before the workflow is triggered, this will be done by Initiation Forms. At first, the input will be taken and then the workflow will be triggered. This is the scenario of initiation form.
  • Learn Angular 4.0 In 10 Days - Directives - Day FourJan 02, 2018. A Directive modifies the DOM to change appearance, behavior or layout of DOM elements. Directives are one of the core building blocks Angular 4 uses to build applications. In fact, Angular 4 components are in large part directives with templates. From an Angular 1 perspective, Angular 4 components have assumed a lot of the roles directives used to. The majority of issues that involve templates and dependency injection rules will be done through components, and issues that involve modifying generic behavior is done through directives.
  • 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.
  • Progress Bar Android App Using Android StudioNov 28, 2017. In this article, I will show you how to create a Progress bar android App using Android studio. We can display the Android progress bar dialog box to display the status of work being done e.g. downloading file, analyzing status of work etc.
  • Interviewing - Have An Awesome Resume AvailableNov 19, 2017. It is very important to keep your resume up to date. I update my resume at least every quarter. I also update it when I am done with a project worthy of putting what I did in my resume. Remember to also update your LinkedIn profile whenever you update your resume.
  • Facebook Native Login With Xamarin.FormsNov 09, 2017. Social login is a standout amongst the most essential highlights of an application, it's the principal connection of a client with your work and must be simple, straightforward and dependable. In light of this, I chose, together with my companion Afzaal Ahmed, to begin a progression of posts with what we believe are the best ways to deal with doing social login with all the significant web-based social networking players
  • Let's Move 'On-Prem' Data Warehouse To 'Azure SQL Data Warehouse' With Redgate Data Platform Studio (DPS)Oct 13, 2017. In this article we will learn how to migrate ‘On-Prem’ data warehouse to the Cloud, specifically Azure SQL Data warehouse. I will share the lessons learned and some do’s and don’ts from my experience that may be helpful.
  • HTML 5 Web Workers In ActionOct 01, 2017. In a nutshell, web worker is a JavaScript code that runs in the background (without refreshing the page) and without adding any performance overhead on the page. So that means, you can continue using your site by clicking here and there while web worker is doing its assigned functionality in the background.
  • 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.
  • Start The App In Windows Startup In UWP (Windows 10 Fall Creators Update Features)Sep 17, 2017. A long-awaited feature (other features are LaunchApp, Restart App) has come to Universal Windows Programming i.e. we can run our application on Windows startup (User log in to the system), Previously we had done some workaround to run the app in windows startup, now it's time to say good bye to the workaround.
  • SharePoint Permissions Issue - Deny - Add And Customize PagesSep 09, 2017. A day before everything was working fine in the application and later on, everything stopped working because of a permissions issue. Users reported that they were not able to see documents, web parts etc. It was discovered that my client IT Administrator had done some permission changes and now that needed to be fixed. Let’s discuss systematically what the issue was and how to resolve it.
  • User Guide To Enroll iOS Device With Microsoft Intune And Configuring Outlook AppSep 04, 2017. If your company or school uses Microsoft Intune for Mobile Device Management and Mobile application management, you can enroll your iOS device to get access to company email, files, and other resources. When you enroll your devices, your IT department can manage the resources, keep them secure, and give you the freedom to use your preferred device to get your work done.
  • 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.
  • How To Create Angular App Using Angular CLIAug 14, 2017. Before 1 year, I planned to create simple angular app but at that time i don't have idea about angular cli so i had configure lot of things and faced more issue.I spend 2-3 days to configure angular app and finally done. In this article we will learn how to create Angular app using angular CLI.Angular CLI is just a command line interface help us to create angular app very eaisly within 2 minute.
  • SharePoint REST API ID Manipulation BUGAug 11, 2017. I was working for a customer’s SharePoint Migration Project of lists and libraries from 2007(wss 3.0) to 2016 using Content Migration Tools Customer declined the idea of migrating entire Content DB and this forced us to use tools to get the job done.
  • Passing Data To AWS Lambda Function And Invoking It Using AWS CLIAug 09, 2017. In previous article, we learnt about AWS lambda structure and how a lambda function can be invoked. Before we go further, there are couple of things which are very important to consider while doing local development and production deployment.
  • Building Your Own Container ImagesAug 04, 2017. Here, we will be building our own container images. For doing this we have two different ways, namely manual method and automated method. Let us see both ways.
  • Lazy-Loading NgModules In ASP.NET Core Angular SPAJul 25, 2017. This article shows you how configure ASP.NET Core Angular SPA starter project to serve a lazy-loaded Angular module. Angular has this cool feature of loading a module lazily. Modules that are set up to load lazily can significantly save application startup time. Lazy-load module set up is done in the application’s routing configuration section.
  • Confessions Of An Angry ProgrammerJul 23, 2017. Recently, after doing the keynote session about code quality at a conference in Denver, I received a comment from one of the attendees. He said my session was “too much angry coder”. After receiving many great comments about the session, this one took me by surprise. I thought about it for awhile and commented back, via Twitter…
  • BoxView In Xamarin Cross Platform With ExampleJul 17, 2017. The BoxView is a simple view, useful for drawing solid color rectangles. BoxView is a useful stand-in for images or custom elements when doing initial prototyping. BoxView has a default size request of 40x40. Used creates border property in page.
  • Overview Of MongoDBJul 04, 2017. This article explains the basics of MongoDB, doing CRUD operations on it using command prompt and then CRUD operations with a sample ASP.Net WebAPI.
  • Getting Started With MongoDB - MongoDB With C#Jul 01, 2017. In my previous article, you got a little knowledge of MongoDB basics. This article will focus on doing CRUD operations from a C# console application. The working mechanism will be same for web applications and desktop applications. Open up the mongod.exe in the command prompt to keep the MongoDB server running while executing our C# application.
  • Setting Up Angular Project With ASP.NET Core And Visual Studio 2017Jun 28, 2017. In this part, we are going to learn how to setup Angular projects with ASP.NET Core and Visual Studio 2017, for doing this first we need to download Visual Studio community 2017.
  • Steps To Follow In ShareGate MigrationMar 16, 2017. Steps to follow with the best practices while doing ShareGate Migration.
  • Understanding ref And out With C# 7Feb 20, 2017. This article explains the usage of ‘ref’ & ‘out’ in depth along with the enhancement done in C# 7.
  • Persevere State Information During Changes In ConfigurationDec 25, 2016. In this article, you will learn about persisting state information when changes in configuration are done.
  • How Using Features-as-a-Service Makes App Development Faster and EasierJul 12, 2016. While coding can be an art form, the point of most software development is getting something done. Coding is fundamentally about solving a problem, and that privileges code reuse, software libraries, frameworks any technology that can make the job faster and easier. Code might be poetry, but it is poetry with a purpose first and foremost.
  • Getting Started With C# 6.0 New FeaturesJul 12, 2016. In this article, I am going to explain the most focused syntactical improvement which has been done in C# 6.0.
  • ASP.NET Don'ts And DosJun 01, 2016. In this article you will learn about the different controls in ASP.NET. This also highlights the Dos and the Don’ts in general regarding ASP.NET.
  • SharePoint Hosted App Data Manipulation With Office 365 Using Custom JavaScript Library - Part 1Dec 08, 2015. In this article, we are going to learn how to create SharePoint hosted App in office 365. Perform data manipulation using Custom JavaScript Library.
  • C# Faq 4 - How Do I Configure C# CompilerNov 29, 2015. This article helps you to learn the initial steps required to compile a C# program from DOS command prompt.
  • Understanding Validation In MVC - Part 1Nov 04, 2015. This article will help you to understand how validation can be done in MVC. Firstly, let's understand two types of validation.
  • Change Themes Dynamically In GridOct 30, 2015. In this post we will see how we can change themes dynamically in Grid. I have done this requirement by using some in-built functionalities of jQWidget JQX grid.
  • The Not Do's In Your SmartWatch ApplicationOct 16, 2015. In this article we will learn about the not-dos in your smartwatch application.
  • Iteration Statements In C#Oct 15, 2015. In this article we will learn about some iteration statements in C#.
  • Textbox Data Transfer One Page to Another Page Using Various ASP.NET TechniquesAug 18, 2015. This article shows various techniques for doing a textbox data transfer from one page to another page using ASP.Net.
  • Rename File Using Console Command in C#Jul 22, 2015. This article shows how to rename a file using a console command in C#.
  • Hit Conditional Breakpoints in C#Jul 06, 2015. This article explains about how to hit conditional breakpoint in C# programming. Conditional breakpoint is done by setting the Hit Count condition on the breakpoint.
  • Getting Started With HTML Agility PackJun 15, 2015. This article shows how to get started with HTML Agility Pack and provides code samples to see how web scraping can be done using this package in C#.
  • Start Android Development With Android Studio in Just 5 StepsJun 01, 2015. This article explains how to get started doing Android development with Android Studio.
  • Deserializing Interface Properties With Json.NETMay 31, 2015. You can't deserialize something directly to an interface, You need a concrete class to instantiate. This can be done by following some easy steps.
  • Accessing Database Using Java and MySQL: Part 2May 29, 2015. This article explains how much a customer is authorized for the transactions and how the processing is done in Java using MySQL.
  • Accessing Database Using Java and MySQL: Part 1May 28, 2015. The preceding article will show you how transaction processes are done in banks through Java & MySQL.
  • SharePoint 2013 Step by Step Implement ModalDialog With Promise PatternApr 29, 2015. This article shows how to use SP.UI.ModalDialog with Promise Pattern of JavaScript to show a message when content is bound to a page.
  • Easy Form Design at Run Time C# Windows FormsApr 20, 2015. This article demonstrates designing a Windows Forms form at runtime and doing CRUD operations to your form at runtime without writting any code using a Stored Procedure.
  • Effective Scrum Master's Do's and Don'tsMar 30, 2015. In this article you will learn Effective Scrum Master's Do's and Don'ts.
  • Entity Framework and AsNoTrackingMar 25, 2015. This article explains Entity Framework based applications and DbContext / Object Context that are responsible for tracking the changes done in the objects,
  • Multitasking in Our Brain, Can it be Compared to a Computer?Mar 22, 2015. This article discusses multitasking as done by our brain and compares it to multitasking done by a computer.
  • Why Not .NETJan 21, 2015. This article provides convincing explanations for using .Net if you have not yet done so.
  • Complete Reference of Map Control in Windows Phone 8.1 WinRTJan 16, 2015. In this article you will learn a complete go to reference for doing any introductory work on Windows Phone 8.1 WinRt map control.
  • Model Validation in Backbone.JS: Part 3Dec 30, 2014. This article is particularly based on how the validation is done and issues related to this is handle in Backbone model using some methods.
  • Unit Testing With Console ApplicationNov 28, 2014. A Unit Test is a part of software development that is done by the development team at the time of development for testing the smallest unit of code.
  • Updating a Custom App in SharePoint 2013Nov 04, 2014. In this article we will explore the major steps involved in updating a SharePoint app and its deployment after the modifications are done.
  • How to Implement Insert, Update, Delete Functionality in Single View of ASP.Net MVC?Oct 29, 2014. In this article we see how to use only one view for doing insert, update, delete and fetch functionality.
  • OWASP Top 10 Risks #2: Broken Authentication and Session ManagementOct 16, 2014. Developers are frequently attempting to build authentication and session management systems. But doing it correctly and securely is hard. We'll look at some of the more prevalent areas where things can go wrong and how to prevent it.
  • Introduction to Dictionary CollectionOct 01, 2014. In this article you learn about the Dictionary collection, including how to use it and what the operations are that can be done on a Dictionary collection.
  • Stored Procedure For Insert, Update, Select, Delete Using OracleSep 25, 2014. This is a beginner's article showing how to create a Stored Procedure doing inserts, updates, selects and deletes using Oracle.
  • DOS Scripting Tips and TricksAug 20, 2014. This article describes the DOS Scripting trips and tricks.
  • Over Clause in Sql Server (Windows on Data): Part 1Aug 17, 2014. This article explains how the Over clause works. Windowing in SQL Server is done by the over clause that was introduced in SQL Server 2005. Windowing of data in SQL Server or the window function is applied to a set of rows (partitioned data based upon some column known as a window) to rank or aggregate values in that window or partition set.
  • Analyzing C# Code Using NDependAug 02, 2014. This purpose of this article is to show the analysis done by NDepend and the main focus is on queries and rules, metrics and dependency graphs, but NDepend has more features.
  • Authentication Using WCF Message Security - 1Jul 28, 2014. In this article we will see how authentication can be done using Windows Authentication over message security, custom username and password authentication over the message security and finally the Mutual X509 authentication over the message security.
  • Positioning in Cascading Style SheetsJul 23, 2014. This article contains a detailed explanation of positioning done in Cascading Style Sheets.
  • Backup Your Source Code Daily Using C# ProgrammingJul 09, 2014. This article provides a sample for doing a backup of your source code using C# and shows how to schedule it to run daily.
  • Quick Recap of C# Corner Mumbai Meet : Performance TuningApr 30, 2014. The Mumbai chapter organized one more activity done by Shivprasad Sir and Sukesh Marla.
  • Fundamentals of Unit Testing: Test Your Application by Visual Studio Unit TestApr 23, 2014. In this article we will implement a simple unit testing application and see how unit testing should be done in the Visual Studio environment.
  • Get App History on Windows 8Mar 16, 2014. This article shows how to determine what your Windows 8 or Windows 8.1 app has been doing.
  • Customization of SharePoint Search Box Web Part in 2013Mar 06, 2014. In this article, we will see how to customize the search box web part where your SharePoint search is done.
  • OFFSET and FETCH in SQL Server 2012Feb 18, 2014. SQL Server 2012 has introduced two new keywords for doing pagination of the result sets: OFFSET and FETCH.
  • Definition of Done in AgileJan 10, 2014. This article is all about the definition of Done, and the various levels the definition should apply to.
  • Perform Validation on Form Using Data Annotation in MVC4 Web APIDec 13, 2013. This article explains the Data Annotation property for doing validation.
  • Constructors in JavaScriptNov 28, 2013. A constructor is a function that instantiates a new object. This is done only when memory has been allocated for it.
  • Garbage Collection in JavaNov 13, 2013. Java has very strong memory management. In Java, when an object is not of some use, or we can say that we do not need that object in the future, then it destroys that specific object. The amount of memory is now free for any other use that was occupied previously. This entire process is done by the Garbage Collector in Java
  • Advanced JavaScript: Function Definition Style in JavaScriptNov 06, 2013. In this article we will see the traditional approach of function definition and JavaScript’s own style of doing it.
  • Rowversion: Version Stamping A RowOct 19, 2013. This article explains the rowversion datatype and provides a small demo of how to use rowversion to Sync data changes done in a table to another table.
  • Working With Flagged Enumerations in C#Oct 02, 2013. Here you will see how flags enumerations are used for masking bit fields and doing bitwise comparisons.
  • Performing DataGrid Insert Using WCFAug 08, 2013. In this article you will be doing insert using Silverlight DataGrid and WCF Service.
  • C# Corner Hyderabad Chapter Meet 4 August,2013: Official RecapAug 05, 2013. We just had done the our Hyderabad Chapter August meet on 4th August. Here is the recap of with some photos.
  • Method Overloading in JavaAug 05, 2013. This article describes how method overloading works in java. The Netbeans IDE is used for the development of the example.
  • Looping Construct in C#Aug 02, 2013. In this article we will see how to use looping construct in C#.
  • Apache Cassandra : Starting With Command Line InterfaceJul 31, 2013. Command Line Interface (CLI) can be used to interact with Apache Cassandra server and execute the some execution that be done by using Client code.
  • How to Start Planning and Estimating Projects in AgileJul 12, 2013. So here we see the article called How to start planning and estimating projects in AGILE. This is an overview of what measure the project estimate can be done and how to we measure it. In what way we can measure the velocity of a TEAM.

About do-while

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