C# Corner

Resources  
  • Upgrading Your Application In Azure Managed KubernetesJan 18, 2018. In the previous article, we deployed an ASP.NET Core 2.0 API app in AKS (Azure Managed Kubernetes). Now, let's quickly look into how to upgrade the application when there is a change in code. Please make sure you read the previous article to follow through this one.
  • 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!)
  • Custom Model Binding In ASP.NET Core 2.0Jan 17, 2018. In an earlier post I discussed how to prevent insecure object references by encrypting the internal references (e.g. table primary keys) using Data Protection API. To avoid duplication of code that encrypts/decrypts on every controller I used filters in that example. In this post I’ll use another complimentary technique: custom model binding.
  • Database First In .Net Core 2.0 CRUD Operation - Part OneJan 17, 2018. In my previous post, I have explained how to create an Angular 5 application in Visual Studio 2017 using .NET Core templates which you can find here.
  • 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.
  • C# 7.2 - "In" Parameter Method Overloading TiebreakerJan 14, 2018. This article explains the “in” parameter method overloading with Visual Studio 2017 Version 15.6. Preview 2.
  • 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.
  • How To Install TypeScript Plug-in In Visual Studio 2015Jan 13, 2018. In this article, we will see the simple step by step process to install TypeScript Plugin for Visual Studio.
  • How To Control An LED Using Raspberry Pi 3, Windows IoT Core, And Visual Studio UWPJan 13, 2018. This is an introduction to Raspberry Pi 3 Model B. We will explore what Raspberry Pi 3 has to offer in terms of its features and performance.
  • Google Chart With ASP.NET Core And Visual Studio CodeJan 13, 2018. The Google Chart API lets you dynamically generate charts with a URL string and embed these charts on a web page, or download the image for local or offline use. The Google Chart Tools enable adding live charts to any web page. They provide advantages such as a rich gallery of visualizations provided as image charts and interactive charts and they can read live data from a variety of data sources. Users embed the data and formatting parameters in an HTTP request, and Google returns a PNG image of the chart. Many types of chart are supported, and by making the request into an image tag the chart can be included in a web page.
  • 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.
  • Create Your First Bot Using Visual Studio 2017 - Step By Step GuideJan 11, 2018. Seeing how fast the companies are adopting the Bots, it is really the best time for you to start learning Bot framework and start adopting Bots for your business.
  • Using Bitbucket Extensions With Visual Studio 2015Jan 10, 2018. In this article we are going to learn how to use Bitbucket Extensions with Visual Studio 2015, in the previous article we have learned how to create Bitbucket account and new repositories and push repositories to remote Bitbucket account but in that it was all manual process, but if we get little automation in it that we are going to love it right, in this part we are going to add Bitbucket Extensions to project from visual studio “Extensions and Updates” and work little faster.
  • Explore Azure Cosmos DB Without Azure SubscriptionJan 10, 2018. Azure Cosmos DB emulator is an exciting tool for getting started with Cosmos Db. This allows us to play with Cosmos DB without even having an Azure Subscription. That means you can write Cosmos DB code in your .net application and view your data on emulator.
  • Draggable Panel In An Android ApplicationJan 10, 2018. This article demonstrates how to create a draggable panel in an Android application using Android Studio.
  • Introduction TO PowerApps And Creating Template With ItJan 09, 2018. PoweApps is a collection of software services and apps that work together to fundamentally transform and accelerate. It is provided by Microsoft as a service under Office 365 for non-technical users (no coding experience is required) to build business apps. It can be simple and fast.
  • 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.
  • Microsoft Office 2013 UI Design In C# - Visual StudioJan 07, 2018. In this article we will design the UI of Microsoft Office 2013 applications like Word, PowerPoint, Excel etc.
  • Login And Registration Functionality In Xamarin.AndroidJan 07, 2018. For this article, the purpose of the code is to create a Login & Registration Functionality in Xamarin.Android.
  • Architecture Smells - Detection And RefactoringJan 05, 2018. The concept of “smells” is familiar within the software engineering community. The term “code smell” first appeared in the popular Refactoring book by Martin Fowler; it was informally defined as “certain structures in the code that suggest (sometimes they scream for) the possibility of refactoring”. An excessive number of smells in a software system impair the quality of the software and makes the software hard to maintain and evolve.
  • Share Code Between ASP.NET Core MicroServicesJan 04, 2018. Microservice architecture or microservices is a method of developing software applications as a suite of independently deployable, small, modular services in which each service runs a unique process and communicates through a well-defined, lightweight mechanism to serve a business goal.
  • Create Angular 5 Application Using .Net Core 2.0 Template In Visual Studio 2017Jan 04, 2018. Angular 5 has been announced recently and we already have a template added in the Visual Studio 2017 with .Net Core 2.0.
  • Using Global Constant Like A ProJan 03, 2018. In our code, most of the time we use constants (Ex: cell Identifier, some static text, maybe certain height). It’s good practice to use constants instead of variables whenever possible.
  • Working With Azure Storage Explorer In Visual Studio CodeJan 03, 2018. Visual Studio code is an open source source code editor developed by Microsoft which supports all major operating systems like Windows, Linux and Mac OS. It includes support all most all software development activities like debugging, Git control, syntax highlighting, intelligent code completion, snippets, and code refactoring.
  • Integrate Angular 5 With Visual Studio 2017Jan 02, 2018. If installation file finds any open Visual Studio instances it will stop the installation and ask us to click on “EndTask”, by clicking , it will close the all the instances of Visual Studio.
  • Exploring Angular Fundamental With Visual Studio 2017Jan 02, 2018. This article explains the fundamentals of Angular by creating a simple Angular application with Visual Studio 2017 using the default template available with .NET Core.
  • Hello World With TypeScript 2.0Jan 02, 2018. TypeScript is a language which is a super set of JavaScript language. It compiles the code written to plain javascript code. So all the correct javascript code is valid in TypeScript. Apart from that TypeScript provides extra features also, which is very useful for writing good code.
  • Device Year Class Library Using Android ApplicationJan 02, 2018. Android device's specifications and calculates which year the device would be considered.
  • Hide The Running Batch File Using Visual Basic ScriptJan 02, 2018. This how-to article is straightforward and to the point. In this post, you will learn how to run batch files in hidden mode.
  • 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 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).
  • Using Bitbucket With Visual Studio 2015Jan 02, 2018. In this article, we are going to learn how to use Bitbucket version control system with Visual Studio 2015.
  • Optical Character Recognition Using Google Vision API On AndroidJan 02, 2018. In this tutorial, we will learn how to do Optical Character Recognition in Android using Vision API. Here, we will just import the Google Vision API Library with Android Studio and implement the OCR for retrieving text from image.
  • List Of Items In Query String From JavaScript And Fetch It In Code Behind In ASP.NETJan 02, 2018. When there is a situation where we have to pass more parameters and it exceeds browser character limit we can consider using JSON Array.
  • Xamarin.Android - QR Code Reader By Mobile CameraJan 01, 2018. Today, I shall show you how to create a QR code reader with Mobile Camera Android application in Xamarin.
  • Xamarin.Forms - Expandable ListView AppJan 01, 2018. In this article, we will discuss how to create an expandable listview in Xamarin.Forms application using Visual Studio 2017.
  • Quality Of Software Is Getting Worse, Not Better (2018)Jan 01, 2018. For many years now, the theme for all my conference talks has been “Improving Code Quality, One Developer at a Time™”. My only goal with my sessions for the foreseeable future is all wrapped around this idea for these reasons I will discuss.
  • Getting Started With Q# Programming Jan 01, 2018. In this tutorial, you’ll learn how to build your first simple “Hello World” Q# app. Just follow these following steps.
  • C# 8.0 - Experimenting With Non-Nullable Reference Type Using Visual Studio 2017Dec 28, 2017. Nullable Reference Type is one of the most popular upcoming features of C# which may be released with C# 8.0. However, C# 8.0 has not been released yet; development is going on so till the final release, its behavior may be a little bit different than the current behavior explained in this article.
  • Code Metrics Cyclomatic ComplexityDec 28, 2017. Let's learn about Code Metrics Cyclomatic Complexity in this write-up.
  • What And How Of Requirement Gathering - Part TwoDec 27, 2017. Prototyping allows gathering information by faking the production environment. In this technique, quite a lot of tools can be used to collect information, such as software programs to monitor/record mouse clicks or keystrokes, camera to monitor visual activity.
  • Build Or Set Up Your First Angular App With Visual Studio CodeDec 27, 2017. In this article, we will learn how to set up an environment for building the first Angular app (with Visual Studio Code).
  • 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.
  • A Potentially Dangerous Request.form Value Was Detected From The ClientDec 26, 2017. This error can occur in any page, but mostly a client receives this error while entering a new or modified item / product in admin panel of any portal because in admin panel we mostly write html code to fill in blanks, and also to display the product feature in ordered or unordered list.
  • QR Code Scanner In Xamarin.FormsDec 23, 2017. This article demonstrates how to make a QR CodeScanner application using C# and XAML in Xamarin.Forms. QR codes are plastered on advertisements, billboards, business windows, and products. They appear to be very popular among marketers, although it’s rare to see anyone actually scanning one.
  • Continuous Integration And Delivery With Visual Studio App CenterDec 22, 2017. Continuous integration and delivery with Visual Studio App Center
  • How To Create An Azure Function App Using Visual Studio 2017Dec 21, 2017. In this article, we will learn how to create an Azure Functions App using Visual Studio 2017.
  • Create Web API With .NET CoreDec 20, 2017. This article explains the way to create webapi using Asp.net core and Microsoft visual studio core.
  • How To Call Azure Function In Logic AppsDec 20, 2017. Azure Functions is used for executing a small piece of code or “function” in the cloud and you pay only for the time your code executes.
  • Xamarin.Forms - Bottom NavigationBarDec 20, 2017. In this article, you will learn how to create a Bottom NavigationBar in Xamarin.Forms.
  • Get Started With DevOps With VSTSDec 19, 2017. Zero to DevOps with Visual Studio Team Services.
  • Floating Chat Heads Using Android ApplicationDec 19, 2017. We all love the chat head or chat bubbles from the popular Facebook Messanger. This provides very handy and easy access to the chat conversation screen no matter which screen you are on. Chat heads are very convenient for multitasking, as a user can work and chat at the same time. That means if you are using the calculator app on your phone and if any new message arrives, you can open the conversation and replay the message without switching app.
  • How To Create Azure Function App To Delete SharePoint Online List Using CSOMDec 19, 2017. Azure Functions are used for executing a small piece of code or “functions” in a cloud and you will pay only for the time your code executes. You can use development language of choice such as C#, F#, PHP, Java etc. Some of the key features of Functions are Choice of language, Pay-per-use pricing model, bring your own dependencies, integrated security, simplified integration, flexible development, and open-source. Please refer Azure Functions for more details.
  • How To Create A Simple Azure Function App Using C#Dec 18, 2017. Azure Functions are used for executing a small piece of code or “functions” in a cloud and you will pay only for the time your code executes. You can use development language of your choice such as C#, F#, PHP, Java etc. Some of the key features of Functions are Choice of language, Pay-per-use pricing model, bring your own dependencies, integrated security, simplified integration, flexible development, and open-source. Please refer to Azure Functions for more details. In this article you will see how to create a simple Azure Function using C# that will run whenever an HTTP request is received.
  • Create First Project In VSTS And Clone It Using Tortoise GITDec 18, 2017. In this article, we will learn how we can create a new project in VSTS. Also, we will learn how we can clone that project in our windows system. Once the project has been cloned we will push our files to a VSTS. At last we will talk about Dashboards in VSTS.
  • Xamarin.Forms - Messaging AppDec 14, 2017. In this article, we are going to learn about messaging plugin and discuss how to use it in xamarin.forms application by using visual studio 2017 15.5
  • Understanding LIQUi|>Dec 14, 2017. Understand what LIQUi|> is all about and how it works as a part of Visual Studio.
  • Getting Started With Azure Machine Learning Studio And Azure StorageDec 13, 2017. This write-up is a continuation of my previous one by which we will be sketching across how to get started with Azure Machine Learning and an introduction to Azure Storage.
  • An Introduction To Quantum ComputingDec 13, 2017. In this article, I am going to cover some of the basics of Quantum computing and also set up an environment on our local machine with Visual Studio 2017 to get started with Quantum programming.
  • Xamarin.Forms - WebView With ProgressBarDec 13, 2017. In this article, we will learn how to use ProgressBar in WebView in Xamarin.Forms application using Visual Studio 17 15.5 preview.
  • Generate Thumbnail From Live URL Of Microsoft Office And PDF file in ASP.NET MVCDec 13, 2017. Recently, I got a chance to create thumbnail images from the live URL. The URLs were not of images but of some DOCX file, some XLSX file, or PDF file. We don’t have any custom library which can directly generate the thumbnail from a live URL. So, here, we will learn how we can customize our code to generate the thumbnail in .NET.
  • 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.
  • Code Reusability In KotlinDec 12, 2017. In this article, I am explaining how you can reuse your existing code of Kotlin using Inheritance with examples and diagram.
  • Google Vision API Demo - BarCode Reader Using Android StudioDec 11, 2017. This article is about how we use Vision API in Android Studio.
  • Xamarin.Forms - Microcharts AppDec 11, 2017. In this article, we are going to learn how to display micro-charts in single line code for Xamarin.Forms.
  • Circular Fillable Loader And SeekBar Using Android ApplicationDec 11, 2017. This article demonstrates how to create circular fill loader to an android application using Android studio. This is an Android project allowing to realize a beautiful circular fillable loader to be used for splashscreen.
  • Knowing When To Reflect With Caller Info AttributesDec 10, 2017. If you've been around C# long enough, you've probably had a need at one time or another to figure out some information about code that's being executed. It might be a method name, the file being executed, or even more specific details like the line number.
  • Partial View In ASP.NET MVC Using Entity FrameworkDec 10, 2017. A partial view is same as user control in ASP.NET MVC that is used for code re-usability. Partial views help us to reduce code duplication. Hence partial views can be used for views like as Header and Footer views.
  • Dock Panel Control In UWPDec 10, 2017. Reading this article, you can learn how to use DockPanel Control in Universal Windows Apps development with XAML and Visual C#.
  • Xamarin.Forms - Multilingual AppDec 10, 2017. In this article, we are going to learn how to create a multi-language application using Visual Studio 2017 15.5
  • Introduction To Format Specifiers In Visual Studio DebuggerDec 08, 2017. That is going to be tedious work if we need to keep evaluating the expressions in a lengthy code. Well, there is a way to avoid that. Using format specifiers (while debugging), you can force the evaluation of the expression.
  • Getting Started With Angular 5 Using Visual Studio CodeDec 07, 2017. In this article, we are going to set up Angular 5 app using Visual Studio Code.
  • Hello World With Angular 5Dec 06, 2017. It’s very important to setup an environment for development before jumping into coding. For Angular to run we need to install node.js.
  • How To Save Multiple Links In A List Column And UI On Custom List Form In Visual Web PartDec 06, 2017. In this article, we will discuss how we are storing multiple links in the list field and supporting the UI on custom list form in Visual web part
  • Building First Console Application Using Command Prompt In .NET Core 2.0Dec 06, 2017. In this post, we will create our very first console application in .NET Core, and we will see how we can build .NET Core based applications without using any IDE or Visual Studio.
  • Creating Angular 5 App With Visual Studio 2017 - An Easy WayDec 05, 2017. There are multiple ways to create an Angular app with Visual Studio and this article explains one of the easiest and simplest ways to create Angular 5 App with Visual Studio 2017 using a template.
  • Building An ASP.NET Core Application With Web API And Code First DevelopmentDec 05, 2017. In the previous article, we’ve learned the high-level overview of what Entity Framework is all about and learned how to build a web application quickly using Entity Framework’s Database-First development.
  • Xamarin.Forms - Text AppDec 04, 2017. In this article, we are discuss about how to display text in different styles and font sizes in Xamarin.Forms using Visuaal Studio 2017
  • Picasso Library Visual Flair Using Android ApplicationDec 02, 2017. Images add much-needed context and visual flair to an Android application. Picasso allows hassle-free image loading in your application - often in one line of code!.
  • Xamarin.Forms - Hierarchical Navigation AppDec 02, 2017. In this article, we are discussing how to create a hierarchical navigation application in Xamarin.Forms using Visual Studio 2017
  • PyCharm Vs Visual Studio Code For Python DevelopmentDec 02, 2017. One of the most primary questions in the minds of a development startup, a beginner, is which language to use
  • Functions In KotlinDec 01, 2017. Function is a set of code which may take some parameters, perform an operation on it, and then may return a value.
  • Xamarin.Forms - Border Shadow Effects Using FrameNov 30, 2017. In this article, you will learn how to use Border Shadow Effects in your controls in Xamarin Forms.
  • Creating Custom Tag Helpers With ASP.NET Core MVCNov 29, 2017. The tag helper enables us to run server-side code to generate HTML, CSS, Javascript code in Razor view.
  • Notification Alert Android App Using Android StudioNov 29, 2017. In this article, I will show you how to create a Notification Alert Android App using Android Studio.
  • Getting Started With Kotlin - BasicsNov 29, 2017. Google announced Kotlin as an official language for Android Application development in Google I/O 2017.Kotlin is a statically-typed language, developed by JetBrains and Open source Contributors in the 2011, that runs on JVM(Java Virtual Machine) and is compiled to JavaScript source code. It is very suitable for server-side application development with full compatibility of Java frameworks. You can use multiple frameworks like - Spring, Vert.x, Ktor etc. for web application development.
  • 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.
  • Saving Your Ruby On Rails Application Code To Github.comNov 28, 2017. In this article you will learn git configuration in git bash and git hub repository creation, add new ssh key in git hub and finally add all application files into git hub repository via remotely using with git bash for Ruby on Rails application version controlling.
  • Custom Vision Service REST API Using Web Interface To Upload Image And TrainNov 28, 2017. Custom Vision Service using Visual intelligence made easy to just bring a few example of labeled images and let Custom Vision do the hard work.
  • Xamarin.Forms - BugSweeper AppNov 28, 2017. In this article, we will learn how to create BugSweeper application in Xamarin.Forms using Visual Studio 2017.
  • Battery Level Android App Using Android StudioNov 27, 2017. In this article, I will show you how to create an Android app that shows Battery Level.
  • How To Use Xamarin Live Player (Preview) Using Visual Studio 2017 15.4Nov 26, 2017. Learn how to deploy a Xamarin.forms or native application using Xamarin Live Player.
  • How To Build A Kubernetes Cluster On Azure Using KubesprayNov 26, 2017. The concept of sticking our compiled code into containers is becoming quite popular at the moment, and for very good reason. If you develop for the cloud, and don't use containers or similar technology now, then you should really take a look at whats involved. The huge benefits of using containerized infrastructure/deployment are being pushed by the cloud vendors, and also increasingly being recognized by mainstream enterprise as an all round good egg and something worth investing time and resources into embracing. Containers and 'server-less computing' are two technologies that most developers are going to have to embrace in the next short few years.
  • How To Create A Stored Procedure In SQL Server Management StudioNov 25, 2017. In this article you will learn about how to create store procedure in sql server’s SQL SERVER MANAGEMENT STUDIO and very informative information and interview questions and answers about store procedure.
  • Creating A Navigation Android App Using Visual StudioNov 25, 2017. This application will take two user inputs for map -- Latitude and Longitude. Clicking on open in map will open the map that can show you directions from the current location to the given address defined by the two user inputs.
  • Transform Web.Config File While Deploying The Web Application ProjectNov 25, 2017. One of the nice features that supports Visual Studio 2010 and above versions is Web.Config (XDT) transformations.
  • Sending An Event To The Event Hub Using Microsoft Visual StudioNov 24, 2017. This article demonstrates how to send the events to the Event hub using the Visual Studio.
  • Implementing Field Mapping Using Xrm.WebApiNov 24, 2017. In this article, we are going to provide sample code for using Xrm.WebApi retrieve method.
  • CRUD Operation With ASP.NET Core MVC Using Visual Studio Code And ADO.NETNov 23, 2017. In this article we are going to create a web application using ASP Core MVC with the help of Visual Studio Code and ADO.NET.

About Disassemble-code-in-Visual-Studio

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!